/*
 * FADO Jewelry — CSS variables and structural additions
 * These variables are used only by pages not yet converted to Ochaka classes.
 * Colours match Ochaka's palette as closely as possible.
 */

:root {
    --fado-deep-green:   #044705;   /* text/headings/logo, footer background */
    --fado-green-mid:    #0AAC45;   /* header, footer, large surfaces, primary buttons */
    --fado-green-light:  #81CC60;   /* buttons, accents, badges */
    --fado-gold:         #766D42;   /* sparing accent touches (no longer used by default) */
    /* Secondary colour: primary buttons (Add to Bag, Place Order, View All
       Posts…), the footer, product-page option labels, prices and secondary
       text. Was the olive/gold #766D42 until the client review of 19 Nov 2026,
       now the top bar's dark green. Admin › Settings › Display › Secondary
       colour overrides it (shop/layouts/app.blade.php), so a future colour
       change is one setting, not a CSS edit. */
    --fado-secondary:    #044705;
    --fado-cream:        #F0F1E7;   /* product tile backgrounds, section backgrounds */
    --fado-soft-white:   #F5F7F1;   /* section backgrounds */
    --fado-near-white:   #FFFFFF;   /* primary page background */
    --fado-off-white:    #F8F9F5;   /* primary page background option */
    --fado-pale-mint:    #EBFCEF;   /* light backgrounds */
    --fado-light-mint:   #DCF6D5;   /* highlights, hover states */
    --fado-warm-grey:    #BCB3AB;   /* borders, dividers */
}

/* ── Sitewide hover/active accent — brand deep green instead of theme red ─── */
/* --primary (Ochaka demo red #C8102E) drives hover/active colour on ~90
   selectors site-wide — nav item hover, homepage category tile hover,
   featured-collection title hover, "NEW ARRIVALS"-style tab active state,
   blog post title hover, dropdown/select hover, button fills, etc. Client
   asked for the whole site's hover colour to be brand-consistent rather
   than red, so this is redefined once at the source instead of patching
   each selector individually (same approach as the --text override below).
   The 2 pre-existing targeted overrides further down (.text-primary,
   .product-badge_item.sale) already hardcode their own colour and don't
   reference --primary, so they're unaffected by this. */
:root {
    --primary: var(--fado-deep-green);
}

/* ── Sticky header — Ochaka reference style (white, not gold/green) ───────── */
/* History: client first asked for deep green (var(--primary)), then FADÓ
   gold, now asked to match the Ochaka reference design (ochaka.vercel.app)
   instead — plain white background, dark text/icons/logo, just a subtle
   shadow to lift it off the page. styles.css's own header.header-sticky
   already sets background:var(--white), so the !important here is mostly
   belt-and-braces against the gold rule this replaces; the shadow value is
   the client's exact spec, overriding styles.css's own (fainter) shadow at
   matching specificity via source order (fado.css loads after styles.css).
   The matching light-background logo/nav-text/icon colour flip (dark, not
   white) lives further down where those were previously forced white for
   the gold/green background. */
header.header-sticky {
    background-color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Sticky header — smooth slide-down reveal instead of a jump ────────────── */
/* styles.css's base `header { position: sticky; ... }` has no `top` value of
   its own -- main.js's headerSticky() (setInterval polling scroll position
   every 250ms) simulates the sticky threshold itself by toggling an inline
   top:0 / top:unset alongside this class, with no transition on that
   change, so the header could pop straight into its stuck position instead
   of sliding in. Rather than touching that polling/threshold logic (risk of
   changing WHEN it sticks, which wasn't the complaint), a one-shot
   @keyframes animation plays whenever .header-sticky is added, sliding the
   header down from translateY(-100%) to its normal position over 0.3s --
   a persistent transform can't be used here (the header needs to sit in
   normal, untransformed flow the rest of the time). */
@keyframes fadoStickyHeaderReveal {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
header.header-fix.header-sticky {
    animation: fadoStickyHeaderReveal 0.3s ease;
}

/* ── Sitewide secondary text — brand gold ──────────────────────────────────── */
/* Client-requested: primary text (headings) = #044705, secondary text =
   #766D42, applied across the whole site. Ochaka's own --text variable
   (#5F615E, a muted grey) is used almost exclusively for secondary/muted
   text — subtitles, descriptions, captions, author names, old-price
   strikethrough, filter labels, etc. — across ~30 selectors site-wide, with
   only 2 minor exceptions (a footer divider line and an out-of-stock badge
   background). Redefining it here at :root cascades correctly everywhere
   it's already used, rather than patching each selector individually. */
:root {
    --text: var(--fado-secondary);
}

/* ── "Shop now" buttons — primary default, gold (secondary) on hover ──────── */
/* .tf-btn.btn-white (hero slider + Featured Collection tiles, both over
   photo imagery) never had a hover colour defined at all in styles.css --
   just a white-shine sweep with no background change. White text/black text
   swapped to white-on-gold for contrast against the now-dark hover fill. */
.tf-btn.btn-white:hover {
    background-color: var(--fado-secondary) !important;
    color: #fff !important;
}
/* The "On sale!" banner button (home.blade.php) has no colour modifier
   class, so it fell back to styles.css's base .tf-btn default of solid
   black. Scoped to :not(.btn-white) so the footer newsletter button, which
   reuses .type-small-2 alongside .btn-white, is unaffected. */
.tf-btn.animate-btn.type-small-2:not(.btn-white) {
    background-color: var(--primary) !important;
}

/* ── Prices/totals + star ratings — brand gold instead of theme red/amber ─── */
/* .text-primary is a Bootstrap-style utility (color: var(--primary) !important,
   Ochaka's demo red #C8102E) used for cart item prices, cart/checkout totals,
   and the "free shipping threshold" callout amount. It's also used across
   ~50 admin dashboard views, but fado.css is only linked from the storefront
   layout (shop/layouts/app.blade.php) — confirmed via grep — so this override
   never reaches the admin panel. .text-star (review stars) separately
   hardcodes its own !important amber, needing matching !important here. */
.text-primary {
    color: var(--fado-secondary) !important;
}
.text-star {
    color: var(--fado-secondary) !important;
}

/* ── Sale badge — brand deep green instead of theme red ────────────────────── */
/* .product-badge_item.sale (background-color: var(--primary)) is the "on
   sale" ribbon on product images. Deep green reads as a considered accent
   fill against varied product photography; gold was reserved for text so
   the two don't compete on the same badge. Other badge variants (.hot,
   .new, .flash-sale, .trend, .limit) are untouched — not currently in use. */
.product-badge_item.sale {
    background-color: var(--fado-deep-green);
}

/* ── Product name/price — brand gold ───────────────────────────────────────── */
/* Client-requested: product card names (e.g. "High Cross of Cashel") and
   prices use styles.css's --black variable directly rather than --text, so
   the sitewide --text redefinition above doesn't reach them. Overridden
   here specifically rather than redefining --black itself, since --black
   also drives non-text UI chrome (icons, borders, form fields) that should
   stay as-is. */
.card-product_info .name-product,
.price-wrap .price-new {
    color: var(--fado-secondary);
}
/* Product card price — bolder/larger for more visual weight in the card,
   per the requested reference design. */
.card-product_info .price-wrap .price-new {
    font-weight: 700;
    font-size: 17px;
}

/* ── Header wishlist count badge ───────────────────────────────────────────── */
/* styles.css only gives `.nav-icon-list .shop-cart { position: relative; }` — the
   positioning context the cart's absolutely-positioned `.count` badge needs. The
   wishlist `<li>` had no equivalent class, so its badge (also moved to be a sibling
   of the icon link, matching the cart's markup) was positioning itself against
   whatever ancestor happened to be relatively positioned, landing off in the wrong
   spot instead of next to the heart icon. */
.nav-icon-list .shop-wishlist {
    position: relative;
    margin-right: 12px;
}

/* ── Wishlist "filled heart" active state ──────────────────────────────────── */
/* The icon font (public/icon/icomoon) only defines `icon-heart` — there is no
   `icon-heart-fill` glyph, so a previous attempt to swap to that class on toggle
   rendered a blank/invisible icon instead of a "filled" heart. Using a permanent
   colour-fill on the existing box-icon style (same look as its own :hover state)
   instead of a nonexistent icon variant. */
.btn-add-wishlist.is-wishlisted,
/* Product page: styles.css's .tf-product-info-wrap ... .group-btn .box-icon
   (color #252525) out-ranks the rule above, leaving a dark heart on the
   green circle. Same selector depth so the heart turns white. */
.tf-product-info-wrap .tf-product-total-quantity .group-btn .btn-add-wishlist.is-wishlisted {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
/* Product-card wishlist/cart icons — plain glyph, no white circle backdrop
   or shadow (styles.css's .product-action_list .box-icon always shows one).
   "Already wishlisted" now just colours the outline heart itself instead of
   filling a (removed) circle, since there's still no filled-heart glyph. */
.product-action_list .box-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
}
.product-action_list .box-icon:hover {
    background-color: transparent;
    color: var(--fado-deep-green);
}
.product-action_list .box-icon.is-wishlisted {
    background-color: transparent;
    color: var(--primary);
}
/* Wishlist/cart icons always visible, not hover-only. styles.css hides
   .product-action_list li (opacity:0/visibility:hidden/translateX(20px))
   until the card is hovered, at >=1200px -- fine when the icon sits on a
   white circle that needs the reveal to avoid clutter, but the icon is now
   a plain glyph with nothing to hide behind. */
.product-action_list li {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
/* Wishlist icon hidden on small phones — styles.css's @media(max-width:575px)
   hides .product-action_list .wishlist/.compare, which made sense when the
   list still had a cart icon left visible as the one action worth keeping
   on a tiny screen. Now that cart/quick-view have been removed everywhere
   and wishlist is the ONLY icon in the list, that rule hid the only thing
   left to show — confirmed live, no heart icon rendered on mobile cards. */
@media (max-width: 575px) {
    .product-action_list .wishlist {
        display: flex !important;
    }
}
 .tf-btn-line::after {
    display:none !important;
}
 .tf-btn-line::before {
    display:none !important;
}
/* ── FADO logo (real ship-mark + wordmark SVG, replaces the old text placeholder) ── */
/* public/images/logo.svg (dark, stroke="currentColor") and logo-white.svg (white,
   hardcoded #fff) are both a square 800x800 viewBox (icon stacked above the wordmark),
   not Ochaka's wide horizontal lockup — styles.css's `.logo-site img { aspect-ratio:
   2.5094339623; }` would squash a square image into a wide box, so that's overridden
   back to the SVG's own intrinsic ratio here. */
.logo-site img {
    aspect-ratio: auto !important;
    width: 250px !important;
    height: auto !important;
    max-height: none !important;
}
/* Logo swap: .logo-default = white logo, .logo-sticky = same image
   recoloured black via filter (not a separate white-fado-logo-black.png —
   that asset was missing the "Fine Irish Jewelry" tagline baked into the
   white version, so reusing one source image keeps them in sync).
   Homepage (header-abs-2): show white logo, swap to dark on sticky.
   Inner pages (bg-off-white): show dark logo always. */
.logo-site .logo-sticky {
    display: none;
    filter: brightness(0);
}
/* Sticky header background is now white (Ochaka reference style, see the
   sticky-header colour rule above) on every page — so the sticky state
   needs the DARK logo, same as .bg-off-white inner pages already show by
   default below. !important because the homepage's own default (no other
   rule scoping it, just .logo-sticky's base display:none above) is the
   white logo showing plain — this must win over that once sticky kicks in
   on the homepage specifically. */
.header-sticky .logo-site .logo-default {
    display: none !important;
}
.header-sticky .logo-site .logo-sticky {
    display: block !important;
}
.bg-off-white .logo-site .logo-default {
    display: none;
}
.bg-off-white .logo-site .logo-sticky {
    display: block;
}
/* Homepage overlay header — white nav text + icons over dark hero.
   Scoped to :not(.header-sticky) because header-sticky flips the header's
   background to solid white (styles.css / the sticky-colour rule above) —
   without this guard the nav text/icons/hamburger stayed forced white and
   vanished against it before this section covered the sticky state too. */
.header-abs-2:not(.header-sticky) .item-link,
.header-abs-2:not(.header-sticky) .nav-icon-item {
    color: #fff !important;
}
/* styles.css hardcodes .item-link .icon (the Jewelry/Collections dropdown
   caret) to var(--black) regardless of the link's own colour, so it stayed
   invisible against the dark hero even after the link text above went
   white. */
.header-abs-2:not(.header-sticky) .item-link .icon {
    color: #fff !important;
}
.header-abs-2:not(.header-sticky) .btn-mobile-menu span,
.header-abs-2:not(.header-sticky) .btn-mobile-menu::before,
.header-abs-2:not(.header-sticky) .btn-mobile-menu::after {
    background-color: #fff;
}
/* Sticky header (any page): background is now white (Ochaka reference
   style, see the sticky-header colour rule above), so nav text/icons/
   hamburger need to flip to dark here — the opposite of the previous
   gold/green background, which needed white for contrast. !important
   because the homepage's own .header-abs-2:not(.header-sticky) rule above
   forces these white for the hero overlay, which this must win over once
   sticky kicks in; on inner (.bg-off-white) pages nothing else sets these
   colours at all, so this is simply the correct value either way. */
header.header-sticky .item-link,
header.header-sticky .nav-icon-item {
    color: var(--black) !important;
}
header.header-sticky .item-link .icon {
    color: var(--black) !important;
}
header.header-sticky .btn-mobile-menu span,
header.header-sticky .btn-mobile-menu::before,
header.header-sticky .btn-mobile-menu::after {
    background-color: var(--black) !important;
}
/* Header currency switcher (duplicated into .nav-icon-list so it survives
   the top bar scrolling away) needs the same white/dark treatment as
   .item-link/.nav-icon-item above, but its toggle text + caret aren't
   covered by those selectors (bootstrap-select renders its own
   .dropdown-toggle, not a plain link/icon), and styles.css hardcodes both
   to var(--black) regardless of context. */
.header-abs-2:not(.header-sticky) .tf-currencies-header .dropdown-toggle,
.header-abs-2:not(.header-sticky) .tf-currencies-header .dropdown-toggle::after {
    color: #fff !important;
}
header.header-sticky .tf-currencies-header .dropdown-toggle,
header.header-sticky .tf-currencies-header .dropdown-toggle::after {
    color: var(--black) !important;
}
.canvas-header .logo-site img {
    width: 150px !important;
    height: auto !important;
}
/* Mobile off-canvas menu header: white-fado-logo.png is white (matches the
   dark-green desktop header it's shared with) but .canvas-mb's background
   is white (styles.css .canvas-body) -- same recolour technique as
   .logo-sticky above. */
.canvas-mb-logo img {
    filter: brightness(0);
}

/* ── Header nav — keep multi-word labels on one line ──────────────────────── */
/* styles.css leaves .item-link at the default white-space:normal, so longer
   labels ("Wedding / Engagement", "The Garden Collection by FADÓ") wrapped
   onto a second line and threw off vertical alignment against the other,
   single-word nav items — confirmed live via computed-style inspection
   before adding this. */
.box-nav-menu > .menu-item > .item-link {
    white-space: nowrap;
}
.footer .logo-site img, footer .logo-site img {
    width: 250px !important;
    height: auto !important;
}

/* ── Footer — brand gold instead of deep green ─────────────────────────────── */
/* Secondary colour token (--fado-secondary, was gold #766D42 until 19 Nov 2026), replacing the
   earlier --fado-deep-green pass (before that, --fado-green-mid). Ochaka's
   footer template still used the default bg-black utility class — this was
   simply never applied. Scoped as an override rather than editing the class
   in footer.blade.php, so any other styling keyed off the bg-black class
   name is left intact. !important is required: Bootstrap's own .bg-black
   utility (bootstrap.min.css) ships with !important, so an equal-specificity
   rule without it silently loses regardless of stylesheet load order —
   confirmed live via computed-style inspection before adding this. */
.tf-footer.bg-black {
    background-color: var(--fado-secondary) !important;
}

/* ── Footer text — solid white ─────────────────────────────────────────────── */
/* Client-requested: all footer text should be white. Ochaka's default .link
   style renders at 50% opacity (rgba(255,255,255,.5)) for a "muted" look,
   which read as barely-legible pale grey-green against the new deep-green
   background. The email link is worse — it carries .text-main, a dark grey
   (~#5F615E) meant for light backgrounds, effectively invisible here. The
   newsletter subtext ("Become the first to know...") uses .caption, same
   dark grey, missed by the first pass. All scoped to .tf-footer only, so
   nothing outside the footer is affected. */
.tf-footer .link,
.tf-footer .text-main,
.tf-footer .caption {
    color: #fff !important;
}
     .testimonial-V02 {
        gap: 0;
    }.testimonial-V02.type-space-2.hover-img.wow.fadeInUp.animated {
    border: 1px solid #e7e7e7;
    padding: 30px;
    background: #f4f4f4;
}
.testimonial-V02 .product-infor{
    display:none;
}.tf-swiper .article-blog.type-space-2.hover-img4.wow.fadeInLeft.animated {
    border: 1px solid #e7e7e7; 
}.article-blog .name-tag { 
    background-color: #044705; 
}.article-blog.type-space-2 .entry_tag {
    top: 10px;
    left: 10px;
}.blog-content {
    background: #f4f4f4;
    padding: 20px !important;
}.box-icon_V01 {
    background: #f4f4f4;
    padding: 20px;
}.nav-icon-list .count {
    background: #044705 !important;
    color: #ffffff !important;
}.list-hor .tf-btn-line {
    line-height: normal;
}.list-hor .tag_cls { 
    line-height: normal;
}.tf-check { 
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #8c8c8c;
}.filter-group-check .label .count {
    margin-left: auto !important;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
    background: #fff;
    float: right;
    width: 24px !important;
    flex: none;
    border-radius: 10px;
    border: 1px solid #cecece;
    font-size: 16px;
} .list-hor .wg-cls {
    flex: none !important; 
}    .wg-cls .cls-content {
        gap: 5px;
    }.wg-cls .cls-content {
    padding: 12px 10px; 
    gap: 0px; 
    left: 0%;
    transform: translateX(6%); 
}h1.title_sld.text-white.text-display.fade-item.fade-item-2 {
    margin-bottom: 35px !important;
}.wg-cls .br-line {
    background-color: inherit;
    height: 1px;
}
.list-hor .cls-content 
    text-align: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100% !important;
    justify-content: center;
}.canvas-header img {
    filter: grayscale(100%) brightness(0%);
}.list-hor .tag_cls { 
    width: 100%;
}
/* ── Primary buttons — brand gold instead of plain black ──────────────────── */
/* Secondary colour token (--fado-secondary, was gold #766D42 until 19 Nov 2026), replacing the
   earlier --fado-green-mid pass. The base .tf-btn style
   (background-color: var(--black)) was never touched. This is the
   plain/default button variant, so it also drives "ADD TO BAG" on the
   product page — not just decorative buttons like "View All Posts" — since
   .btn-add-to-cart has no colour override of its own. .btn-white / .style-2
   / other explicit variants are untouched. */
.tf-btn:not(.btn-white):not(.style-2):not(.bg-green) {
    background-color: var(--fado-secondary);
}

/* ── Headings — brand deep green instead of plain black ────────────────────── */
/* --fado-deep-green's own comment already said "text/headings/logo" but no
   heading element ever actually used it — styles.css hardcodes
   `h1,h2,h3,h4,h5,h6 { color: var(--black); }` site-wide. Client-confirmed:
   apply globally (section titles like "Shop By Categories", "Best Seller",
   product page titles, blog titles, etc. all go deep green).
   !important is required: several section-title elements are h1 tags that
   also carry a .title/.s-title class, and styles.css separately declares
   `.title`/`.s-title { color: var(--black); }` — a class selector, which
   beats a tag selector on specificity regardless of load order. Without
   !important, "Best Seller"/"Trending Product"/"Our Blog" silently stayed
   black — confirmed live via computed-style inspection before adding this. */
h1, h2, h3, h4, h5, h6 {
    color: var(--fado-deep-green) !important;
}

/* ── Category tile labels + section subtitles — brand gold ────────────────── */
/* Client-confirmed: secondary text under a deep-green heading (e.g. "From
   classic rings to Celtic crosses..." under "Shop By Categories", and the
   "Jewelry / Rings / Crosses / Pendants / Earrings" labels under each
   category tile) should be gold rather than green, for a two-tone look. */
.s-subtitle,
.widget-collection .collection_name {
    color: var(--fado-secondary);
}

/* ── Homepage "Shop now" CTAs — brand gold instead of red/black ──────────── */
/* .tf-btn-line renders its text via a background-clip:text gradient trick
   (background-image: linear-gradient(to right, var(--primary) 50%, var(--black) 50%),
   background-position slides right→left on hover) — NOT the `color` property.
   That's why earlier attempts to override text colour (including inline
   !important) had no visible effect. --primary is still Ochaka's demo red
   (#C8102E), never rebranded. Scoped to .cls-content (homepage collection
   tiles) rather than overriding .tf-btn-line globally, since the same class
   is reused for category tabs and blog "Read more" links which should stay
   as-is. */
.cls-content .tf-btn-line {
    background-image: linear-gradient(to right, var(--fado-deep-green) 50%, var(--fado-secondary) 50%);
}
.cls-content .tf-btn-line::after {
    background-color: var(--fado-secondary);
}
.cls-content .tf-btn-line::before {
    background-color: var(--fado-deep-green);
}

/* ── Product page — fixed main image height ──────────────────────────────── */
/* thumbs-bottom mode removes styles.css's max-height cap but never sets a
   concrete height, so .item falls back to the photo's own natural ratio.
   Setting an explicit height here (rather than the ignored height:100% in
   styles.css) makes every product's main image the same height regardless
   of that photo's own proportions; .item img already has object-fit:cover,
   so it fills this box via cropping. */
.thumbs-bottom .flat-wrap-media-product .tf-product-media-main .item {
    height: 725px;
}
/* main.js's staggerWrap() (a page-load entrance animation) selects
   `.stagger-item:nth-child(i)` GLOBALLY (not scoped per container) to add
   the `.stagger-finished` class that transitions each item from
   `scale(0.5) rotate(90deg) skew(15deg)` to its resting `scale(1) rotate(0)
   skew(0)`. With two independent stagger-wrap lists on this page (main
   gallery + thumbs), the global nth-child indexing falls out of sync for
   the thumbs list once it's switched to horizontal mode, so its slides get
   `.stagger-finished` added but the transition never actually lands on the
   resting transform -- thumbnails stay scaled/rotated/skewed, which reads
   as the photo being "cut off". Forcing the resting transform directly
   (transition:none so it applies instantly, not after the class's own
   0.3s transition) sidesteps the broken animation entirely. Also giving
   every level of the swiper an explicit, consistent height, since Swiper's
   own JS-computed row height (153px) didn't match what a slide needs at
   this size (~103-112px). */
.thumbs-bottom .tf-product-media-thumbs .stagger-item {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}
.thumbs-bottom .tf-product-media-thumbs,
.thumbs-bottom .tf-product-media-thumbs .swiper-wrapper,
.thumbs-bottom .tf-product-media-thumbs .swiper-slide,
.thumbs-bottom .tf-product-media-thumbs .item {
    height: 165px !important;
}
/* Same border treatment as the product listing cards — the white-canvas
   photo has no visible edge against the page's white background otherwise. */
.thumbs-bottom .flat-wrap-media-product .tf-product-media-main .item,
.thumbs-bottom .tf-product-media-thumbs .item {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
/* styles.css's .item::after (the active-thumbnail highlight indicator, an
   absolutely-positioned 1px border layered on top of .item) has sharp 0px
   corners, so it created a visible notch against the new 8px rounded
   border above wherever the two overlap at each corner. Matching its
   radius removes the seam; it's still the same functional indicator. */
.thumbs-bottom .tf-product-media-thumbs .item::after {
    border-radius: 8px;
}

/* ── Product page — thumbnails on the left, 125x125 squares ─────────────────
   Switched from thumbs-bottom to the theme's own default left-column layout
   (product.blade.php no longer applies the thumbs-bottom class; the thumbs
   swiper's data-direction is now "vertical"). styles.css's base
   .tf-product-media-thumbs is already a 115px-wide left column with
   .flat-wrap-media-product sized via calc() to fill the rest -- just bumped
   115 to 125 here and forced the thumbnail image itself square (base
   styles.css uses a 0.75 portrait aspect-ratio). Reapplies the same
   stagger-animation desync fix and border/radius treatment already proven
   for .thumbs-bottom above -- same root causes (two independent
   .stagger-wrap lists desyncing main.js's global nth-child animation;
   white-canvas photos need a visible edge against the white page), just
   under this layout's own class instead. */
/* Desktop-only (matches styles.css's own @media(max-width:1199px) breakpoint,
   where .tf-product-media-thumbs/.flat-wrap-media-product switch to
   width:100% for the mobile/tablet full-width reflow) -- these two rules
   were previously unscoped, so their higher specificity (2 classes vs
   styles.css's 1) beat that responsive un-squeeze at EVERY width, including
   mobile: thumbnails correctly stacked below the main image (styles.css's
   own order:1 + width:100%), but the main image stayed squeezed into the
   desktop side-by-side width (calc(100% - 125px - 8px)) with nothing next
   to it anymore -- confirmed live at 375px wide, image rendered at 210px
   with ~130px of unexplained blank space beside it. */
@media (min-width: 1200px) {
    .thumbs-left-square .tf-product-media-thumbs {
        width: 125px;
    }
    .thumbs-left-square .flat-wrap-media-product {
        width: calc(100% - 125px - 8px);
    }
}
/* Main product image height — styles.css only caps it at max-height:764px,
   so the actual rendered height follows the photo's own aspect ratio
   (490.88px on a photo shaped like High Cross of St.Martin's). Fixed height
   instead, same 683px measured from the Chupi reference, applied globally
   (this class renders on every product page) rather than per-product. */
.thumbs-left-square .flat-wrap-media-product .tf-product-media-main .item {
    height: 683px;
}
.thumbs-left-square .tf-product-media-thumbs .stagger-item {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}
/* !important, not max-height: when a product has fewer images than the
   swiper's data-preview count (5), Swiper's own JS sets an inline height on
   each .swiper-slide computed from slidesPerView -- confirmed live on a
   2-image product, it collapsed slides to ~11px (with the 125px .item
   inside overflowing/overlapping the next slide) instead of the intended
   125px. Forcing height here beats that inline style, same fix pattern
   already used for .thumbs-bottom's own Swiper-height mismatch above. */
.thumbs-left-square .tf-product-media-thumbs .swiper-slide {
    height: 125px !important;
}
.thumbs-left-square .tf-product-media-thumbs .swiper-slide .item img {
    aspect-ratio: 1;
}
.thumbs-left-square .flat-wrap-media-product .tf-product-media-main .item,
.thumbs-left-square .tf-product-media-thumbs .item {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.thumbs-left-square .tf-product-media-thumbs .item::after {
    border-radius: 8px;
}

/* ── Product cards — one shadowed box around image + name/price/swatches ────
   First attempt (see git history) put the shadow on .card-product_wrapper
   only, which just boxes the photo -- the name/price/swatches in the sibling
   .card-product_info sat outside it entirely, with styles.css's 24px flex
   gap between them making it look like two disconnected pieces. Moved the
   shadow/radius/background to the outer .card-product (which already wraps
   both as a flex column) and zeroed that gap in favour of padding on
   .card-product_info, so the whole card -- photo included -- is one
   contained box, matching the reference. overflow:hidden on .card-product
   clips the photo's top corners and the info block's bottom corners without
   needing radius on the inner wrapper anymore. */
.card-product {
    background-color: var(--white, #fff);
    border-radius: 10px;
    overflow: hidden;
    /* Neutral light grey instead of a tinted green shadow. */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 28px rgba(0, 0, 0, 0.10);
    gap: 0 !important;
    /* .card-product's real parent is a .swiper-slide (block-level), not the
       grid cell directly -- confirmed live the slide itself WAS correctly
       stretched to the row's tallest height by .tf-grid-layout's
       align-items:stretch, but .card-product inside it still only filled
       its own natural content height, leaving the shorter cards' visible
       white box (and thus their price) short of the row's actual bottom.
       A block-level parent doesn't auto-stretch a percentage-height child,
       so this needs its own explicit height:100%. Harmless where the
       parent's height is auto (percentage against auto resolves to auto). */
    height: 100%;
}
/* Product-card swipers (Trending Products, New Arrivals, etc.) sit inside
   .tf-swiper, which has overflow:hidden -- required so off-screen slides
   stay hidden, but it also clips the card's own box-shadow almost entirely,
   since there's no room between the card and the swiper's own edge for the
   shadow to render into. Confirmed live: the shadow computed style was
   correct, but only a sliver survived the clip. Vertical-only padding here
   is safe for a horizontal swiper -- Swiper's slide width/position math
   reads clientWidth, which padding-top/bottom never touches. */
.tf-swiper:has(.card-product) {
    padding-top: 20px;
    padding-bottom: 36px;
}
/* Equal-height cards in a row + price/swatches pinned to a common bottom
   edge. Confirmed live that CSS Grid's align-items resolves to "normal"
   (not "stretch") for these grid items, so a 2-line product name (e.g.
   "High Cross of Muiredeach - Large") made that one card genuinely taller
   than its row-mates instead of just shifting content inside an
   equal-height box. Forcing stretch equalizes the card heights; the flex
   column + margin-top:auto on price-wrap then pushes price (and the colour
   swatches after it) down to the same Y position in every card regardless
   of how many lines the name wrapped to. */
.tf-grid-layout:has(.card-product) {
    align-items: stretch;
}
.card-product_info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.card-product_info .price-wrap {
    margin-top: auto;
}
.card-product_wrapper {
    border-radius: 0;
    /* styles.css's 0.75 (3:4 portrait) made a 336px-wide card 448px tall.
       Square instead, so the box is 336 x 336. */
    aspect-ratio: 1;
}
.card-product_info {
    padding: 12px 14px 16px;
}
/* styles.css never gives .product-img (the <a> wrapping the photo) a height,
   only the child <img> gets height:100% — a percentage height is ignored
   when its parent's height is auto, so the <a> shrinks to the image's own
   intrinsic aspect ratio instead of filling the card. Invisible without a
   border (blank space matched the white page), but leaves a visible gap for
   any photo whose natural ratio isn't close to the card's 0.75 target.
   styles.css already applies this same fix to a different card variant
   (.product-style_list .product-img) — extending it to the default one.
   Width too: the wrapper is d-flex, so the <a> (a flex item with no width)
   shrank to the photo's own ratio — a 3:4 photo (the placeholder) in the
   square box filled only 3/4 of the width, leaving a white strip on the right. */
.card-product_wrapper .product-img {
    width: 100%;
    height: 100%;
}

/* ── Blog cards — fix broken aspect-ratio + don't crop non-landscape images ── */
/* The lazyload placeholder gives every blog image `aspect-ratio-0` (aspect-
   ratio:0 !important, styles.css) so it takes no space before loading. The
   lazyload JS adds `lazyloaded` once the real photo is in, but never REMOVES
   `aspect-ratio-0` — so that degenerate ratio stays forced, and the browser
   falls back to each image's own natural ratio for box sizing instead of the
   intended 1.28 landscape box. A square (e.g. 540x540) featured image ends
   up in a literally square box, taller than the other landscape-photo cards.
   Restoring 1.28 here (higher specificity than the lone .aspect-ratio-0
   rule) fixes the box shape for every card regardless of load state.
   object-fit:contain (instead of styles.css's cover) then scales a
   non-landscape photo down to fit that box without cropping/zooming it. */
.article-blog .entry_image img.aspect-ratio-0 {
    aspect-ratio: 1.28 !important;
}
.article-blog .entry_image img {
    object-fit: contain;
    background-color: var(--white, #fff);
}

/* ── Homepage blog cards — align image/heading/description/read-more across the row ── */
/* .swiper-wrapper is flex with the default align-items:stretch, so each
   .swiper-slide already matches the tallest slide's height, but that alone
   only equalises the CARD's total height. styles.css clamps .entry_name to
   2 lines and .text to 3 lines as a MAX, not a reserved minimum, so a
   1-line title vs a 2-line title (or a short vs long excerpt) still shifted
   every element below it — description start, and "Read more" — down by a
   different amount per card. Reserving the full clamped height on both
   keeps every card's internal layout identical regardless of actual text
   length. */
.tf-swiper .article-blog.type-space-2 {
    height: 100%;
}
.tf-swiper .article-blog.type-space-2 .blog-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.tf-swiper .article-blog.type-space-2 .entry_name {
    min-height: calc(clamp(26px, 4vw, 32px) * 2);
}
.tf-swiper .article-blog.type-space-2 .text {
    min-height: calc(24px * 3);
}
.tf-swiper .article-blog.type-space-2 .tf-btn-line {
    margin-top: auto;
}

/* ── Hero slider — explicit height per breakpoint ─────────────────────────
   Client review 19 Nov 2026 (items 9 and 27): the hero used to be 100vh from
   1440px, filling the whole screen on desktop. Now an explicit height per
   breakpoint (phone, tablet, laptop, desktop, 2K), never taller than the
   viewport minus the top bar and header and never under 420px, so the text
   overlay always fits. The image covers the box (styles.css .sld_image img:
   object-fit: cover) at the slide's focus point from admin (inline
   object-position), and phones get the slide's mobile image (<picture>). */
.tf-slideshow .slider-wrap {
    height: clamp(420px, calc(100vh - 140px), 760px);
}
@media (max-width: 575.98px)                          { .tf-slideshow .slider-wrap { height: 460px; } }
@media (min-width: 576px) and (max-width: 767.98px)   { .tf-slideshow .slider-wrap { height: 520px; } }
@media (min-width: 768px) and (max-width: 1199.98px)  { .tf-slideshow .slider-wrap { height: clamp(420px, calc(100vh - 140px), 560px); } }
@media (min-width: 1200px) and (max-width: 1439.98px) { .tf-slideshow .slider-wrap { height: clamp(420px, calc(100vh - 140px), 600px); } }
@media (min-width: 1440px) and (max-width: 1919.98px) { .tf-slideshow .slider-wrap { height: clamp(420px, calc(100vh - 140px), 680px); } }
@media (min-width: 2400px)                            { .tf-slideshow .slider-wrap { height: clamp(420px, calc(100vh - 140px), 860px); } }
.tf-slideshow .sld_image picture {
    display: block;
    height: 100%;
}

/* ── Sale Banner — full-width hero, same markup/classes as the hero slider
   above it (.slider-wrap/.sld_image/.sld_content) so the image + text
   overlay behave identically, but a fixed height rather than 100vh --
   it's a single static promo image, not the primary hero. Client-specified
   1920x600 source image. */
.sale-banner-hero .slider-wrap {
    height: 600px;
}
/* Parallax: the <img> (.sale-banner-parallax-img, scripted at the bottom
   of shop/home.blade.php) is oversized to 130% of the box height and
   absolutely centred, then nudged up/down by a scroll-linked translateY
   on top of that centring transform. .sld_image needs position:relative
   as the positioning context, and overflow:hidden (already set,
   styles.css) clips the oversized image back down to the 600px box --
   the 30% of extra height (±15%, i.e. up to ±90px on a 600px box) is
   headroom so the translate can never scroll far enough to expose an
   edge; the script caps its own range to ±60px, well inside that. */
.sale-banner-hero .sld_image {
    position: relative;
}
.sale-banner-hero .sld_image img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    transform: translateY(-50%);
    will-change: transform;
}
/* Admin-adjustable colour + opacity wash over the image, for text contrast
   -- sits above .sld_image (z-index auto) and below .sld_content (z-index
   2, styles.css). Colour/opacity set inline per-request from the
   sale_banner_overlay_color/opacity settings. */
.sale-banner-hero_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ── Shop listing — sticky, independently-scrollable filter sidebar ───────── */
/* Ochaka's own CSS has no sticky behavior for .sidebar-filter at desktop
   widths (only a fixed off-canvas treatment below 1200px) — added here since
   the sidebar's filter list is long enough to outgrow the product grid.
   The height/overflow constraint goes on .canvas-body, NOT .canvas-sidebar:
   styles.css already gives .canvas-body `overflow-y: auto` + `overscroll-
   behavior-y: contain` (built for the mobile off-canvas mode, where
   .canvas-sidebar is position:fixed top:0/bottom:0 so .canvas-body has a
   real bounded height). Without that bound on desktop, .canvas-body never
   overflows, so its own overflow:auto is a no-op — but `overscroll-behavior-y:
   contain` still traps wheel events there and blocks them from chaining up
   to an outer scrollable ancestor. Giving .canvas-sidebar its own
   overflow-y:auto on top of that created two nested scroll containers and
   killed wheel scrolling entirely. Constraining .canvas-body directly
   (the element the theme already built to scroll) avoids the conflict. */
@media (min-width: 1200px) {
    .col-xl-3 .canvas-sidebar.sidebar-filter {
        position: sticky;
        top: 120px;
    }
    .col-xl-3 .canvas-sidebar.sidebar-filter .canvas-body {
        max-height: calc(100vh - 140px);
    }
}

/* Thin, theme-coloured scrollbar (replaces styles.css's default 5px white-on-white
   one) — reuses --fado-warm-grey, the existing border/divider colour, instead of
   a hardcoded grey. */
.canvas-sidebar.sidebar-filter .canvas-body {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--fado-warm-grey) transparent; /* Firefox - thumb / track */
}
.canvas-sidebar.sidebar-filter .canvas-body::-webkit-scrollbar {
    width: 6px;
}
.canvas-sidebar.sidebar-filter .canvas-body::-webkit-scrollbar-track {
    background: transparent;
}
.canvas-sidebar.sidebar-filter .canvas-body::-webkit-scrollbar-thumb {
    background-color: var(--fado-warm-grey);
    border-radius: 3px;
}

/* Gap between the category/collection count numbers and the scrollbar — styles.css's
   .filter-group-check .label / .filter-group-check.group-category a both stretch to
   width:100% with justify-content:space-between, pushing the count right up against
   the scrollbar track. */
.canvas-sidebar.sidebar-filter .widget-facet .collapse-body {
    padding-right: 8px;
}

/* ── Pagination — constrain Bootstrap 5 prev/next SVG arrows ─────────────── */
.pagination .page-link svg {
    width: 16px;
    height: 16px;
}

/* ── Pagination — force-constrain prev/next arrows (all formats) ─────────── */
.pagination .page-link,
nav[role="navigation"] .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    overflow: hidden;
}
.pagination .page-link svg,
nav[role="navigation"] .page-link svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}

/* ── Homepage hero slider — breathing room between subtitle/title/button ── */
/* .sub-title_sld-2 has no margin at all in styles.css, so the script-font
   subtitle ("Handcrafted in Ireland") sat flush against the heading text
   below it with zero gap, reading as congested. 24px matches the existing
   gap already used between the heading and the button below it, for
   consistent vertical rhythm. */
.sub-title_sld-2 {
    margin-bottom: 24px !important;
}

/* ── Footer "Built by Heaventree Digital" credit ───────────────────────────
   Same animated gradient-text treatment already used for this exact credit
   line in the admin panel footer (resources/scss/structure/_footer.scss). */
.footer-credit {
    background: linear-gradient(to right, var(--fado-deep-green) 10%, #f9b931 50%, #22c55e 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: footerCreditShine 2.5s linear infinite;
    display: inline-block;
}
@keyframes footerCreditShine {
    to {
        background-position: 200% center;
    }
}

/* ── Jewelry mega-menu promo tiles — force equal size ────────────────────
   Ochaka's .list-hor/.wg-cls (theme-reference/home-jewelry.html:275-304)
   set no explicit width or height on the tiles themselves -- in the theme's
   own demo this is fine because the two images are pre-sized identically,
   but real uploaded product photos have arbitrary dimensions, so each tile
   rendered at its own photo's natural size (confirmed live: 206x181px vs
   309x271px), leaving the two "Shop now" rows at different heights. Forcing
   an explicit equal box here (flex:1 1 0 splits the width evenly, height is
   fixed) fixes that; object-fit:cover (already set by styles.css) still
   crops correctly once each tile has a real box to fill. .list-hor is only
   used in this one nav-menu context, so this is safely scoped already. */
.list-hor .wg-cls {
    flex: 1 1 0;
    height: 220px;
}
/* The "Shop now" pill (.cls-content) is already correctly overlaid on the
   image (position:absolute, bottom:16px -- verified live via computed
   styles), but our product photos are shot on light grey/white
   backgrounds, so the pill's white fill (styles.css) blends straight into
   the photo instead of reading as an overlay. A shadow gives it edges to
   separate from the image regardless of the photo's own background. */
.list-hor .cls-content {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    /* styles.css sets white-space:nowrap + no max-width on this pill --
       Ochaka's own demo only ever used short one-word labels ("Necklace"),
       so it never overflowed. Real product names ("High Cross of
       St.Patrick") are long enough that the pill's natural width exceeded
       the 258px-wide tile it's centered in, bleeding sideways into the
       neighbouring tile (confirmed live: pill 1 right edge at 969.6px vs
       tile 2 starting at 931.5px -- a 38px overlap). Capping the width and
       allowing the text to wrap keeps each pill inside its own tile. */
    white-space: normal;
    max-width: calc(100% - 24px);
    text-align: center;
}
/* styles.css's .tag_cls is 24px (h4) and .tf-btn-line is 16px -- sized for
   Ochaka's own short one-word labels. With the fix above allowing our long
   product names to wrap, that size wrapped to 3 lines and ballooned the
   pill into an oversized egg shape. Smaller text wraps to ~2 lines and
   keeps the pill proportionate (confirmed live: pill height dropped from
   108px to 71px). */
.list-hor .tag_cls {
    font-size: 14px;
    line-height: 1.3;
}
.list-hor .tf-btn-line {
    font-size: 12px;
}
@media (max-width: 1199px) {
    body {
        padding-bottom: 0;
    }
}

@media (max-width:768px){
    
 .tf-grid-layout.tf-col-4 {
    grid-template-columns: repeat(2, 1fr); 
}.tf-topbar {
    padding-top: 8px;
    padding-bottom: 18px;
}.box-image_V02.type-space-3 .title {
    margin-bottom: 12px;
}    .tf-btn {
        padding: 10px 20px;
    }.banner-cd_v01 .banner_img img {
    min-height: auto;
}.box-icon_V01 .icon {
    margin-bottom: 4px;
}
}

/* ── Home Banners — equal-width fluid tiles, side by side ──────────────────
   Previously fixed at 698x625px (a client-specified exact size, regardless
   of what dimensions the admin uploads). Switched to fully fluid: the
   theme's own .tf-grid-layout.lg-col-2 { grid-template-columns: 1fr 1fr }
   (styles.css) now applies unmodified, so both tiles always stretch to
   equal widths flush with the container at any viewport, using the site's
   standard 30px gutter (styles.css's .tf-grid-layout { column-gap: 30px }
   at this same >=992px breakpoint) instead of a gap sized to fit two fixed-
   width boxes. aspect-ratio (698/625, the original tiles' proportions)
   keeps the tiles a consistent shape as their width now varies with the
   viewport, instead of a fixed height that would look distorted once width
   isn't fixed too; object-fit:cover (styles.css's .box-image_image img)
   still crops any image to fill the box without stretching it.

   Scoped to .home-banners-grid (added to that specific <div> only) rather
   than .box-image_V02 generally, since that class is also used on the
   Collections page (shop/collections.blade.php) with its own sizing that
   must stay untouched. Kept inside the same >=992px breakpoint the theme's
   own lg-col-2 rule lives in, so the existing single-column mobile stack
   below that width is unaffected. */
/* <picture> (added when the mobile-image feature was wired in) sits between
   .box-image_image and its <img> with no sizing rule of its own, so the
   img's width:100%/height:100% below resolved against an UNDEFINED parent
   box instead of .box-image_image's own 100%x100% -- confirmed live: the
   real photo hadn't even loaded yet (data-src never swapped into src), and
   the still-showing 1x1 lazyload placeholder SVG rendered at its own
   intrinsic 1:1 ratio (a 623x623 square) instead of stretching to fill the
   696x623 box, leaving a visible blank strip down one side. <picture> has
   no default width/height of its own to pass a definite box down to a
   percentage-sized child; unscoped (not just >=992px) since styles.css's
   own base .box-image_image img { width:100% } rule this feeds is
   unconditional too. */
.home-banners-grid .box-image_image picture {
    display: block;
    width: 100%;
    height: 100%;
}
@media (min-width: 992px) {
    .home-banners-grid .box-image_V02 {
        aspect-ratio: 698 / 625;
        overflow: hidden;
    }
    .home-banners-grid .box-image_image {
        width: 100%;
        height: 100%;
    }
    .home-banners-grid .box-image_image img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }
}

/* ── Shop listing grid — 2 columns on mobile ───────────────────────────────
   styles.css's .tf-grid-layout.tf-col-3 has no responsive override at all
   (unlike .tf-col-4, which the designer's own block above already reduces
   to 2 columns below 768px) -- listing-results.blade.php's product grid
   uses tf-col-3, so it stayed at 3 columns on mobile, too cramped. */
@media (max-width: 768px) {
    .tf-grid-layout.tf-col-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Nav dropdown product-count pill — desktop mega-menu + its mobile clone
   (nav-menu-item.blade.php / main.js handleMobileMenu) ─────────────────────
   Matches the look of the shop listing page's own Filter panel category
   counts, in a spot .sub-menu_link/.sub-nav-link don't already style
   (styles.css's .filter-group-check .label .count is scoped to that panel
   only). Both link classes are already display:flex, so margin-left:auto
   pushes the pill to the right without any other layout change. */
.sub-menu_link .count,
.sub-nav-link .count {
    margin-left: auto;
    /* One size for every count (a 1-digit count was a circle, a 2-digit
       one a wider pill), centred, so they line up as a column */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 12px;
    line-height: 18px;
    color: var(--text);
    flex-shrink: 0;
    /* Stay a small pill on the first line when the name wraps onto two
       (Corrib Claddagh, The Garden Collection by FADÓ): the links are flex
       rows with the default align-items:stretch, which pulled the pill
       down to the full height of the wrapped text. */
    align-self: flex-start;
    margin-top: 2px;
}
/* Nested items (Flora, Daisy...): styles.css gives .nested-sub-link 12px of
   right padding, so their counts sat 12px left of the counts above them.
   No right padding: every count ends on the column's right edge. */
.mega-menu-item .nested-sub-link {
    padding-right: 0 !important;
}
/* Room between a wrapped name and its count pill */
.sub-menu_link,
.sub-nav-link {
    column-gap: 10px;
}

/* ── Product detail gallery — contain on mobile (<992px), desktop unchanged ──
   Verified live via getBoundingClientRect() + a full CSSOM dump of every
   matching rule (375px and 700px viewports, product page with 5 images):

   1. Main image: styles.css's own @media(max-width:991px) height cap
      (.flat-wrap-media-product .tf-product-media-main .item { max-height:
      550px }) never actually applied -- .thumbs-bottom's OWN unconditional
      rule for the same property (`.thumbs-bottom ... .item { max-height:
      none }`, one class more specific, no media query) always won, so the
      main image rendered at its raw intrinsic height (725px in testing,
      more than the full mobile viewport). Re-declared at matching (4-class)
      specificity so it actually wins here.

   2. Thumbnails: an unconditional rule further up this same file (added
      later, for the desktop stagger-animation fix) forces `.thumbs-bottom
      .tf-product-media-thumbs`/`.swiper-wrapper`/`.swiper-slide`/`.item` all
      to height:165px !important, at every screen width -- an initial
      max-height-only override (this block's first draft) lost to it
      outright (lower specificity AND no !important), so every thumbnail
      stayed 115-165px tall regardless of viewport, 5 of them badly
      overflowing a ~343px mobile container. Fixed by overriding that exact
      same selector list with matching specificity + !important here, and
      forcing width + a 1:1 aspect-ratio on top (client wants square
      thumbnails, not just contained ones) -- confirmed both tiers render a
      uniform 70x70 (screens 576-991px) / 60x60 (<=575px) grid with no
      overflow, object-fit:cover (styles.css, unconditional) handling each
      photo's own natural aspect ratio within that square. */
@media (max-width: 991px) {
    .thumbs-bottom .flat-wrap-media-product .tf-product-media-main .item {
        max-height: 550px;
    }
    .thumbs-bottom .tf-product-media-thumbs,
    .thumbs-bottom .tf-product-media-thumbs .swiper-wrapper,
    .thumbs-bottom .tf-product-media-thumbs .swiper-slide,
    .thumbs-bottom .tf-product-media-thumbs .item {
        height: 70px !important;
    }
    .tf-product-media-thumbs .swiper-slide {
        width: 70px !important;
    }
    .tf-product-media-thumbs .swiper-slide .item img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}
@media (max-width: 575px) {
    .thumbs-bottom .flat-wrap-media-product .tf-product-media-main .item {
        max-height: 400px;
    }
    .thumbs-bottom .tf-product-media-thumbs,
    .thumbs-bottom .tf-product-media-thumbs .swiper-wrapper,
    .thumbs-bottom .tf-product-media-thumbs .swiper-slide,
    .thumbs-bottom .tf-product-media-thumbs .item {
        height: 60px !important;
    }
    .tf-product-media-thumbs .swiper-slide {
        width: 60px !important;
    }
}

/* ── Breadcrumb — truncate the current-page crumb on mobile ─────────────────
   .breadcrumbs-page is display:inline-flex (styles.css), which sizes to
   its CONTENT (shrink-to-fit), not its container -- so on its own, adding
   min-width:0 + flex-shrink to the last crumb did nothing, since flex-shrink
   only ever engages once the flex CONTAINER itself is width-constrained
   below its children's combined natural size. Confirmed live: with only
   that fix, .breadcrumbs-page's own rendered width was 414px on a 375px
   viewport -- the whole row (not just the last crumb) was silently
   overflowing the screen, which is what the client's "text out of device"
   screenshot was actually showing. max-width:100% (display:flex so it
   participates in block layout and can be width-constrained by its
   .content parent) gives the row that missing constraint, which is what
   lets the last crumb's min-width:0 + ellipsis actually take effect.
   Verified live: row 414px -> 343px (fits viewport), last crumb 162px ->
   90px (now genuinely shrunk + truncated), at 375px viewport. Shared
   class used by every page's breadcrumbs (product, category, cart,
   account, ...), so this fixes all of them, not just the product page
   shown in the request. */
@media (max-width: 991px) {
    .breadcrumbs-page {
        display: flex;
        max-width: 100%;
    }
    .breadcrumbs-page li:last-child {
        min-width: 0;
        overflow: hidden;
        flex-shrink: 1;
    }
    .breadcrumbs-page li:last-child .current-page {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── Metal swatches — larger, so the metal-purity text label stays legible ──
   Superseded: an earlier version of this fix sized up the .style-img photo
   swatch (a real uploaded variant photo with text like "STERLING SILVER"
   baked in) and added image-rendering hints -- verified live afterwards
   that even at 413px+ source resolution, that much text just doesn't
   survive downscaling to swatch size, no matter how it's rendered. Metal
   swatches (product.blade.php, product-gallery-grid.blade.php) now always
   use the plain colour + real HTML text (Metal::hex_color/swatch_label)
   path instead -- crisp at any size, nothing to downscale -- so .style-img
   never applies here anymore; this just sizes that plain swatch up a bit
   for readability. */
.metal-swatch-list .product-color-item {
    width: 52px;
    height: 52px;
}
.metal-swatch-list .product-color-item .swatch-value {
    font-size: 15px;
}

/* ── Metal swatch labels (shop/partials/metal-swatch-value.blade.php) ──────
   The short metal label (PT, VM, 925, 10K…) sits centred in the swatch, in
   dark text on light metals and white on dark ones (Metal::swatchTone). A
   two-tone pair is one circle split top/bottom, a label in each half at a
   smaller size. Product tiles (.card-swatch-list) use a slightly larger
   circle than Ochaka's 24px so the label fits. */
.product-color_list .swatch-value.swatch-labelled {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
}
.swatch-text-light {
    color: var(--black);
}
.swatch-text-dark {
    color: var(--white);
}
.product-color_list .swatch-value.swatch-two-tone {
    flex-direction: column;
}
.swatch-two-tone .swatch-half {
    flex: 1 1 50%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}
.card-swatch-list .product-color-item {
    width: 36px;
    height: 36px;
}
.card-swatch-list .product-color-item .swatch-value {
    font-size: 10px;
}

/* Colour filter (listing.blade.php): Ochaka's .filter-color-box swatches, each
   wrapping its real checkbox; the ticked one takes Ochaka's .active border.
   A light swatch (White, Clear) gets a hairline so it shows on white. */
.filter-color-box .color-item:has(input:checked) {
    border-color: var(--dark) !important;
}
.filter-color-box .color-item .color {
    box-shadow: inset 0 0 0 1px var(--line);
}
.filter-color-box + .filter-group-check {
    margin-top: 12px;
}

/* ── Quick View — hide entirely on mobile ──────────────────────────────────
   Shop listing cards' .product-action_bot ("Quick View" pill + eye icon,
   listing-results.blade.php) is styles.css's default display:block below
   the 1200px breakpoint where it switches to a hover-to-reveal overlay --
   on touch devices there's no hover, so it just sits permanently visible
   over every product photo. Client wants it gone below 992px entirely
   (an earlier request only hid the text label, keeping the icon --
   superseded by this). */
@media (max-width: 991px) {
    .product-action_bot {
        display: none;
    }
}

/* ── Topbar — brand secondary (gold) instead of black ──────────────────────
   header.blade.php's <div class="tf-topbar bg-black"> uses Bootstrap's
   generic .bg-black utility class -- scoped to .tf-topbar specifically
   here rather than overriding .bg-black itself, since that utility could
   be reused elsewhere for an unrelated black background. */
.tf-topbar.bg-black {
    /* Settings › Display › top bar colour (header.blade.php), default gold */
    background-color: var(--fado-topbar-bg, var(--fado-secondary)) !important;
}
/* Top bar links (Book an Appointment, Contact, social icons): styles.css's
   .link:hover turns them --primary (deep green), which vanished on a deep
   green top bar. Light mint reads on the gold and both greens. */
.tf-topbar .link:hover {
    color: var(--fado-light-mint) !important;
}

/* ── Homepage category thumbnail — same overlay tint as the banner ──────────
   home.blade.php sets --tf-thumb-overlay (rgba, from the same
   Category::bannerOverlayRgba() used for the page-title banner) on
   .collection_image when the category has an overlay colour configured.
   .hover-img .img-style already has overflow:hidden (styles.css) but no
   position, so position:relative is added here scoped to .has-overlay only
   -- an absolutely-positioned ::after layer needs a positioned ancestor to
   size against, and this must not touch every other .img-style use
   sitewide (product cards, etc.) that never sets this variable. */
.widget-collection .collection_image.has-overlay {
    position: relative;
}
.widget-collection .collection_image.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--tf-thumb-overlay);
    pointer-events: none;
}

/* ── .tf-notice-wrap — had zero styling anywhere, rendering as a bare
   unstyled paragraph. Used for the "Added to your bag!" flash on product
   pages (product.blade.php / product-gallery-grid.blade.php, a full-width
   bar since it sits outside .container) and the order-confirmation success
   card (nested inside a narrower column there, so it renders as a rounded
   card instead). Same brand green used for in-stock status elsewhere. ── */
.tf-notice-wrap {
    padding: 20px 24px;
    margin: 24px 0;
    background-color: rgba(10, 172, 69, 0.08);
    border: 1px solid rgba(10, 172, 69, 0.25);
    border-radius: 8px;
}
.tf-notice-wrap p,
.tf-notice-wrap h2,
.tf-notice-wrap .icon {
    color: var(--fado-green-mid);
}
.tf-notice-wrap .link {
    color: var(--fado-secondary);
}

/* ── Category/Collection page-title banner — full-width photo behind the text ─
   Client feedback #7 (8 Sep): the banner image spans the page width behind
   the heading (like sheilafleet.com/collections/seasons). This is Ochaka's
   own image page-title — `s-page-title parallaxie has-bg` (theme-reference/
   blog-grid.html): styles.css already gives .has-bg its full-cover ::after
   overlay (30% black) and the padding; Ochaka's parallax (main.js, >991px)
   reads the background set here. listing.blade.php adds .fado-banner and
   these custom properties from the category/collection:
     --tf-banner-desktop / --tf-banner-mobile  photo (mobile falls back to desktop)
     --tf-banner-overlay  admin overlay colour + opacity (else Ochaka's 30% black)
     --tf-banner-text     admin text colour (else white, Ochaka's text-white)
   Replaces the two-column split layout of 23 Jul. Pages without a photo keep
   Ochaka's plain s-page-title. */
.s-page-title.fado-banner {
    background-image: var(--tf-banner-desktop);
    background-size: cover;
    background-position: var(--tf-banner-position, center);
    background-repeat: no-repeat;
}
@media (max-width: 991px) {
    .s-page-title.fado-banner {
        background-image: var(--tf-banner-mobile, var(--tf-banner-desktop));
    }
}
/* Client review 19 Nov 2026 (item 27): an explicit height per breakpoint so a
   photo banner never fills the screen on desktop nor collapses on a phone;
   the text block sits vertically centred inside it and wraps, never clipped.
   The background is the mobile image below 992px (above); the focus point
   (--tf-banner-position, admin) applies wherever Ochaka's parallax isn't
   moving the photo (it runs above 991px). */
.s-page-title.fado-banner {
    display: flex;
    align-items: center;
    min-height: 240px;
}
.s-page-title.fado-banner > .container {
    width: 100%;
}
.s-page-title.fado-banner .content {
    overflow-wrap: anywhere;
}
@media (min-width: 576px)  { .s-page-title.fado-banner { min-height: 280px; } }
@media (min-width: 768px)  { .s-page-title.fado-banner { min-height: 320px; } }
@media (min-width: 1200px) { .s-page-title.fado-banner { min-height: 360px; } }
@media (min-width: 1920px) { .s-page-title.fado-banner { min-height: 400px; } }
@media (min-width: 2400px) { .s-page-title.fado-banner { min-height: 440px; } }
.s-page-title.fado-banner::after {
    background: var(--tf-banner-overlay, rgba(0, 0, 0, 0.3019607843));
}
/* !important + extra specificity to beat the sitewide deep-green heading rule
   (h1–h6 { color: var(--fado-deep-green) !important }) and the gold
   secondary-text colour on breadcrumbs/subtitle. */
.s-page-title.fado-banner .content .title-page,
.s-page-title.fado-banner .content .breadcrumbs-page a,
.s-page-title.fado-banner .content .breadcrumbs-page .current-page,
.s-page-title.fado-banner .content .breadcrumbs-page .icon,
.s-page-title.fado-banner .content .s-subtitle {
    color: var(--tf-banner-text, #ffffff) !important;
}

/* ── Page background — off-white instead of pure white ──────────────────────
   styles.css sets body{background-color:var(--white)} (#ffffff). --fado-near-
   white (#FBFBFB, defined above) was already prepared as "primary page
   background" but never actually wired to anything. Applied directly to
   body's background here rather than redefining --white itself, since
   --white is also relied on elsewhere for things that should stay pure white
   (header.header-sticky, button text, icon fills, etc.) -- only the page's
   own background colour was asked to change. */
body {
    background-color: var(--fado-near-white);
}

/* ── Product page — space above "Add to Bag" when it wraps to its own row ───
   Below 1200px, styles.css's .group-btn goes flex-wrap:wrap with only an 8px
   gap, so once the button can't fit next to the quantity stepper + wishlist
   icon, it drops directly under them with barely any breathing room. */
@media (max-width: 1199px) {
    .tf-product-info-wrap .tf-product-total-quantity .group-btn .btn-add-to-cart {
        margin-top: 12px;
    }
}

/* ── Currency switcher dropdown swallowed clicks ─────────────────────────────
   .tf-topbar (holds the currency select) and <header class="tf-header"> are
   SIBLINGS in the DOM, not parent/child. header is position:sticky with
   z-index:100; .tf-topbar was position:static with no z-index of its own.
   The currency dropdown-menu is position:absolute with z-index:1000, but
   that z-index only wins comparisons *inside* .tf-topbar's own stacking --
   it's never compared against header at all. Since the open dropdown-menu
   visually overflows below .tf-topbar's own height into where header sits,
   and header (later in DOM order, real z-index) paints on top of a plain
   static sibling regardless of that sibling's descendants' z-index, every
   click meant for a EUR/USD option actually landed on header's content
   instead -- confirmed live via elementsFromPoint(), which showed
   header > .container > .row on top of the actual .dropdown-item link.
   Giving .tf-topbar its own stacking context above header's z-index:100
   fixes this without touching header (used by many other pages/states). */
.tf-topbar {
    position: relative;
    z-index: 101;
}

/* Reserve space for a full 2-line title (styles.css already clamps .name-product
   to 2 lines) so every card in a grid row starts its metal-name/price row at
   the same height, whether that card's title wraps to 1 line or 2. Without
   this, a 1-line title's row sits 32px higher than its 2-line neighbours --
   confirmed live: 24px font-size, 32px line-height, so 2 lines = 64px. */
.card-product_info .name-product {
    min-height: 64px;
}

/* Shop/collection grid card + homepage carousel card (listing-results.blade.php,
   home-product-card.blade.php): metal name on the left, price on the right,
   sharing one row -- wraps onto two lines only if a card's text genuinely
   can't fit (confirmed live: at the site's normal card width/font-size every
   real product fits on one line; this is just a safety net). */
.card-metal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 10px;
}
/* Real root cause of the row misalignment: styles.css's
   `.card-product_info .price-wrap { margin-bottom: 16px; }` still applies
   here (.price-wrap is still a descendant of .card-product_info). A flex
   row's align-items:center centers each item's MARGIN box, not just its
   content -- that stray 16px bottom margin (label has none) pushed the price
   text 8px higher than the label text. Confirmed live via getComputedStyle
   before writing this. */
.card-metal-price-row .price-wrap {
    margin-left: auto;
    margin-bottom: 0;
}
.card-metal-price-row .metal-name-label {
    margin-bottom: 0;
}
/* Force the label and price text to the exact same font-size/line-height so
   their baselines match -- both use the .h6 class (18px/24px) already, but
   pin it explicitly here so nothing upstream (a more specific rule, a future
   style change) can make one drift from the other again. */
.card-metal-price-row .metal-name-label,
.card-metal-price-row .price-wrap .price-new,
.card-metal-price-row .price-wrap .price-old {
    font-size: 18px;
    line-height: 24px;
}

/* ── Header — solid brand green, always visible (client feedback #5) ────────
   Client (8 Sep): "the navigation bar to be a solid green", and it shouldn't
   disappear and reappear when scrolling from the top. Every page, homepage
   included, uses `header-green` (header.blade.php) instead of the homepage's
   transparent overlay (.header-abs-2) / inner pages' off-white (.bg-off-white).

   Always visible: styles.css makes <header> position:sticky but with no top,
   and main.js headerSticky() only adds top:0 + .header-sticky (with the
   slide-in animation further up this file) once you've scrolled past the
   header's height — so it scrolled away, then slid back in. Here it's
   top:0 from the start and the animation is off, so it simply stays put.
   Both states (with/without .header-sticky) look identical: green, white
   logo, white text. Big-surface green per the palette (#0AAC45). Dropdown /
   mega-menu panels keep their white backgrounds and dark text.
   Colours come from Settings › Display (header_bg_color / header_text_color),
   set on the <header> as --fado-header-bg / --fado-header-text; the
   fallbacks here are the same defaults. */
header.tf-header.header-green,
header.tf-header.header-green.header-sticky {
    position: sticky !important;
    top: 0 !important;
    background-color: var(--fado-header-bg, var(--fado-green-mid)) !important;
    /* Optional hairline under the top bar (inset, so the height doesn't change) */
    box-shadow: inset 0 1px 0 var(--fado-header-hairline, transparent), 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: none !important;
}
/* White logo in both states (the dark .logo-sticky copy stays hidden) */
header.tf-header.header-green .logo-site .logo-default {
    display: block !important;
}
header.tf-header.header-green .logo-site .logo-sticky {
    display: none !important;
}
/* Top-level nav links and their dropdown carets. No colour on .item-link::after:
   in styles.css it isn't an underline but an invisible full-height hover bridge
   (100% tall, 67px wider than the link) that keeps the dropdown open while the
   mouse moves down to it. Filling it painted a solid block over the hovered label. */
header.tf-header.header-green .box-nav-menu > .menu-item > .item-link,
header.tf-header.header-green .box-nav-menu > .menu-item > .item-link .icon {
    color: var(--fado-header-text, #ffffff) !important;
}
header.tf-header.header-green .box-nav-menu > .menu-item:hover > .item-link,
header.tf-header.header-green .box-nav-menu > .menu-item:hover > .item-link .icon {
    color: var(--fado-header-hover, var(--fado-light-mint)) !important;
}
/* Account / search / wishlist / bag icons */
header.tf-header.header-green .nav-icon-item {
    color: var(--fado-header-text, #ffffff) !important;
}
header.tf-header.header-green .nav-icon-item:hover {
    color: var(--fado-header-hover, var(--fado-light-mint)) !important;
}
/* Wishlist / bag counts: white badge, green number (a green badge vanished on the green bar) */
header.tf-header.header-green .nav-icon-list .count {
    background-color: var(--fado-header-text, #ffffff);
    color: var(--fado-header-bg, var(--fado-green-mid));
}
/* Mobile / tablet hamburger */
header.tf-header.header-green .btn-mobile-menu span,
header.tf-header.header-green .btn-mobile-menu::before,
header.tf-header.header-green .btn-mobile-menu::after {
    background-color: var(--fado-header-text, #ffffff) !important;
}
/* Header currency switcher (bootstrap-select toggle text + caret) */
header.tf-header.header-green .tf-currencies-header .dropdown-toggle,
header.tf-header.header-green .tf-currencies-header .dropdown-toggle::after,
header.tf-header.header-green .tf-currencies-header .filter-option-inner-inner {
    color: var(--fado-header-text, #ffffff) !important;
}

/* ── Header at laptop / half-screen widths (1200–1439px) — no overlaps ──────
   Client review 19 Nov 2026 (item 7): with five top-level items (two of them
   long: "Wedding & Engagement", "The Garden Collection by FADÓ") the nav
   needs ~760px but Ochaka's col-xl-6 gives it 50% of the row, so at
   1200–1365px the logo ran into "Jewelry" and the currency switcher into
   "About Us". In this range only, the three header columns size to their
   content (logo and icons fixed, the nav takes the rest) and the nav, logo
   and icon spacing tighten a little. Below 1200px Ochaka's mobile menu takes
   over as before; from 1440px nothing changes. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    .tf-header > .container > .row {
        flex-wrap: nowrap;
    }
    .tf-header > .container > .row > .col-xl-3 {
        flex: 0 0 auto;
        width: auto;
    }
    .tf-header > .container > .row > .col-xl-6 {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
    .tf-header .logo-site img {
        width: 200px !important;   /* beats the base .logo-site img 250px !important */
    }
    .tf-header .box-nav-menu {
        gap: 20px;
    }
    .tf-header .box-nav-menu > .menu-item > .item-link {
        font-size: 16px;
    }
    .tf-header .nav-icon-list {
        gap: 14px;
    }
}

/* ── Page-title block left-aligned (category / collection / search / product) ──
   Client review 19 Nov 2026 (items 17 and 18): the title, breadcrumb and
   description sit left as one block, on desktop and mobile, instead of
   Ochaka's centred .s-page-title. Same container, spacing and typography;
   only the alignment changes. Other pages keep Ochaka's centred title. */
.s-page-title.fado-title-left .content {
    text-align: left;
}
.s-page-title.fado-title-left .breadcrumbs-page {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.s-page-title.fado-title-left .s-subtitle {
    max-width: 720px;
}

/* ── Returns & Exchanges form (/returns) ─────────────────────────────────────
   Uses the contact form's Ochaka inputs (form-contact style-border), its
   button (tf-btn btn-fill animate-btn) and Ochaka's round radios
   (tf-check-rounded style-2, as at checkout). Only spacing for the section
   headings, labels, radio groups and inline errors is added here. */
.form-returns .returns-section-title {
    margin: 8px 0 0;
}
.form-returns .returns-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-returns fieldset.returns-choice {
    border: 0;
    padding: 0;
    margin: 0;
}
.form-returns .returns-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-returns .returns-options-inline {
    flex-direction: row;
    gap: 32px;
}
.form-returns .returns-options label {
    cursor: pointer;
}
.form-returns textarea {
    height: 160px;
}
.form-returns .returns-help {
    font-size: 14px;
    margin: 6px 0 0;
}
.form-returns input.is-invalid,
.form-returns textarea.is-invalid {
    border-color: #dc3545;
}
.fado-field-error {
    color: #dc3545;
    font-size: 14px;
    margin: 6px 0 0;
}
.s-contact-us .returns-intro {
    margin-bottom: 40px;
}

/* ── Legal and policy pages (Privacy, Terms, Cookie Policy, Delivery) ────────
   Section headings inside the admin text sized like the shop's other content
   headings, readable line length, and the cookie table. */
.fado-legal-content h2 {
    font-size: 24px;
    line-height: 1.3;
    margin: 32px 0 12px;
}
.fado-legal-content h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 24px 0 8px;
}
.fado-legal-content p,
.fado-legal-content ul,
.fado-legal-content ol {
    margin-bottom: 12px;
}
.fado-legal-content ul,
.fado-legal-content ol {
    padding-left: 22px;
    list-style: disc;
}
.fado-legal-content ol {
    list-style: decimal;
}
.fado-legal-content li {
    display: list-item;
    list-style: inherit;
    margin-bottom: 4px;
}
.fado-legal-content a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}
.fado-cookie-table-wrap {
    overflow-x: auto;
    margin: 12px 0 16px;
}
.fado-cookie-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 15px;
}
.fado-cookie-table th,
.fado-cookie-table td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border-bottom: 1px solid var(--fado-warm-grey);
}
.fado-cookie-table th {
    color: var(--fado-deep-green);
    font-weight: 600;
    background: var(--fado-cream);
}
.fado-cookie-table code {
    color: inherit;
    font-size: 14px;
    white-space: nowrap;
}

/* ── Footer: five balanced columns (Nov 2026) ────────────────────────────────
   Brand, Shopping, Jewelry, Information, Policies as equal columns across the
   container from 1200px; three columns on tablets; two on phones with the
   brand block across the top. The link lists are always visible (no mobile
   accordion). Headings are h2 for structure, styled exactly like Ochaka's
   footer-heading (24px Afacad, white). Links get the shop's light-mint hover
   and a visible keyboard focus ring; white on #044705 is ~11:1 contrast. */
.fado-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 32px;
    align-items: start;
}
.fado-footer-grid .fado-footer-brand {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .fado-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 32px;
        row-gap: 40px;
    }
    .fado-footer-grid .fado-footer-brand {
        grid-column: auto;
    }
}
@media (min-width: 1200px) {
    .fado-footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: 40px;
    }
}
.tf-footer .fado-footer-grid .footer-heading,
.tf-footer .fado-footer-newsletter .footer-heading {
    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin: 0 0 12px;
    color: #fff !important;   /* beats the sitewide deep-green h1-h6 rule */
}
.tf-footer .fado-footer-grid .footer-menu-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.tf-footer .fado-footer-grid .logo-site img {
    max-width: 100%;
    height: auto !important;
}
.tf-footer .fado-footer-brand .footer-contact a {
    overflow-wrap: anywhere;
}
.fado-footer-newsletter {
    margin-top: 40px;
    max-width: 560px;
}
/* Hover and keyboard focus, as on the header menu links */
.tf-footer a.link:hover,
.tf-footer a.link:focus-visible,
.tf-footer .fado-link-button:hover,
.tf-footer .fado-link-button:focus-visible {
    color: var(--fado-light-mint) !important;
}
.tf-footer a:focus-visible,
.tf-footer button:focus-visible {
    outline: 2px solid var(--fado-light-mint);
    outline-offset: 3px;
    border-radius: 2px;
}

/* A link-looking button (footer "Cookie settings"): same text, colour and hover as the links next to it */
.fado-link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

/* ── Text pages (Privacy, Terms, Cookie Policy, Delivery, Returns) ──────────
   Content in the page container, so it starts at the same left edge as the
   banner title and the logo; left-aligned throughout. Section spacing as on
   the other pages (32px phones, 48px desktop above the text) instead of
   Ochaka's 112px flat-spacing. Running text keeps a readable measure
   (max 1100px, still left-aligned); tables and the returns form use the
   full container. */
.fado-text-page {
    padding: 32px 0 56px;
}
@media (min-width: 992px) {
    .fado-text-page {
        padding: 48px 0 80px;
    }
}
.fado-text-page,
.fado-text-page .fado-legal-content,
.fado-text-page .fado-legal-content * {
    text-align: left;
}
.fado-text-page .fado-legal-content > p,
.fado-text-page .fado-legal-content > ul,
.fado-text-page .fado-legal-content > ol,
.fado-text-page .fado-legal-content > h2,
.fado-text-page .fado-legal-content > h3,
.fado-text-page .fado-legal-content > h4,
.fado-text-page .fado-legal-content > blockquote,
.fado-text-page .fado-legal-updated,
.fado-text-page .returns-intro {
    max-width: 1100px;
}
.fado-text-page .fado-legal-content > h2:first-child {
    margin-top: 0;
}
.fado-text-page .fado-legal-updated {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
    margin: 0 0 20px;
}
.fado-text-page .fado-cookie-table-wrap {
    max-width: none;
}
.fado-text-page .returns-intro {
    margin-bottom: 40px;
}

/* ── Product page: breadcrumb strip instead of the title banner ──────────────
   A light strip (Ochaka's page-title background) holding only the breadcrumb,
   in the page container; the product name is the h1 in the details column. */
.fado-product-crumbs {
    background-color: var(--bg-9);
    padding: 16px 0;
}
.fado-product-crumbs .breadcrumbs-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 4px;
    margin: 0;
}
@media (min-width: 992px) {
    .fado-product-crumbs {
        padding: 20px 0;
    }
}

/* ── Metal swatches: name shown on hover / keyboard focus ──────────────────
   10K white and 10K yellow gold share the "10K" label; the tooltip (and the
   accessible name) give the full metal name. */
.product-color-item[data-tooltip] {
    position: relative;
}
.product-color-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    background: var(--fado-deep-green);
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 5;
}
.product-color-item[data-tooltip]:hover::after,
.product-color-item[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.product-color-item[data-tooltip]:focus-visible {
    outline: 2px solid var(--fado-deep-green);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .product-color-item[data-tooltip]::after { transition: none; }
}

/* ── Checkout: preview of the online payment options (Stripe not set up) ───── */
.fado-payment-preview .payment_check.disabled {
    opacity: .6;
    cursor: not-allowed;
}
.fado-payment-preview .fado-pay-icon {
    margin-left: auto;
    display: inline-flex;
    color: var(--fado-deep-green);
}
.fado-payment-preview .payment_check {
    width: 100%;
}
.fado-payment-preview-note {
    color: var(--fado-deep-green);
    background: var(--fado-pale-mint);
    border-left: 3px solid var(--fado-deep-green);
    padding: 10px 14px;
    margin: 12px 0 0;
    font-size: 15px;
}
.tf-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Bag drawer (Ochaka off-canvas #shoppingCart) ────────────────────────────
   420px wide on desktop, full width on phones; 250ms slide; site buttons and
   colours; the list scrolls inside the drawer, the footer stays put. */
.fado-cart-drawer.offcanvas-end {
    /* !important: styles.css sets .popup-shopping-cart { width: 100% !important } (Ochaka's 794px cart) */
    width: 420px !important;
    max-width: 100% !important;
    transition: transform .25s ease;
}
@media (max-width: 575.98px) {
    .fado-cart-drawer.offcanvas-end { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
    .fado-cart-drawer.offcanvas-end { transition: none; }
}
.fado-cart-drawer .fado-drawer-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.fado-cart-drawer .fado-drawer-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--fado-cream);
}
.fado-cart-drawer .fado-drawer-close {
    background: none;
    border: 0;
    padding: 4px;
    line-height: 1;
    cursor: pointer;
}
.fado-cart-drawer .fado-drawer-close .icon-close-popup { position: static; }
.fado-drawer-message { display: none; margin: 12px 24px 0; padding: 10px 12px; font-size: 14px; background: var(--fado-pale-mint); color: var(--fado-deep-green); }
.fado-drawer-message.is-visible { display: block; }
.fado-drawer-message.is-error { background: #fdecec; color: #a12020; }
.fado-drawer-lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 24px; }
.fado-drawer-list { list-style: none; margin: 0; padding: 0; }
.fado-drawer-line { position: relative; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fado-cream); }
.fado-drawer-line:last-child { border-bottom: 0; }
.fado-drawer-image { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; background: var(--fado-cream); }
.fado-drawer-image img { width: 100%; height: 100%; object-fit: cover; }
.fado-drawer-info { flex: 1 1 auto; min-width: 0; }
.fado-drawer-name { display: block; margin-bottom: 4px; }
.fado-drawer-options { font-size: 14px; color: var(--text); margin: 0 0 4px; }
.fado-drawer-price { margin: 0 0 8px; color: var(--fado-deep-green); }
.fado-drawer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fado-qty { display: inline-flex; align-items: center; border: 1px solid var(--fado-warm-grey); border-radius: 999px; }
.fado-qty-btn { width: 34px; height: 34px; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--fado-deep-green); cursor: pointer; border-radius: 999px; transition: background-color .2s ease; }
.fado-qty-btn:hover:not(:disabled), .fado-qty-btn:focus-visible { background: var(--fado-light-mint); }
.fado-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.fado-qty-value { min-width: 26px; text-align: center; font-size: 15px; }
.fado-drawer-remove { background: none; border: 0; padding: 0; font-size: 14px; text-decoration: underline; color: var(--text); cursor: pointer; }
.fado-drawer-remove:hover, .fado-drawer-remove:focus-visible { color: var(--fado-deep-green); }
.fado-drawer-error { margin: 8px 0 0; font-size: 13px; color: #a12020; }
.fado-drawer-spinner { display: none; position: absolute; top: 50%; right: 0; width: 20px; height: 20px; margin-top: -10px; border: 2px solid var(--fado-cream); border-top-color: var(--fado-deep-green); border-radius: 50%; animation: fadoSpin .7s linear infinite; }
.fado-drawer-line.is-busy { opacity: .6; }
.fado-drawer-line.is-busy .fado-drawer-spinner { display: block; }
@keyframes fadoSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fado-drawer-spinner { animation-duration: 2s; } }
.fado-drawer-footer { flex: 0 0 auto; padding: 16px 24px 24px; border-top: 1px solid var(--fado-cream); display: grid; gap: 10px; background: #fff; }
.fado-drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.fado-drawer-subtotal .h5 { margin: 0; color: var(--fado-deep-green); }
.fado-drawer-note { margin: 0 0 6px; font-size: 14px; color: var(--text); }
.fado-drawer-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.fado-drawer-empty .icon { font-size: 40px; color: var(--fado-deep-green); margin-bottom: 12px; }
#addToCartForm .is-loading { opacity: .7; }

/* Checkout: duties and VAT notes under Shipping (client wording, 24 Nov 2026) */
.fado-checkout-duties { list-style: disc; padding-left: 20px; margin-top: 8px; }
.fado-checkout-duties li { display: list-item; list-style: inherit; margin-bottom: 4px; }

/* Footer bottom: registered company details (FADO LTD · reg. no. · VAT no.), between
   the copyright and "Cookie settings"; centred like the others on phones */
.footer-bottom .fado-footer-company { font-size: 14px; }
@media (max-width: 767px) {
    .footer-bottom .fado-footer-company { text-align: center; }
}
