/* ==========================================================================
   Product card overrides (home + shop grid/list views)
   Loaded after style.css/responsive.css so these rules win.
   ========================================================================== */

/* Fix the image box to a constant aspect ratio (instead of a flat pixel
   height) so the crop applied by object-fit:cover stays the same regardless
   of how wide the card itself ends up at a given breakpoint. A flat height
   made the box relatively closer to square at narrower card widths (e.g.
   ~992px, where cards are ~270-320px wide) than at others, so the same 16:9
   product photos got cropped far more aggressively there than elsewhere. */
.product-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f5f6f8;
}

input {
    padding-left: 0px;
}

.ptb-20 {
    padding: 20px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove the darken-on-hover overlay + basket icon reveal. */
.single-product:hover .product-img::before,
.single-list-product:hover .product-img::before,
.product-area-2-all .single-product:hover .product-img::before {
    opacity: 0 !important;
}

.heading {
    color: var(--brand-accent);
}

.single-product {
    padding: 4px 6px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.product-icon {
    display: none !important;
}

/* Nicer name + price block under the image. Container-sized so the price +
   Add to Cart row can compact itself at narrow card widths (3/4-up grid)
   independent of the viewport width. */
.single-product {
    container-type: inline-size;
    container-name: product-card;
}

.product-title {
    padding: 14px 8px 6px;
    text-align: left;
}

.product-title>h3 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #222831;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 0.1px solid #e6dcdc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title>h3 a {
    color: inherit;
}

/* Price + Add to Cart, side by side instead of stacked. */
.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-title .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

/* ==========================================================================
   Pricing display — struck-through original price next to the sale price,
   wherever a product's price is shown (cards, shop list view, product
   details, cart). render_price_html() in includes/bootstrap.php only emits
   .price-strike when there's an actual discount, so this never appears
   misleadingly on full-price items.
   ========================================================================== */
.price-current {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-accent);
    letter-spacing: 0.3px;
}

.price-strike {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #9a9a9a;
    text-decoration: line-through;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Shop page — product grid width + sorting controls
   ========================================================================== */

/* Bootstrap's .container jumps between a handful of fixed widths at each
   breakpoint (e.g. 540px for the whole 576-767px range), so right below each
   breakpoint the grid uses noticeably less than the available viewport width
   (at 767px, 540px of a 767px viewport — nearly 30% left as unused side
   margins). A fluid width scales with the viewport at every size in between
   instead of jumping, so this fixes every width in the gap, not just the
   four reported checkpoints. */
.product-main-area .container {
    width: 94%;
    max-width: 1200px;
}

/* The header's own .container has the exact same Bootstrap fixed-width
   problem (540px at >=576px, 720px at >=768px, 960px at >=992px — not a
   percentage), and nobody had fixed it here yet. Between each of those
   breakpoints the header's actual content (.header-top-inner, the nav row)
   got boxed into a shrunk, centered column while .header-area itself (the
   outer bar with the background color) stayed full width — the real cause
   of "the navbar isn't full width" at tablet widths specifically: at 991px
   wide, the content column was capped at 672px, nearly a third of the
   viewport left as dead space on both sides. Direct-child selector so this
   only touches the header's own nav container, not the separate .container
   nested inside .search-overlay (which already has its own sizing).
   Scoped to >=576px deliberately: below that, Bootstrap's own .container
   has no max-width at all (already fluid, just a small fixed gutter), so
   phone widths were never actually broken here — applying this unconditionally
   would have shrunk that already-correct phone width further for no reason. */
@media (min-width: 576px) {
    .header-area > .container {
        width: 94%;
        max-width: 1200px;
    }
}

@media (max-width: 575px) {
    .header-area > .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* The theme hard-stacks the sort/"show" selects into a block column below
   767px (float:left above that, block below) — a breakpoint-specific rule
   that stacks them even once the (now-fluid) container above has plenty of
   room for both on one line. Flexbox lets them sit side by side whenever
   they fit and wrap on their own when they don't, at any width. */
.product-top-area .product-sorting {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    overflow: visible;
    width: auto;
}

.product-top-area .sorting {
    display: inline-block;
    float: none;
    margin-bottom: 0;
}

/* Restyle the sort/"show" selects. The theme's own rule only sets
   -moz-appearance:none, so Chrome/Edge/Safari kept rendering their native
   arrow on top of the theme's background-image arrow icon — two arrows
   stacked. appearance:none removes the native one everywhere, and a single
   inline SVG chevron (no separate icon-img asset) replaces it, alongside a
   cleaner bordered/rounded look with proper hover/focus states. */
.sorting form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%237d311a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    border: 1px solid #e4e1de;
    border-radius: 6px;
    color: #33302e;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    height: 35px;
    letter-spacing: 0.2px;
    margin-right: 0;
    padding: 0 38px 0 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: auto;
}

.sorting form select:hover {
    border-color: var(--brand-accent);
}

.sorting form select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb), 0.12);
    outline: none;
}

/* Tablet and below: the subcategory/sort selects live in one <form> and the
   "Show N" select in another (two separate GET forms, each auto-submitting
   on change), so the flex gap above — which only runs between those two
   <form> wrappers — never touched the two selects sharing the first form.
   Once they wrapped onto their own lines (any width under ~850px) they
   butted straight against each other with zero gap, while an unrelated
   vendor margin-bottom on the first wrapper made a much bigger, uneven gap
   appear before "Show N" — the irregular, unspaced stack this fixes.
   display:contents lifts every <select> out of its <form>/<div> wrappers so
   all three become direct items of one grid with a single consistent gap;
   auto-fit lets them sit side by side whenever a row is wide enough and
   wrap cleanly onto their own line when it isn't, instead of being pinned
   to a fixed column count that's wrong at some width. */
@media (max-width: 991px) {
    .product-top-area {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px 10px;
    }

    .product-top-area .product-sorting {
        flex: 1 0 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        width: 100%;
    }

    .product-top-area .sorting,
    .product-top-area .sorting form {
        display: contents;
    }

    .sorting form select {
        width: 100%;
        margin: 0;
    }

    .product-top-area .product-showing {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
    }

    .product-top-area .product-showing>p {
        padding-top: 0;
    }

    .product-top-area .product-tablist {
        flex: 0 0 auto;
    }
}

/* ==========================================================================
   Product details page
   ========================================================================== */

.pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.pdp-tabs-section {
    max-width: 860px;
    margin: 60px auto 0;
    /* padding-top: 40px; */
    /* border-top: 1px solid #ececec; */
}

.pdp-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.pdp-tab-btn {
    padding: 11px 24px;
    border: 1px solid #e2e2e2;
    border-radius: 0px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #58606a;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pdp-tab-btn:hover:not(.is-active) {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.pdp-tab-btn.is-active {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

.pdp-tab-panel {
    display: none;
    color: #58606a;
    font-size: 15px;
    line-height: 1.85;
}

.pdp-tab-panel.is-active {
    display: block;
}

.pdp-tab-empty {
    color: #9aa0a6;
    font-style: italic;
    margin: 0;
}

.pdp-gallery {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
}

.pdp-gallery-disclaimer {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 2px 0 0;
    padding: 10px 12px;
    background-color: #f5f6f8;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #8a8a8a;
}

.pdp-gallery-disclaimer i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #b0aaa2;
}

.pdp-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-thumb {
    position: relative;
    width: 84px;
    height: 84px;
    border: none;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f6f8;
    cursor: pointer;
    box-sizing: border-box;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.2s ease;
}

.pdp-thumb.is-active {
    /* outline-color: #222831; */
    outline: none;
    border: 1px solid var(--brand-accent);
}

.pdp-thumb img,
.pdp-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.pdp-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 17, 17, 0.28);
    color: #fff;
    font-size: 20px;
    pointer-events: none;
}

.pdp-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f5f6f8;
}

.pdp-zoom-pane {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 220%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.pdp-zoom-pane.is-active {
    opacity: 1;
}

@media (hover: none),
(pointer: coarse) {
    .pdp-zoom-pane {
        display: none;
    }
}

.pdp-main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-main-media.hidden {
    display: none;
}

.pdp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 10px;
}

.pdp-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #222831;
    margin: 0 0 10px;
}

.pdp-price {
    margin-bottom: 20px;
}

.pdp-price .price-current {
    font-size: 26px;
}

.pdp-price .price-strike {
    font-size: 15px;
}

.pdp-divider {
    height: 1px;
    background-color: #ececec;
    margin: 22px 0;
}

.pdp-description {
    color: #58606a;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.pdp-care-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #222831;
    margin: 0 0 10px;
}

.pdp-care-text {
    color: #58606a;
    font-size: 14.5px;
    line-height: 1.8;
    margin: 0;
}

.pdp-actions {
    margin-top: 26px;
}

.pdp-size-selector {
    margin-bottom: 20px;
}

.pdp-size-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 10px;
}

.pdp-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pdp-size-option {
    padding: 8px 18px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: #222831;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.pdp-size-option:hover:not(:disabled) {
    border-color: var(--brand-accent);
}

.pdp-size-option.is-active {
    border-color: var(--brand-accent);
    background: var(--brand-accent);
    color: #fff;
}

.pdp-size-option.is-unavailable,
.pdp-size-option:disabled {
    color: #c6c6c6;
    text-decoration: line-through;
    cursor: not-allowed;
}

.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pdp-qty-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8a8a;
}

.pdp-add-btn {
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 13.5px;
}

.pdp-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 28px;
    background-color: #f7f8f9;
    border-radius: 10px;
    overflow: hidden;
}

.pdp-secondary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
}

.pdp-secondary-item:first-child {
    border-right: 1px solid #ececec;
}

.pdp-secondary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    color: #222831;
    font-size: 15px;
    flex-shrink: 0;
}

.pdp-secondary-item h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 4px;
}

.pdp-secondary-item p {
    font-size: 13.5px;
    color: #222831;
    margin: 0;
    line-height: 1.5;
}

.pdp-secondary-muted {
    color: #9a9a9a;
    font-size: 12.5px;
}

.pdp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pdp-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1px solid #eee;
    border-radius: 999px;
    font-size: 12px;
    color: #8a8a8a;
}

.pdp-meta-chip strong {
    color: #222831;
    font-weight: 600;
}

a.pdp-meta-chip-link:hover {
    border-color: var(--brand-accent);
}

a.pdp-meta-chip-link:hover strong {
    color: var(--brand-accent);
}

.pdp-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pdp-share-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8a8a;
}

.pdp-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-share-icons a,
.pdp-share-icons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #eee;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pdp-share-icons a:hover,
.pdp-share-icons button:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

.pdp-gallery-disclaimer {
    font-size: 11px;
    line-height: 1.5;
    color: #5f5a5a;
    font-weight: 400;
}

@media (max-width: 991px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 575px) {
    .pdp-gallery {
        grid-template-columns: 1fr;
    }

    .pdp-title {
        font-size: 24px;
    }

    .pdp-price .price-current {
        font-size: 22px;
    }

    /* Single-column stacking falls back to source order (thumbs markup
       comes first in product-details.php, for the desktop thumbs-left/
       image-right layout) — order:-1 pulls the main image above the
       thumbnail strip here without touching the HTML or the desktop grid. */
    .pdp-gallery-main {
        order: -1;
    }

    .pdp-gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .pdp-thumb {
        flex-shrink: 0;
    }

    .pdp-secondary {
        grid-template-columns: 1fr;
    }

    .pdp-secondary-item:first-child {
        border-right: none;
        border-bottom: 1px solid #ececec;
    }
}

/* Quantity stepper: minus / number / plus, native spinner arrows hidden */
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    overflow: hidden;
    height: 44px;
}

.qty-stepper .qty-btn {
    width: 40px;
    border: none;
    background-color: #f7f7f7;
    color: #3f3f3f;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qty-stepper .qty-btn:hover {
    background-color: #ececec;
}

.qty-stepper .qty-input {
    width: 54px;
    border: none;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
    text-align: center;
    font-size: 15px;
    color: #3f3f3f;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 34px;
    color: #fff;
    background-color: var(--brand-accent);
    border: 1px solid var(--brand-accent);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
    color: #fff;
}

.add-to-cart-btn.is-disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* ==========================================================================
   Page loader — full-page overlay + spinner, shown until window 'load'
   fires (see includes/header.php's inline script for the hide logic).
   ========================================================================== */

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--site-bg);
    opacity: 0.9;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#page-loader .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: var(--brand-accent);
}

/* Modernizr (loaded in <head>, see header.php) swaps this class to "js" on
   <html> as its first action — if that never runs at all (JS disabled),
   the inline hide script in header.php never runs either, so the overlay
   must default to hidden rather than permanently blocking the page. */
.no-js #page-loader {
    display: none;
}

/* ==========================================================================
   Navbar / header
   ========================================================================== */

:root {
    --site-bg: #fffef4;
    --brand-accent: #7d311a;
    --brand-accent-rgb: 125, 49, 26;
    --brand-accent-dark: #642715;
    --brand-accent-dark-rgb: 100, 39, 21;
}

/* Each pseudo-element gets its own rule deliberately — grouping
   "::-moz-selection, ::selection" into one comma-separated selector list
   makes Chromium drop the ENTIRE rule (both branches), since it doesn't
   recognize ::-moz-selection and an unsupported selector invalidates a
   whole legacy selector list, not just its own branch. Confirmed live: the
   grouped version silently lost to bundle.css's own ::selection rule
   despite loading later in the cascade. */
::-moz-selection {
    background-color: var(--brand-accent);
    color: #fff;
}

::selection {
    background-color: var(--brand-accent);
    color: #fff;
}

body {
    background-color: var(--site-bg);
}

.header-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--site-bg);
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06);
}

/* The theme gives .header-top its own padding/border/display per
   header-color variant (e.g. .green-color .header-top; base .header-top is
   `display:flex`). All real spacing/layout now lives on header-top-inner
   below, so neutralize this wrapper — otherwise its leftover flex context
   leaves header-top-inner (now its only child, with no flex-grow) sized to
   its own content instead of stretched full-width, collapsing the whole
   topbar to the left. */
.header-area .header-top {
    display: block;
    padding: 0;
    border-bottom: none;
}

.header-area .header-top-inner {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
}

@media (max-width: 767px) {
    .header-area .header-top-inner {
        padding: 10px 12px;
    }
}

/* True-center the logo between the social and search/cart/account clusters
   regardless of their (unequal) widths — a plain flex row can't do this,
   since a middle item's auto-margins only balance the leftover space, not
   the sibling widths themselves, so it drifts toward the narrower side.
   The topbar's collapse-on-scroll (below) is scoped to this same breakpoint:
   on mobile the hamburger/cart/search/login controls live in this row (the
   main-menu row below it is empty there), so hiding it would strand those
   controls — and overflow:hidden here would clip the mobile nav dropdown,
   which lives in this same element. Both only make sense at desktop widths. */
@media (min-width: 768px) {
    .header-area .header-top-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        max-height: 100px;
        opacity: 1;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }

    .header-area .header-top-inner>.header-social {
        justify-self: start;
    }

    .header-area .header-top-inner>.header-logo {
        justify-self: center;
    }

    .header-area .header-top-inner>.header-search-cart {
        justify-self: end;
        align-items: center;
    }

    .header-area.topbar-hidden .header-top-inner {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        /* Only clip here, while actually collapsing to 0 height — the base
           (shown) state must stay overflow:visible or the account dropdown
           (an absolutely-positioned child that opens below this row) gets
           silently clipped off, making its trigger look unresponsive on
           desktop even though the click/hover handlers fire correctly. */
        overflow: hidden;
    }

    .header-area.topbar-hidden .header-bottom {
        border-top-color: transparent;
    }
}

.header-area .header-bottom {
    padding: 12px 0 0px;
    border-top: 1px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.header-social ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f6f8;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-social ul li a:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

.header-social ul li a i {
    font-size: 14px;
    line-height: 1;
}

.single-slider {
    min-height: 75vh;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
}

.slider-content {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.slider-content>img {
    width: 280px !important;
    position: relative;
    top: -45px;
}

.header-logo img {
    max-height: 60px;
    width: auto;
    padding: .61rem;
}

/* At mobile widths the topbar is a plain 2-item flex row (logo left,
   search/cart/account/hamburger right) with .header-social hidden — a wide
   logo at the desktop height above pushes that whole icon cluster off the
   right edge of the viewport, making cart/account/menu unreachable. Scale
   the logo down (both dimensions, preserving aspect ratio) below 768px so
   it never eats more room than the icon cluster needs. */
@media (max-width: 991px) {
    .header-logo img {
        max-height: 46px;
        max-width: 160px;
        width: auto;
        height: auto;
    }

    /* Solid, not transparent — reinforced directly on these two as well as
       .header-area itself (which already sets this), since .header-top/
       .header-top-inner otherwise carry no background-color of their own
       (rgba(0,0,0,0)) and rely entirely on inheriting the opaque look from
       their parent. */
    .header-top,
    .header-top-inner {
        background-color: var(--site-bg);
    }

}

@media (max-width: 380px) {
    .header-logo img {
        max-width: 120px;
    }
}

/* The theme adds 16px of top padding to the menu (and 10px extra above the
   search/cart/account icons) only under .green-color — the header variant
   every page gets EXCEPT the homepage (index.php explicitly sets
   $headerClass = 'clearfix'; every other page falls back to header.php's
   default of 'green-color'). .clearfix has no such rule, so the homepage's
   nav always sat flush while every other page carried this extra gap above
   it — most visible once the topbar auto-hides on scroll and only the menu
   row remains. Zeroed out here so both variants render identically,
   matching the per-variant normalization already done above for
   .header-top and the main-menu link color. */
.header-area .main-menu ul {
    padding-top: 0;
}

.header-area .header-search-cart {
    padding-top: 7px;
}

/* Main menu: one consistent accent color + animated underline, regardless
   of the per-page green-color/clearfix header variant. */
.main-menu nav>ul>li>a {
    color: #333333;
    font-size: 12.5px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}

.main-menu nav>ul>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 2px;
    background-color: var(--brand-accent);
    transition: width 0.2s ease;
}

.main-menu nav>ul>li:hover>a,
.green-color .main-menu nav>ul>li:hover>a {
    color: var(--brand-accent);
}

.main-menu nav>ul>li:hover>a::after {
    width: 100%;
}

/* Widened from the theme's 200px default — at that width "Crystals &
   Gemstones" wraps to two cramped lines, which is most of what read as
   unpolished; everything else here is spacing/hierarchy refinement on top
   of the same fade-and-drop-in the theme already animates on hover. */
.main-menu nav>ul>li>ul {
    width: 250px;
    left: -20px;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(17, 17, 17, 0.14);
    border: 1px solid #f0f0f0;
}

.main-menu nav>ul>li>ul>li+li {
    margin-top: 2px;
}

.main-menu nav>ul>li>ul>li>a {
    border-radius: 9px;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #45494e;
    letter-spacing: 0.1px;
    line-height: 1.35;
    white-space: normal;
    transition: background-color 0.18s ease, color 0.18s ease;
}

/* .sub-menu is included in the selector (not just ul>li) so this matches
   style.css's own `ul.sub-menu li:hover>a` rule's specificity — without it,
   that rule's #fea1ac pink (the stock template's stock accent, never meant
   for this site) silently wins the `color` property even though this rule
   loads later, because it has one more class in its selector. */
.main-menu nav>ul>li>ul.sub-menu>li:hover>a,
.green-color .main-menu nav>ul>li>ul.sub-menu>li:hover>a {
    background-color: #f5f6f8;
    color: var(--brand-accent);
}

/* ---------------------------------------------------------------------
   "Shop" mega-menu — a 2-column category grid with thumbnails, instead of
   the plain single-column text list above (which every OTHER dropdown,
   if one is ever added, still gets by default). Scoped to .mega-menu-shop
   so it only overrides the shop dropdown's own width/layout/spacing.
   --------------------------------------------------------------------- */
.main-menu nav>ul>li>ul.mega-menu-shop {
    width: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 14px;
}

.main-menu nav>ul>li>ul.mega-menu-shop>li {
    margin-top: 0;
}

/* "All Products" is the catch-all link, not a category — full-width above
   the 2-column grid, set apart so the menu reads as one clear action
   followed by a grouped category grid, not six visually-identical cells. */
.main-menu nav>ul>li>ul.mega-menu-shop>li.mega-menu-all {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu nav>ul>li>ul.mega-menu-shop>li.mega-menu-all>a {
    font-weight: 700;
    font-size: 14.5px;
    color: #222831;
}

.main-menu nav>ul>li>ul.mega-menu-shop>li.mega-menu-all:hover>a {
    color: var(--brand-accent);
}

.main-menu nav>ul>li>ul.mega-menu-shop>li.mega-menu-category>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    white-space: normal;
}

.mega-menu-category-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f5f6f8;
}

.mega-menu-category-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9c2ae;
    font-size: 16px;
}

/* Mobile accordion clone (meanmenu) strips every class it copies but keeps
   tags/attributes as-is (see plugins.js's meanRemoveAttrs step) — so these
   <img> thumbnails would otherwise still render, at full natural size,
   inside the narrow mobile drawer. Hidden there on purpose: the mobile
   accordion stays the simple text list it already was. */
.mean-nav img {
    display: none;
}

/* Search / cart icon buttons */
.header-search-cart {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .header-search-cart {
        gap: 6px;
    }
}

.icon-search,
.icon-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.icon-search:hover,
.icon-cart:hover {
    background-color: #f5f6f8;
    color: var(--brand-accent);
}

.icon-search[aria-expanded="true"] {
    background-color: var(--brand-accent);
    color: #fff;
}

.icon-search i,
.icon-cart i {
    font-size: 18px;
    line-height: 1;
}

.header-cart {
    display: inline-flex;
    position: relative;
}

.header-cart a span.shop-count {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--brand-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

/* Full-width search panel — a proper search experience instead of a
   cramped dropdown, and (since it's a direct child of .header-area rather
   than nested inside header-top-inner) never clipped by that element's
   overflow:hidden collapse-on-scroll animation. */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--site-bg);
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.12);
    padding: 22px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 998;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay .container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-overlay-form {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f5f6f8;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 4px 6px 4px 20px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-overlay-form:focus-within {
    background-color: #fff;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 16px rgba(var(--brand-accent-rgb), 0.16);
}

.search-overlay-icon {
    color: #999;
    font-size: 17px;
    flex-shrink: 0;
}

.search-overlay-form input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    padding: 11px 0;
    color: #222831;
}

.search-overlay-submit {
    flex-shrink: 0;
    border: none;
    background-color: var(--brand-accent);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.search-overlay-submit:hover {
    background-color: var(--brand-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--brand-accent-dark-rgb), 0.35);
}

.search-overlay-close {
    flex-shrink: 0;
    border: none;
    background-color: #f5f6f8;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-overlay-close:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

@media (max-width: 575px) {
    .search-overlay {
        padding: 12px 0;
    }

    .search-overlay .container {
        gap: 6px;
    }

    .search-overlay-form {
        gap: 6px;
        padding: 3px 3px 3px 12px;
    }

    /* Neither icon had enough contrast against the page's own cream
       background (--site-bg: #fffef4 vs. the existing #f5f6f8 chip color
       used elsewhere — close in tone enough to read as "no background" at
       a glance). A warmer, more saturated gray + a hairline border gives
       both real visual separation on mobile specifically. */
    .search-overlay-icon {
        width: 26px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        color: #555;
        background-color: #e9e5d9;
        border-radius: 50%;
    }

    /* Previously untouched at this breakpoint — still full desktop size
       (15px text, 11px vertical padding) even once everything around it
       shrank, which is exactly what made the pill feel oversized and
       truncated the placeholder ("Search for produ…"). */
    .search-overlay-form input {
        font-size: 13px;
        padding: 8px 0;
    }

    .search-overlay-submit {
        padding: 7px 12px;
        font-size: 11px;
    }

    .search-overlay-close {
        width: 30px;
        height: 30px;
        background-color: #e9e5d9;
        border: 1px solid #ddd6c4;
        color: #555;
    }

    .search-overlay-close i {
        font-size: 13px;
    }
}

/* Login / account CTA (topbar) — same plain icon-circle treatment as the
   search/cart buttons next to it, rather than a filled accent-colored pill,
   so all three read as one consistent icon group. */
.account-cta,
.account-cta-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.account-cta:hover,
.account-cta-trigger:hover {
    background-color: #f5f6f8;
    color: var(--brand-accent);
}

.account-cta i {
    font-size: 18px;
    line-height: 1;
}

/* The customer's name + dropdown chevron are dropped in favor of a plain
   icon (matching search/cart); the account dropdown (Checkout/Logout) still
   opens the same way, just without the label/chevron taking up header space. */
.account-cta-label,
.account-cta-chevron {
    display: none;
}

.account-cta-wrap {
    position: relative;
}

.account-cta-wrap .account-dropdown {
    position: absolute;
    right: 0;
    top: 130%;
    min-width: 160px;
    background-color: var(--site-bg);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.14);
    border: 1px solid #f0f0f0;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    text-align: left;
    z-index: 10;
}

.account-cta-wrap:hover .account-dropdown,
.account-cta-wrap.is-open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-cta-wrap.is-open .account-cta-chevron {
    transform: rotate(180deg);
}

.account-dropdown li a {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    font-size: 13px;
}

.account-dropdown li a:hover {
    background-color: #f5f6f8;
    color: var(--brand-accent);
}

/* Breadcrumb: compact strip instead of a tall, full-color band */
.breadcrumb-area {
    background-color: #e6e6e6;
    padding: 7px 0;
}

.breadcrumb-text ul li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
    margin-right: 6px;
    text-transform: capitalize;
}

.breadcrumb-text ul li a {
    color: #777;
    margin-right: 0;
    font-size: 12px;
}

.breadcrumb-text ul li a:hover {
    color: var(--brand-accent);
}

.breadcrumb-text .bi-chevron-right {
    font-size: 10px;
    color: #aaa;
}

/* ==========================================================================
   Mobile menu (meanmenu) — reworked as a right-side slide-in drawer.
   meanmenu's own default behaviour is an in-page accordion (the nav panel
   pushes open directly under the header); everything under this heading
   re-anchors that same panel as a fixed, 90%-width drawer instead, driven
   off the one state meanmenu itself exposes: the .meanclose class it
   toggles on the reveal button (.meanmenu-reveal) when opened. Since
   .meanmenu-reveal and .mean-nav are DOM siblings inside .mean-bar (see
   plugins.js's showMeanMenu()), `.meanmenu-reveal.meanclose ~ .mean-nav`
   is enough to key the drawer's open/closed transform off that class with
   no extra JS.
   ========================================================================== */

/* position:static (not the base plugin's position:absolute+huge-negative-top
   hack) so the button's real 32px height gives .mean-bar genuine flow
   height, and the outer .header-top-inner's align-items:center then aligns
   it against the search/cart/account icons naturally — a fixed pixel
   offset is exactly what broke alignment the moment the icon markup (and
   therefore its natural size) changed from meanmenu's default bars/text. */
.mean-container a.meanmenu-reveal {
    position: relative;
    /* The base plugin CSS sets top:-65px/right:0 for its own
       position:absolute layout; position:static ignored those, but
       position:relative (needed below, for z-index) honors them again, so
       they must be explicitly cancelled or the button jumps back off-screen. */
    top: 0;
    right: auto;
    /* Above the drawer (z-index 1050) and backdrop (1040) — otherwise, once
       the drawer opens, its own fixed-position stacking layer paints over
       this same toggle button (they're both children of .mean-bar, but the
       drawer's explicit z-index beats this button's default auto/0 z-index
       regardless of DOM order), leaving no way to click it again to close. */
    z-index: 1070;
    float: right;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222831;
    border-radius: 8px;
    background-color: #f5f6f8;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mean-container a.meanmenu-reveal:hover {
    background-color: #efe9df;
}

/* The vendor meanmenu.min.css (untouched — a 3rd-party plugin file) sets
   .mean-bar to float:left;width:100% and the reveal button to float:right,
   built for meanmenu owning a standalone full-width row by itself, not for
   sitting as one item among several in .header-top-inner's flex row (logo /
   search-cart / this). That combination lets the floated button visually
   escape its own flex item's box — .mobile-menu-area ends up measuring (and
   rendering) wider than its actual allocated slot, overflowing past the
   header's own right edge instead of sitting flush inside it, and throwing
   off the space-between gap before it too. Neutralizing the floats here
   (mobile only — desktop never shows this element at all) lets it behave
   as a normal, correctly-contained flex item. */
@media (max-width: 767px) {
    .mobile-menu-area,
    .mobile-menu,
    .mean-container {
        flex-shrink: 0;
        width: auto;
    }

    .mean-container .mean-bar {
        float: none;
        width: auto;
        display: inline-flex;
    }

    /* float:none only — position stays relative (set earlier in this file)
       so its top:9px offset and z-index:1070 (keeping it clickable above
       the drawer once open) both keep working; float was the only part
       actually causing the overflow. */
    .mean-container a.meanmenu-reveal {
        float: none;
    }

    /* The actual cause of the hamburger sitting outside the header's right
       edge: responsive.css (an untouched vendor file) sets a flat
       margin-right:48px on .header-search-cart at this same breakpoint —
       built for the original theme's layout, before .mobile-menu-area was
       a third sibling after it in this flex row. That margin eats into
       .header-top-inner's justify-content:space-between calculation and
       shoves .mobile-menu-area (and the hamburger inside it) 48px further
       right than the row actually has room for. */
    .header-search-cart {
        margin-right: 0;
    }
}

/* Search/cart/account/menu icons get the same soft circular chip treatment
   the social icons already use (background-color:#f5f6f8, always on) —
   desktop can rely on :hover to reveal that polish, but touch devices have
   no hover state at all, so on mobile these were landing as bare,
   undifferentiated line icons with zero visual weight. Making the chip
   permanent on mobile is what actually fixes that, not a hover tweak. */
@media (max-width: 991px) {

    .icon-search,
    .icon-cart,
    .account-cta,
    .account-cta-trigger,
    .mean-container a.meanmenu-reveal {
        background-color: #f5f6f8;
        border: none;
    }

    .icon-search:hover,
    .icon-cart:hover,
    .account-cta:hover,
    .account-cta-trigger:hover {
        background-color: #efe9df;
    }

    /* Scaled to be proportionate to mobile layout with better visibility */
    .icon-search,
    .icon-cart,
    .account-cta,
    .account-cta-trigger {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .icon-search i,
    .icon-cart i,
    .account-cta i {
        font-size: 16px;
    }

    .header-cart a span.shop-count {
        width: 16px;
        height: 14px;
        font-size: 9px;
    }

    .mean-container a.meanmenu-reveal {
        width: 36px;
        height: 36px;
    }

    .mean-container a.meanmenu-reveal i {
        font-size: 20px;
    }
}

.mean-container a.meanmenu-reveal.meanclose {
    color: var(--brand-accent);
}

.mean-container a.meanmenu-reveal i {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 767px) {

    /* .mean-bar (meanmenu's own wrapper) carries position:relative + a
       LOW z-index:1 from its base plugin CSS — that alone makes it its own
       stacking context, which traps everything inside (the button AND the
       .mean-nav drawer, regardless of the drawer's own z-index) below the
       backdrop below unless raised here. */
    .mean-container .mean-bar {
        z-index: 1060;
    }

    /* Dimmed backdrop behind the drawer, covering the remaining 10% of the
       viewport plus fading over the page itself — :has() lets this react to
       the reveal button's .meanclose state without any extra JS/markup. */
    .mean-container:has(.meanmenu-reveal.meanclose)::after {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(17, 17, 17, 0.45);
        z-index: 1040;
    }

    .mean-container .mean-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 90%;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: var(--site-bg);
        /* The drawer covers the full viewport height (top:0), but the close
           toggle itself lives in the real site header, not inside the
           drawer — it floats above the drawer via z-index so it stays
           clickable, at whatever height the header row naturally is
           (~68px). Without this padding "Home" starts flush at the very
           top and the floating button visually collides with it. */
        padding-top: 88px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -12px 0 32px rgba(17, 17, 17, 0.16);
        z-index: 1050;
    }

    .meanmenu-reveal.meanclose~.mean-nav {
        transform: translateX(0);
    }
}

/* Small branded label at the very top of the drawer's scrollable content —
   a pure CSS pseudo-element, not real markup: meanmenu only ever clones
   #mobile-menu-active's own <ul> (stripping every class as it goes — see
   the data-icon rules below for how that's worked around), so any REAL
   element added here would need separate JS wiring into the plugin's
   lifecycle just to survive. A pseudo-element sidesteps that entirely. */
.mean-container .mean-nav::before {
    content: 'Menu';
    display: block;
    padding: 0 26px 14px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-accent);
    border-bottom: 1px solid #f0f0f0;
}

.mean-container .mean-nav ul li {
    position: relative;
    background-color: var(--site-bg);
    border-top: none;
    border-bottom: 1px solid #f3f1ea;
}

.mean-container .mean-nav>ul>li>a {
    display: flex;
    align-items: center;
    background-color: var(--site-bg);
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 16px 24px 16px 23px;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Per-item icons, keyed off data-icon (an attribute, not a class — the one
   thing meanmenu's clone step doesn't strip — set in navbar.php's
   render_nav_items(), confirmed to survive the clone). Bootstrap Icons'
   glyphs are referenced directly by codepoint since the bi-* classes
   themselves would be stripped same as any other class. */
.mean-container .mean-nav>ul>li>a[data-icon]::before {
    font-family: "bootstrap-icons" !important;
    font-size: 16px;
    line-height: 1;
    margin-right: 14px;
    color: #b0aaa2;
    transition: color 0.15s ease;
}

.mean-container .mean-nav>ul>li>a[data-icon="home"]::before {
    content: "\f423";
}

.mean-container .mean-nav>ul>li>a[data-icon="shop"]::before {
    content: "\f543";
}

.mean-container .mean-nav>ul>li>a[data-icon="about"]::before {
    content: "\f431";
}

.mean-container .mean-nav>ul>li>a[data-icon="blog"]::before {
    content: "\f444";
}

.mean-container .mean-nav>ul>li>a[data-icon="contact"]::before {
    content: "\f5c1";
}

.mean-container .mean-nav ul li a:hover {
    background-color: #f5f6f8;
    color: var(--brand-accent);
}

.mean-container .mean-nav>ul>li>a:hover {
    border-left-color: var(--brand-accent);
}

.mean-container .mean-nav>ul>li>a:hover[data-icon]::before {
    color: var(--brand-accent);
}

.mean-container .mean-nav ul li li a {
    background-color: #fafaf6;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    padding: 12px 24px 12px 53px;
}

.mean-container .mean-nav ul li li:first-child a {
    font-weight: 700;
    color: #222831;
}

/* The expand ("+"/"-") toggle meanmenu generates is a sibling <a>, not
   nested inside the main link — positioned absolutely against the <li> (now
   position:relative above). Plain, not a filled icon-chip: the plugin's own
   JS (plugins.js) sets the literal "+"/"-" as the element's text content
   via an inline style="font-size:...", toggling a "mean-clicked" class on
   each click — font-size:0 !important hides that inline-styled text (an
   external stylesheet rule can't out-specificity an inline style any other
   way), replaced by a single chevron icon that just rotates via
   .mean-clicked rather than swapping between two different glyphs. */
.mean-container .mean-nav ul li a.mean-expand {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    font-size: 0 !important;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

.mean-container .mean-nav ul li a.mean-expand:focus,
.mean-container .mean-nav ul li a.mean-expand:active {
    background-color: transparent;
}

.mean-container .mean-nav ul li a.mean-expand::before {
    content: "\f282";
    font-family: "bootstrap-icons" !important;
    font-size: 14px;
    line-height: 1;
    color: #9a9a9a;
}

.mean-container .mean-nav ul li a.mean-expand.mean-clicked {
    transform: rotate(180deg);
}

/* The main "shop" link's own inline chevron (navbar.php — indicates the
   desktop mega-menu dropdown there) is redundant on mobile now that the
   expand toggle above is its own clear dropdown indicator; desktop keeps
   it (this is scoped to .mean-nav, which only exists in the mobile drawer). */
.mean-container .mean-nav>ul>li>a[data-icon] i.bi-chevron-down {
    display: none;
}

/* ==========================================================================
   Add to cart — directly from the product card (grid + list views)
   ========================================================================== */

.add-to-cart-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    flex-shrink: 0;
    margin: 0;
    padding: 0 14px;
    height: 32px;
    border: none;
    /* border-radius: 6px; */
    background-color: #fffef4;
    color: var(--brand-accent-dark);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 7px 12px rgb(237 228 226);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
    border: 0.5px solid #7d311a38;
}

@container product-card (max-width: 230px) {
    .product-meta-row .add-to-cart-card-btn {
        padding: 0;
        width: 32px;
    }

    .product-meta-row .add-to-cart-card-btn .atc-label {
        display: none;
    }
}

.add-to-cart-card-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.add-to-cart-card-btn:hover {
    background-color: var(--brand-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(var(--brand-accent-dark-rgb), 0.34);
    color: #fff;
}

.add-to-cart-card-btn:hover i {
    transform: scale(1.12);
}

.add-to-cart-card-btn:active {
    transform: translateY(0);
}

.add-to-cart-card-btn.is-loading {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}

.add-to-cart-card-btn.is-added {
    background-color: #2e7d55;
}

span.add-to-cart-card-btn.is-disabled {
    background: #eceff1;
    color: #9aa0a6;
    box-shadow: none;
    cursor: not-allowed;
}

/* List view (shop page): compact, left-aligned */
.single-list-add-to-cart {
    margin-top: 14px;
}

.single-list-add-to-cart .add-to-cart-card-btn {
    margin: 0;
    padding: 0 26px;
}

/* Small floating confirmation, shown after a successful/failed add */
.site-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 12px);
    background-color: #222831;
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2000;
    max-width: 90vw;
    text-align: center;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-toast.is-error {
    background-color: #c0392b;
}

/* Site-wide "you're offline" banner — see assets/js/connectivity.js. */
.connectivity-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    text-align: center;
    color: #212529;
    background-color: #ffe8a3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.connectivity-banner.is-online {
    color: #fff;
    background-color: #2e7d46;
}

.connectivity-banner.is-attention {
    animation: connectivity-banner-attention 0.6s ease;
}

@keyframes connectivity-banner-attention {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .connectivity-banner.is-attention {
        animation: none;
    }
}

/* ==========================================================================
   Login / Register
   ========================================================================== */

.auth-area {
    padding: 50px 0;
    background-color: #f7f8f9;
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.1);
}

.auth-card-form {
    padding: 48px 44px;
}

.auth-card-form h2 {
    font-size: 25px;
    font-weight: 600;
    color: #222831;
    margin: 0 0 6px;
    text-align: center;
}

.auth-card-subtitle {
    color: #8a8a8a;
    font-size: 14px;
    margin: 0 0 28px;
    text-align: center;
}

.auth-errors {
    background-color: #fdf3f2;
    border-left: 3px solid #dd8c85;
    color: #b3453d;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.auth-errors p {
    margin: 0;
}

.auth-errors p+p {
    margin-top: 3px;
}

.auth-field {
    position: relative;
    margin-bottom: 18px;
}

.auth-field>i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a4a9ad;
    font-size: 15px;
    pointer-events: none;
}

.auth-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fafbfb;
    padding: 0 16px 0 44px;
    font-size: 14px;
    color: #222831;
    letter-spacing: normal;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb), 0.12);
}

.auth-field-password input {
    padding-right: 44px;
}

.auth-field-password .auth-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #a4a9ad;
    font-size: 15px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.auth-field-password .auth-toggle-password:hover {
    color: var(--brand-accent);
}

.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: var(--brand-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.15s ease;
}

.auth-submit-btn:hover {
    background-color: var(--brand-accent-dark);
}

.auth-switch {
    text-align: center;
    margin: 24px 0 0;
    font-size: 13.5px;
    color: #777;
}

.auth-switch a {
    color: var(--brand-accent);
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .auth-area {
        padding: 40px 0;
    }

    .auth-card {
        border-radius: 10px;
    }

    .auth-card-form {
        padding: 36px 24px;
    }
}

/* ==========================================================================
   Contact page — page title/intro + a minimalist underline-style form
   ========================================================================== */

.contact-page-area {
    padding: 60px 0 100px;
}

.contact-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #222831;
    margin: 0 0 26px;
}

.contact-intro {
    max-width: 560px;
    margin: 0 auto;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 14px;
}

.contact-lead {
    color: #767676;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.contact-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14.5px;
    color: #222831;
    font-weight: 500;
}

.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    transition: color 0.2s ease;
}

.contact-direct a:hover {
    color: var(--brand-accent);
}

.contact-direct a .bi-whatsapp {
    color: #25d366;
}

.contact-direct-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ccc;
}

.contact-divider {
    width: 100%;
    max-width: 1000px;
    height: 1px;
    background-color: #ececec;
    margin: 40px auto;
}

.contact-form-area {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #222831;
    margin: 0 0 36px;
}

.underline-field {
    position: relative;
    margin-bottom: 32px;
}

.underline-field label {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 10px;
}

.underline-field label span {
    color: #c0392b;
    margin-left: 2px;
}

.underline-field input,
.underline-field textarea {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #e2e2e2;
    background: transparent;
    border-radius: 0;
    padding: 6px 0 10px;
    font-size: 15px;
    color: #222831;
    resize: none;
    transition: border-color 0.2s ease;
}

.underline-field textarea {
    min-height: 90px;
}

.underline-field input:focus,
.underline-field textarea:focus {
    outline: none;
    border-bottom-color: var(--brand-accent);
    box-shadow: none;
}

.underline-field .field-error {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: #c0392b;
}

.contact-submit-btn {
    margin-top: 8px;
}

@media (max-width: 575px) {
    .contact-page-area {
        padding: 44px 0 70px;
    }

    .contact-divider {
        margin: 30px auto;
    }
}

/* ==========================================================================
   Standalone login/register (no site header/footer — see includes/bare-head.php
   and includes/auth-tabs.php). Both forms live in the DOM together; the tab
   buttons just toggle which .auth-panel is visible, so switching feels
   instant while each form still posts to its own page.
   ========================================================================== */

.auth-standalone {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background-color: var(--site-bg);
    box-sizing: border-box;
}

.auth-back-btn {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e8e6da;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222831;
    font-size: 18px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.auth-back-btn:hover {
    background-color: #f5f6f8;
    border-color: #d8d5c4;
    color: #222831;
}

.auth-standalone-inner {
    width: 100%;
    max-width: 460px;
}

.auth-standalone-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-standalone-logo img {
    max-height: 52px;
    width: auto;
    max-width: 100%;
}

.auth-tabs {
    display: flex;
    background-color: #f0f1f3;
    border-radius: 10px;
    padding: 5px;
    gap: 4px;
    margin: 0 0 28px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 0;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #8a8a8a;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-tab.is-active {
    background-color: var(--brand-accent);
    color: #fff;
}

.auth-standalone-card {
    background-color: #fff;
    border: 1px solid #ece8d9;
    border-radius: 12px;
    padding: 40px 36px;
}

.auth-panel {
    display: none;
}

.auth-panel.is-active {
    display: block;
}

.auth-panel h1,
.auth-panel h2 {
    font-size: 21px;
    font-weight: 600;
    color: #222831;
    text-align: center;
    margin: 0 0 6px;
}

/* Sits above the Login/Register tab switcher in auth-tabs.php — a single,
   always-visible <h1> naming whichever page actually loaded (login vs
   register), since both tab panels exist in the same markup regardless of
   which page is active. */
.auth-page-heading {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-accent);
    letter-spacing: 0.3px;
    text-align: center;
    margin: 0 0 20px;
}

.auth-field-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-field-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 8px;
}

.auth-field-group input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fafbfb;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 400;
    color: #222831;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field-group-password input {
    padding-right: 46px;
}

.form-hint-small {
    font-size: 11.5px;
    color: #a4a9ad;
    margin: 6px 0 0;
}

.auth-field-group input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb), 0.12);
}

.auth-field-group-password .auth-toggle-password {
    position: absolute;
    right: 14px;
    bottom: 13px;
    border: none;
    background: none;
    color: #a4a9ad;
    font-size: 15px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.auth-field-group-password .auth-toggle-password:hover {
    color: var(--brand-accent);
}

.auth-forgot-link {
    text-align: right;
    margin: -12px 0 20px;
}

.auth-forgot-link a {
    font-size: 13px;
    color: #8a8a8a;
    text-decoration: none;
}

.auth-forgot-link a:hover {
    color: var(--brand-accent);
}

.auth-success {
    background-color: #e5f7ec;
    border-left: 3px solid #4fb87e;
    color: #1f9d55;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.auth-success p {
    margin: 0;
}

.auth-otp-resend {
    text-align: center;
    margin-top: 16px;
}

.auth-otp-resend-text {
    font-size: 13px;
    color: #8a8a8a;
    margin: 0;
}

.auth-otp-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-accent);
    cursor: pointer;
}

.auth-otp-resend-btn:hover {
    text-decoration: underline;
}

.auth-otp-resend-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.auth-back-link {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
}

.auth-back-link a {
    color: #8a8a8a;
    text-decoration: none;
    font-weight: 500;
}

.auth-back-link a:hover {
    color: var(--brand-accent);
}

/* Login/register on mobile: the desktop sizing (52px logo, 21px heading,
   48px inputs/buttons, generous spacing throughout) reads as oversized and
   "in your face" on a narrow screen where this card is most of what's on
   screen — everything here is scaled down together so the hierarchy stays
   intact (logo > heading > labels > body text), just at a lower-key scale.
   Inputs/buttons stay at 44px (not shrunk further) — still a real tap
   target, only the padding/font around it gets lighter. */
@media (max-width: 575px) {
    .auth-standalone {
        padding: 64px 16px 32px;
    }

    .auth-back-btn {
        top: 18px;
        left: 18px;
        width: 40px;
        height: 40px;
    }

    .auth-standalone-logo {
        margin-bottom: 18px;
    }

    .auth-standalone-logo img {
        max-height: 36px;
    }

    .auth-standalone-card {
        padding: 22px 18px;
    }

    .auth-panel h1,
    .auth-panel h2 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .auth-page-heading {
        font-size: 12.5px;
        margin-bottom: 14px;
    }

    .auth-card-subtitle {
        font-size: 12.5px;
        margin-bottom: 18px;
    }

    .auth-tabs {
        padding: 4px;
        gap: 3px;
        margin-bottom: 18px;
    }

    .auth-tab {
        padding: 10px 0;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .auth-field-group {
        margin-bottom: 14px;
    }

    .auth-field-group label {
        font-size: 10.5px;
        margin-bottom: 5px;
    }

    .auth-field-group input {
        height: 44px;
        font-size: 13.5px;
        padding: 0 14px;
    }

    .auth-field-group-password input {
        padding-right: 42px;
    }

    .form-hint-small {
        font-size: 11px;
    }

    .auth-forgot-link {
        margin: -6px 0 14px;
    }

    .auth-forgot-link a {
        font-size: 12px;
    }

    .auth-submit-btn {
        height: 44px;
        font-size: 13px;
    }

    .auth-switch {
        margin-top: 16px;
        font-size: 12.5px;
    }

    .auth-errors,
    .auth-success {
        font-size: 11.5px;
        padding: 8px 12px;
        margin-bottom: 14px;
    }

    .auth-otp-resend-text,
    .auth-otp-resend-btn,
    .auth-back-link {
        font-size: 12px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    /* Same dark shade the theme's .black-bg used — kept as-is on purpose. */
    background-color: #222222;
    color: #cfcfcf;
    padding: 60px 0 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-brand .site-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.site-footer-brand .site-footer-logo img {
    max-height: 40px;
    width: auto;
}

.site-footer-brand p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #a4a4a4;
    margin: 0 0 22px;
    max-width: 280px;
}

.site-footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-footer-social a:hover {
    background-color: var(--brand-accent);
    transform: translateY(-2px);
}

.site-footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.site-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-col ul li {
    margin-bottom: 12px;
}

.site-footer-col ul li a {
    color: #a4a4a4;
    font-size: 13.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer-col ul li a:hover {
    color: var(--brand-accent);
    padding-left: 3px;
}

.site-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.site-footer-contact i {
    color: var(--brand-accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.site-footer-contact span {
    color: #a4a4a4;
    font-size: 13.5px;
    line-height: 1.6;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0;
    font-size: 12.5px;
    color: #8a8a8a;
}

.site-footer-bottom p {
    margin: 0;
}

@media (max-width: 991px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 34px;
    }
}

@media (max-width: 575px) {
    .site-footer {
        padding-top: 44px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.cart-page-area {
    background-color: var(--site-bg);
}

.cart-page-heading {
    font-size: 24px;
    font-weight: 600;
    color: #222831;
    margin: 0 0 24px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 28px;
}

.cart-items {
    background-color: var(--site-bg);
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
    overflow: hidden;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 2.4fr 0.9fr 1.1fr 0.9fr 50px;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background-color: #fafbfb;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8a8a8a;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2.4fr 0.9fr 1.1fr 0.9fr 50px;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-row:last-of-type {
    border-bottom: none;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cart-item-thumb {
    flex-shrink: 0;
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f6f8;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cart-item-name {
    color: #222831;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name:hover {
    color: var(--brand-accent);
}

.cart-item-size {
    color: #8a8a8a;
    font-weight: 400;
}

.cart-item-price-mobile {
    display: none;
    color: #8a8a8a;
    font-size: 13px;
}

.cart-item-price,
.cart-item-total {
    font-size: 14px;
    color: #555;
}

.cart-item-total {
    font-weight: 600;
    color: #222831;
}

.cart-item-price .price-current,
.cart-item-price-mobile .price-current {
    font-size: 14px;
    color: #222831;
    font-weight: 500;
}

.cart-item-price .price-strike,
.cart-item-price-mobile .price-strike {
    font-size: 12px;
    margin-left: 6px;
}

.cart-item-remove {
    display: flex;
    justify-content: flex-end;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    color: #b3b3b3;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-remove-btn:hover {
    background-color: #fdecea;
    color: #c0392b;
}

.cart-items-footer {
    padding: 18px 24px;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cart-continue-link:hover {
    color: var(--brand-accent);
}

.cart-summary-card {
    background-color: var(--site-bg);
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
    padding: 26px 24px;
    position: sticky;
    top: 90px;
}

.cart-summary-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #222831;
    margin: 0 0 18px;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #777;
    padding: 8px 0;
}

.cart-summary-total {
    border-top: 1px solid #f0f0f0;
    margin-top: 6px;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #222831;
}

.cart-summary-note {
    font-size: 12px;
    color: #9a9a9a;
    margin: 4px 0 20px;
}

.cart-coupon-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 18px;
}

.cart-coupon-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fafbfb;
    padding: 0 14px;
    font-size: 13px;
    color: #222831;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cart-coupon-form input:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: #fff;
}

.cart-coupon-form button {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 8px;
    background-color: #eef0f1;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-coupon-form button:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: var(--brand-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.cart-checkout-btn:hover {
    background-color: var(--brand-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.cart-checkout-btn:disabled {
    background-color: #d9d5c9;
    color: #8a8377;
    cursor: not-allowed;
}

.cart-checkout-btn:disabled:hover {
    background-color: #d9d5c9;
    transform: none;
}

/* ==========================================================================
   Out-of-stock cart items — a stock_status flip while the item was already
   in someone's cart must be visible on the cart page itself, not just at
   final checkout submission.
   ========================================================================== */

.cart-item-unavailable .cart-item-name,
.cart-item-unavailable .cart-item-total {
    color: #b3b3b3;
}

.cart-item-oos-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #c0392b;
}

.cart-item-oos-label {
    font-size: 12px;
    font-weight: 600;
    color: #c0392b;
}

.cart-oos-notice {
    background-color: #fdf3f2;
    border-left: 3px solid #dd8c85;
    color: #b3453d;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--site-bg);
    border-radius: 12px;
    border: 1px solid #eee;
}

.cart-empty i {
    font-size: 56px;
    color: #d7dadb;
    margin-bottom: 18px;
}

.cart-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222831;
    margin: 0 0 8px;
}

.cart-empty p {
    color: #8a8a8a;
    font-size: 14px;
    margin: 0 0 26px;
}

.cart-empty .cart-checkout-btn {
    width: auto;
    padding: 0 32px;
}

/* Lower-key version for mobile — same content, but the desktop sizing
   (56px icon, 20px bold heading, generous padding) reads as oversized and
   shouty on a narrow viewport where it's most of what's on screen. Button
   height is deliberately left at its existing 48px (a real tap target, not
   just text) — only its horizontal padding/font shrink slightly to match
   the quieter text around it. */
@media (max-width: 575px) {
    .cart-empty {
        padding: 48px 20px;
    }

    .cart-empty i {
        font-size: 38px;
        margin-bottom: 10px;
    }

    .cart-page-heading {
        font-size: 18px;
        margin: 0 0 16px;
    }

    .cart-empty h3 {
        font-size: 16px;
        margin: 0 0 6px;
    }

    .cart-empty p {
        font-size: 12.5px;
        margin: 0 0 20px;
    }

    .cart-empty .cart-checkout-btn {
        padding: 0 24px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

/* Mobile cart: each item becomes its own compact card (image/name/price on
   top, a slim qty + total row underneath, remove icon pinned to the card's
   corner) instead of the desktop table row stacked into full-width label/
   value pairs — that stacked layout is what read as an oversized, disjointed
   list on a phone. Card chrome moves from the shared .cart-items wrapper
   onto each .cart-item-row so they read as separate products, with gap
   providing the spacing table borders used to. */
@media (max-width: 767px) {
    .cart-items {
        background-color: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cart-items-header {
        display: none;
    }

    .cart-item-row {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "product product"
            "qty total";
        column-gap: 12px;
        row-gap: 14px;
        padding: 14px;
        background-color: var(--site-bg);
        border: 1px solid #eee;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
    }

    .cart-item-product {
        grid-area: product;
        padding-right: 32px;
    }

    .cart-item-thumb {
        width: 72px;
        height: 72px;
    }

    .cart-item-name {
        font-size: 14px;
    }

    .cart-item-price {
        display: none;
    }

    .cart-item-price-mobile {
        display: inline-block;
        margin-top: 2px;
    }

    .cart-item-price-mobile .price-current {
        font-size: 13px;
    }

    .cart-item-price-mobile .price-strike {
        font-size: 11px;
    }

    .cart-item-qty {
        grid-area: qty;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cart-item-qty::before {
        content: "Qty";
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: #9a9a9a;
    }

    .cart-item-qty .qty-stepper {
        height: 32px;
        border-radius: 6px;
    }

    .cart-item-qty .qty-stepper .qty-btn {
        width: 26px;
        font-size: 13px;
    }

    .cart-item-qty .qty-stepper .qty-input {
        width: 30px;
        font-size: 12.5px;
    }

    .cart-item-total {
        grid-area: total;
        align-self: center;
        text-align: right;
        font-size: 15px;
    }

    .cart-item-total::before {
        content: "Total";
        display: block;
        font-size: 10.5px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: #9a9a9a;
        margin-bottom: 2px;
    }

    .cart-item-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .cart-item-remove .cart-remove-btn {
        width: 28px;
        height: 28px;
        font-size: 13px;
        background-color: #f5f6f8;
        color: #9a9a9a;
    }

    .cart-items-footer {
        padding: 2px 4px 0;
    }
}

/* ==========================================================================
   Home page hero slider — round nav arrows pinned to the slider's edges
   instead of the theme's pill-shaped arrows floating over the image.
   ========================================================================== */

.slider-active.owl-carousel .owl-nav div {
    left: 24px;
    right: auto;
    width: 46px;
    height: 46px;
    line-height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #222831;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.14);
}

.slider-active.owl-carousel .owl-nav div.owl-next {
    left: auto;
    right: 24px;
}

.slider-active.owl-carousel .owl-nav div:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

@media (max-width: 575px) {
    .slider-active.owl-carousel .owl-nav div {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 14px;
        left: 12px;
    }

    .slider-active.owl-carousel .owl-nav div.owl-next {
        left: auto;
        right: 12px;
    }
}

/* Banner height: scale with viewport height instead of a flat 75vh so it
   reads taller on the shorter mobile/tablet viewports specifically called
   out (576/767/1200) without needing a value per breakpoint. */
.single-slider {
    min-height: clamp(350px, 80vh, 820px);
}

@media (max-width:576px) {
    .single-slider {
        min-height: 320px;
    }
}

/* Tree image: unchanged from its original 280px through mobile/tablet
   widths (280px was already the reported-fine size there), growing only
   once the viewport is wide enough that 30vw exceeds it — which happens
   around ~933px, comfortably bridging into the 1200px checkpoint where a
   visibly bigger tree was requested, and staying fluid past it instead of
   capping hard at exactly 1200. */
.slider-content>img {
    width: clamp(280px, 30vw, 420px) !important;
}

/* ==========================================================================
   "Our Collections" — auto-sliding, center-focused 3-card carousel linking
   to each category's filtered product listing.
   ========================================================================== */

.collections-slider {
    padding: 10px 0 6px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* owl-carousel's internal .owl-stage-outer always clips overflow (that's
   what makes the sliding track work), and by default it's sized tightly
   around the slides — with no room for the centered card's box-shadow to
   render before it gets clipped off in a hard rectangle. Padding the clip
   box out vertically (offset by an equal negative margin so the carousel's
   own layout and centering math are unaffected) gives the shadow somewhere
   to bleed into without being cut off. Deliberately vertical-only: the
   box-shadow only ever applies to the CENTERED card (see .owl-item.center
   below), which — being the middle of 3 visible items — never sits at the
   stage's left/right edge, so there's nothing for horizontal padding here
   to protect; adding it back just reopens room for a loop-clone neighbor
   to peek through at the sides. */
.collections-slider .owl-stage-outer {
    padding: 24px 0 50px;
    margin: -24px 0 -50px;
}

.collection-slide {
    padding: 0 6px;
}

.collection-card {
    display: block;
    text-align: center;
    color: inherit;
    border-radius: 0px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.collection-card-img {
    aspect-ratio: 5 / 4;
    border-radius: 0px;
    overflow: hidden;
    background-color: #f5f6f8;
}

.collection-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.collection-card:hover .collection-card-img img {
    transform: scale(1.05);
}

.collection-card-name {
    margin: 18px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: #222831;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.collection-card:hover .collection-card-name {
    color: var(--brand-accent);
}

/* The owl-item currently centered is highlighted via opacity/shadow/border
   only — never size (transform: scale or padding) — so every card in the
   row, active or not, stays exactly the same height. The shadow lives on
   the whole card (image + name), not just the image — a shadow scoped to
   the image alone extends past its bottom edge and lands directly behind the
   name text below it, reading as a dark smudge under the label. Putting it
   on the full card means the shadow's reach starts below the name instead. */
.collections-slider .owl-item .collection-card {
    opacity: 0.6;
}

.collections-slider .owl-item.center .collection-card {
    opacity: 1;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
    border: 0.1px solid #ece9e9;
    padding: 4px 4px 1rem 4px;
}

.collections-slider .owl-item.center .collection-card-name {
    color: var(--brand-accent);
}

.collections-slider .owl-nav div {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background-color: #fff;
    color: #222831;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12);
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.collections-slider .owl-nav .owl-prev {
    left: -6px;
}

.collections-slider .owl-nav .owl-next {
    right: -6px;
}

.collections-slider .owl-nav div:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

@media (max-width: 767px) {
    .collections-slider .owl-nav div {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .collections-slider .owl-item .collection-card {
        opacity: 1;
    }

    .collection-card-img {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   Featured Products heading + section spacing
   ========================================================================== */

.portfolio-menu-active h2 {
    font-size: clamp(24px, 3.2vw, 34px);
}

.portfolio-area {
    padding-bottom: 60px;
}

@media (min-width: 1200px) {
    .portfolio-area {
        padding-top: 50px;
    }
}

/* ==========================================================================
   Reviews / testimonials carousel
   ========================================================================== */

.testimonials-area {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.testimonials-active {
    padding: 0 54px;
}

.testimonials-text p {
    font-size: 15px;
    line-height: 1.75;
}

.testimonials-area .owl-nav div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #222831;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.14);
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.testimonials-area .owl-nav .owl-prev {
    left: 0;
}

.testimonials-area .owl-nav .owl-next {
    right: 0;
}

.testimonials-area .owl-nav div:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

@media (max-width: 767px) {
    .testimonials-text {
        padding-left: 70px;
    }
}

@media (max-width: 575px) {
    .testimonials-active {
        padding: 0 42px;
    }

    .testimonials-area .owl-nav div {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 11px;
    }
}

/* ==========================================================================
   Brand highlights — homepage section above the footer introducing the
   brand and its three core product lines (Rudraksha / crystals / decor).
   ========================================================================== */

.brand-highlights-area {
    padding: 70px 0 80px;
}

.brand-highlights-header {
    max-width: 640px;
    margin: 0 auto;
}

.brand-highlights-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #222831;
    margin: 0 0 12px;
}

.brand-highlights-eyebrow {
    display: block;
    color: var(--brand-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.brand-highlights-header p {
    color: #767676;
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0;
}

.brand-highlights-divider {
    width: 100%;
    max-width: 1080px;
    height: 1px;
    background-color: #ececec;
    margin: 40px auto;
}

.brand-highlights-grid {
    row-gap: 26px;
}

.brand-highlight-card {
    height: 100%;
    box-sizing: border-box;
    background-color: var(--site-bg);
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 38px 32px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
    border-color: #f0f0f0;
}

.brand-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f5f6f8;
    border: 1px solid #ececec;
    margin-bottom: 22px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.brand-highlight-card:hover .brand-highlight-icon {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
}

.brand-highlight-icon i {
    font-size: 22px;
    color: #222831;
    transition: color 0.2s ease;
}

.brand-highlight-card:hover .brand-highlight-icon i {
    color: #fff;
}

.brand-highlight-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222831;
    margin: 0 0 12px;
}

.brand-highlight-card p {
    color: #7d7d7d;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 575px) {
    .brand-highlights-area {
        padding: 50px 0 60px;
    }

    .brand-highlights-divider {
        margin: 30px auto;
    }

    .brand-highlight-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   Header social icons — larger at desktop widths, per report
   ========================================================================== */

@media (min-width: 992px) {
    .header-social ul li a {
        width: 36px;
        height: 36px;
    }

    .header-social ul li a i {
        font-size: 13px;
    }
}

/* ==========================================================================
   .default-btn — the theme ships this class with NO matching base rule
   anywhere in style.css/responsive.css (confirmed by grep), so every use of
   it renders as a bare unstyled <button>/<a> unless something here styles
   it. Originally patched only for checkout's own buttons; now a real base
   rule so account/orders/order/review buttons (and any future use) get the
   same brand-consistent look without another one-off per-page patch.
   ========================================================================== */

.default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 6px;
    background-color: var(--brand-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    text-decoration: none;
    padding: 13px 26px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(var(--brand-accent-rgb), 0.24);
}

.default-btn:hover {
    background-color: var(--brand-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(var(--brand-accent-dark-rgb), 0.34);
}

.default-btn:active {
    transform: translateY(0);
}

.checkout-coupon .default-btn,
.order-button-payment .default-btn {
    width: 100%;
    padding: 15px 28px;
}

.checkout-coupon .default-btn {
    width: auto;
    padding: 11px 22px;
    font-size: 13px;
}

.checkout-coupon .default-btn:hover,
.order-button-payment .default-btn:hover {
    background-color: var(--brand-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(var(--brand-accent-dark-rgb), 0.34);
}

.order-button-payment .default-btn:active {
    transform: translateY(0);
}

.order-button-payment .default-btn:disabled {
    cursor: default;
    transform: none;
    opacity: 0.75;
}

.checkout-pay-btn.is-loading::before {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: checkout-spin 0.7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .checkout-pay-btn.is-loading::before {
        animation: none;
    }
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-payment-error {
    text-align: left;
    font-size: 13.5px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.checkout-quote-status {
    font-size: 13.5px;
    color: #6c757d;
    margin: -10px 0 20px;
}

.checkout-quote-status-error {
    color: #e74c3c;
}

.checkout-coupon-status {
    font-size: 13.5px;
    color: #2a9d4a;
    margin: 10px 0 0;
}

.checkout-coupon-status-error {
    color: #e74c3c;
}

.checkout-offers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.checkout-offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px dashed var(--brand-accent-dark, #7d311a);
    border-radius: 8px;
    padding: 10px 14px;
    background: rgba(var(--brand-accent-dark-rgb, 125, 49, 26), 0.04);
}

.checkout-offer-card-locked {
    border-style: solid;
    border-color: #e2e2e2;
    background: #fafafa;
    opacity: 0.85;
}

.checkout-offer-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.checkout-offer-code {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.checkout-offer-benefit {
    font-size: 13px;
    color: #555;
}

.checkout-offer-meta {
    flex: 1;
    font-size: 12.5px;
    color: #888;
    text-align: right;
    padding: 0 10px;
}

.checkout-offer-apply-btn {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid var(--brand-accent-dark, #7d311a);
    background: #fff;
    color: var(--brand-accent-dark, #7d311a);
    cursor: pointer;
}

.checkout-offer-apply-btn:hover {
    background: var(--brand-accent-dark, #7d311a);
    color: #fff;
}

.checkout-offer-apply-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background: #fff;
    color: #aaa;
    border-color: #ccc;
}

/* ==========================================================================
   "Your Order" summary card — checkout, order-detail (order.php), and the
   thank-you page all share this exact .your-order/.your-order-table markup,
   but it ships with no brand styling of its own (style.css gives it a flat
   #f2f2f2 panel, centered uppercase headers, and oversized padding — a
   generic, unstyled "theme default" look, not this site's). Rebuilt here to
   match the cart page's own order-summary card (.cart-summary-card) so both
   places read as the same product rather than two different UIs.
   ========================================================================== */

.your-order {
    background-color: var(--site-bg);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
    padding: 26px 24px;
}

.your-order h3 {
    font-size: 17px;
    font-weight: 600;
    color: #222831;
    text-transform: none;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 0 16px;
    padding-bottom: 14px;
}

.your-order-table table th,
.your-order-table table td {
    border-bottom: 1px solid #f0f0f0;
    font-size: 13.5px;
    color: #555;
    padding: 12px 0;
    text-align: right;
    white-space: normal;
}

.your-order-table table th {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9a9a9a;
}

.your-order-table table th.product-name,
.your-order-table table td.product-name {
    text-align: left;
    width: auto;
}

.your-order-table table tr.cart_item:hover {
    background-color: #fafbfb;
}

.your-order-table table .product-quantity {
    color: #9a9a9a;
    font-weight: 500;
}

.your-order-table table .order-total th,
.your-order-table table .order-total td {
    border-bottom: none;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.your-order-table table .order-total th {
    font-size: 13.5px;
    color: #222831;
    text-transform: none;
    letter-spacing: normal;
}

.your-order-table table tr.order-total td span,
.your-order-table table .order-total td strong .amount {
    font-size: 17px;
    font-weight: 700;
    color: #222831;
}

/* The "enter your address to see totals" placeholder row — a plain,
   left-aligned helper note instead of centered copy stranded in the middle
   of an otherwise-empty table, which is what made the card read as broken
   rather than "waiting on input". */
.your-order-table table tbody tr:not(.cart_item) td[colspan] {
    text-align: left;
    color: #8a8a8a;
    font-size: 13px;
    padding: 4px 0 8px;
    border-bottom: none;
}

.checkout-coupon label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9a9a9a;
    margin-bottom: 8px;
}

.checkout-coupon input[type="text"] {
    width: 100%;
    height: 44px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fafbfb;
    padding: 0 14px;
    font-size: 13.5px;
    color: #222831;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkout-coupon input[type="text"]:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: #fff;
}

.payment-method {
    margin-top: 28px;
}

.payment-accordion .panel-default {
    background-color: var(--site-bg);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.payment-accordion .panel-default .panel-heading {
    background-color: #fafbfb;
    border-bottom: 1px solid #eee;
    padding: 14px 18px;
}

.payment-accordion .panel-default h4.panel-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #222831;
    margin: 0;
}

.payment-accordion .panel-default .panel-body {
    padding: 14px 18px;
}

.payment-accordion .panel-default .panel-body p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Pay Now mirrors .cart-checkout-btn exactly (full width, 48px, rounded,
   brand-accent) so cart and checkout read as the same design, not two
   different-looking "buy" buttons. The disabled (no address entered yet)
   state is a real neutral gray — not the brand color dimmed with opacity,
   which reads as a muddy, mismatched second color next to Apply Coupon's
   full-strength brand color right above it (the actual "color combination
   looks unprofessional" cause: both buttons are the same hue, just at two
   different opacities, which looks like a clash instead of a clear
   active/inactive state). */
.order-button-payment .checkout-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(var(--brand-accent-rgb), 0.24);
}

.order-button-payment .checkout-pay-btn:disabled {
    background-color: #d9d5c9;
    color: #8a8377;
    opacity: 1;
    box-shadow: none;
}

/* ==========================================================================
   Footer — larger link text on large desktop
   ========================================================================== */

@media (min-width: 1200px) {
    .site-footer-col ul li a {
        font-size: 15px;
    }
}

/* ==========================================================================
   Account — profile form, current-order widget, order history cards,
   order detail page, star ratings/reviews. Reuses the checkout page's own
   .checkbox-form / .checkout-form-list / .your-order building blocks so the
   whole account area feels like a natural extension of checkout rather than
   a separate design language.
   ========================================================================== */

.account-form-hint {
    color: #7a7a7a;
    font-size: 13.5px;
    margin: -10px 0 18px 0;
}

.checkbox-form h3.mt-30 {
    margin-top: 30px;
}

.account-save-btn {
    margin-top: 10px;
}

/* Status pills — shared across the current-orders widget, order cards, and
   order-detail page so "what state is this order in" always looks the same. */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.status-pill-success {
    background-color: #e5f7ec;
    color: #1f9d55;
}

.status-pill-warning {
    background-color: #fdf3e3;
    color: #b3791f;
}

.status-pill-info {
    background-color: rgba(var(--brand-accent-rgb), 0.09);
    color: var(--brand-accent);
}

.status-pill-danger {
    background-color: #fdeceb;
    color: #d64541;
}

.status-pill-muted {
    background-color: #f0f0f0;
    color: #777777;
}

/* Current Orders widget (account.php) */
.account-current-orders {
    padding: 30px;
}

.account-empty-state {
    color: #7a7a7a;
    font-size: 14px;
    margin: 10px 0 20px 0;
}

.account-current-order-card {
    display: block;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 16px 18px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-current-order-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 6px 16px rgba(var(--brand-accent-rgb), 0.12);
    transform: translateY(-1px);
}

.account-current-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.account-current-order-number {
    font-weight: 700;
    font-size: 14px;
    color: #1e1e1e;
}

.account-current-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: #7a7a7a;
}

.account-view-all-link {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--brand-accent);
    text-decoration: none;
}

.account-view-all-link:hover {
    color: var(--brand-accent-dark);
}

/* Order history — full-width horizontal cards (orders.php); deliberately
   not a <table>, per the account order-history spec. */
.order-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.order-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 18px 22px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.order-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 20px rgba(var(--brand-accent-rgb), 0.1);
    transform: translateY(-1px);
    color: inherit;
}

.order-card-thumb {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    background-color: #f7f5ef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.order-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-card-thumb i {
    font-size: 22px;
    color: #c9c2ae;
}

.order-card-body {
    flex: 1;
    min-width: 0;
}

.order-card-top {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 4px;
}

.order-card-number {
    font-weight: 700;
    font-size: 15px;
    color: #1e1e1e;
}

.order-card-date {
    font-size: 12.5px;
    color: #9a9a9a;
}

.order-card-summary {
    margin: 0 0 8px 0;
    font-size: 13.5px;
    color: #6a6a6a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-card-total {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.order-card-total-label {
    font-size: 11px;
    color: #9a9a9a;
    text-transform: uppercase;
}

.order-card-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-accent);
}

.order-card-view-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-accent);
}

.order-empty-state {
    text-align: center;
    padding: 70px 20px;
}

.order-empty-state i {
    font-size: 48px;
    color: #d8d2c2;
    margin-bottom: 16px;
    display: inline-block;
}

.order-empty-state h3 {
    margin-bottom: 8px;
}

.order-empty-state p {
    color: #7a7a7a;
    margin-bottom: 24px;
}

.order-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.order-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border: 1px solid #ececec;
    border-radius: 4px;
    color: #4a4a4a;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.order-pagination a:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.order-pagination a.active {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #ffffff;
}

/* Order detail page */
.order-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ececec;
}

.order-detail-header h2 {
    margin: 0 0 4px 0;
    font-size: 24px;
}

.order-detail-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.invoice-download-btn {
    width: auto;
    padding: 10px 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.muted-text {
    color: #8a8a8a;
}

.small-text {
    font-size: 12px;
}

.order-side-card {
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 22px 24px;
    margin-bottom: 20px;
}

.order-side-card h4 {
    font-size: 15px;
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.order-side-card p {
    margin: 0 0 4px 0;
    font-size: 13.5px;
    line-height: 1.6;
}

.order-address-name {
    font-weight: 700;
    color: #1e1e1e;
}

.order-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-timeline li {
    position: relative;
    padding: 0 0 16px 20px;
    border-left: 2px solid #ececec;
}

.order-timeline li:last-child {
    padding-bottom: 0;
}

.order-timeline li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--brand-accent);
}

.order-timeline li strong {
    display: block;
    font-size: 13.5px;
    color: #1e1e1e;
}

/* Reviews */
.review-section {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid #ececec;
}

.review-card {
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.review-card-product {
    font-weight: 700;
    font-size: 14.5px;
    margin: 0 0 10px 0;
    color: #1e1e1e;
}

.static-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-comment {
    margin: 8px 0 4px 0;
    font-size: 13.5px;
    color: #5a5a5a;
    line-height: 1.6;
}

.review-edit-toggle {
    display: inline-block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-accent);
    text-decoration: underline;
}

/* CSS-only 5-star input: radios rendered high-to-low with label-after-input,
   so `~` (general sibling) can style everything from the checked star
   onward — this is what lets pure CSS drive both the hover preview and the
   saved-value highlight with zero JavaScript. */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    margin-bottom: 14px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 28px;
    line-height: 1;
    color: #ddd8c9;
    cursor: pointer;
    padding: 0 3px;
    transition: color 0.15s ease;
}

.star-rating input:checked~label,
.star-rating:hover label:hover,
.star-rating:hover label:hover~label {
    color: #f5a623;
}

.review-form textarea {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13.5px;
    resize: vertical;
    margin-bottom: 14px;
}

.review-submit-btn {
    width: auto;
    padding: 10px 24px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .order-card {
        flex-wrap: wrap;
    }

    .order-card-total {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px solid #f0f0f0;
        padding-top: 12px;
        margin-top: 6px;
    }

    .order-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


.product-banner-area {
    overflow-x: hidden;
    height: 70vh;
}

.product-banner-area .container {
    height: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.product-banner-content {
    width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 100%;
}

.product-banner-content img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-banner-text {
    top: 50%;
}

/* The banner heading is a real <h1> (one per page, for SEO) but must keep
   looking exactly like the theme's original .product-banner-text h2 style
   (style.css) — overridden here rather than edited in place there. */
.product-banner-text h1 {
    color: var(--brand-accent);
    font-size: 36px;
    font-weight: 500;
    line-height: 45px;
    margin: 0;
    text-transform: uppercase;
}

.product-banner-content-empty {
    aspect-ratio: 16 / 5;
    background-color: #f5f6f8;
}

@media (max-width: 767px) {
    .product-banner-content-empty {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   Home page "Featured Products" masonry gallery — image only, with a
   centered view + add-to-cart icon pair that appears on hover. Reuses the
   theme's stock .portfolio-hover/.portfolio-title hover-reveal mechanism
   (style.css); this block only restyles the revealed content itself, since
   there's no title text here — just the two circular icon buttons.
   ========================================================================== */
.portfolio-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.portfolio-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portfolio-action-icon,
.portfolio-actions .add-to-cart-card-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #222831;
    font-size: 17px;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-action-icon:hover,
.portfolio-actions .add-to-cart-card-btn:hover {
    background-color: var(--brand-accent);
    color: #fff;
    transform: translateY(-3px);
}

.portfolio-actions .add-to-cart-card-btn .atc-label {
    display: none;
}

span.portfolio-actions .add-to-cart-card-btn.is-disabled,
.portfolio-actions span.add-to-cart-card-btn.is-disabled {
    background-color: #eceff1;
    color: #9aa0a6;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Stock theme hover accents were the old pink; bring them in line with the
   brand colour used everywhere else. */
.load-more>a:hover {
    border-color: var(--brand-accent);
    background-color: var(--brand-accent);
}

/* ==========================================================================
   About page (web/about.php)
   ========================================================================== */

.about-page-area {
    padding-bottom: 20px;
}

.about-hero {
    padding: 70px 0 60px;
}

.about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 16px;
}

.about-hero-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    color: #222831;
    margin: 0;
    max-width: 480px;
}

.about-hero-img img,
.about-split-img img {
    width: 100%;
    aspect-ratio: 5 / 5;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(34, 40, 49, 0.1);
}

.about-split {
    padding: 50px 0;
}

.about-split-text {
    max-width: 480px;
}

.about-split-reverse .about-split-text {
    margin-left: auto;
}

.about-split-text p {
    color: #767676;
    font-size: 17.5px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.about-split-text p:last-child {
    margin-bottom: 0;
}

.about-values-area {
    background-color: #faf5ef;
    padding: 80px 0;
    margin-top: 40px;
}

.about-values-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #222831;
    max-width: 480px;
    margin: 0 auto 50px;
    line-height: 1.4;
}

.about-value-card {
    text-align: center;
    padding: 0 10px;
    margin-bottom: 30px;
}

.about-value-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: rgba(var(--brand-accent-rgb), 0.08);
    color: var(--brand-accent);
    font-size: 28px;
    margin-bottom: 20px;
}

.about-value-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222831;
    margin: 0 0 10px;
}

.about-value-card p {
    color: #767676;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

.about-mission-area {
    background-color: var(--site-bg);
    padding: 80px 0 90px;
}

.about-mission-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.about-mission-inner p {
    color: #222831;
    font-size: 17px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.about-mission-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 36px;
    border-radius: 50px;
    background-color: var(--brand-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.about-mission-btn:hover {
    background-color: var(--brand-accent-dark);
    color: #fff;
}

@media (max-width: 991px) {
    .about-hero {
        padding: 40px 0;
        text-align: center;
    }

    .about-hero-title {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-hero-img {
        margin-top: 30px;
    }

    .about-split-img {
        margin-bottom: 30px;
    }

    .about-split-text,
    .about-split-reverse .about-split-text {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575px) {

    .about-hero-img img,
    .about-split-img img {
        aspect-ratio: 4 / 3;
    }

    .about-values-area,
    .about-mission-area {
        padding: 56px 0;
    }
}

/* ==========================================================================
   Terms & Conditions page (web/terms.php)
   ========================================================================== */

.terms-page-area {
    padding: 50px 0 100px;
}

.terms-hero {
    border-bottom: 1px solid #ece6db;
    padding-bottom: 28px;
    margin-bottom: 44px;
}

.terms-hero h1 {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 700;
    color: #222831;
    margin: 0;
}

.terms-layout {
    display: flex;
    /* Deliberately NOT align-items: flex-start — sticky positioning needs
       its containing block (.terms-toc) to be as tall as its sibling
       (.terms-content) so there's room to stick while the page scrolls.
       flex-start would shrink .terms-toc to just its own content height,
       leaving the sticky element nowhere to travel. */
    align-items: stretch;
    gap: 56px;
}

.terms-toc {
    flex: 0 0 240px;
    width: 240px;
}

.terms-toc-inner {
    position: sticky;
    top: 110px;
}

.terms-toc-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 14px;
}

.terms-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #ece6db;
}

.terms-toc li a {
    display: block;
    padding: 7px 0 7px 16px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    font-size: 13.5px;
    line-height: 1.5;
    color: #767676;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.terms-toc li a:hover {
    color: var(--brand-accent);
    border-left-color: var(--brand-accent);
}

.terms-content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 700px;
}

.terms-section {
    scroll-margin-top: 100px;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid #f1ece2;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    color: #222831;
    margin: 0 0 16px;
}

.terms-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-accent);
}

.terms-section p {
    color: #55575c;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 14px;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-section ul li {
    position: relative;
    color: #55575c;
    font-size: 15px;
    line-height: 1.75;
    padding-left: 20px;
    margin-bottom: 12px;
}

.terms-section ul li:last-child {
    margin-bottom: 0;
}

.terms-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-accent);
}

.terms-contact-line {
    font-weight: 600;
}

.terms-contact-line a {
    color: #222831;
    transition: color 0.2s ease;
}

.terms-contact-line a:hover {
    color: var(--brand-accent);
}

@media (max-width: 991px) {
    .terms-layout {
        flex-direction: column;
        gap: 0;
    }

    .terms-toc {
        width: 100%;
        flex: 1 1 auto;
        margin-bottom: 40px;
    }

    .terms-toc-inner {
        position: static;
    }

    .terms-toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        border-left: none;
    }

    .terms-toc li a {
        padding: 7px 14px;
        margin-left: 0;
        border: 1px solid #ece6db;
        border-radius: 50px;
        background-color: #faf5ef;
    }

    .terms-toc li a:hover {
        border-color: var(--brand-accent);
        background-color: rgba(var(--brand-accent-rgb), 0.08);
    }

    .terms-content {
        max-width: 100%;
    }
}

/* ==========================================================================
   Floating WhatsApp button (site-wide, injected once in includes/scripts.php
   so it renders on every page including the standalone login/register pages)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float i {
    font-size: 30px;
    line-height: 1;
}

.whatsapp-float:hover {
    background-color: #1ebe5a;
    color: #fff;
    transform: scale(1.08);
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        left: 18px;
        bottom: 18px;
    }

    .whatsapp-float i {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .whatsapp-float {
        width: 46px;
        height: 46px;
        left: 14px;
        bottom: 14px;
    }

    .whatsapp-float i {
        font-size: 22px;
    }
}

/* ==========================================================================
   Blog listing cards (/blogs) — reuses .single-product/.product-img/
   .product-title's existing box styling; these rules only add what's blog-
   specific on top (meta line, excerpt, full-card click target).
   ========================================================================== */
.blog-card {
    position: relative;
}

.blog-card-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.blog-card-meta {
    font-size: 12px;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.blog-card-meta-sep {
    margin: 0 4px;
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: #767676;
    line-height: 1.6;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Blog detail page (/blogs/{slug})
   ========================================================================== */
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

.blog-detail-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ccc;
}

.blog-detail-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: #222831;
    line-height: 1.3;
    margin: 0 0 24px;
    overflow-wrap: anywhere;
}

.blog-detail-banner {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 36px;
}

.blog-detail-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* The sanitized rich-text content itself — generous, readable typography
   for long-form articles, matching the brand accent used everywhere else
   on the storefront for headings/links. overflow-wrap/word-break guard
   against a horizontal scrollbar from any long unbroken token an admin's
   content could contain (a long link label, a URL typed as plain text,
   a compound word) — the page's own layout never otherwise overflows, so
   this is what actually closes that class of bug rather than papering
   over a single instance of it. min-width:0 is required alongside it:
   without it, a flex/grid-contained block defaults to min-width:auto,
   which lets its content's intrinsic width override the wrap entirely. */
.blog-detail-content {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6 {
    color: #222831;
    font-weight: 700;
    line-height: 1.35;
    margin: 36px 0 16px;
}

.blog-detail-content h1 { font-size: 30px; }
.blog-detail-content h2 { font-size: 26px; }
.blog-detail-content h3 { font-size: 22px; }
.blog-detail-content h4 { font-size: 19px; }
.blog-detail-content h5,
.blog-detail-content h6 { font-size: 17px; }

.blog-detail-content p {
    margin: 0 0 20px;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.blog-detail-content li {
    margin-bottom: 8px;
}

.blog-detail-content a {
    color: var(--brand-accent);
    text-decoration: underline;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.blog-detail-content blockquote {
    border-left: 3px solid var(--brand-accent);
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    color: #666;
    font-style: italic;
}

/* CTA block shown after the article content */
.blog-detail-cta {
    margin-top: 48px;
    padding: 28px;
    background-color: #faf5ef;
    border: 1px solid #ece6db;
    border-radius: 10px;
    text-align: center;
}

.blog-detail-cta p {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a8a8a;
    margin: 0 0 12px;
}

@media (max-width: 575px) {
    .blog-detail-title {
        margin-bottom: 18px;
    }

    .blog-detail-banner {
        margin-bottom: 24px;
    }

    .blog-detail-content {
        font-size: 14.5px;
    }

    .blog-detail-content h1 { font-size: 23px; }
    .blog-detail-content h2 { font-size: 21px; }
    .blog-detail-content h3 { font-size: 18.5px; }
    .blog-detail-content h4,
    .blog-detail-content h5,
    .blog-detail-content h6 { font-size: 16px; }

    .blog-detail-cta {
        padding: 20px;
    }
}