/*
 * svezabazene.rs storefront theme.
 *
 * A port of the look of the WooCommerce site this shop replaces (the "Handy Store" theme with the
 * svezabazene child theme), rebuilt on the Skeletor storefront markup. The values below were read
 * off the live site's computed styles, so a colour or size that looks arbitrary probably is the
 * live one - check there before "fixing" it.
 *
 * Mobile is NOT a port. The live site stacks its desktop header on a phone into ~600px of chrome
 * before the first product; here the same pieces (phone strip, logo, beige MENU bar, cart, login)
 * fold into a compact header instead. Breakpoints: 992px (desktop chrome and two-column pages),
 * 768px (tablet grids), 480px (small phones).
 */

:root {
    --blue: #009ddd;         /* header, borders, prices */
    --blue-dark: #015aab;    /* headings, buttons, links in menus */
    --blue-wash: #e8f0f5;    /* product description panel */
    --mega: #afd4ef;         /* mega menu and mobile submenu ground */
    --beige: #dbd4c6;        /* footer, mobile MENU bar */
    --night: #24282e;        /* footer bottom bar */
    --ink: #646565;          /* body copy */
    --ink-strong: #484747;   /* product titles, secondary headings */
    --ink-dark: #0a0a0a;     /* plain links */
    --muted: #898e91;
    --line: #e1e1e1;
    --line-soft: #f1f1f1;
    --white: #fff;
    --danger: #c0392b;
    --ok: #2e8b57;

    --body: "Open Sans", Arial, sans-serif;
    --heading: "Roboto", Arial, sans-serif;

    --shell: 1170px;
    --gutter: 15px;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 14px/1.5 var(--body);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
    margin: 0 0 15px;
    font-family: var(--heading);
    color: var(--blue-dark);
    line-height: 1.2;
}

h1 { font-size: 36px; font-weight: 700; }
h2 { font-size: 30px; font-weight: 300; }
h3 { font-size: 22px; font-weight: 700; }

p { margin: 0 0 15px; }

button, input, select, textarea { font: inherit; color: inherit; }

.container {
    width: 100%;
    max-width: calc(var(--shell) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }

/* -------------------------------------------------------------- top strip */

.topbar {
    background: #80cef0; /* rgba(255,255,255,.5) over the header blue, flattened */
    border-bottom: 2px solid var(--white);
    color: var(--blue-dark);
    font: 400 13px/1.4 var(--heading);
}

.topbar__inner {
    display: flex;
    justify-content: flex-end;
    padding-top: 7px;
    padding-bottom: 7px;
}

.topbar__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.topbar__item .icon { font-size: 14px; opacity: .8; }
.topbar__sep { opacity: .5; }
.topbar__info a { color: inherit; font-weight: 600; }
.topbar__info a:hover { color: var(--white); }

/* ------------------------------------------------------------- masthead */

.masthead {
    position: relative;
    z-index: 50;
    background: var(--blue);
    font-family: var(--heading);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px 20px 38px;
    min-height: 130px;
}

.logo { flex: none; display: block; }
.logo img { width: 149px; height: auto; }
.logo__text { color: var(--white); font: 700 24px/1 var(--heading); }

/* Main navigation. Desktop: inline, the mega panel drops on hover/focus. */
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__home a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 2px;
    background: var(--white);
    color: var(--blue);
    font-size: 16px;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--white);
    font: 400 14px/34px var(--heading);
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.main-nav__link .icon { font-size: 9px; }

.main-nav__item:hover > .main-nav__link,
.main-nav__item:focus-within > .main-nav__link,
.main-nav__item.is-open > .main-nav__link {
    background: var(--white);
    color: var(--blue-dark);
}

.mega {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin-top: -40px;
    padding-top: 40px; /* a hover bridge from the button down to the panel */
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
}

.main-nav__item:hover > .mega,
.main-nav__item:focus-within > .mega,
.main-nav__item.is-open > .mega {
    visibility: visible;
    opacity: 1;
}

.mega__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 30px;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 10px 15px 16px;
    background: rgba(175, 212, 239, .95);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.mega__col { padding: 0 15px; }

.mega__head {
    display: block;
    padding: 10px 0 15px;
    color: var(--blue-dark);
    font: 700 16px/1.3 var(--heading);
}

.mega__col ul { margin: 0; padding: 0; list-style: none; }

.mega__col li a {
    display: block;
    padding: 4px 0;
    color: var(--blue-dark);
    font: 700 13px/1.4 var(--heading);
}

.mega__col li li a { padding-left: 10px; }

.mega__head:hover,
.mega__col li a:hover { color: var(--white); }

/* Search. Rendered only when a search route exists (see layout). */
.search {
    display: flex;
    flex: 0 1 380px;
    height: 34px;
}

.search input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
}

.search button {
    width: 40px;
    border: 0;
    background: var(--blue-dark);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
}

/* The live suggestions under the search box. */
.search { position: relative; }

.search__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    max-height: min(70vh, 460px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-top: 0;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    font-family: var(--body);
}

.search__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
}

.search__item:hover,
.search__item.is-active { background: var(--blue-wash); color: var(--blue-dark); }

.search__thumb {
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-soft);
    background: var(--white);
}

.search__thumb img { width: 100%; height: 100%; object-fit: contain; }

.search__text { min-width: 0; flex: 1; }
.search__title { display: block; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.search__price { display: block; color: var(--blue); font-size: 13px; }

.search__all,
.search__none {
    display: block;
    padding: 10px;
    font-size: 13px;
    text-align: center;
}

.search__all { color: var(--blue-dark); font-weight: 700; }
.search__all:hover { background: var(--blue-wash); }
.search__none { color: var(--muted); }

/* The box repeated above the results, full width of the content column. */
.search--page { flex: none; max-width: 520px; height: 40px; margin-bottom: 25px; }
.search--page input { height: 40px; }
.search--page button { width: 46px; }

.masthead__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.mini-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 43px;
    background: var(--white);
    color: var(--blue);
    font-size: 20px;
}

.mini-cart:hover { color: var(--blue-dark); }

.mini-cart__count {
    position: absolute;
    top: -12px; right: -14px;
    min-width: 24px; height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: var(--blue-dark);
    color: var(--white);
    font: 400 13px/24px var(--heading);
    text-align: center;
}

.account-links { display: flex; gap: 22px; }

.account-links a,
.account-links button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-dark);
    font: 400 14px/1.5 var(--heading);
    white-space: nowrap;
    cursor: pointer;
}

.account-links .icon { color: var(--muted); font-size: 13px; }
.account-links a:hover, .account-links button:hover { color: var(--white); }

.nav-toggle { display: none; }

/* ------------------------------------------------------------------- hero */

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #0d6fa8;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__caption {
    position: absolute;
    left: 27%;
    top: 44%;
    max-width: 420px;
    margin: 0;
    color: #002651;
    font: 700 40px/1.2 var(--body);
}

.hero__caption--light { color: var(--white); text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }

.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px; height: 40px;
    margin-top: -20px;
    border: 0;
    background: rgba(0, 0, 0, .5);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
}

.hero__arrow:hover { background: #000; }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

/* ------------------------------------------------------------ page frame */

.site-main { padding: 30px 0 60px; }

.page-head {
    margin-bottom: 30px;
    padding: 0 0 30px;
    border-bottom: 2px solid var(--blue);
}

.page-head__title {
    margin: 0 0 30px;
    color: var(--blue-dark);
    font: 700 50px/1.2 var(--body);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--blue-dark);
    font: 400 18px/1.5 var(--body);
}

.breadcrumb li + li::before {
    content: "/";
    padding: 0 12px;
    color: var(--blue-dark);
}

.breadcrumb a { color: var(--ink-dark); }
.breadcrumb a:hover { color: var(--blue); }

/* Two columns: sidebar on the left for listings, on the right for the product page. */
.layout {
    display: grid;
    grid-template-columns: 263px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.layout--sidebar-right { grid-template-columns: minmax(0, 1fr) 263px; }
.layout--sidebar-right > .sidebar { order: 2; }

.content > h1,
.content-title {
    font: 700 36px/1.2 var(--heading);
    color: var(--blue-dark);
    margin: 0 0 15px;
}

/* ---------------------------------------------------------------- sidebar */

.sidebar {
    border: 2px solid var(--blue);
    padding: 20px 15px;
}

.widget + .widget { margin-top: 30px; }

.widget__title {
    margin: 0 0 15px;
    padding: 0 10px;
    color: var(--blue-dark);
    font: 700 22px/1.5 var(--heading);
}

.widget--note {
    padding: 15px 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
}

.widget--note strong { font-weight: 700; }

.widget--banner img { width: 100%; }

.cat-tree,
.cat-tree ul { margin: 0; padding: 0; list-style: none; }

.cat-tree li { position: relative; }

.cat-tree > li { border-bottom: 1px solid var(--line); }

.cat-tree a {
    display: block;
    padding: 6px 30px 6px 0;
    color: var(--blue);
    font-size: 14px;
}

.cat-tree a:hover { color: var(--blue-dark); }
.cat-tree .is-current > a { font-weight: 700; }

.cat-tree ul { display: none; padding: 0 0 6px 12px; }
.cat-tree ul a { padding: 3px 30px 3px 0; font-size: 13px; }
.cat-tree .is-open > ul { display: block; }

.cat-tree__toggle {
    position: absolute;
    top: 8px; right: 0;
    width: 18px; height: 18px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--blue);
    font: 400 14px/16px var(--heading);
    text-align: center;
    cursor: pointer;
}

.cat-tree ul .cat-tree__toggle { top: 4px; }
.cat-tree__toggle::before { content: "+"; }
.cat-tree .is-open > .cat-tree__toggle::before { content: "\2212"; }

/* ------------------------------------------------------------ section head */

.section { margin-bottom: 35px; }

.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.section__title {
    margin: 0;
    color: var(--blue-dark);
    font: 300 30px/1.2 var(--heading);
}

.slider-nav { display: flex; gap: 10px; }

.slider-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    padding: 0;
    border: 1px solid var(--blue);
    background: var(--white);
    color: var(--blue);
    font-size: 11px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.slider-nav button:hover { background: var(--blue); color: var(--white); }
.slider-nav button[disabled] { opacity: .4; cursor: default; }

/* ------------------------------------------------------- category tiles */

.cat-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

.cat-tile a { display: block; text-align: center; }

.cat-tile__media {
    display: block;
    width: 300px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; }

.cat-tile__title {
    display: block;
    margin-top: 15px;
    color: var(--blue-dark);
    font: 700 28px/1.2 var(--heading);
    text-transform: uppercase;
}

.cat-tile a:hover .cat-tile__title { color: var(--blue); }

/* ------------------------------------------------------- product grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

/* The carousel is the same grid, scrolled sideways one card at a time. Native scroll snapping
   rather than a library: it swipes on touch with no code, and the arrows only call scrollBy. */
.product-grid--carousel {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 60px) / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 5px 2px 10px;
}

.product-grid--carousel::-webkit-scrollbar { display: none; }
.product-grid--carousel > li { scroll-snap-align: start; }

.product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid var(--blue);
    background: var(--white);
    transition: box-shadow .2s;
}

.card:hover { box-shadow: 0 4px 14px rgba(0, 157, 221, .25); }

.card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--white);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .3s;
}

.card:hover .card__media img { opacity: .85; }

.card__body {
    position: relative;
    flex: 1;
    padding: 8px 15px 15px;
}

.card__title {
    margin: 0 40px 6px 0;
    color: var(--ink-strong);
    font: 300 18px/1.3 var(--heading);
    overflow-wrap: anywhere;
}

.card__title a { color: inherit; }
.card__title a:hover { color: var(--blue); }

/* A card without a cart button (category tile, "choose options" product) has its title centred,
   like the live subcategory tiles. */
.card--category .card__body { text-align: center; padding: 10px 15px 20px; }
.card--category .card__title { margin: 0; }

.card__cart {
    position: absolute;
    top: 12px; right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    padding: 0;
    border: 1px solid var(--blue);
    background: var(--blue-dark);
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s;
}

.card__cart:hover { background: var(--blue); color: var(--white); }
.card__cart[disabled] { opacity: .5; cursor: progress; }

.card .price { margin: 0; }
.card .stock--out { margin: 4px 0 0; }

/* The stand-in when a product or category has no photograph. */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--blue-wash);
    color: var(--blue);
}

.placeholder .icon { width: 40%; height: 40%; opacity: .45; }

/* ------------------------------------------------------------------ price */

.price {
    margin: 0;
    color: var(--blue);
    font: 400 20px/1.3 var(--body);
}

.price__from { font-size: 14px; margin-right: 4px; color: var(--muted); }

.price__regular {
    margin-left: 8px;
    color: var(--muted);
    font-size: .8em;
}

.price--sale .price__current { color: var(--blue-dark); font-weight: 700; }

.price.empty { color: var(--muted); font-size: 14px; }

.stock--in, .stock--out { font-size: 13px; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--danger); }

/* ------------------------------------------------------------- labels */

.label-list {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.label {
    display: inline-block;
    padding: 2px 8px;
    color: var(--white);
    font: 700 11px/1.6 var(--heading);
    text-transform: uppercase;
}

.product__summary .label-list { position: static; flex-direction: row; margin-bottom: 10px; }

/* --------------------------------------------------------- listing controls */

.listing-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
    min-height: 34px;
}

.listing-controls p { margin: 0; }

.listing-intro { margin-bottom: 25px; }

/* ------------------------------------------------------------- pagination */

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid var(--line);
    color: var(--ink-dark);
    font-size: 13px;
}

.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination [aria-current="page"] { background: var(--line); color: var(--ink); }
.pagination .icon { font-size: 11px; }

/* --------------------------------------------------------- product detail */

.product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product__media {
    position: relative;
    aspect-ratio: 1 / 1;
}

.product__media img { width: 100%; height: 100%; object-fit: contain; }

.product__title {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font: 700 30px/1.3 var(--heading);
}

.product__short { margin-bottom: 15px; }
.product__short p:last-child { margin-bottom: 0; }

.product__summary .price { margin-bottom: 15px; font-size: 24px; }

.product__sku { margin: 0 0 10px; color: var(--muted); font-size: 13px; }

.wishlist-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: 400 14px/1.8 var(--body);
    text-transform: uppercase;
    cursor: pointer;
}

.wishlist-link:hover { color: var(--blue); }

.buy-row {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
}

.buy-row input[type="number"] {
    width: 56px;
    height: 38px;
    padding: 0 4px;
    border: 1px solid var(--line);
    text-align: center;
}

.share {
    margin-bottom: 30px;
}

.share__label {
    display: block;
    margin-bottom: 10px;
    color: var(--blue-dark);
    font-weight: 700;
}

.share__links { display: flex; gap: 14px; }
.share__links a { color: #a3a2a2; font-size: 17px; }
.share__links a:hover { color: var(--blue); }

/* Variants */
.variant-axis { margin: 0 0 15px; padding: 0; border: 0; }

.variant-axis__name {
    margin-bottom: 8px;
    padding: 0;
    color: var(--blue-dark);
    font: 700 14px/1.4 var(--body);
}

.variant-axis__values { display: flex; flex-wrap: wrap; gap: 8px; }

.variant-option {
    position: relative;
    padding: 6px 12px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.variant-option:hover { border-color: var(--blue); }
.variant-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.variant-option:has(input:checked) { border-color: var(--blue-dark); background: var(--blue-dark); color: var(--white); }
.variant-option:has(input:focus-visible) { outline: 2px solid var(--blue-dark); outline-offset: 2px; }

/* Tabs */
.tabs { margin-bottom: 40px; }

.tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabs__tab {
    height: 60px;
    padding: 0 20px;
    border: 1px solid var(--blue-dark);
    border-bottom: 0;
    background: #f0f0f0;
    color: var(--blue);
    font: 400 18px/58px var(--body);
    cursor: pointer;
}

.tabs__tab[aria-selected="true"] { background: var(--blue); color: var(--white); }

.tabs__panel {
    padding: 40px;
    border-bottom: 1px solid var(--blue-dark);
    background: var(--blue-wash);
    color: var(--blue-dark);
}

.tabs__panel h2 { color: var(--ink-strong); font: 300 30px/1.25 var(--heading); }
.tabs__panel h3 { color: var(--ink-strong); font: 700 24px/1.2 var(--heading); }
.tabs__panel a { color: var(--ink-dark); text-decoration: underline; }
.tabs__panel ul, .tabs__panel ol { padding-left: 20px; }
.tabs__panel table { margin-bottom: 20px; border: 1px solid var(--blue); }
.tabs__panel th, .tabs__panel td { padding: 12px; border: 1px solid var(--blue); text-transform: none; letter-spacing: 0; color: var(--blue-dark); font-size: 14px; }
.tabs__panel thead tr { background: #f2f2f2; }
.tabs__panel img { height: auto; }
.tabs__panel > :last-child { margin-bottom: 0; }

.spec-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--blue);
}

.spec-list dt, .spec-list dd { margin: 0; padding: 10px 15px; border-bottom: 1px solid var(--blue); }
.spec-list dt { font-weight: 700; border-right: 1px solid var(--blue); }
.spec-list dt:last-of-type, .spec-list dd:last-of-type { border-bottom: 0; }

.tag-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.tag-links a { display: block; padding: 4px 10px; border: 1px solid var(--line); font-size: 13px; }
.tag-links a:hover { border-color: var(--blue); }

/* Sidebar product list ("Novi proizvodi") */
.mini-products { margin: 0; padding: 0 10px; list-style: none; }
.mini-products li { display: flex; gap: 15px; padding: 5px 0 15px; }
.mini-products__img { flex: none; width: 80px; height: 80px; border: 3px solid #f5f5f5; }
.mini-products__img img { width: 100%; height: 100%; object-fit: contain; }
.mini-products a.mini-products__title { display: block; color: var(--ink); line-height: 1.45; }
.mini-products a.mini-products__title:hover { color: var(--blue); }
.mini-products .price { font: 400 16px/1.6 var(--heading); }

/* ------------------------------------------------------- buttons & forms */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: var(--blue-dark);
    color: var(--white);
    font: 400 15px/1 var(--heading);
    cursor: pointer;
    transition: background-color .2s;
}

.button:hover { background: var(--blue); color: var(--white); }

.button[disabled],
.button[aria-disabled="true"] { background: var(--line); color: var(--muted); cursor: not-allowed; }

.button--secondary {
    background: var(--white);
    border: 1px solid var(--blue-dark);
    color: var(--blue-dark);
}

.button--secondary:hover { background: var(--blue-dark); color: var(--white); }

button:not([class]) {
    padding: 6px 14px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

button:not([class]):hover { border-color: var(--blue); color: var(--blue); }

input, select, textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 16px; /* 16px keeps iOS Safari from zooming into the field */
}

@media (min-width: 992px) {
    input, select, textarea { font-size: 14px; }
}

input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
input[type="number"] { max-width: 6rem; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--blue-dark); }

label {
    display: block;
    margin-bottom: 5px;
    color: var(--ink-strong);
    font-weight: 600;
}

label:has(> input:not([type="checkbox"]):not([type="radio"])),
label:has(> select) { display: flex; flex-direction: column; gap: 5px; margin-bottom: 15px; }

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) { display: flex; align-items: center; gap: 8px; font-weight: 400; }

.field-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

fieldset { margin: 0 0 20px; padding: 15px 20px; border: 1px solid var(--line); }

legend { padding: 0 6px; color: var(--blue-dark); font: 700 15px/1.4 var(--heading); }

[data-checkout-form],
.site-main > .container > form { max-width: 760px; }

/* ------------------------------------------------------ transactional pages */

.content-page > h1 { font: 700 36px/1.2 var(--heading); }

.cart-summary,
.cart-coupon,
.checkout-contact,
.checkout-shipping,
.checkout-payment,
.checkout-summary,
.order-summary,
.order-address,
.order-payment-instructions,
.account-addresses,
.account-profile,
.account-password,
.checkout-address {
    margin-bottom: 25px;
    padding: 20px;
    border: 2px solid var(--blue);
    background: var(--white);
}

.cart-summary h2, .cart-coupon h2, .checkout-contact h2, .checkout-shipping h2,
.checkout-payment h2, .checkout-summary h2, .order-summary h2,
.account-orders h2, .account-addresses h2, .account-wishlist h2 {
    font: 700 22px/1.3 var(--heading);
    color: var(--blue-dark);
}

.checkout-guest { margin-bottom: 20px; }

.checkout-lines { margin: 0 0 20px; padding: 0; list-style: none; }

.checkout-lines li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-lines li:last-child { border-bottom: 0; }

table { width: 100%; border-collapse: collapse; }

th {
    text-align: left;
    color: var(--blue-dark);
    font: 700 14px/1.4 var(--heading);
}

.cart-lines,
.account-orders table,
.account-wishlist table,
.order-lines {
    margin-bottom: 25px;
    border: 1px solid var(--line);
}

.cart-lines th, .account-orders th, .account-wishlist th, .order-lines th {
    padding: 12px;
    background: #f2f2f2;
    border-bottom: 1px solid var(--line);
}

.cart-lines td, .account-orders td, .account-wishlist td, .order-lines td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.cart-lines a, .order-lines a { color: var(--blue-dark); }

.cart-line__variant, .cart-line__sku { display: block; color: var(--muted); font-size: 12px; }

.cart-totals th, .cart-totals td, .order-totals th, .order-totals td {
    padding: 6px 0;
    border: 0;
    color: var(--ink);
    font: 400 14px/1.4 var(--body);
}

.cart-totals td:last-child, .order-totals td:last-child { text-align: right; }

.cart-totals__grand th, .cart-totals__grand td,
.order-totals__grand th, .order-totals__grand td {
    padding-top: 12px;
    border-top: 2px solid var(--blue);
    color: var(--blue-dark);
    font: 700 20px/1.3 var(--heading);
}

.cart-totals__note, .order-totals__note, .cart-coupon__note,
.checkout-method__note, .pricing-note { color: var(--muted); font-size: 13px; }

.cart-coupon [data-coupon-form] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cart-coupon [data-coupon-form] label { flex-basis: 100%; margin: 0; }
.cart-coupon input { max-width: 16rem; }

.order-meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 20px;
    margin: 0 0 25px;
}

.order-meta dt { font-weight: 700; color: var(--blue-dark); }
.order-meta dd { margin: 0; }

.order-payment-instructions dt { margin-top: 10px; color: var(--muted); font-size: 13px; text-transform: uppercase; }
.order-payment-instructions dd { margin: 2px 0 0; color: var(--blue-dark); font-weight: 700; }

.address-list { margin: 0 0 20px; padding: 0; list-style: none; }
.address-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Messages */
.shop-notice,
.shop-problems {
    margin-bottom: 25px;
    padding: 14px 18px;
    border-left: 4px solid var(--blue);
    background: var(--blue-wash);
    color: var(--blue-dark);
}

.shop-notice--error,
.shop-problems { border-left-color: var(--danger); background: #fbeeee; color: var(--danger); }

.shop-problems ul { margin: 6px 0 0; padding-left: 18px; }

/* The cart script's notice box sits at the top of <main>, which on a catalog page is below a
   500px slider and often far above the button that raised it - so it is pinned to the viewport
   instead. The theme script hides it again after a few seconds (errors stay until tapped). */
[data-shop-notice] {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 200;
    width: min(520px, calc(100% - 30px));
    margin: 0;
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    cursor: pointer;
}

[data-shop-notice][hidden] { display: none; }

.empty {
    padding: 30px 20px;
    border: 1px dashed var(--line);
    color: var(--muted);
    text-align: center;
}

/* Account */
.account-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.account-nav a,
.account-nav__logout button {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--blue);
    background: var(--white);
    color: var(--blue-dark);
    font: 400 14px/1.4 var(--heading);
    cursor: pointer;
}

.account-nav a:hover,
.account-nav__logout button:hover { background: var(--blue); color: var(--white); }

.account-nav__logout { margin: -15px 0 25px; }

.wishlist { margin: 0 0 25px; padding: 0; list-style: none; border: 1px solid var(--line); }
.wishlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.wishlist li:last-child { border-bottom: 0; }
.wishlist li > a { flex: 1 1 200px; color: var(--blue-dark); }

/* Compare */
.compare-scroll { overflow-x: auto; margin-bottom: 25px; border: 1px solid var(--line); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.compare-table__title { color: var(--blue-dark); font-weight: 700; }

/* --------------------------------------------------------------- CMS pages */

.cms-page-content { line-height: 1.7; }
.cms-page-content .block { margin-bottom: 25px; }
.cms-page-content a:not(.button) { color: var(--blue); text-decoration: underline; }
.cms-page-image { margin-bottom: 25px; }
.cms-page-content h2 { margin: 1.6em 0 .5em; color: var(--blue-dark); font-size: 20px; }

/* Blocks saved by the admin page editor (themes/frontend/page/blocks/core/). */
.cms-page-content > :first-child { margin-top: 0; }
.cms-page-content .ceText, .cms-page-content p { margin: 0 0 1em; }
.cms-page-content .ceHeading { margin: 1.6em 0 .5em; color: var(--blue-dark); line-height: 1.3; }
.cms-page-content h2.ceHeading { font-size: 20px; }
.cms-page-content h3.ceHeading { font-size: 18px; }
.cms-page-content ul.ceText, .cms-page-content ol.ceText { padding-left: 22px; }
.alignCenter { text-align: center; }
.alignRight { text-align: right; }
.columnsBlock { display: grid; grid-template-columns: var(--columnsTemplate, 1fr 1fr); gap: 30px; margin-bottom: 25px; }
.columnsBlock > .column { min-width: 0; }
.columnsBlock > .column > :last-child { margin-bottom: 0; }
.imageBlock { margin: 0 0 25px; }
.imageBlock img { display: block; max-width: 100%; height: auto; }
.imageBlock figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; }
.galleryBlock { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 25px; }
.galleryItem { margin: 0; }
.galleryItem img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.galleryItem figcaption { margin-top: 4px; font-size: 13px; }
.embedBlock, .htmlBlock iframe { margin-bottom: 25px; }
.embedBlock { position: relative; padding-top: 56.25%; }
.embedBlock iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dividerBlock { height: var(--dividerHeight, 1px); margin: 25px 0; border: 0; background: var(--dividerColor, var(--line)); }
.quoteBlock { margin: 0 0 25px; padding: 15px 20px; border-left: 4px solid var(--blue); background: var(--blue-wash); }
.quoteSignature { margin-top: 8px; color: var(--muted); font-size: 14px; }
.tableBlock { margin-bottom: 25px; }
.tableScroll { overflow-x: auto; }
.tableBlock table { width: 100%; border-collapse: collapse; }
.tableBlock th, .tableBlock td { padding: 10px; border: 1px solid var(--blue); text-align: left; }
.tableBlock thead th { background: var(--table-header-bg, var(--blue-wash)); color: var(--table-header-color, inherit); }
.accordionBlock { margin-bottom: 25px; }
.accordionItem { padding: 10px 0; border-bottom: 1px solid var(--line); }
.accordionItem summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; }
.accordionContent { padding-top: 10px; }
.timelineItem { position: relative; padding: 0 0 20px 20px; border-left: 2px solid var(--blue); }
.timelineItemTime { color: var(--blue-dark); font-weight: 700; }
.footnotesBlock { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; }
.footnotesTitle { font-size: 18px; }

/* The contact page: a columns block with the class "contact-grid" - one card per shop. Its map
   is a custom HTML block holding a .contact-map wrapper around the Google Maps iframe. */
.contact-grid > .column { padding: 20px 25px; background: var(--blue-wash); }
.contact-grid .ceHeading { margin-top: 0; }
.contact-map { position: relative; margin-top: 20px; padding-top: 75%; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; }

@media (max-width: 767px) {
    .columnsBlock { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid > .column { padding: 15px; }
}

/* ------------------------------------------------------------------- blog */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-wash); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card__media:hover img { transform: scale(1.04); }
.post-card__media .placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.post-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 15px 18px 20px; }
.post-card__title { margin: 0 0 6px; font: 500 17px/1.35 var(--heading); }
.post-card__title a { color: var(--blue-dark); }
.post-card__title a:hover { color: var(--blue); }
.post-card__date, .post__date { color: var(--muted); font-size: 13px; }
.post-card__excerpt { margin: 10px 0 15px; }
.post-card__more { margin-top: auto; }

.post__head { margin-bottom: 20px; }
.post__title { margin: 0 0 6px; color: var(--blue-dark); font: 500 28px/1.25 var(--heading); }
.post__image { margin: 0 0 25px; }
.post__image img { display: block; width: 100%; height: auto; }
.post__content .imageBlock img { margin: 0 auto; }
.post-recent { margin-top: 40px; padding-top: 25px; border-top: 2px solid var(--blue); }
.post-recent__title { margin: 0 0 20px; color: var(--blue-dark); font: 500 22px/1.3 var(--heading); }
.post__back { margin: 0; }
.post__back a { color: var(--blue-dark); font-weight: 600; }

@media (max-width: 1199px) {
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 479px) {
    .post-grid { grid-template-columns: 1fr; }
    .post__title { font-size: 23px; }
}
.block-quote { margin: 0; padding: 15px 20px; border-left: 4px solid var(--blue); background: var(--blue-wash); }
.block-table { overflow-x: auto; }
.block-table td, .block-table th { padding: 10px; border: 1px solid var(--blue); }
.block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.block-cards .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.block-accordion details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.block-accordion summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; }

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--beige); color: var(--blue); }

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    margin: 0;
    padding: 40px 0;
    list-style: none;
}

.footer-menu a { color: var(--blue); }
.footer-menu a:hover { color: var(--blue-dark); }

.footer-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 0 30px;
}

.footer-cards img { height: 40px; width: auto; }

.footer-bottom { background: var(--night); }

.footer-bottom p { margin: 0; padding: 21px 0; color: var(--blue); }
.footer-bottom a { color: var(--blue); }
.footer-bottom a:hover { color: var(--white); }

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--blue-dark);
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.to-top.is-visible { opacity: 1; visibility: visible; }

/* =========================================================== responsive */

@media (max-width: 1199px) {
    .masthead__inner { padding-left: 15px; gap: 14px; }
    .main-nav__list { gap: 12px; }
    .search { flex-basis: 260px; }
    .account-links { gap: 14px; }
    .hero__caption { left: 12%; }
}

/* Below desktop: compact header, one column, drawer menu. */
@media (max-width: 991px) {
    .topbar__inner { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
    .topbar__info { justify-content: center; gap: 4px 18px; }

    .masthead__inner {
        flex-wrap: wrap;
        min-height: 0;
        padding: 12px 15px;
        gap: 12px;
    }

    .logo img { width: 110px; }

    .masthead__actions { gap: 18px; }

    .account-links span { display: none; } /* icons only */
    .account-links .icon { color: var(--white); font-size: 20px; }

    .mini-cart { width: 42px; height: 40px; }

    .nav-toggle {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        width: 100%;
        height: 50px;
        padding: 0 18px;
        border: 0;
        border-radius: 2px;
        background: var(--beige);
        color: var(--white);
        font: 400 18px/1 var(--heading);
        text-transform: uppercase;
        cursor: pointer;
    }

    .nav-toggle .icon { font-size: 22px; }

    .search { order: 5; flex: 1 1 100%; height: 40px; }
    .search input { height: 40px; }
    .search button { width: 46px; }

    .main-nav {
        order: 4;
        display: none;
        width: 100%;
        justify-content: stretch;
    }

    .main-nav.is-open { display: block; }

    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }

    .main-nav__home { display: none; }

    .main-nav__link {
        width: 100%;
        justify-content: space-between;
        height: 46px;
        padding: 0 18px;
        background: var(--beige);
        border-top: 1px solid rgba(255, 255, 255, .5);
        border-radius: 0;
        font-size: 15px;
        line-height: 46px;
    }

    .main-nav__item:hover > .main-nav__link,
    .main-nav__item:focus-within > .main-nav__link { background: var(--beige); color: var(--white); }
    .main-nav__item.is-open > .main-nav__link { background: var(--white); color: var(--blue-dark); }

    /* The mega panel becomes an accordion in the page flow, opened by tap only (no hover). */
    .mega,
    .main-nav__item:hover > .mega,
    .main-nav__item:focus-within > .mega {
        position: static;
        display: none;
        margin: 0;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transition: none;
    }

    .main-nav__item.is-open > .mega { display: block; }

    .mega__panel {
        display: block;
        padding: 5px 0 10px;
        background: var(--mega);
        box-shadow: none;
    }

    .mega__col { padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
    .mega__col:last-child { border-bottom: 0; }
    .mega__head { padding: 12px 0; font-size: 15px; }
    .mega__col li a { padding: 8px 0; font-size: 14px; }
    .mega__col li li a { padding-left: 14px; font-weight: 400; }

    .hero { height: 46vw; min-height: 180px; max-height: 420px; }
    /* Kept between the two 32px arrows (8px from each edge) so they never cover the text. */
    .hero__caption { left: 52px; right: 52px; top: 26%; max-width: none; font-size: clamp(18px, 4.5vw, 32px); }
    .hero__arrow { width: 32px; height: 32px; margin-top: -16px; }
    .hero__arrow--prev { left: 8px; }
    .hero__arrow--next { right: 8px; }

    .page-head { padding-bottom: 15px; margin-bottom: 20px; }
    .page-head__title { margin-bottom: 12px; font-size: 32px; }
    .breadcrumb ol { font-size: 15px; }
    .breadcrumb li + li::before { padding: 0 8px; }

    .layout,
    .layout--sidebar-right { grid-template-columns: minmax(0, 1fr); gap: 25px; }

    /* The content leads on a phone; the sidebar follows it. */
    .layout > .sidebar { order: 2; }

    .product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .tabs__panel { padding: 25px 20px; }
}

@media (max-width: 767px) {
    h1, .content > h1, .content-title { font-size: 28px; }
    .section__title { font-size: 24px; }
    .page-head__title { font-size: 26px; }

    .product-grid,
    .product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .product-grid--carousel { grid-template-columns: none; grid-auto-columns: calc((100% - 15px) / 2); }

    .card__body { padding: 8px 10px 12px; }
    .card__title { margin-right: 34px; font-size: 15px; }
    .card--category .card__title { margin-right: 0; }
    .card .price { font-size: 16px; }
    .card__cart { top: 8px; right: 8px; }

    .cat-tiles { gap: 20px 15px; }
    .cat-tile__title { font-size: 18px; }

    .product { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .product__title { font-size: 24px; }

    .tabs__tab { flex: 1 1 auto; height: 46px; padding: 0 12px; font-size: 15px; line-height: 44px; }
    .tabs__panel h2 { font-size: 22px; }
    .tabs__panel h3 { font-size: 19px; }
    /* Description tables come from the old WooCommerce copy and are wider than a phone. */
    .tabs__panel table { display: block; overflow-x: auto; }

    .pagination ul { justify-content: center; }

    /* Cart and account tables become stacked rows rather than overflowing sideways. */
    .cart-lines thead, .account-orders thead, .order-lines thead { display: none; }
    .cart-lines tr, .account-orders tr, .order-lines tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--line); }
    .cart-lines td, .account-orders td, .order-lines td { display: block; padding: 4px 0; border: 0; }

    .cart-summary, .cart-coupon, .checkout-contact, .checkout-shipping, .checkout-payment,
    .checkout-summary, .order-summary, .order-address, .order-payment-instructions,
    .account-addresses, .account-profile, .account-password, .checkout-address { padding: 15px; }

    .footer-menu { padding: 25px 0; }
    .footer-cards img { height: 30px; }

    .to-top { width: 44px; height: 44px; right: 12px; bottom: 12px; font-size: 18px; }
}

@media (max-width: 479px) {
    .topbar { font-size: 12px; }
    .topbar__item--hours { display: none; }

    .masthead__actions { gap: 14px; }
    .logo img { width: 96px; }
    .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .buy-row { flex-wrap: wrap; }
    .buy-row .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
