/*
Theme Name: Reeco
Theme URI: http://gradastudio.com/reeco
Description: Furniture WooCommerce Theme
Author: GradaStudio
Author URI: https://themeforest.net/user/gradastudio
Version: 1.0.1
License: General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Tags: blog, two-columns, three-columns, left-sidebar, featured-images, sticky-post, custom-menu, footer-widgets, theme-options, threaded-comments, translation-ready, e-commerce, portfolio
Text Domain: reeco
Domain Path: /languages
*/

/*
 * This file holds ALL hand-written, site-specific CSS for the Arbor store.
 * It loads last (after assets/css/reeco.css and vendors), so it wins the cascade.
 *
 * Conventions: see CSS-GUIDE.md. Use the --arbor-* tokens below instead of
 * hard-coded colours. Do NOT edit assets/css/reeco.css (generated) or
 * inc/grada-custom-style.php (generated from the Customizer/ACF).
 */

/*==============================
=        Design tokens         =
==============================*/
:root {
    /* ----------------------------------------------------------------------
     * Premium palette (mattress + bed pages). Greys + ink; red is a RARE accent
     * (savings + "trenutno gledate" badge only). Applied via body.arbor-premium,
     * which remaps the --arbor-* tokens below to these. See assets/css/arbor-premium.css.
     * -------------------------------------------------------------------- */
    --ink: #353535;        /* text, price, icons, links, firmness marker, accordion + */
    --ink-soft: #73706b;   /* muted/body text */
    --paper: #fafafa;      /* page background */
    --surface: #f3f2f1;    /* cards, labels, offer banner */
    --line: #e6e5e3;       /* borders/dividers */
    --tint: #efefef;       /* highlight (current model card, selected delivery) — light grey */
    --tint-line: #dbdad6;  /* border for highlighted/selected */
    --red: #d51f2a;        /* BRAND red — savings + "trenutno gledate" badge ONLY */
    --white: #ffffff;

    /* Accent (discounts, highlights) */
    --arbor-accent: #d51f2a;
    --arbor-accent-bg: #ffe4e4;

    /* Text */
    --arbor-text: #333;
    --arbor-text-muted: #777;
    --arbor-text-label: #666;

    /* Surfaces & borders */
    --arbor-white: #fff;
    --arbor-surface: #f9f9f9;
    --arbor-border: #eee;
    --arbor-border-input: #ddd;
    --arbor-disabled: #ccc;

    /* Buttons */
    --arbor-btn-bg: #333;
    --arbor-btn-bg-hover: #000;

    /* Radii */
    --arbor-radius-sm: 1.5rem;
    --arbor-radius-md: 2rem;
    --arbor-radius-pill: 1.2rem;

    /* Effects */
    --arbor-shadow-banner: 0 -2px 10px rgba(0, 0, 0, 0.1);
    --arbor-z-banner: 9999;

    /* ----------------------------------------------------------------------
     * DESIGN LANGUAGE tokens (Figma: "Arbor Nameštaj — Design Language").
     * Canonical source of truth going forward. Used by the de-Elementor page
     * templates (assets/css/arbor-pages.css) and new components. Existing
     * --arbor--ink/--red tokens are intentionally left unchanged for now;
     * Phase 2 migrates components onto these and retires the duplicates.
     * -------------------------------------------------------------------- */
    /* Core palette (exact values from the design-language sheet) */
    --ds-page:    #ffffff;  /* Page White — page background */
    --ds-surface: #f1f1f1;  /* Surface Grey — cards, alt sections, inputs */
    --ds-surface-overlay: #eaeaea;  /* Surface Overlay — surfaces on surface (hover/active surfaces, offer banner) */
    --ds-ink:     #181818;  /* Near Black — headings, primary text, dark sections/footer */
    --ds-body:    #686868;  /* Body Grey — body copy, muted text */
    --ds-brand:   #A90E1E;  /* Brand Crimson — primary CTAs, savings, badges */
    --ds-line:    #e6e6e6;  /* hairline borders/dividers (derived) */
    --ds-on-brand:#ffffff;  /* text/icon on brand */
    --ds-on-dark: #ffffff;  /* text/icon on near-black surfaces */

    /* Typography (Display 64/800, Heading 30/700 upper, Body 16/400, Button 14/700 upper) */
    --ds-font-head: 'Outfit', 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ds-font-body: 'Jost', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ds-fs-display: 64px;
    --ds-fs-heading: 30px;
    --ds-fs-body:    16px;
    --ds-fs-button:  14px;
    --ds-fw-display: 800;
    --ds-fw-heading: 700;
    --ds-fw-body:    400;
    --ds-fw-button:  700;
    --ds-lh-tight:   1.1;
    --ds-lh-body:    1.7;

    /* Radius & spacing (Visual Tokens: 16px radius, 48px standard padding) */
    --ds-radius:      32px;  /* cards, media, sections */
    --ds-radius-pill: 999px; /* buttons, badges, swatches */
    --ds-space:       48px;  /* standard section padding */
    --ds-space-1: 8px;
    --ds-space-2: 16px;
    --ds-space-3: 24px;
    --ds-space-4: 32px;
    --ds-space-5: 48px;
    --ds-space-6: 64px;
}

/*==============================
=        WordPress core        =
==============================*/
.wp-caption {
    width: auto;
    clear: both;
    max-width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #999;
}

figcaption {
    color: #a9a9a9;
    font-style: italic;
}

.wp-caption a {
    box-shadow: none;
}

.alignright {
    margin: 0 0 25px 25px;
    box-sizing: border-box;
    float: right !important;
}

.alignleft {
    float: left;
    margin: 0 25px 25px 0;
    box-sizing: border-box;
}

.aligncenter {
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
    box-sizing: border-box;
}

.wp-caption img {
    margin-top: 15px;
}

.wp-caption p.wp-caption-text {
    padding: 0;
    font-size: 14px;
    margin-top: 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.wp-block-gallery {
    margin-bottom: 20px;
}

.bypostauthor {
    background-color: #f3f1f1;
}

.gallery-caption {
    opacity: 0.7;
    margin-top: 10px;
}

.gallery-item {
    margin: 0 0 15px 0;
    padding-right: 10px;
    padding-left: 10px;
}

.gallery-item a {
    box-shadow: none;
}

.gallery-item img {
    border: 0 !important;
}

/*==============================
=        Header layout         =
==============================*/
/* The header is set to full-width in the theme, so on wide monitors the logo,
   menu and tools stretch all the way to the screen edges. Cap the header inner
   row to the SAME box as the page .container (960px ≥992, 1140px ≥1200) and
   centre it, so the menu lines up with the page content instead of the edges.
   Desktop header only renders at ≥992px, so we scope to that. */
@media (min-width: 992px) {
    .gs-site-header-full-width .gs-site-header-inner {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1200px) {
    .gs-site-header-full-width .gs-site-header-inner {
        max-width: 1140px;
    }
}

/*==============================
=    Arbor: Plan selector      =
==============================*/
.reeco-plan-selector {
    margin: 20px 0 10px 0;
}

.reeco-plan-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--arbor-text-label);
    margin-bottom: 10px;
}

.reeco-plan-options {
    display: flex;
    gap: 10px;
}

.reeco-plan-option {
    flex: 1;
    background: var(--arbor-white);
    cursor: pointer;
    border-radius: var(--arbor-radius-sm);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}

.reeco-plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.reeco-plan-option.reeco-plan-selected {
    background: var(--arbor-accent-bg);
}

.reeco-plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--arbor-text);
}

.reeco-plan-selected .reeco-plan-name {
    color: var(--arbor-accent);
}

.reeco-plan-days {
    font-size: 12px;
    color: var(--arbor-text-muted);
}

.reeco-plan-details {
    display: flex;
    gap: 6px;
    align-items: center;
}

.reeco-plan-discount {
    font-size: 13px;
    font-weight: 600;
    color: var(--arbor-accent);
}

.reeco-plan-terms-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--arbor-text-muted);
    text-decoration: underline;
}

.reeco-plan-terms-link:hover {
    color: var(--arbor-accent);
}

@media (max-width: 480px) {
    .reeco-plan-options {
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    .product-summary-style {
        margin: 10px;
    }
}

/*=========================================
=  Arbor: Sticky product gallery (desktop) =
=========================================*/
/* Pin the image gallery while the taller options column scrolls past it, then
   let it ride up when the two-column product block ends. CSS only — no JS.
   Applies on the native layout (beds/sofas), the modular PDP, and the mattress
   template — all share `.row.gs-single-product-top` with the gallery column being
   the row child that ISN'T the `.product-summary-style` summary.

   TWO fixes vs. the old rule:
   1. Stick the INNER `.woocommerce-product-gallery`, not the column. `.row` is a
      flexbox and `position: sticky` does NOT engage on a direct flex child in
      Chromium/Safari (it just scrolls away) — so the old column-level sticky was
      silently dead. Instead we let the column stretch to the full row height
      (`align-self: stretch`, giving the gallery room to travel) and pin the
      gallery element inside it, whose containing block is the now-tall column.
   2. Clear the sticky site header. The header is a pinned bar (arbor-chrome.css:
      .gs-site-header-holder — position:sticky; top:0; z-index:1000; ~82px tall),
      so a `top` gap of a few px let the pinned gallery slide UNDER the navbar,
      covering the photo. We pin ~18px below the header's bottom edge instead. */
@media (min-width: 992px) {
    .single-product .gs-single-product-top > div:not(.product-summary-style) {
        align-self: stretch; /* full-height flex item → room for the inner sticky */
    }
    /* The `.gs-product-images` class is chained purely to out-specify WooCommerce
       core's `.woocommerce div.product div.images.woocommerce-product-gallery`
       (0,4,2) `position: relative`, which would otherwise win over the sticky. */
    .single-product .gs-single-product-top > div:not(.product-summary-style) > .woocommerce-product-gallery.gs-product-images {
        position: -webkit-sticky;
        position: sticky;
        top: 100px; /* ~82px sticky header + ~18px breathing gap */
    }
    /* Logged-in users get the 32px WP admin bar, which pushes the sticky header
       down to top:32px — so the gallery must clear header + admin bar. */
    .admin-bar .single-product .gs-single-product-top > div:not(.product-summary-style) > .woocommerce-product-gallery.gs-product-images {
        top: 132px; /* 100px + 32px admin bar */
    }
}

/*==============================
=    Arbor: Product trust bar  =
==============================*/
.product-trust-bar {
    display: flex;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--arbor-accent);
    line-height: 1;
}

.trust-icon svg {
    width: 32px;
    height: 32px;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--arbor-text);
    line-height: 1.3;
}

.trust-subtitle {
    font-size: 12px;
    color: var(--arbor-text-muted);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-trust-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        margin: 0;
    }

    .trust-item {
        gap: 12px;
    }

    .trust-icon {
        line-height: 1;
    }

    .trust-icon svg {
        width: 28px;
        height: 28px;
    }
}

/*==============================
=  Arbor: Floating price banner =
==============================*/
.floating-price-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--arbor-white);
    box-shadow: var(--arbor-shadow-banner);
    z-index: var(--arbor-z-banner);
    padding: 15px 20px;
    display: block !important;
}

.floating-price-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-price-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-discounted-price {
    font-size: 22px;
    font-weight: bold;
    color: var(--arbor-accent);
}

.floating-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-quantity-input {
    width: 60px;
    height: 46px;
    text-align: center;
    border: 1px solid var(--arbor-border-input);
    border-radius: var(--arbor-radius-pill);
    font-size: 16px;
    padding: 0 10px;
    -moz-appearance: textfield;
}

.floating-quantity-input::-webkit-outer-spin-button,
.floating-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.floating-add-to-cart-btn {
    background: var(--arbor-btn-bg);
    color: var(--arbor-white);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--arbor-radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.floating-banner-actions .floating-add-to-cart-btn.button {
    padding: 0 20px !important;
}

.floating-add-to-cart-btn .plus-sign {
    font-size: 20px;
    font-weight: bold;
    margin-right: 4px;
}

.floating-add-to-cart-btn svg {
    width: 22px;
    height: 22px;
}

.floating-add-to-cart-btn:hover {
    background: var(--arbor-btn-bg-hover);
    opacity: 0.9;
}

.floating-add-to-cart-btn:disabled {
    background: var(--arbor-disabled);
    cursor: not-allowed;
    opacity: 0.6;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.variations.shake {
    animation: shake 0.5s;
}

/* Hide the template-rendered duplicate price inside .woocommerce-variation */
.woocommerce-variation .wapf-p.price {
    display: none !important;
}

@media (max-width: 768px) {
    .floating-price-banner {
        padding: 12px 15px;
        position: fixed !important;
        display: block !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
    }

    .floating-price-banner-content {
        flex-direction: row;
        align-items: center;
    }

    .floating-price-info {
        width: 100%;
        justify-content: center;
        align-items: start;
        padding-left: 15px;
        flex-direction: column;
    }

    .floating-banner-actions {
        justify-content: center;
    }

    .floating-quantity-input {
        width: 50px;
        height: 40px;
        font-size: 14px;
    }

    .floating-add-to-cart-btn {
        flex: 1;
        padding: 0;
        font-size: 14px;
        height: 40px;
    }

    .floating-discounted-price {
        font-size: 20px;
    }
}

/*==============================
=    Arbor: Cart page          =
==============================*/
/*
 * Recolours WooCommerce's cart page to the --arbor-* tokens. reeco.css ships
 * the cart in off-palette grays (#f9f9f9 / #e5e5e5 / #181818) and a square
 * dark button, which is why it looks disconnected from the product page.
 * reeco.css sets many of these with high specificity / !important, so the
 * overrides below match its selectors and add !important where it forces it
 * (see CSS-GUIDE.md — overriding reeco.css is the sanctioned use of !important).
 */

/* Table borders → soft Arbor border */
.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th {
    border-color: var(--arbor-border);
}

.woocommerce-cart table.shop_table th {
    color: var(--arbor-text-label);
}

/* Rounded product thumbnails */
.woocommerce-cart table.shop_table td.product-thumbnail img {
    border-radius: var(--arbor-radius-sm);
}

/* Item title link */
.woocommerce-cart table.shop_table td.product-name a {
    color: var(--arbor-text);
}

.woocommerce-cart table.shop_table td.product-name a:hover {
    color: var(--arbor-accent);
}

/* Remove "×" — muted, accent on hover */
.woocommerce-cart table.shop_table td.product-remove a.remove {
    color: var(--arbor-text-muted) !important;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    color: var(--arbor-accent) !important;
    background: transparent !important;
}

/* Quantity input → rounded, token border */
.woocommerce-cart table td.product-quantity .quantity input {
    border: 1px solid var(--arbor-border-input);
    border-radius: var(--arbor-radius-sm);
}

/* Grand total echoes the product-page accent price */
.woocommerce-cart .cart_totals table .order-total td span {
    color: var(--arbor-accent) !important;
}

/* Unify every cart button with the Arbor add-to-cart button (solid #333, rounded) */
.woocommerce-cart .woocommerce .button:not(.yith-wcqv-button) {
    background-color: var(--arbor-btn-bg) !important;
    border-color: var(--arbor-btn-bg) !important;
    border-radius: var(--arbor-radius-sm) !important;
    color: var(--arbor-white) !important;
}

.woocommerce-cart .woocommerce .button:not(.yith-wcqv-button):hover {
    background-color: var(--arbor-btn-bg-hover) !important;
    border-color: var(--arbor-btn-bg-hover) !important;
    color: var(--arbor-white) !important;
}

/*
 * Mobile: reeco.css collapses the cart into stacked cards. This gives every
 * container ONE consistent surface, and lays each label/value out as a single
 * flex row so long product names and prices stop wrapping onto extra lines.
 */
@media (max-width: 768px) {
    /* One uniform card surface: item rows, the coupon/actions box, the totals box */
    .woocommerce .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item,
    .woocommerce .woocommerce-cart-form table.shop_table td.actions,
    .woocommerce .cart_totals {
        background-color: var(--arbor-surface) !important;
        border: 1px solid var(--arbor-border) !important;
        border-radius: var(--arbor-radius-md) !important;
    }

    /* Readable, cleanly wrapping product title */
    .woocommerce .woocommerce-cart-form table.shop_table td.product-name {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Label + value on a single line (label left, value right) */
    .woocommerce .woocommerce-cart-form table.shop_table td.product-price,
    .woocommerce .woocommerce-cart-form table.shop_table td.product-quantity,
    .woocommerce .woocommerce-cart-form table.shop_table td.product-subtotal {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table td.product-price::before,
    .woocommerce .woocommerce-cart-form table.shop_table td.product-quantity::before,
    .woocommerce .woocommerce-cart-form table.shop_table td.product-subtotal::before {
        min-width: 0;
        margin: 0;
        color: var(--arbor-text-label);
        font-weight: 600;
        white-space: nowrap;
    }

    .woocommerce .woocommerce-cart-form table.shop_table td.product-quantity .quantity {
        margin-left: 0;
    }

    /* Subtotal: accent value, divider above (label stays muted via rule above) */
    .woocommerce .woocommerce-cart-form table.shop_table td.product-subtotal {
        color: var(--arbor-accent);
        border-top: 1px solid var(--arbor-border);
        margin-top: 10px;
        padding-top: 12px !important;
    }

    /* Coupon input → token border */
    .woocommerce .woocommerce-cart-form table.shop_table td.actions .coupon input {
        border-color: var(--arbor-border-input);
        border-radius: var(--arbor-radius-sm);
    }

    /* Totals box: even padding, and drop the duplicate ::before label
       (each row's <th> already labels it) */
    .woocommerce .cart_totals {
        padding: 20px;
        margin-top: 20px;
    }

    .woocommerce .cart_totals table {
        padding: 0 !important;
    }

    .woocommerce .cart_totals table td::before {
        display: none;
    }
}

/*==============================
=    Arbor: Mini-cart dropdown =
==============================*/
/*
 * Header flyout cart in the Arbor design language: a COMPACT light card. Each
 * row shows only photo, name and the qty × price line — configurator/variation
 * meta is intentionally omitted here (still shown on the full cart page). reeco.css
 * ships it dark (#181818); this restyles it onto the canonical card surface with
 * NO borders, NO lines, NO shadows (separation is surface fill + radius + spacing).
 * Desktop-only: reeco.css hides it < 768px and reveals it on hover (that transition
 * is left untouched). reeco.css colours these deep in the cascade (some with
 * !important), so overrides mirror its selector depth / use !important to win.
 */

/* Panel — compact light card, 32px radius, no border/shadow */
.dropdown-cart {
    padding: 20px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    margin-top: var(--ds-space-2) !important;
    background-color: var(--ds-surface) !important;
    border: 0 !important;
    border-radius: var(--ds-radius) !important;
    box-shadow: 0 12px 32px rgba(24, 24, 24, 0.10) !important;
    font-family: var(--ds-font-body);
}

/* Loading overlay matches the panel surface */
.dropdown-cart .dropdown-shopping-cart .blockUI.blockOverlay,
.dropdown-cart .dropdown-shopping-cart .loader {
    background-color: var(--ds-surface) !important;
}

/* Items list */
.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list {
    margin: 0 0 18px 0 !important;
    padding: 0;
    list-style: none;
}

/* Item row — photo | name + qty×price | pinned remove; spacing, never lines */
.dropdown-cart .dropdown-cart-list .dropdown-cart-list-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px 0;
    padding: 0 22px 0 0 !important;
    border: 0 !important;
}

.dropdown-cart .dropdown-cart-list .dropdown-cart-list-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

/* Thumbnail — small square, softly rounded */
.dropdown-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-img {
    flex: 0 0 auto;
}

.dropdown-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-img img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: calc(var(--ds-radius) / 2);
    margin: 0;
}

/* Info column */
.dropdown-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
}

/* Product name — Outfit, one tidy line */
.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info .title {
    margin: 0 0 2px 0 !important;
    line-height: 1.3 !important;
}

.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info .title a {
    font-family: var(--ds-font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-ink) !important;
}

.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info .title a:hover {
    color: var(--ds-brand) !important;
}

/* Linked/child item indicator (↳) — muted, reads as a sub-line of the item above */
.dropdown-cart .dropdown-cart-item-info .title .arbor-child-line {
    color: var(--ds-body);
    font-weight: 400;
}

/* Quantity × price */
.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info .quantity,
.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-info .quantity span {
    font-size: 13px !important;
    color: var(--ds-body) !important;
}

/* Remove "×" — pinned, vertically centred on the row */
.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-remove {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px !important;
    line-height: 1 !important;
    color: var(--ds-body) !important;
}

.dropdown-cart .dropdown-shopping-cart .dropdown-cart-list .dropdown-cart-list-item .dropdown-cart-item-remove:hover {
    color: var(--ds-brand) !important;
}

/* Subtotal — spacing (no divider line), muted label, ink total */
.dropdown-cart .dropdown-cart-bottom .dropdown-cart-subtotal {
    display: flex;
    align-items: center;
    margin: 0 0 14px 0;
    padding: 0 !important;
    border: 0 !important;
}

.dropdown-cart .dropdown-cart-bottom .dropdown-cart-subtotal .subtotal {
    margin: 0 !important;
    font-family: var(--ds-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-body) !important;
}

.dropdown-cart .dropdown-cart-bottom .dropdown-cart-subtotal .price {
    margin-left: auto;
}

.dropdown-cart .dropdown-cart-bottom .dropdown-cart-subtotal .price .amount {
    font-family: var(--ds-font-head);
    font-size: 16px;
    font-weight: 700;
    /* Ink, not crimson. This total was the last price on the site still rendered
       in the brand colour, so the same basket read crimson in the header flyout
       and ink two clicks later on the cart page. Crimson here also competed with
       the filled "Idi na korpu" button directly beneath it. See the canonical
       price rule in assets/css/arbor-chrome.css. */
    color: var(--ds-ink) !important;
}

/* Empty state */
.dropdown-cart .widget_shopping_cart_content .mini-cart-empty-message {
    text-align: center;
}

.dropdown-cart .widget_shopping_cart_content .mini-cart-empty-message p {
    margin: 0;
    padding: 8px 0;
    font-size: 13px;
    color: var(--ds-body) !important;
}

/* CTA — dark ink pill, crimson on hover (matches .arbor-mega__kviz) */
.dropdown-cart-bottom .dropdown-cart-btn .button {
    display: block;
    width: 100%;
    padding: 13px 22px !important;
    font-family: var(--ds-font-head);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--ds-ink) !important;
    border: 0 !important;
    border-radius: var(--ds-radius-pill) !important;
    color: var(--ds-on-dark) !important;
}

.dropdown-cart-bottom .dropdown-cart-btn .button:hover {
    background-color: var(--ds-brand) !important;
    border-color: var(--ds-brand) !important;
    color: var(--ds-on-dark) !important;
}

/*==============================
=     WooCommerce product tags     =
==============================*/
/* Shown on shop loop items (under categories) and on the single product page
   (under the title). Rendered pill-style to read as tags, distinct from the
   plain-text category line. PHP uses an empty separator, so each tag is its
   own <a> — no comma text nodes between them. */
.gs-product-tags {
    margin: 10px 0;
}

.gs-product-tags a {
    display: inline-block;
    margin: 0 4px 6px 0;
    padding: 2px 12px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--arbor-text-label);
    background: var(--arbor-surface);
    border: 1px solid var(--arbor-border);
    border-radius: var(--arbor-radius-pill);
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.gs-product-tags a:hover {
    color: var(--arbor-white);
    background: var(--arbor-accent);
    border-color: var(--arbor-accent);
}

/* Grid styles center their meta, so center the pills to match.
   The left-image style is left-aligned, which inline-block pills follow by default. */
.product-item--classic-grid .gs-product-tags,
.product-item--meta-overlay .gs-product-tags {
    text-align: center;
}

/* Single product: sit tight under the title, with breathing room before the price. */
.gs-single-product-tags {
    margin: 6px 0 15px;
}

/*==================================================
=  Ugaone garniture — landing page (single category) =
==================================================*/
/* Scoped under .arbor-ug. Used ONLY by tpls/taxonomy/custom-category.php,
   which loads only for the ugaone-garniture category. Mirrors the existing
   design language: Jost (inherited), --arbor-* tokens, .trust-item-style icons. */

.arbor-ug {
    color: var(--arbor-text);
}

/* --- shared buttons --- */
.arbor-ug .arbor-ug-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-weight: 600;
    line-height: 1.2;
    border: 2px solid transparent;
    border-radius: var(--arbor-radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.arbor-ug .arbor-ug-btn__icon {
    display: inline-flex;
}

.arbor-ug .arbor-ug-btn__icon svg {
    width: 18px;
    height: 18px;
}

.arbor-ug .arbor-ug-btn--primary {
    background: var(--arbor-accent);
    border-color: var(--arbor-accent);
    color: var(--arbor-white);
}

.arbor-ug .arbor-ug-btn--primary:hover {
    background: #b51a23;
    border-color: #b51a23;
    color: var(--arbor-white);
}

.arbor-ug .arbor-ug-btn--ghost {
    background: var(--arbor-surface);
    color: var(--arbor-text);
}

.arbor-ug .arbor-ug-btn--ghost:hover {
    background: var(--arbor-btn-bg);
    color: var(--arbor-white);
}

/* --- section shell --- */
.arbor-ug .arbor-ug-section {
    padding: 60px 0;
}

.arbor-ug .arbor-ug-section--alt {
    background: var(--arbor-surface);
}

.arbor-ug .arbor-ug-h2 {
    margin: 0 0 32px;
    text-align: center;
    font-size: 28px;
}

.arbor-ug .arbor-ug-h2--left {
    text-align: left;
}

/* emotional intro line under a section title */
.arbor-ug .arbor-ug-lead {
    max-width: 720px;
    margin: -16px auto 36px;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: var(--arbor-text-muted);
}

/* --- image placeholders --- */
.arbor-ug .arbor-ug-ph__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--arbor-text-muted);
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--arbor-radius-sm);
    text-align: center;
    white-space: nowrap;
}

/* --- 1. hero --- */
/* Boxed hero: it lives inside a .container so it matches the page content width
   (instead of being full-bleed), with rounded 2rem corners (--arbor-radius-md).
   overflow:hidden clips the background image + overlay to the rounded box. */
.arbor-ug .arbor-ug-hero-section {
    padding: 40px 0;
}

.arbor-ug .arbor-ug-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 60px 56px;
    overflow: hidden;
    border-radius: var(--arbor-radius-md);
}

.arbor-ug .arbor-ug-hero__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e9e9e9, #d8d8d8);
}

/* Fills the hero regardless of the photo's shape (vertical photos get cropped,
   never stretched). Change object-position to nudge the visible crop. */
.arbor-ug .arbor-ug-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.arbor-ug .arbor-ug-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.arbor-ug .arbor-ug-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: var(--arbor-white);
}

.arbor-ug .arbor-ug-hero__title {
    margin: 0 0 16px;
    color: var(--arbor-white);
    font-size: 44px;
    line-height: 1.15;
}

.arbor-ug .arbor-ug-hero__subline {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.arbor-ug .arbor-ug-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.arbor-ug .arbor-ug-badges li {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--arbor-text-label);
    background-color: var(--arbor-surface);
    border-radius: var(--arbor-radius-pill);
}

.arbor-ug .arbor-ug-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.arbor-ug .arbor-ug-hero .arbor-ug-btn--ghost {
}

.arbor-ug .arbor-ug-hero .arbor-ug-btn--ghost:hover {
    background: var(--arbor-white);
    color: var(--arbor-text);
}

/* --- 2. benefits (mirrors .trust-item) --- */
.arbor-ug .arbor-ug-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.arbor-ug .arbor-ug-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.arbor-ug .arbor-ug-benefit__icon {
    flex: 0 0 auto;
    color: var(--arbor-accent);
    line-height: 1;
}

.arbor-ug .arbor-ug-benefit__icon svg {
    width: 32px;
    height: 32px;
}

.arbor-ug .arbor-ug-benefit__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.arbor-ug .arbor-ug-benefit__desc {
    margin: 0;
    font-size: 14px;
    color: var(--arbor-text-muted);
    line-height: 1.4;
}

/* --- 3. featured cards --- */
.arbor-ug .arbor-ug-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arbor-ug .arbor-ug-card {
    display: flex;
    flex-direction: column;
    background: var(--arbor-white);
    border-radius: var(--arbor-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--arbor-text);
    transition: box-shadow 0.2s, transform 0.2s;
}

.arbor-ug .arbor-ug-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.arbor-ug .arbor-ug-card--hero {
    border-color: var(--arbor-accent);
}

.arbor-ug .arbor-ug-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--arbor-surface);
}

.arbor-ug .arbor-ug-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arbor-ug .arbor-ug-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--arbor-white);
    background: var(--arbor-accent);
    border-radius: var(--arbor-radius-pill);
}

.arbor-ug .arbor-ug-card__body {
    padding: 16px;
    text-align: center;
}

.arbor-ug .arbor-ug-card__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
}

.arbor-ug .arbor-ug-card__price {
    margin-bottom: 10px;
    color: var(--arbor-accent);
    font-weight: 600;
}

.arbor-ug .arbor-ug-card__price del {
    color: var(--arbor-text-muted);
    font-weight: 400;
    margin-right: 6px;
}

.arbor-ug .arbor-ug-card__cta {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

/* --- 5. buying guide --- */
.arbor-ug .arbor-ug-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arbor-ug .arbor-ug-guide__item {
    padding: 24px;
    text-align: center;
    background: var(--arbor-white);
    border-radius: var(--arbor-radius-md);
}

.arbor-ug .arbor-ug-guide__icon {
    display: inline-flex;
    color: var(--arbor-accent);
    margin-bottom: 12px;
}

.arbor-ug .arbor-ug-guide__icon svg {
    width: 36px;
    height: 36px;
}

.arbor-ug .arbor-ug-guide__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.arbor-ug .arbor-ug-guide__desc {
    margin: 0;
    font-size: 14px;
    color: var(--arbor-text-muted);
    line-height: 1.5;
}

/* --- 6. craft strip --- */
.arbor-ug .arbor-ug-craft {
    padding: 60px 0;
}

.arbor-ug .arbor-ug-craft__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.arbor-ug .arbor-ug-craft__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e9e9e9, #d8d8d8);
    border-radius: var(--arbor-radius-md);
    overflow: hidden;
}

/* Same cover behaviour as the hero; clipped by the media box's rounded corners. */
.arbor-ug .arbor-ug-craft__img,
.arbor-ug .arbor-ug-craft__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.arbor-ug .arbor-ug-craft__text p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--arbor-text-muted);
}

/* --- 7. reviews --- */
.arbor-ug .arbor-ug-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arbor-ug .arbor-ug-review {
    margin: 0;
    padding: 24px;
    background: var(--arbor-white);
    border-radius: var(--arbor-surface);
}

.arbor-ug .arbor-ug-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.arbor-ug .arbor-ug-review__quote {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    font-style: italic;
}

.arbor-ug .arbor-ug-review__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--arbor-text-label);
}

/* --- 8. three steps --- */
.arbor-ug .arbor-ug-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arbor-ug .arbor-ug-step {
    text-align: center;
    padding: 0 12px;
}

.arbor-ug .arbor-ug-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 700;
    color: var(--arbor-white);
    background: var(--arbor-accent);
    border-radius: 50%;
}

.arbor-ug .arbor-ug-step__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.arbor-ug .arbor-ug-step__desc {
    margin: 0;
    font-size: 14px;
    color: var(--arbor-text-muted);
    line-height: 1.5;
}

/* --- 9. dual CTA --- */
.arbor-ug .arbor-ug-cta {
    padding: 60px 0;
    background: var(--arbor-surface);
}

.arbor-ug .arbor-ug-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.arbor-ug .arbor-ug-cta__card {
    padding: 32px;
    text-align: center;
    background: var(--arbor-white);
    border-radius: var(--arbor-radius-md);
}

.arbor-ug .arbor-ug-cta__card--primary {
    background: var(--arbor-accent-bg);
    border-color: var(--arbor-accent);
}

.arbor-ug .arbor-ug-cta__icon {
    display: inline-flex;
    color: var(--arbor-accent);
    margin-bottom: 12px;
}

.arbor-ug .arbor-ug-cta__icon svg {
    width: 40px;
    height: 40px;
}

.arbor-ug .arbor-ug-cta__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.arbor-ug .arbor-ug-cta__card p {
    margin: 0 0 20px;
    color: var(--arbor-text-muted);
    line-height: 1.5;
}

.arbor-ug .arbor-ug-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* --- 10. FAQ (native <details> accordion) --- */
.arbor-ug .arbor-ug-faq {
    max-width: 800px;
    margin: 0 auto;
}

.arbor-ug .arbor-ug-faq__item {
    border-bottom: 1px solid var(--arbor-border);
}

.arbor-ug .arbor-ug-faq__q {
    position: relative;
    padding: 18px 40px 18px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.arbor-ug .arbor-ug-faq__q::-webkit-details-marker {
    display: none;
}

.arbor-ug .arbor-ug-faq__q::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--arbor-accent);
}

.arbor-ug .arbor-ug-faq__item[open] .arbor-ug-faq__q::after {
    content: "\2212"; /* minus */
}

.arbor-ug .arbor-ug-faq__a {
    padding: 0 0 18px;
}

.arbor-ug .arbor-ug-faq__a p {
    margin: 0;
    color: var(--arbor-text-muted);
    line-height: 1.6;
}

/* --- responsive --- */
@media (max-width: 768px) {
    .arbor-ug .arbor-ug-section,
    .arbor-ug .arbor-ug-craft,
    .arbor-ug .arbor-ug-cta {
        padding: 40px 0;
    }

    .arbor-ug .arbor-ug-h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .arbor-ug .arbor-ug-hero {
        min-height: 440px;
        padding: 40px 28px;
    }

    .arbor-ug .arbor-ug-hero__title {
        font-size: 32px;
    }

    .arbor-ug .arbor-ug-hero__subline {
        font-size: 16px;
    }

    .arbor-ug .arbor-ug-benefits,
    .arbor-ug .arbor-ug-featured,
    .arbor-ug .arbor-ug-guide,
    .arbor-ug .arbor-ug-reviews,
    .arbor-ug .arbor-ug-steps,
    .arbor-ug .arbor-ug-cta__grid {
        grid-template-columns: 1fr 1fr;
    }

    .arbor-ug .arbor-ug-craft__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .arbor-ug .arbor-ug-ph__label {
        white-space: normal;
        width: 80%;
    }
}

@media (max-width: 480px) {
    .arbor-ug .arbor-ug-benefits,
    .arbor-ug .arbor-ug-featured,
    .arbor-ug .arbor-ug-guide,
    .arbor-ug .arbor-ug-reviews,
    .arbor-ug .arbor-ug-steps,
    .arbor-ug .arbor-ug-cta__grid {
        grid-template-columns: 1fr;
    }

    .arbor-ug .arbor-ug-hero__title {
        font-size: 27px;
    }

    .arbor-ug .arbor-ug-cta-row .arbor-ug-btn,
    .arbor-ug .arbor-ug-cta__btns .arbor-ug-btn {
        width: 100%;
    }
}
