/**
 * Arbor — Phase 2 site chrome (header/nav + footer) in the design language.
 *
 * Loaded + scoped under body.arbor-ds by inc/arbor-chrome.php (only when the
 * rollout is active: ?php_preview=1 or ARBOR_PAGES_LIVE). Tokens from style.css.
 * No borders/lines, no shadows. Uses !important in places to win over the
 * compiled assets/css/reeco.css (allowed by CSS-GUIDE.md for that purpose).
 */

/* ============================ Announcement bar ============================ */
body.arbor-ds .arbor-announce {
    background: var(--ds-brand);
    color: var(--ds-on-brand);
    font-family: var(--ds-font-body);
    font-size: 14px;
    /* font-weight: var(--ds-fw-button); */
    letter-spacing: .03em;
    text-align: center;
}
body.arbor-ds .arbor-announce .container { padding-top: 8px; padding-bottom: 8px; }
/* Announcement bar — optional link + colour/style presets (arbor-control). */
body.arbor-ds .arbor-announce a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body.arbor-ds .arbor-announce--neutral { background: var(--ds-ink); color: var(--ds-on-dark); }
body.arbor-ds .arbor-announce--alert { background: #8a5200; color: #fff; }
/* arbor-control prints every style's colours inline (fixed hex), so the classes above are only a fallback. */
body.arbor-ds .arbor-announce__msg { display: inline-block; }

/* ================================ Header ================================== */
body.arbor-ds .gs-site-header,
body.arbor-ds .gs-site-header-holder {
    background: var(--ds-surface) !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ---- Sticky navbar + retracting announce bar (CSS only) ----
   The header holder sticks to the top of the viewport. The announcement bar is a
   sibling BEFORE .site-content, so it scrolls away on its own; page content then
   slides up and hides BEHIND the pinned header (the sticky header is a positioned
   box, so it paints above static content). No JS and no dependency on the theme's
   own sticky mode. */
body.arbor-ds .gs-site-header-holder,
body.arbor-ds .gs-mobile-header-holder {
    position: sticky !important;
    top: 0;
    z-index: 1000; /* above page content + strengths; below the mobile menu overlay (100000) */
    transition: box-shadow .28s ease;
}
/* Sticky-navbar safety net — keep it consistent on EVERY page.
   `position: sticky` silently dies whenever an ancestor between the header and
   the scroll root becomes a scroll container. Several pages set `overflow-x:
   hidden` on the <body> at mobile widths (e.g. the theme's `.woocommerce-cart`
   at reeco.css:11009, and per-page rules), and `overflow-x: hidden` forces the
   other axis to a scroll value — turning <body> into a scroll container and
   breaking the pinned header on that page only. `overflow-x: clip` clips the
   same horizontal overflow WITHOUT creating a scroll container, so the navbar
   sticks everywhere. Only the X axis is touched, so the modal scroll-lock
   (which sets overflow-y on <body>) is left intact. !important so this beats
   any current or future per-page body overflow rule regardless of specificity.
   NB: the root <html>'s own `overflow-x: hidden` (reeco.css:5634) is fine — it
   IS the scroll root, so the header still sticks relative to it. */
body.arbor-ds { overflow-x: clip !important; }
/* Keep the pinned bar clear of the WP admin bar for logged-in users. */
body.arbor-ds.admin-bar .gs-site-header-holder,
body.arbor-ds.admin-bar .gs-mobile-header-holder { top: 32px; }
@media (max-width: 782px) {
    body.arbor-ds.admin-bar .gs-site-header-holder,
    body.arbor-ds.admin-bar .gs-mobile-header-holder { top: 46px; }
}
/* Once scrolled past the announcement bar — i.e. the moment page content
   begins retracting behind the pinned navbar — fade in a subtle drop shadow.
   The `.arbor-header-stuck` body class is toggled by the footer script in
   inc/arbor-chrome.php. Higher specificity + !important beats the base
   `box-shadow: none` set on the holder above. */
body.arbor-ds.arbor-header-stuck .gs-site-header-holder,
body.arbor-ds.arbor-header-stuck .gs-mobile-header-holder {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
}

.gs-site-header {
    padding: 16px 0;
}
/* Height must be content-driven. The theme's sticky JS sets an inline
   style="height:134px" on the holder — override it (and any min-height). */
body.arbor-ds .gs-site-header-holder,
body.arbor-ds .gs-site-header,
body.arbor-ds .gs-site-header-inner {
    height: auto !important;
    min-height: 0 !important;
}

body.arbor-ds .gs-site-header-inner { padding-top: 0px; padding-bottom: 0px; }

/* Contain the header to the site content width: keep the standard page
   .container (960/1140, centered) and zero the inner's extra padding so the
   logo/icons align with the page-content edges (override reeco's 2.5/5rem inner
   padding and style.css's 960/1140 re-cap at ≥992px). */
body.arbor-ds .gs-site-header-full-width .gs-site-header-inner,
body.arbor-ds .gs-site-header .gs-site-header-inner {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header row layout: logo left · nav centered · tools right, all vertically
   centered. The theme groups logo+nav on the left, so center the nav absolutely
   within the (relative) inner; logo stays left, tools stay right (ml-auto). */
body.arbor-ds .gs-site-header-inner { position: relative; }
body.arbor-ds .gs-site-header-inner,
body.arbor-ds .gs-site-header-inner > div,
body.arbor-ds .gs-site-header-inner > div > div,
body.arbor-ds .site-header-tools { align-items: center !important; }
body.arbor-ds .site-header-navigation {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* Logo wordmark (text logo) */
body.arbor-ds .gs-logo.gs-logo-text a,
body.arbor-ds .gs-logo a {
    font-family: var(--ds-font-head);
    font-weight: var(--ds-fw-display);
    font-size: 26px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ds-ink) !important;
    text-decoration: none;
}

/* Primary nav */
body.arbor-ds .site-header-menu > li > a {
    font-family: var(--ds-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ds-ink) !important;
    padding: 0 16px;
    border: 0 !important;
    background: none !important;
}
body.arbor-ds .site-header-menu > li > a:hover,
body.arbor-ds .site-header-menu > li.current-menu-item > a,
body.arbor-ds .site-header-menu > li.current_page_item > a {
    color: var(--ds-brand) !important;
}
/* No underline / bottom border on selected or hovered items — the theme draws
   it with an :after pseudo-element (reeco.css). Hide it (no lines in this design). */
body.arbor-ds ul.site-header-menu > li > a:after,
body.arbor-ds ul.menu.site-header-menu > li > a:after,
body.arbor-ds ul.menu.site-header-menu > li > a:hover:after,
body.arbor-ds ul.menu.site-header-menu > li.current-menu-item > a:after,
body.arbor-ds ul.menu.site-header-menu > li.current_page_item > a:after,
body.arbor-ds ul.menu.site-header-menu > li.current-menu-ancestor > a:after {
    display: none !important;
}

/* Dropdowns: fill + radius, no border/shadow */
body.arbor-ds .site-header-menu .sub-menu {
    background: var(--ds-page) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: var(--ds-radius);
    padding: 8px 0;
    overflow: hidden;
}
body.arbor-ds .site-header-menu .sub-menu a {
    color: var(--ds-body) !important;
    text-transform: none;
    font-size: 15px;
}
body.arbor-ds .site-header-menu .sub-menu a:hover { color: var(--ds-brand) !important; background: var(--ds-surface) !important; }

/* Header tools (search / cart / menu icons) */
body.arbor-ds .site-header-tools a,
body.arbor-ds .site-header-tools svg,
body.arbor-ds .header-shopping-cart-icon { color: var(--ds-ink) !important; }
body.arbor-ds .site-header-tools a:hover svg,
body.arbor-ds .header-shopping-cart-icon:hover { color: var(--ds-brand) !important; }
body.arbor-ds .header-shopping-cart-icon svg { stroke: currentColor; }
/* "Kontakt" (and any promoted flat link) placed in the tools cluster, to the
   left of the search icon — Cloudpillo-style. Matches the primary-nav type. */
body.arbor-ds .site-header-tools .arbor-header-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--ds-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ds-ink) !important;
    text-decoration: none;
    white-space: nowrap;
}
body.arbor-ds .site-header-tools .arbor-header-link:hover { color: var(--ds-brand) !important; }
body.arbor-ds .cart-number {
    background: var(--ds-brand) !important;
    color: var(--ds-on-brand) !important;
    border-radius: var(--ds-radius-pill);
}
body.arbor-ds .gs-site-header .gs-logo {
    margin-left: 20px;
}


/* ---- Mobile header: hamburger left · logo center · cart right (<992px) ----
   Responsive markup is [logo][.ml-auto > tools + hamburger]. Flatten .ml-auto
   (display:contents) so hamburger + tools become flex items of the inner, order
   them to the edges, and center the logo absolutely. Search stays hidden (the
   theme already hides it on mobile); force the cart visible. */
@media (max-width: 991px) {
    body.arbor-ds .gs-mobile-header-holder .gs-site-header-inner {
        position: relative;
        justify-content: space-between;
    }
    /* .ml-auto also has Bootstrap's .d-flex (display:flex !important) — beat it
       so the group flattens and hamburger/cart can be ordered to the edges. */
    body.arbor-ds .gs-mobile-header-holder .ml-auto { display: contents !important; }
    /* Center ONLY the header-bar logo (not the logo inside the menu overlay). */
    body.arbor-ds .gs-mobile-header-holder .gs-site-header-inner > .gs-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
    }
    body.arbor-ds .gs-mobile-header-holder .mobile-header-btn { order: -1; }
    body.arbor-ds .gs-mobile-header-holder .mobile-header-btn svg { fill: var(--ds-ink); transform: scaleY(-1);}
    body.arbor-ds .gs-mobile-header-holder .site-header-tools { order: 2; }
    body.arbor-ds .gs-mobile-header-holder .header-shopping-cart { display: flex !important; }
    body.arbor-ds .gs-site-header.gs-mobile-header-default .mobile-header-btn { margin-left: 1.25rem; margin-right: 0px;}
}

/* ---- Mobile fullscreen menu (the hamburger toggles .active on .mobile-navigation) ----
   Logo top-left, close top-right, large stacked items, socials at the bottom. */
@media (max-width: 991px) {
    /* Always laid out (display:flex), shown/hidden via opacity+visibility so it
       can transition. Closed = invisible + non-interactive. */
    body.arbor-ds .mobile-navigation {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 100000 !important;
        background: var(--ds-page) !important;
        box-shadow: none !important;        /* override reeco dropdown shadow */
        transform: none !important;         /* override reeco translateY */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .26s ease, visibility 0s linear .26s !important;
        padding: 22px 28px 30px;
        overflow-y: auto;
        flex-direction: column;
    }
    body.arbor-ds .mobile-navigation.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: opacity .26s ease, visibility 0s !important;
    }
    /* The PDP floating price bar (#floating-price-banner, position:fixed z-index
       99999 at body level) otherwise paints OVER the menu — the menu's z-index
       is trapped in the header's stacking context. Hide the bar while the menu
       is open; :has() self-syncs with reeco's .active toggle. */
    body.arbor-ds:has(.mobile-navigation.active) .floating-price-banner { display: none !important; }
    /* Content slides up + fades in just after the overlay appears. */
    body.arbor-ds .mobile-navigation .arbor-mobnav__bar,
    body.arbor-ds .mobile-navigation nav,
    body.arbor-ds .mobile-navigation .arbor-mobnav__social {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .32s ease .06s, transform .32s cubic-bezier(.22, .61, .36, 1) .06s;
    }
    body.arbor-ds .mobile-navigation.active .arbor-mobnav__bar,
    body.arbor-ds .mobile-navigation.active nav,
    body.arbor-ds .mobile-navigation.active .arbor-mobnav__social {
        opacity: 1;
        transform: translateY(0);
    }
    @media (prefers-reduced-motion: reduce) {
        body.arbor-ds .mobile-navigation,
        body.arbor-ds .mobile-navigation .arbor-mobnav__bar,
        body.arbor-ds .mobile-navigation nav,
        body.arbor-ds .mobile-navigation .arbor-mobnav__social { transition: none !important; transform: none !important; }
    }
    /* Open-menu bar mirrors the header: × (left, where the hamburger is) ·
       logo (centered, same spot) · cart (right). */
    body.arbor-ds .arbor-mobnav__bar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
    }
    body.arbor-ds .arbor-mobnav__bar .gs-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
    }
    body.arbor-ds .arbor-mobnav__bar .arbor-mobnav__close { order: -1; }
    body.arbor-ds .arbor-mobnav__bar .header-shopping-cart { order: 2; display: flex !important; margin: 0 !important; }
    body.arbor-ds .arbor-mobnav__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        padding: 0;
        background: none;
        color: var(--ds-ink);
    }
    body.arbor-ds .arbor-mobnav__close:hover { color: var(--ds-brand); }
    body.arbor-ds .mobile-navigation nav { margin: auto 0; width: 100%; }
    body.arbor-ds .mobile-navigation .menu { list-style: none !important; margin: 0 !important; padding: 0 !important; }
    body.arbor-ds .mobile-navigation .menu li.menu-item { margin: 0 !important; border: 0 !important; }
    body.arbor-ds .mobile-navigation .menu > li > a {
        display: inline-block !important;
        font-family: var(--ds-font-head) !important;
        font-weight: var(--ds-fw-display) !important;
        font-size: 34px !important;
        line-height: 1.3 !important;
        color: var(--ds-ink) !important;
        text-decoration: none !important;
        padding: 11px 0 !important;
        border: 0 !important;
    }
    body.arbor-ds .mobile-navigation .menu > li > a:hover { color: var(--ds-brand) !important; }
    /* Items with children (e.g. "Proizvodi"): show a + next to the label, inline
       (override the theme's floating absolute top-right). The theme's JS expands
       the submenu on tap. */
    body.arbor-ds .mobile-navigation .menu > li.menu-item-has-children {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    body.arbor-ds .mobile-navigation .submenu-icon {
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        padding: 0 !important;
        margin-left: 14px;
        color: var(--ds-ink);
        font-size: 22px;
    }
    body.arbor-ds .mobile-navigation .submenu-icon:hover { color: var(--ds-brand); }
    /* Expanded submenu items: smaller + indented, full width below the parent row. */
    body.arbor-ds .mobile-navigation .sub-menu { flex-basis: 100%; }
    body.arbor-ds .mobile-navigation .sub-menu > li > a {
        font-family: var(--ds-font-body) !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        color: var(--ds-body) !important;
        padding: 7px 0 7px 18px !important;
    }
    body.arbor-ds .arbor-mobnav__social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 26px;
        padding-top: 22px;
        font-size: 20px;
    }
    body.arbor-ds .arbor-mobnav__social a { color: var(--ds-ink) !important; }
    body.arbor-ds .arbor-mobnav__social a:hover { color: var(--ds-brand) !important; }
}

/* ============================ Strengths strip ============================ */
/* Sits directly under the header (rendered by inc/arbor-chrome.php on the
   `arbor_after_header` hook). Contained to content width via .container. */
body.arbor-ds .arbor-strengths { background: var(--ds-surface-overlay); }
body.arbor-ds .arbor-strengths ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    font-family: var(--ds-font-body);
    font-size: 15px;
    color: var(--ds-body);
}
body.arbor-ds .arbor-strengths li { display: inline-flex; align-items: center; }
/* Bullet separator between items (a dot, not a border) */
body.arbor-ds .arbor-strengths li:not(:last-child)::after { content: "•"; margin: 0 18px; opacity: .5; }
body.arbor-ds .arbor-strengths__check { margin-right: 7px; }
/* Mobile: rotate through ALL strengths one at a time, looping (fade + slide).
   Tuned for 4 items (12s cycle = 4 × 3s). If the number of strengths changes,
   update the cycle duration AND the per-item animation-delays below. */
@media (max-width: 768px) {
    body.arbor-ds .arbor-strengths ul {
        position: relative;
        display: block;
        height: 44px;
        padding: 0;
    }
    body.arbor-ds .arbor-strengths li {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        opacity: 0;
        animation: arbor-strength-cycle 12s infinite;
    }
    body.arbor-ds .arbor-strengths li::after { content: none !important; }  /* no bullet in the rotator */
    body.arbor-ds .arbor-strengths li:nth-child(2) { animation-delay: 3s; }
    body.arbor-ds .arbor-strengths li:nth-child(3) { animation-delay: 6s; }
    body.arbor-ds .arbor-strengths li:nth-child(4) { animation-delay: 9s; }
    @media (prefers-reduced-motion: reduce) {
        body.arbor-ds .arbor-strengths li { animation: none; }
        body.arbor-ds .arbor-strengths li:first-child { opacity: 1; }
    }
}
@keyframes arbor-strength-cycle {
    0%   { opacity: 0; transform: translateY(6px); }
    4%   { opacity: 1; transform: translateY(0); }
    21%  { opacity: 1; transform: translateY(0); }
    25%  { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 0; transform: translateY(-6px); }
}

.arbor-ds ul li {
    margin: 0px;
}

/* ================================ Footer ================================== */
body.arbor-ds .gs-site-footer,
body.arbor-ds .gs-site-footer.site-footer-dark {
    background: var(--ds-ink) !important;
    color: rgba(255, 255, 255, .72);
    border: 0 !important;
}
/* body.arbor-ds .gs-site-footer .footer-widgetized-area { padding-top: var(--ds-space-6); padding-bottom: var(--ds-space-5); } */

/* Widget titles */
body.arbor-ds .gs-site-footer .widget-title,
body.arbor-ds .gs-site-footer .widgettitle,
body.arbor-ds .gs-site-footer h1,
body.arbor-ds .gs-site-footer h2,
body.arbor-ds .gs-site-footer h3,
body.arbor-ds .gs-site-footer h4 {
    font-family: var(--ds-font-head);
    font-weight: var(--ds-fw-heading);
    color: var(--ds-on-dark) !important;
}

/* Footer text + links */
body.arbor-ds .gs-site-footer,
body.arbor-ds .gs-site-footer p,
body.arbor-ds .gs-site-footer li { color: rgba(255, 255, 255, .72) !important; }
body.arbor-ds .gs-site-footer a { color: rgba(255, 255, 255, .82) !important; text-decoration: none; }
body.arbor-ds .gs-site-footer a:hover { color: var(--ds-on-dark) !important; }

/* Subfooter (copyright + social) — kill any divider line */
body.arbor-ds .subfooter-area {
    background: var(--ds-ink) !important;
    border: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
}
body.arbor-ds .subfooter-coypright-text,
body.arbor-ds .subfooter-coypright-text p { color: rgba(255, 255, 255, .55) !important; font-size: 14px; }
body.arbor-ds .subfooter-social-network a { color: rgba(255, 255, 255, .72) !important; }
body.arbor-ds .subfooter-social-network a:hover { color: var(--ds-brand) !important; }

/* Night blue on every bed and mattress page (body.arbor-sleep: Spavaća soba, the beds and
   mattress categories and their product pages; owner, 2026-11-03). The accent token turns
   blue, the footer continues the night, and sale campaigns and savings keep the crimson
   they speak in everywhere else. Spavaća soba's own footer is a shade darker. */
body.arbor-sleep { --ds-brand: #4a6380; --arbor-accent: #4a6380; }
body.arbor-sleep .gs-site-footer,
body.arbor-sleep .gs-site-footer.site-footer-dark,
body.arbor-sleep .footer-widgetized-area,
body.arbor-sleep .subfooter-area { background: #1c2633 !important; }
body.arbor-sleep.arbor-noc-page .gs-site-footer,
body.arbor-sleep.arbor-noc-page .gs-site-footer.site-footer-dark,
body.arbor-sleep.arbor-noc-page .footer-widgetized-area,
body.arbor-sleep.arbor-noc-page .subfooter-area { background: #0e1520 !important; }
body.arbor-sleep .gs-site-footer a.sficn { background-color: #4a6380 !important; }
body.arbor-sleep .gs-site-footer a:hover,
body.arbor-sleep .subfooter-social-network a:hover { color: #b9cde2 !important; }
body.arbor-sleep .floating-price-banner .floating-add-to-cart-btn,
body.arbor-sleep .single-product .single_add_to_cart_button,
body.arbor-sleep .single-product .arbor-btn--primary { background-color: #4a6380 !important; border-color: #4a6380 !important; }
body.arbor-sleep .single-product .arbor-info { background: #4a6380; }
/* Header on bed and mattress pages (owner, 2026-11-03): the bar in the footer's night blue,
   the trust bar in the accent blue, white type, icons and logo (tpls/header/logo.php gets the
   white logo through `reeco_header_light_logo`). Only the bar itself: the phone menu overlay
   (.mobile-navigation) and the desktop mega panels stay white, as everywhere else. */
body.arbor-sleep .gs-site-header-holder,
body.arbor-sleep .gs-site-header-holder .gs-site-header,
body.arbor-sleep .gs-mobile-header-holder,
body.arbor-sleep .gs-mobile-header-holder > .gs-site-header { background: #1c2633 !important; }
body.arbor-sleep .gs-site-header-holder .site-header-menu > li > a,
body.arbor-sleep .gs-site-header-holder .site-header-tools .arbor-header-link,
body.arbor-sleep .gs-site-header-holder .site-header-tools a,
body.arbor-sleep .gs-site-header-holder .site-header-tools svg,
body.arbor-sleep .gs-site-header-holder .header-shopping-cart-icon,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .ml-auto .site-header-tools a,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .ml-auto .site-header-tools svg,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .ml-auto .header-shopping-cart-icon { color: #ffffff !important; }
/* The selected and hovered room keeps the brand red, lightened to read on the night blue. */

body.arbor-sleep .gs-site-header-holder .site-header-navigation { --ds-brand: #e5484d; }
body.arbor-sleep .gs-site-header-holder .site-header-menu > li > a:hover,
body.arbor-sleep .gs-site-header-holder .site-header-menu > li.current-menu-item > a,
body.arbor-sleep .gs-site-header-holder .site-header-menu > li.current-menu-ancestor > a,
body.arbor-sleep .gs-site-header-holder .arbor-meganav__trigger.is-open,
body.arbor-sleep .gs-site-header-holder .arbor-meganav__trigger.is-current { color: #e5484d !important; }
body.arbor-sleep .gs-site-header-holder .site-header-tools .arbor-header-link:hover,
body.arbor-sleep .gs-site-header-holder .site-header-tools a:hover svg,
body.arbor-sleep .gs-site-header-holder .header-shopping-cart-icon:hover { color: #b9cde2 !important; }
/* Desktop mega panel: the same night blue as the bar, one surface; red for the current category.
   .arbor-ds in the selector: arbor-nav.css loads after this file with the same weight. */
body.arbor-sleep.arbor-ds .arbor-mega { background: #1c2633 !important; box-shadow: 0 5px 12px rgba(0, 0, 0, .25); }
body.arbor-sleep.arbor-ds .arbor-mega__subcat,
body.arbor-sleep.arbor-ds .arbor-mega__tile-title,
body.arbor-sleep.arbor-ds .arbor-mega__tile-price,
body.arbor-sleep.arbor-ds .arbor-mega__tile-price .amount,
body.arbor-sleep.arbor-ds .arbor-mega__tile-price bdi { color: #ffffff !important; }
body.arbor-sleep.arbor-ds .arbor-mega__subcat:hover,
body.arbor-sleep.arbor-ds .arbor-mega__subcat.is-current { background: rgba(255, 255, 255, .08) !important; color: #e5484d !important; }
body.arbor-sleep.arbor-ds .arbor-mega__feature-head { color: rgba(255, 255, 255, .6) !important; }
body.arbor-sleep.arbor-ds .arbor-mega__viewall,
body.arbor-sleep.arbor-ds .arbor-mega__kviz,
body.arbor-sleep.arbor-ds .arbor-mega__tile-eyebrow,
body.arbor-sleep.arbor-ds .arbor-mega__tile:hover .arbor-mega__tile-title { color: #b9cde2 !important; }
body.arbor-sleep.arbor-ds .arbor-mega__viewall:hover,
body.arbor-sleep.arbor-ds .arbor-mega__kviz:hover { color: #ffffff !important; }
body.arbor-sleep.arbor-ds .arbor-mega__tile-price del { color: rgba(255, 255, 255, .55) !important; }
body.arbor-sleep.arbor-ds .arbor-mega__tile-price ins { color: #e5484d !important; }
body.arbor-sleep.arbor-ds .arbor-mega__tile-media,
body.arbor-sleep.arbor-ds .arbor-mega__tile-ph { background: #24303f !important; }
body.arbor-sleep .gs-site-header-holder .cart-number,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .ml-auto .cart-number { background: #b9cde2 !important; color: #1c2633 !important; }
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .ml-auto > .mobile-header-btn svg { fill: #ffffff; }
body.arbor-sleep .gs-site-header-holder .gs-site-header-inner .gs-logo .logo-default,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .gs-logo .logo-default { opacity: 0; visibility: hidden; }
body.arbor-sleep .gs-site-header-holder .gs-site-header-inner .gs-logo .logo-light,
body.arbor-sleep .gs-mobile-header-holder .gs-site-header-inner > .gs-logo .logo-light { opacity: 1; visibility: visible; }
body.arbor-sleep .arbor-strengths { background: #4a6380 !important; }
body.arbor-sleep .arbor-strengths ul { color: #ffffff !important; }
/* Bed configurator mattress tiles (owner: "too crowded"): "Preporučujemo" as a strip on
   Original's photo instead of a line under its name; on phones all four tiles in one row. */
body.arbor-sleep .arbor-swatch:has(> input[data-component][value="original"]) .arbor-swatch__img { position: relative; }
body.arbor-sleep .arbor-swatch:has(> input[data-component][value="original"]) .arbor-swatch__img::after { content: "Preporučujemo"; position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0 3px; background: #4a6380; color: #fff; font-size: 9.5px; font-weight: 600; line-height: 1.2; text-align: center; }
@media (max-width: 480px) {
	body.arbor-sleep .arbor-swatches:has(> .arbor-swatch > input[data-component]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	body.arbor-sleep .arbor-swatches:has(> .arbor-swatch > input[data-component]) .arbor-swatch__label { font-size: 11.5px; line-height: 1.25; }
	body.arbor-sleep .arbor-swatches:has(> .arbor-swatch > input[data-component]) .arbor-swatch__price { font-size: 10.5px; line-height: 1.25; white-space: normal; text-align: center; }
	body.arbor-sleep .arbor-swatch:has(> input[data-component][value="original"]) .arbor-swatch__img::after { font-size: 8px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
}
body.arbor-sleep [class*="arbor-campaign"],
body.arbor-sleep .arbor-announce,
body.arbor-sleep .arbor-announce--campaign,
body.arbor-sleep .arbor-savings { --ds-brand: #A90E1E; --arbor-accent: #A90E1E; }

/* ======================================================================
 * CANONICAL CAROUSEL DOTS  (site-wide — the ONE dot design)
 * ----------------------------------------------------------------------
 * Every horizontal scroll carousel on the site shares this indicator: a grey
 * pill at rest; the active one turns brand crimson and stretches to a wider
 * pill. The reference was the "Poseti salon" page — this is now the source of
 * truth, restyle here and every carousel updates.
 *
 * Markup + behaviour live in assets/js/arbor-carousel.js:
 *   <div … data-arbor-carousel>…slides…</div>
 *   <div class="arbor-dots" data-arbor-dots></div>
 *
 * Variants:
 *   .arbor-dots            → visible wherever the row scrolls (desktop + mobile)
 *   .arbor-dots--mobile    → dots only on phones (row is a grid on desktop)
 *   .arbor-dots.is-hidden  → JS hides these when the row isn't overflowing
 * ==================================================================== */
body.arbor-ds .arbor-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: var(--ds-space-3);
	padding: 0;
}
body.arbor-ds .arbor-dots.is-hidden { display: none !important; }

body.arbor-ds .arbor-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: var(--ds-radius-pill);
	background: rgba(24, 24, 24, .18);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background .2s ease, width .2s ease;
}
body.arbor-ds .arbor-dot:hover { background: rgba(24, 24, 24, .34); }
body.arbor-ds .arbor-dot.is-active,
body.arbor-ds .arbor-dot.is-active:hover { background: var(--ds-brand); width: 22px; }

/* Mobile-only variant: hidden on desktop grids, shown once the row scrolls. */
body.arbor-ds .arbor-dots--mobile { display: none; }
@media (max-width: 780px) {
	body.arbor-ds .arbor-dots--mobile { display: flex; }
}

/* ======================================================================
 * Google rating strip (inc/arbor-social-proof.php)
 * ----------------------------------------------------------------------
 * ONE component reused on the PDP, the salon page, checkout and category
 * landings. No borders (Arbor design rule) — separation comes from the
 * surface fill and spacing. Renders only when a real rating exists.
 * ==================================================================== */
body.arbor-ds .arbor-grating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ds-font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--ds-ink);
	text-decoration: none;
	line-height: 1;
}
body.arbor-ds a.arbor-grating:hover .arbor-grating__count { color: var(--ds-ink); }

/* Five stars with a fractional fill: grey base + clipped gold overlay. */
body.arbor-ds .arbor-grating__stars {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	font-size: 15px;
	letter-spacing: 1.5px;
	line-height: 1;
	flex: none;
}
body.arbor-ds .arbor-grating__stars-base { color: #d9d9d9; }
body.arbor-ds .arbor-grating__stars-on {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #f5a623;
}
body.arbor-ds .arbor-grating__score {
	font-family: var(--ds-font-head);
	font-weight: 700;
	font-size: 15px;
}
body.arbor-ds .arbor-grating__count {
	color: var(--ds-body);
	font-size: 13px;
}

/* PDP — under the title/trust bar, above the short description. */
body.arbor-ds .arbor-grating--pdp { margin: 2px 0 14px; }

/* Salon hero — matches the address/hours chips beside it. */
body.arbor-ds .arbor-grating--chip {
	padding: 9px 16px;
	border-radius: var(--ds-radius-pill);
	background: var(--ds-surface);
}
body.arbor-ds .arbor-grating--chip .arbor-grating__count { color: var(--ds-ink); font-weight: 500; }

/* Checkout — centred above the trust list in the summary card. */
body.arbor-ds .arbor-grating--checkout {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 22px 0 0;
}

/* Category landings — centred under the section heading. */
body.arbor-ds .arbor-grating--center {
	display: flex;
	justify-content: center;
	width: 100%;
}

/* ==========================================================================
 * CANONICAL PRICE COLOUR — the one place prices get their colour.
 *
 * `Arbor\Commerce\Frontend\PriceHtml` filters `woocommerce_get_price_html` and
 * returns the SAME markup for every catalog price on the site:
 *
 *     <span class="price-prefix">Od </span> <b class="discounted-price">…</b>
 *
 * Note there is no <ins>/<del> in that output, so the sale-price rules various
 * stylesheets carry for `ins`/`del` never fire on a catalog price — the colour
 * of `.discounted-price` is the whole story.
 *
 * That class used to be painted `#d51f2a` by an unscoped rule in the
 * Customizer's Additional CSS, left over from the Elementor build. Because it
 * sat on the element actually carrying the number, a surface that set its colour
 * on the *wrapper* (`.arbor-product__price`, `.arbor-mnav__tile-price`) lost to
 * it and rendered red, while a surface that reached the inner `.amount` with
 * `!important` (shop/category cards, the PDP price row, the sticky buybar) won
 * and rendered ink. Same price, different colour, page to page — with the
 * prefix and the number sometimes disagreeing inside a single price.
 *
 * So the default lives here instead. Deliberately ONE class of specificity
 * (0,1,0): it beats nothing, which means any surface that genuinely wants a
 * different treatment still overrides it by being more specific — as
 * `.discounted-price-container .discounted-price` (white on the legacy red bar)
 * and the PDP's own price row already do.
 *
 * Prices are ink. Crimson (--ds-brand) is for savings, badges and CTAs — see
 * `.arbor-savings`. A price is not a saving.
 * ========================================================================== */
.discounted-price {
	color: var(--ds-ink);
}
