/*
 * FD KNIVES storefront page layer: shared container, hero and homepage sections.
 * Loaded after the legacy theme CSS. Tokens (--fd-*) live in fd-theme.css; header styles in group-navigation.css.
 */

/* ---------- One container for header, mega menu, hero and page sections ---------- */
.container { width: 100%; max-width: var(--fd-container); margin-inline: auto; padding-inline: var(--fd-gutter); }
@media (min-width: 1200px) { .container { max-width: var(--fd-container); } }
/* Bootstrap rows carry -15px margins; as direct children of <main> they would pull the container off the header's edges. */
.main > .row { margin-inline: 0; }

/* ---------- Hero: contained so its edges line up with the logo and the menu ---------- */
.fd-hero { padding-block: var(--fd-gutter) var(--fd-section-y); }
.fd-hero .intro-slider-container { overflow: hidden; border-radius: 8px; background: var(--fd-charcoal); }
/* Legacy rules pin the slide at 500px; the banner defines its own height. */
.fd-hero .intro-slider-container, .fd-hero .intro-slide, .fd-hero .owl-stage-outer, .fd-hero .owl-stage, .fd-hero .owl-item { height: auto !important; }
.fd-hero .intro-slide { display: block; background: var(--fd-charcoal); }
.fd-hero .intro-slide img { display: block; width: 100%; height: auto; }
.fd-hero .owl-carousel .owl-nav button { color: #fff; }
.fd-hero .owl-carousel .owl-dots { bottom: 14px; }
.fd-hero .owl-carousel .owl-dots .owl-dot span { width: 28px; height: 3px; border-radius: 2px; background: #ffffff80; transition: background-color .2s, width .2s; }
.fd-hero .owl-carousel .owl-dots .owl-dot.active span { width: 44px; background: var(--fd-brass-light); }

/* ---------- Section rhythm and headings ---------- */
.section-heading h3,
.section-heading h2 { font: 600 24px/1.2 var(--fd-font-display); font-stretch: 125%; letter-spacing: -.01em; color: var(--fd-ink) !important; }
.section-heading a:not(.btn) {
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600;
  color: var(--fd-brass-text); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px;
  transition: text-decoration-color .16s, color .16s;
}
.section-heading a:not(.btn):hover { color: var(--fd-ink); text-decoration-color: var(--fd-brass); }

/* ---------- Offers strip ---------- */
.featured_block_item a { display: block; overflow: hidden; border-radius: 8px; }
.featured_block_item img { display: block; width: 100%; height: auto; transition: transform .5s var(--fd-ease); }
.featured_block_item a:hover img { transform: scale(1.03); }

/* ---------- Product rows ---------- */
.featured-products-with-banner.no-banner .products { width: 100%; }

/* ---------- Dark bands (USPs, about, blog) ---------- */
/* fd-theme.css forces heading ink with !important; on charcoal they must be white. */
.usps-section :is(h1,h2,h3,h4), .fd-home-story :is(h1,h2,h3,h4), .whats-new :is(h1,h2,h3,h4), .dark-cta :is(h1,h2,h3,h4) { color: #fff !important; }
.usps-section .usp-blocks .usp-block .title p { color: #fff; }
.fd-home-story .text-video-wrap .text-wrap h3 { font-family: var(--fd-font-display); font-stretch: 125%; }
/* The video panel bleeds to the right viewport edge; recomputed for the shared container. */
.fd-home-story .text-video-wrap .video-wrap .video { width: calc(100% + max(0px, (100vw - var(--fd-container)) / 2) + var(--fd-gutter)); }
.fd-home-story .btn-outline { border-color: #fff; color: #fff; }
.fd-home-story .btn-outline:hover { background: #fff; color: var(--fd-ink); }
.whats-new .section-heading h2,
.whats-new .intro-text p { color: #fff !important; }
.whats-new .section-heading .btn { color: #fff; border-color: #ffffff80; }
.whats-new .section-heading .btn:hover { background: #fff; color: var(--fd-ink); }

@media (max-width: 767px) {
  .fd-hero { padding-block: 12px var(--fd-section-y); }
  .fd-hero .intro-slider-container { border-radius: 6px; }
  .fd-home-story .text-video-wrap .video-wrap .video { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .featured_block_item img { transition: none; }
}

/* ---------- Sale ribbon: one sale colour instead of the template blue ---------- */
.product-v2 .discount-ribbon.fd-camp-ribbon { background: var(--fd-charcoal); color: var(--fd-brass-light); }
.product-v2 .discount-ribbon { background: var(--fd-sale); color: #fff; width: auto; min-width: 64px; height: 26px; padding: 0 14px 0 10px; font: 600 12px/26px var(--fd-font-body); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); }

/* ---------- Section rhythm ---------- */
.section-heading { align-items: baseline; }

/* ---------- Shop by collection: swipeable rail (native scroll-snap, arrows are an enhancement) ---------- */
.fd-rail-controls { display: flex; gap: 8px; }
.fd-rail-controls[hidden] { display: none; }
.fd-rail-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--fd-line-strong); border-radius: 50%; background: #fff; color: var(--fd-ink); cursor: pointer; transition: border-color .16s, background-color .16s, opacity .16s; }
.fd-rail-btn:hover:not(:disabled) { border-color: var(--fd-ink); background: var(--fd-paper); }
.fd-rail-btn:disabled { opacity: .35; cursor: default; }
.fd-rail-btn .fd-i { width: 20px; height: 20px; }
.fd-rail { display: flex; gap: 20px; margin: 0 calc(var(--fd-gutter) * -1); padding: 4px var(--fd-gutter) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--fd-gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fd-rail::-webkit-scrollbar { display: none; }
.fd-rail:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: -2px; }
.fd-rail-item { flex: 0 0 calc((100% - 60px) / 4); min-width: 240px; margin: 0; padding: 0; scroll-snap-align: start; }
.fd-collection-card { display: block; overflow: hidden; border-radius: 8px; background: var(--fd-charcoal); color: var(--fd-on-charcoal); text-decoration: none; }
.fd-collection-media { display: block; aspect-ratio: 1 / .78; overflow: hidden; background: var(--fd-charcoal); }
.fd-collection-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fd-ease); }
.fd-collection-card:hover .fd-collection-media img { transform: scale(1.05); }
.fd-collection-copy { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.fd-collection-eyebrow { color: var(--fd-brass-light); font: 600 11px/1.3 var(--fd-font-body); letter-spacing: .1em; text-transform: uppercase; }
.fd-collection-title { color: #fff; font: 600 18px/1.25 var(--fd-font-body); letter-spacing: -.005em; }
.fd-collection-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--fd-brass-light); font: 600 13px/1.2 var(--fd-font-body); }
.fd-collection-link .fd-i { width: 16px; height: 16px; transition: transform .18s var(--fd-ease); }
.fd-collection-card:hover .fd-collection-link .fd-i { transform: translateX(4px); }
.fd-collection-card:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 3px; }

/* ---------- Kitchen / Outdoor promise banners ---------- */
.fd-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fd-promo { position: relative; display: flex; align-items: stretch; justify-content: space-between; min-height: 280px; overflow: hidden; border-radius: 8px; background: var(--fd-charcoal); color: var(--fd-on-charcoal); text-decoration: none; isolation: isolate; }
.fd-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, #2E2F33 0%, var(--fd-charcoal) 55%); }
.fd-promo-copy { display: flex; flex: 1 1 55%; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 32px 0 32px 36px; }
.fd-promo-title { max-width: 14ch; color: #fff; font: 600 clamp(24px, 2.6vw, 34px)/1.12 var(--fd-font-display); font-stretch: 125%; letter-spacing: -.015em; }
.fd-promo .fd-eyebrow { margin: 0; color: var(--fd-brass-light); }
.fd-promo-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 18px; border-radius: 4px; background: #fff; color: var(--fd-ink); font: 600 13px/1.2 var(--fd-font-body); transition: box-shadow .18s; }
.fd-promo:hover .fd-promo-cta { box-shadow: inset 0 -3px 0 var(--fd-brass); }
.fd-promo-cta .fd-i { width: 16px; height: 16px; transition: transform .18s var(--fd-ease); }
.fd-promo:hover .fd-promo-cta .fd-i { transform: translateX(3px); }
.fd-promo-media { flex: 0 0 45%; display: block; overflow: hidden; }
.fd-promo-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fd-ease); }
.fd-promo:hover .fd-promo-media img { transform: scale(1.04); }
.fd-promo:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 3px; }

/* ---------- Product rows ---------- */
.fd-product-carousel .owl-stage { display: flex; }
.fd-product-carousel .owl-item { display: flex; }
.fd-product-carousel .owl-item > * { width: 100%; }

@media (max-width: 991px) {
  .fd-rail-item { flex-basis: calc((100% - 20px) / 2); }
  .fd-promo { min-height: 240px; }
}
@media (max-width: 767px) {
  .fd-rail { gap: 14px; }
  .fd-rail-item { flex-basis: 72%; min-width: 0; }
  .fd-rail-controls { display: none; }
  .fd-promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .fd-promo-copy { padding: 24px 0 24px 24px; }
  .fd-promo { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .fd-rail { scroll-behavior: auto; }
  .fd-collection-media img, .fd-promo-media img { transition: none; }
}

/* ---------- Brand story band ("The Heart of Every Home" layout). Centred when no image is set in the backstore. ---------- */
.fd-story.no-media .text-video-wrap { justify-content: center; }
.fd-story.no-media .text-video-wrap .text-wrap { width: min(100%, 720px); padding-right: 0; text-align: center; }
.fd-story.no-media .text-video-wrap .text-wrap .space-120 { height: 72px; }
.fd-story.no-media .text-wrap h3 { position: relative; padding-top: 20px; }
.fd-story.no-media .text-wrap h3::before { content: ""; position: absolute; top: 0; left: 50%; width: 48px; height: 3px; margin-left: -24px; background: var(--fd-brass); }
.fd-story .text-wrap p { font-size: 16px; line-height: 1.65; color: #E4E1DA; }

/* ---------- Surfaces: alternating bands so cards always sit on a contrasting ground ---------- */
.fd-product-row.is-white { background: #fff; }
.featured-products-banner-row.light-bg { background: var(--fd-paper); }
.fd-product-row.is-paper { background: var(--fd-paper); }
.featured-products-banner-row.light-bg::before { display: none; }

/* ---------- Product card ---------- */
.product-v2 { overflow: hidden; border: 1px solid var(--fd-line); border-radius: 8px; background: #fff; transition: box-shadow .25s var(--fd-ease), transform .25s var(--fd-ease), border-color .2s; }
.product-v2:hover { border-color: var(--fd-line-strong); box-shadow: 0 14px 30px -12px #16171a40; transform: translateY(-2px); }
.product-v2 .product-media { margin: 0; padding: 14px; background-color: var(--fd-image-bg) !important; }
.product-v2 .product-media .product-thumbnail { margin: 8px !important; background-color: transparent !important; background-size: contain; background-position: center; background-repeat: no-repeat; }
.product-v2 .product-sku { display: none; }
.product-v2 .brand-name { margin-top: 14px; font-size: 12px; letter-spacing: .06em; color: var(--fd-quiet); }
.product-v2 .product-title a { color: var(--fd-ink); }
.product-v2 .product-title a:hover { color: var(--fd-brass-text); }
/* Equal product cards: the button sits at the bottom whatever the title length (1 or 2 lines), in every
   list (shop grid, homepage carousels, rails, wishlist). Columns stretch, the card fills them. */
.product-v2 { display: flex; flex-direction: column; }
.product-v2 .product-body { flex: 1 0 auto; }
.product-v2 .product-footer { margin-top: auto; }
.products-grid-row > [class*="col-"], .fd-acct-wish-item, .fd-rail-item { display: flex; }
.products-grid-row > [class*="col-"] > .product-v2, .fd-acct-wish-item > .product-v2, .fd-rail-item > .product-v2 { width: 100%; }

/* ---------- Floating widgets: back-to-top sits beside the chat bubble instead of on top of it ---------- */
#scroll-top { right: 104px; bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fd-line-strong); background: #fff; color: var(--fd-ink); box-shadow: 0 6px 16px -6px #16171a40; font-size: 20px; }
#scroll-top:hover, #scroll-top:focus { background: var(--fd-charcoal); color: #fff; }
@media (max-width: 767px) { #scroll-top { right: 88px; bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .product-v2 { transition: none; } .product-v2:hover { transform: none; } }

/* ---------- Shop by category: image tiles, shorter than the original grid ---------- */
.fd-types { background: #fff; }
.fd-tile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 18px; margin: 0; padding: 0; list-style: none; }
.fd-tile-grid li { margin: 0; padding: 0; }
.fd-tile { display: block; color: var(--fd-ink); text-decoration: none; }
.fd-tile-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--fd-charcoal); }
.fd-tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--fd-ease); }
.fd-tile:hover .fd-tile-media img { transform: scale(1.06); }
.fd-tile-label { display: block; margin-top: 12px; font: 600 14px/1.3 var(--fd-font-body); color: var(--fd-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .16s, color .16s; }
.fd-tile:hover .fd-tile-label { color: var(--fd-brass-text); text-decoration-color: var(--fd-brass); }
.fd-tile:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 991px) { .fd-tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .fd-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; } .fd-tile-label { font-size: 13px; } }
@media (max-width: 479px) { .fd-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .fd-tile-media img { transition: none; } }

/* ---------- Page ending: story band and footer read as two surfaces ---------- */
.footer, .footer-middle, .footer-v2 { background-color: #121315 !important; }
.footer.fd-footer { border-top: 0 !important; box-shadow: inset 0 3px 0 var(--fd-brass); }
.footer_bottom_v2 { background: #0C0D0E !important; }
.footer_bottom_v2 p, .footer_bottom_v2 { color: #B9B6AF !important; }
.footer_bottom_v2 strong { color: #fff !important; }
.footer_bottom_v2 a { color: var(--fd-brass-light) !important; }
.footer_bottom_v2 svg path { fill: #B9B6AF !important; stroke: #B9B6AF !important; }

/* ---------- Wishlist heart: ink on the image well (brass was only 3:1 there) ---------- */
.product-v2 .wishlist { color: var(--fd-ink); transition: color .16s, transform .16s var(--fd-ease); }
.product-v2 .wishlist:hover { color: var(--fd-brass-text); transform: scale(1.08); }
.product-v2 .wishlist.remove_from_wishlist { color: var(--fd-sale); }
@media (prefers-reduced-motion: reduce) { .product-v2 .wishlist { transition: none; } }

/* =====================================================================
   Page rhythm. One vertical unit and one heading-to-content gap for every
   homepage section, one type scale for headings. Keep these rules last.
   ===================================================================== */
:root { --fd-section-y: 64px; --fd-heading-gap: 24px; }
@media (max-width: 767px) { :root { --fd-section-y: 44px; --fd-heading-gap: 18px; } }

/* Sections that sit on the page colour only need space below; sections with their own band need it on both sides. */
.fd-section { padding-block: 0 var(--fd-section-y); }
.fd-product-row, .fd-types, .featured-products-banner-row { padding-block: var(--fd-section-y); }
.featured-products-banner-row > .space, .fd-product-row .space { display: none; }
.featured-products-banner-row .section-heading + .space { display: none; }

/* Heading block: same scale, weight and gap to the content below. */
.section-heading { margin-bottom: var(--fd-heading-gap); }
.section-heading h2, .section-heading h3 { margin: 0; font-weight: 500 !important; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.section-heading + .mb-3, .featured-products-banner-row .products { margin-top: 0; }
.fd-story .text-wrap h3 { font-weight: 500 !important; letter-spacing: -.01em; line-height: 1.15; }
.fd-story.no-media .text-video-wrap .text-wrap .space-120 { height: calc(var(--fd-section-y) + 8px); }
@media (max-width: 767px) { .section-heading h2, .section-heading h3 { font-size: 21px; } }

/* Phones: categories become a two-row swipeable strip instead of a six-row wall of tiles. */
@media (max-width: 767px) {
  .fd-tile-grid { display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 42%; gap: 18px 12px; margin-inline: calc(var(--fd-gutter) * -1); padding: 0 var(--fd-gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fd-tile-grid::-webkit-scrollbar { display: none; }
  .fd-tile-grid > li { scroll-snap-align: start; }
}
@media (max-width: 479px) { .fd-tile-grid { grid-auto-columns: 44%; } }

/* ---------- Footer: newsletter strip, brand column, one grid ---------- */
.fd-footer .footer-middle { padding: 0; }
.fd-footer-news { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 40px; border-bottom: 1px solid #F4F2EE26; }
.fd-footer .fd-footer-news-title { margin: 0; color: #fff !important; font: 600 20px/1.3 var(--fd-font-body); }
.fd-footer-news-note { margin: 6px 0 0; color: var(--fd-on-charcoal-muted); font-size: 14px; }
.fd-footer-form { flex: 0 1 460px; width: 100%; margin: 0; }
.fd-footer-form .input-group { flex-wrap: nowrap; }
.fd-footer-form .form-control { height: 48px; border-radius: 4px 0 0 4px; border: 1px solid transparent; font-size: 15px; }
.fd-footer .fd-footer-form button.btn[type=submit] { height: 48px; padding-inline: 22px; border-radius: 0 4px 4px 0; background-color: #fff !important; border: 0 !important; color: var(--fd-ink) !important; font-weight: 600; }
.fd-footer .fd-footer-form button.btn[type=submit]:hover, .fd-footer .fd-footer-form button.btn[type=submit]:focus-visible { background-color: #fff !important; color: var(--fd-ink) !important; box-shadow: inset 0 -3px 0 var(--fd-brass); }
.fd-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 48px 56px; }
.fd-footer-col { min-width: 0; }
.fd-footer-brand p { max-width: 28ch; margin: 16px 0 20px; color: var(--fd-on-charcoal-muted) !important; font-size: 14px; line-height: 1.6; }
.fd-footer-brand img { display: block; height: auto; }
.fd-footer .footer-section-title { margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid #F4F2EE26; font: 600 13px/1.3 var(--fd-font-body); letter-spacing: .06em; text-transform: uppercase; color: #fff !important; }
.fd-footer .footer-menu-list { margin: 0; padding: 0; list-style: none; }
.fd-footer .footer-menu-list a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.45; }
.fd-footer .social-media-links { display: flex; gap: 10px; }
.fd-footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.fd-footer-pay img { display: block; height: auto; max-height: 28px; width: auto; }
@media (max-width: 991px) {
  .fd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-footer-news { flex-direction: column; align-items: stretch; gap: 20px; padding-block: 32px; }
  .fd-footer-form { flex-basis: auto; }
  .fd-footer-grid { gap: 32px 24px; padding-block: 36px 40px; }
  .fd-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .fd-footer-grid { grid-template-columns: 1fr 1fr; } .fd-footer-brand p { max-width: none; } }
.fd-footer-contact, .fd-footer-assure, .fd-footer-legal { margin: 0; padding: 0; list-style: none; }
.fd-footer-contact { margin: -4px 0 20px; color: var(--fd-on-charcoal-muted); font-size: 14px; line-height: 1.6; }
.fd-footer-contact a { color: inherit; }
.fd-footer-assure { margin-top: 18px; color: var(--fd-on-charcoal-muted); font-size: 14px; line-height: 1.5; }
.fd-footer-assure li { padding: 4px 0 4px 18px; position: relative; }
.fd-footer-assure li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 2px; background: var(--fd-brass); }
[dir=rtl] .fd-footer-assure li { padding: 4px 18px 4px 0; }
[dir=rtl] .fd-footer-assure li::before { left: auto; right: 0; }
.fd-footer .footer_bottom_v2 { display: block; padding: 0; }
.fd-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: 13px; }
.fd-footer-bottom p { margin: 0; }
.fd-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fd-footer-bottom .fd-footer-legal a { color: #B9B6AF !important; }
.fd-footer-bottom .fd-footer-legal a:hover { color: #fff !important; }
.fd-footer-bottom .fd-footer-notice { flex-basis: 100%; font-size: 12px; opacity: .8; }
@media (max-width: 767px) { .fd-footer-bottom { flex-direction: column; align-items: flex-start; } }

/* CMS content pages (Our Story, Craft, policies…) */
.fd-page { max-width: 820px; margin: 0 auto; color: var(--fd-text); font-size: 16px; line-height: 1.75; }
.fd-page p { margin: 0 0 16px; color: inherit; font-size: inherit; line-height: inherit; }
.fd-page a:not(.btn) { color: var(--fd-link); text-decoration: underline; text-underline-offset: 3px; }
.fd-page a:not(.btn):hover { color: var(--fd-link-hover); }
.fd-page h3, .fd-page h4 { color: var(--fd-heading); font-family: var(--fd-font-body); }
.fd-page h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.fd-page h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.fd-kicker { margin: 0 0 8px !important; color: var(--fd-brass-text) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.fd-lead { margin: 0 0 40px !important; padding-bottom: 32px; border-bottom: 1px solid var(--fd-border); color: var(--fd-heading) !important; font: 500 clamp(21px, 2.4vw, 27px)/1.45 var(--fd-font-body) !important; }
.fd-chapter { margin: 0 0 44px; }
.fd-chapter-no { margin: 0 0 6px !important; color: var(--fd-muted) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fd-section-title { margin-top: 44px !important; }
.fd-quote::before, .fd-quote::after { content: none !important; display: none !important; }
.fd-quote { position: relative; font-style: normal; margin: 8px 0 48px; padding: 32px 36px; border: 0; border-left: 3px solid var(--fd-brass); background: var(--fd-surface); }
.fd-quote p { margin: 0 0 10px !important; color: var(--fd-heading) !important; font: 600 clamp(20px, 2.2vw, 26px)/1.4 var(--fd-font-display) !important; }
.fd-quote cite { color: var(--fd-muted); font-size: 14px; font-style: normal; }
.fd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.fd-card { padding: 22px 24px; border: 1px solid var(--fd-border); border-radius: 6px; background: var(--fd-surface); }
.fd-card p { margin: 0 !important; font-size: 15px !important; line-height: 1.6 !important; }
.fd-list, .fd-legal ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.fd-list li, .fd-legal li { margin: 0 0 8px; }
.fd-card .fd-list { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.fd-steps { counter-reset: fd-step; margin: 0 0 16px; padding: 0; list-style: none; }
.fd-steps > li { counter-increment: fd-step; position: relative; padding: 0 0 22px 56px; }
.fd-steps > li::before { content: counter(fd-step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border: 1px solid var(--fd-brass); border-radius: 50%; display: grid; place-items: center; color: var(--fd-brass-text); font-size: 13px; font-weight: 600; }
.fd-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 1px; background: var(--fd-border); }
.fd-steps > li p { margin: 0 !important; }
.fd-note { margin: 24px 0; padding: 18px 22px; border-radius: 6px; background: var(--fd-surface); border: 1px solid var(--fd-border); border-left: 3px solid var(--fd-brass); }
.fd-note p { margin: 0 !important; }
.fd-table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.fd-table th, .fd-table td { padding: 12px 14px; border-bottom: 1px solid var(--fd-border); text-align: left; vertical-align: top; }
.fd-table th { color: var(--fd-heading); font-weight: 600; }
.fd-page-cta { margin: 56px 0 0; padding: 40px 32px; border-radius: 6px; background: var(--fd-charcoal); text-align: center; }
.fd-page-cta h3 { color: #fff !important; }
.fd-page-cta p { color: var(--fd-on-charcoal-muted) !important; }
.fd-page-cta p:last-child { margin: 20px 0 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fd-page-cta .btn { min-width: 0; padding: 12px 22px; text-decoration: none; }
.fd-page-cta .btn-primary { background: #fff !important; border-color: #fff !important; color: var(--fd-ink) !important; }
.fd-page-cta .btn-outline { background: transparent !important; border: 1px solid #F4F2EE80 !important; color: #fff !important; }
.fd-updated { color: var(--fd-muted) !important; font-size: 14px !important; }
.fd-legal h3 { margin-top: 36px; font-size: 20px; }
[dir=rtl] .fd-steps > li { padding: 0 56px 22px 0; }
[dir=rtl] .fd-steps > li::before { left: auto; right: 0; }
[dir=rtl] .fd-steps > li::after { left: auto; right: 20px; }
[dir=rtl] .fd-quote { border-left: 0; border-right: 3px solid var(--fd-brass); }
@media (max-width: 767px) {
  .fd-page { font-size: 15px; }
  .fd-grid { grid-template-columns: 1fr; }
  .fd-quote { padding: 24px 20px; }
  .fd-page-cta { padding: 32px 20px; }
  .fd-table th, .fd-table td { padding: 10px 8px; }
}

/* Contact page */
.fd-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; padding: 24px 0 0; align-items: start; }
.fd-contact-title { margin: 0 0 16px; color: var(--fd-heading); font: 600 clamp(30px, 3.4vw, 42px)/1.15 var(--fd-font-display); font-stretch: 125%; }
.fd-contact-lead { max-width: 52ch; margin: 0 0 32px; color: var(--fd-text); font-size: 17px; line-height: 1.65; }
.fd-contact-details { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--fd-border); }
.fd-contact-details li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--fd-border); color: var(--fd-heading); font-size: 15px; line-height: 1.5; }
.fd-contact-details span { color: var(--fd-muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.fd-contact-details a { color: var(--fd-link); }
.fd-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fd-contact-card { display: block; padding: 18px; border: 1px solid var(--fd-border); border-radius: 6px; background: var(--fd-surface); color: var(--fd-text); text-decoration: none; transition: border-color .18s var(--fd-ease), box-shadow .18s var(--fd-ease); }
.fd-contact-card:hover, .fd-contact-card:focus-visible { border-color: var(--fd-brass); box-shadow: inset 0 -3px 0 var(--fd-brass); color: var(--fd-text); }
.fd-contact-card strong { display: block; margin-bottom: 6px; color: var(--fd-heading); font-size: 15px; }
.fd-contact-card span { display: block; font-size: 14px; line-height: 1.5; }
.fd-contact-form { padding: 32px; border: 1px solid var(--fd-border); border-radius: 6px; background: var(--fd-surface); }
.fd-contact-form h2 { margin: 0 0 6px; color: var(--fd-heading); font: 600 22px/1.3 var(--fd-font-body); }
.fd-contact-form-note { margin: 0 0 22px; color: var(--fd-muted); font-size: 14px; }
.fd-contact-form .form-control { height: 46px; font-size: 15px; }
.fd-contact-form textarea.form-control { height: auto; min-height: 140px; }
.fd-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fd-contact-consent { margin: 0 0 16px; color: var(--fd-muted); font-size: 13px; }
@media (max-width: 991px) {
  .fd-contact { grid-template-columns: 1fr; gap: 40px; }
  .fd-contact-form { max-width: 640px; }
}
@media (max-width: 575px) {
  .fd-contact-cards, .fd-contact-row { grid-template-columns: 1fr; }
  .fd-contact-details li { grid-template-columns: 1fr; gap: 2px; }
  .fd-contact-form { padding: 22px 16px; }
}
.fd-journal-empty { padding: 8px 0 24px; text-align: center; }
.fd-journal-empty p { max-width: 60ch; margin-left: auto !important; margin-right: auto !important; }
/* Theme's .editor-content adds its own "•" bullet; FD pages use native markers */
.fd-page ul li::before { content: none !important; display: none !important; }
.fd-page ul li { margin-bottom: 8px; }

/* Breadcrumb: sits on the page background, no white strip */
.breadcrumb-nav, .breadcrumb-nav .breadcrumb, .breadcrumb { background: transparent !important; }
.breadcrumb-nav .breadcrumb { padding: 0; margin: 0; }
.breadcrumb-item, .breadcrumb-item.active { color: var(--fd-muted) !important; font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--fd-line-strong) !important; }

/* CMS page header aligned with the reading column */
.fd-page-head { max-width: 820px; margin: 8px auto 32px; }
.fd-page-head h1 { margin: 0; color: var(--fd-heading); font: 600 clamp(32px, 3.6vw, 46px)/1.12 var(--fd-font-display); font-stretch: 125%; letter-spacing: 0; }
.fd-page-caption { margin: 12px 0 0 !important; color: var(--fd-muted) !important; font-size: 18px !important; }
.fd-page-head + .fd-page .fd-kicker { margin-top: 0 !important; }

/* Plain dark hero (Journal with no banner image) */
.fd-hero-plain { background: var(--fd-charcoal); padding: 0 0 56px; }
.fd-hero-plain .breadcrumb-item, .fd-hero-plain .breadcrumb-item.active { color: var(--fd-on-charcoal-muted) !important; }
.fd-hero-plain .breadcrumb a { color: var(--fd-brass-light) !important; }
.fd-hero-plain .banner-intro { padding-top: 32px; }
.fd-hero-plain .intro-section-center { text-align: center; }
.fd-hero-plain h1 { margin: 0 0 14px; color: #fff !important; font: 600 clamp(30px, 3.6vw, 46px)/1.15 var(--fd-font-display); font-stretch: 125%; }
.fd-hero-plain .intro_text p { max-width: 62ch; margin: 0 auto; color: var(--fd-on-charcoal-muted) !important; font-size: 17px; line-height: 1.6; }

/* 404 */
.fd-404 { max-width: 640px; margin: 0 auto; padding: 88px 0 104px; text-align: center; }
.fd-404 h1 { margin: 0 0 16px; color: var(--fd-heading); font: 600 clamp(28px, 3.4vw, 42px)/1.15 var(--fd-font-display); font-stretch: 125%; }
.fd-404 > p:not(.fd-kicker) { margin: 0 auto 28px; max-width: 52ch; color: var(--fd-text); font-size: 17px; line-height: 1.6; }
.fd-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.fd-404-actions .btn { min-width: 0; padding: 12px 24px; }
.fd-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.fd-404-links a { color: var(--fd-link); text-decoration: underline; text-underline-offset: 3px; }

/* Legacy cool-grey overlay clashes with the warm paper background */
.light-bg::before { display: none !important; }
.row.light-bg { background: var(--fd-page-bg); }

/* Auth pages (login, signup, forgot password) */
.auth-page-wrapper { min-height: 100vh; background: var(--fd-charcoal); }
.auth-page-wrapper .auth-contents { display: flex; flex-direction: column; height: auto; min-height: 100vh; padding: 0 !important; background: var(--fd-surface) !important; }
.auth-page-wrapper .auth-contents .header,
.auth-page-wrapper .auth-contents .header-middle { margin: 0 !important; }
.auth-page-wrapper .auth-contents .header-middle > .container { padding: 28px 4vw !important; }
.auth-page-wrapper .auth-contents .main { flex: 1; padding: 48px 4vw 32px; background: var(--fd-surface) !important; }
.auth-page-wrapper .auth-contents .login-page,
.auth-page-wrapper .auth-contents .form-box,
.auth-page-wrapper .auth-contents .container { background: transparent !important; padding-left: 0; padding-right: 0; }
.auth-page-wrapper .auth-contents .form-box h4 { color: var(--fd-heading); font: 600 26px/1.25 var(--fd-font-body); margin-bottom: 24px; }
.auth-page-wrapper .auth-contents .footer-bottom { padding: 16px 4vw; }
.auth-page-wrapper .carousel .slide { background-size: cover; background-position: center; }
.auth-page-wrapper .carousel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1B1C1E66, transparent 40%); pointer-events: none; }
@media (max-width: 991px) {
  .auth-page-wrapper .auth-contents { width: 100%; min-width: 0; }
  .auth-page-wrapper .carousel { display: none; }
}

/* Empty cart */
.fd-empty-cart { max-width: 560px; margin: 0 auto; padding: 72px 0 88px; text-align: center; }
.fd-empty-cart-icon { display: block; margin: 0 auto 20px; color: var(--fd-brass); }
.fd-empty-cart h1 { margin: 0 0 10px; color: var(--fd-heading); font: 600 clamp(26px, 3vw, 34px)/1.2 var(--fd-font-display); font-stretch: 125%; }
.fd-empty-cart p { margin: 0 auto 28px; color: var(--fd-text); font-size: 16px; line-height: 1.6; }

/* FAQ header uses the brand display face like other pages */
.faqs-v2 .faqs-header h2 { color: var(--fd-heading); font-family: var(--fd-font-display); font-stretch: 125%; font-weight: 600; }

/* Auth photo: keep the blade in frame, not the banner's text */
.auth-page-wrapper .carousel .slide { background-position: 78% center; }

/* ===== Listing pages (shop, category, sale, search) ===== */
.fd-listing-head { padding: 12px 0 20px; }
.fd-listing-head .fd-kicker a { color: inherit; text-decoration: none; }
.fd-listing-head .fd-kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fd-listing-head h1 { margin: 0; color: var(--fd-heading); font: 600 clamp(28px, 3.2vw, 40px)/1.12 var(--fd-font-display); font-stretch: 125%; }
.fd-listing-intro { max-width: 62ch; margin: 10px 0 0; color: var(--fd-text); font-size: 16px; line-height: 1.6; }

/* Category chips: one compact, scrollable row */
.fd-chips { position: relative; margin: 0 0 8px; }
.fd-chips ul { display: flex; gap: 8px; margin: 0; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--fd-line-strong) transparent; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.fd-chips ul::-webkit-scrollbar { height: 4px; }
.fd-chips ul::-webkit-scrollbar-thumb { background: var(--fd-line-strong); border-radius: 4px; }
.fd-chips li { flex: 0 0 auto; scroll-snap-align: start; }
.fd-chips li:last-child { padding-right: 32px; }
.fd-chip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 6px; border: 1px solid var(--fd-border); border-radius: 999px; background: var(--fd-surface); color: var(--fd-heading) !important; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none !important; transition: border-color .15s var(--fd-ease), background-color .15s var(--fd-ease); }
.fd-chip:not(:has(img)) { padding-left: 18px; }
.fd-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--fd-paper); }
.fd-chip:hover { border-color: var(--fd-ink); }
.fd-chip:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 2px; }
.fd-chip.is-active { border-color: var(--fd-ink); background: var(--fd-ink); color: #fff !important; }
.fd-chip.is-active img { box-shadow: 0 0 0 2px #ffffff33; }
[dir=rtl] .fd-chips ul { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 40px), transparent); }
[dir=rtl] .fd-chip { padding: 0 6px 0 16px; }

/* Toolbar: count · filters · sort in one bar */
.fd-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 8px 0 24px; padding: 14px 0; border-top: 1px solid var(--fd-border); border-bottom: 1px solid var(--fd-border); }
.fd-toolbar-count { margin: 0; color: var(--fd-muted); font-size: 14px; white-space: nowrap; }
.fd-toolbar-count strong { color: var(--fd-heading); font-weight: 600; }
.fd-toolbar-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1 1 auto; }
.fd-toolbar .select-custom { margin: 0; }
.fd-toolbar .form-control { height: 40px; margin: 0; border: 1px solid var(--fd-border) !important; border-radius: 4px; background-color: var(--fd-surface) !important; color: var(--fd-heading); font-size: 14px; box-shadow: none; }
.fd-toolbar .form-control:focus { border-color: var(--fd-ink) !important; }
.fd-price { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fd-price legend { float: left; width: auto; margin: 0 4px 0 0; padding: 0; color: var(--fd-muted); font-size: 14px; }
.fd-price .form-control { width: 88px; padding: 0 10px; -moz-appearance: textfield; }
.fd-price .form-control::-webkit-outer-spin-button, .fd-price .form-control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fd-price span { color: var(--fd-muted); }
.fd-price .btn { height: 40px; min-width: 0; margin: 0 0 0 2px; padding: 0 16px; border: 1px solid var(--fd-ink) !important; border-radius: 4px; background: transparent !important; color: var(--fd-ink) !important; font-size: 14px; font-weight: 500; box-shadow: none !important; }
.fd-price .btn:hover { background: var(--fd-ink) !important; color: #fff !important; }
.fd-toolbar-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.fd-toolbar-sort label { margin: 0; color: var(--fd-muted); font-size: 14px; white-space: nowrap; }
.fd-toolbar-sort .form-control { min-width: 190px; }
/* Attribute filters: checkbox dropdowns + numeric ranges (views/products/universal-filters.php) */
.fd-price legend { white-space: nowrap; }
.fd-range .form-control { width: 80px; }
.fd-facet { position: relative; }
.fd-facet > summary { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--fd-border); border-radius: 4px; background: var(--fd-surface); color: var(--fd-heading); font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; list-style: none; user-select: none; position: relative; }
.fd-facet > summary::-webkit-details-marker { display: none; }
.fd-facet > summary::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.fd-facet[open] > summary::after { margin-top: -1px; transform: rotate(-135deg); }
.fd-facet > summary:hover, .fd-facet[open] > summary, .fd-facet.is-active > summary { border-color: var(--fd-ink); }
.fd-facet > summary:focus-visible { outline: 2px solid var(--fd-focus, var(--fd-ink)); outline-offset: 2px; }
.fd-facet-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--fd-ink); color: #fff; font-size: 12px; font-weight: 600; }
.fd-facet-panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 220px; max-width: calc(100vw - 32px); max-height: 300px; overflow-y: auto; padding: 6px; border: 1px solid var(--fd-border); border-radius: 6px; background: var(--fd-surface); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.fd-facet.fd-facet-right .fd-facet-panel { left: auto; right: 0; }
.fd-facet-option { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 4px; color: var(--fd-heading); font-size: 14px; line-height: 1.3; cursor: pointer; }
.fd-facet-option:hover { background: var(--fd-page-bg); }
.fd-facet-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--fd-ink); }
#shop_grid > .filters-wrap:not(:has(.selected-filter)) { display: none; }
@media (max-width: 767px) {
  .fd-listing-head { padding: 4px 0 14px; }
  .fd-chips { margin-right: calc(-1 * var(--fd-gutter)); }
  .fd-chip { height: 44px; font-size: 13px; }
  .fd-chip img { width: 32px; height: 32px; }
  .fd-toolbar { gap: 12px; padding: 12px 0; }
  .fd-toolbar-count { order: 1; }
  .fd-toolbar-sort { order: 2; margin-left: auto; }
  .fd-toolbar-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fd-toolbar-sort .form-control { min-width: 0; width: 170px; }
  .fd-toolbar-filters { order: 3; flex-basis: 100%; }
  .fd-price { flex: 1 1 100%; }
  .fd-price .form-control { flex: 1 1 0; width: auto; }
}
.fd-toolbar-filters, .fd-price, .fd-price .form-control { min-width: 0; }
@media (max-width: 767px) { .fd-price { width: 100%; } .fd-price .btn { flex: 0 0 auto; } }
#shop_filters_form > .space { display: none; }
#shop_grid > .filters-wrap:not(:has(.selected-filter)) + .space { display: none; }

/* ===== Product detail page ===== */
.fd-pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding: 8px 0 56px; }
.fd-pdp-gallery { min-width: 0; margin: 0; }
.fd-pdp-gallery .gallery-top { max-height: none !important; border-radius: 6px; background: var(--fd-surface); overflow: hidden; }
.fd-pdp-gallery .gallery-top .swiper-slide img { object-fit: contain; }
.fd-pdp-gallery .swiper-button { width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: #ffffffe6; box-shadow: 0 1px 4px #0000001f; color: var(--fd-ink); }
.fd-pdp-gallery .swiper-button::after { font-size: 14px; font-weight: 700; color: var(--fd-ink); }
.fd-pdp-gallery .space { display: none; }
.fd-pdp-gallery .gallery-thumbs { padding-top: 12px !important; }
.fd-pdp-gallery .gallery-thumbs .swiper-slide { padding: 4px; border: 1px solid var(--fd-border); border-radius: 4px; background: var(--fd-surface); opacity: .7; cursor: pointer; transition: opacity .15s, border-color .15s; }
.fd-pdp-gallery .gallery-thumbs .swiper-slide img { height: 72px !important; }
.fd-pdp-gallery .gallery-thumbs .swiper-slide-thumb-active { border-color: var(--fd-ink); opacity: 1; }

.fd-pdp-info { position: sticky; top: calc(24px + var(--fd-camp-h, 0px)); min-width: 0; }
.fd-pdp-info .fd-kicker { margin-bottom: 8px !important; }
.fd-pdp-title { margin: 0 0 8px !important; color: var(--fd-heading) !important; font: 600 clamp(26px, 2.6vw, 34px)/1.18 var(--fd-font-display) !important; font-stretch: 125% !important; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
.fd-pdp-sku { margin: 0 0 20px; color: var(--fd-muted); font-size: 13px; letter-spacing: .02em; }
.fd-pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 6px; }
.fd-pdp-price .new-price { color: var(--fd-heading) !important; font: 600 30px/1.1 var(--fd-font-body) !important; }
.fd-pdp-price .old-price { color: var(--fd-muted) !important; font-size: 18px !important; text-decoration: line-through; }
.fd-pdp-campaign { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 3px; background: var(--fd-charcoal); color: var(--fd-brass-light); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.fd-pdp-save { padding: 3px 8px; border-radius: 3px; background: var(--fd-sale); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.fd-pdp-tax { margin: 0 0 24px; color: var(--fd-muted); font-size: 13px; }
.fd-pdp-tax a, .fd-pdp-assure a, .fd-pdp-custom a, .fd-pdp-stock a { color: var(--fd-link); text-decoration: underline; text-underline-offset: 2px; }

.fd-pdp-buy { display: block !important; margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid var(--fd-border); }
.fd-pdp-buy-row { display: flex; gap: 12px; align-items: stretch; }
.fd-pdp-buy .product-quantity { flex: 0 0 132px; margin: 0 !important; max-width: none !important; }
.fd-pdp-buy .input-spinner { height: 52px; border: 1px solid var(--fd-border); border-radius: 4px; background: var(--fd-surface); }
.fd-pdp-buy .input-spinner .form-control, .fd-pdp-buy .input-spinner .btn { height: 50px; border: 0 !important; background: transparent !important; color: var(--fd-ink) !important; box-shadow: none !important; }
.fd-pdp-cart { flex: 1 1 auto; display: flex !important; align-items: center; justify-content: center; height: 52px; min-width: 0; margin: 0 !important; border: 0; border-radius: 4px; background: var(--fd-ink) !important; color: #fff !important; font-size: 15px; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background-color .15s; }
.fd-pdp-cart:hover { background: #000 !important; box-shadow: inset 0 -3px 0 var(--fd-brass); }
.fd-pdp-cart:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 2px; }
.fd-pdp-cart span { color: inherit !important; }
/* "Order to make" (made to order, no stock): bronze, so it reads differently from "Add to cart" (in stock) */
.fd-pdp-cart.fd-btn-mto, .product-v2 .btn-cart.fd-btn-mto { background: var(--fd-brass-text) !important; border-color: var(--fd-brass-text) !important; color: #fff !important; }
.fd-pdp-cart.fd-btn-mto:hover, .product-v2 .btn-cart.fd-btn-mto:hover { background: #6F4E15 !important; border-color: #6F4E15 !important; box-shadow: none; }
.fd-pdp-cart.disabled { width: 100%; background: var(--fd-line-strong) !important; color: var(--fd-quiet) !important; cursor: not-allowed; }
.fd-pdp-stock { margin: 10px 0 0; color: #2E7D4F; font-size: 13px; font-weight: 500; }
.fd-pdp-stock::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.fd-pdp-stock.is-low { color: var(--fd-sale); }
.fd-pdp-stock.is-mto { color: var(--fd-brass-text); }
/* Made-to-order note under a cart / checkout / order line */
.fd-line-ready { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--fd-muted); }
.fd-line-ready.is-mto { color: var(--fd-brass-text); }
/* cart page: style_v2 turns every span in .delivery-info into a green uppercase badge */
.cart-v2 .product-col .delivery-info .fd-line-ready, .delivery-info .fd-line-ready { display: block; padding: 0; margin: 0; background: none; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--fd-muted); line-height: 1.45; }
.cart-v2 .product-col .delivery-info .fd-line-ready.is-mto, .delivery-info .fd-line-ready.is-mto { color: var(--fd-brass-text); }
.product-v2 .fd-badge-mto { color: var(--fd-brass-text) !important; background: #FBF6EA !important; }
/* Free item with a product (FreeItems) */
.product-v2 .fd-free-badge { clear: left; float: left; margin-top: 6px; padding: 4px 10px; background: var(--fd-charcoal); color: var(--fd-brass-light); font: 600 11.5px/1.3 var(--fd-font-body); letter-spacing: .02em; max-width: 190px; }
.fd-pdp-free { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--fd-brass-light); border-radius: 8px; background: #FBF6EA; }
.fd-pdp-free img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.fd-pdp-free strong { display: block; color: var(--fd-brass-text); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fd-pdp-free span { display: block; margin-top: 2px; color: var(--fd-heading); font-size: 14px; line-height: 1.45; }
.fd-line-free { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; font-weight: 600; color: #2E7D4F; }
.cart-v2 .product-col .delivery-info .fd-line-free, .delivery-info .fd-line-free { padding: 0; background: none; text-transform: none; letter-spacing: 0; font-size: 13px; color: #2E7D4F; }
/* Review page: ship together / separately */
.fd-rv-ship { min-width: 0; }
.fd-rv-ship-title { float: left; width: 100%; margin: 0 0 12px; padding: 0; font-size: 17px; font-weight: 600; color: var(--fd-heading); }
.fd-rv-ship-opt { clear: both; display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; padding: 14px; border: 1px solid var(--fd-line); border-radius: 8px; cursor: pointer; font-weight: 400; }
.fd-rv-ship-opt:has(input:checked) { border-color: var(--fd-ink); box-shadow: inset 0 0 0 1px var(--fd-ink); }
.fd-rv-ship-opt input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--fd-ink); -webkit-appearance: radio; appearance: auto; position: static; opacity: 1; }
.fd-rv-ship-text { flex: 1 1 auto; min-width: 0; }
.fd-rv-ship-text strong { display: block; color: var(--fd-heading); font-size: 15px; }
.fd-rv-ship-text small { display: block; margin-top: 2px; color: var(--fd-muted); font-size: 13px; line-height: 1.45; }
.fd-rv-ship-fee { flex: 0 0 auto; font-weight: 600; color: var(--fd-heading); }
.fd-rv-parcels { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fd-rv-parcels li { padding: 8px 10px; border-radius: 6px; background: var(--fd-paper); font-size: 13px; line-height: 1.45; }
.fd-rv-parcel-head { display: block; color: var(--fd-heading); }
.fd-rv-parcel-items { display: block; color: var(--fd-muted); }
.fd-rv-ship-note, .fd-rv-ship-msg { margin: 4px 0 0; color: var(--fd-muted); font-size: 13px; }
.fd-rv-ship-msg:empty { display: none; }
/* Parcels on My Orders / confirmation */
.fd-parcels { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.fd-parcel { padding: 10px 14px; border: 1px solid var(--fd-line); border-radius: 8px; font-size: 13.5px; }
.fd-parcel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fd-parcel-when { color: var(--fd-heading); font-weight: 500; }
.fd-parcel-items { margin: 4px 0 0; color: var(--fd-muted); font-size: 13px; line-height: 1.45; }
.fd-parcel strong { color: var(--fd-heading); }
.fd-parcel-status { font-weight: 600; color: var(--fd-brass-text); }
.fd-parcel-status.is-shipped, .fd-parcel-status.is-delivered { color: #2E7D4F; }
.fd-parcel-meta { color: var(--fd-muted); }
.fd-parcel a { color: var(--fd-link); text-decoration: underline; text-underline-offset: 2px; }
.fd-order > .fd-parcels { margin: 16px 22px 0; }
/* the item-title rule above styles every span in .fd-order-item-text; the note is not a title */
.fd-order-item-text .fd-line-ready { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--fd-muted) !important; }
.fd-order-item-text .fd-line-ready.is-mto { color: var(--fd-brass-text) !important; }
@media (max-width: 575.98px) { .fd-order > .fd-parcels { margin: 14px 16px 0; } }
.fd-pdp-wish { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--fd-heading) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.fd-pdp-wish svg { color: transparent; stroke: var(--fd-ink); stroke-width: 2; }
.fd-pdp-wish svg path { fill: transparent; stroke: var(--fd-ink); stroke-width: 2; }
.fd-pdp-wish.added svg path, .fd-pdp-wish.done svg path { fill: var(--fd-sale); stroke: var(--fd-sale); }
.fd-pdp-wish:hover span { text-decoration: underline; text-underline-offset: 3px; }

.fd-pdp-assure { margin: 0 0 24px; padding: 4px 18px; border: 1px solid var(--fd-border); border-radius: 6px; background: var(--fd-surface); list-style: none; }
.fd-pdp-assure li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--fd-border); }
.fd-pdp-assure li:last-child { border-bottom: 0; }
.fd-pdp-assure svg { flex: 0 0 auto; margin-top: 2px; color: var(--fd-brass); }
.fd-pdp-assure strong { display: block; color: var(--fd-heading); font-size: 14px; font-weight: 600; }
.fd-pdp-assure span { display: block; color: var(--fd-text); font-size: 13px; line-height: 1.5; }

.fd-pdp-highlights { margin: 0 0 20px; }
.fd-pdp-highlights h2 { margin: 0 0 8px; color: var(--fd-heading); font: 600 15px/1.3 var(--fd-font-body); }
.fd-pdp-highlights dl { margin: 0; }
.fd-pdp-highlights dl > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--fd-border); font-size: 14px; }
.fd-pdp-highlights dt { color: var(--fd-muted); font-weight: 400; }
.fd-pdp-highlights dd { margin: 0; color: var(--fd-heading); }
.fd-pdp-custom { margin: 0; color: var(--fd-text); font-size: 14px; }

/* Description + specs */
.fd-pdp-details { padding: 48px 0 32px; border-top: 1px solid var(--fd-border); }
.fd-pdp-details .editor-content h3 { margin: 0 0 16px; color: var(--fd-heading); font: 600 22px/1.3 var(--fd-font-body); }
.fd-pdp-details .editor-content p, .fd-pdp-details .editor-content li { color: var(--fd-text); font-size: 15px; line-height: 1.7; }
.fd-pdp-details .editor-content a { color: var(--fd-link); }
.fd-pdp-details .editor-content table { width: 100%; border-collapse: collapse; background: transparent !important; }
.fd-pdp-details .editor-content table tr { background: transparent !important; }
.fd-pdp-details .editor-content table td, .fd-pdp-details .editor-content table th { padding: 11px 0 !important; border: 0 !important; border-bottom: 1px solid var(--fd-border) !important; background: transparent !important; vertical-align: top !important; font-size: 14px; line-height: 1.5; text-align: left; }
.fd-pdp-details .editor-content table td:first-child, .fd-pdp-details .editor-content table th:first-child { width: 40%; padding-right: 16px !important; color: var(--fd-muted); font-weight: 400; }
.fd-pdp-details .editor-content table td:last-child { color: var(--fd-heading); }
.fd-pdp-details .editor-content table td p { margin: 0 !important; }

/* "Customers also bought" cards: brand cart button instead of blue icon */
.extra-products .product-info .btn-cart svg path, .extra-products .add-to-cart svg path { fill: var(--fd-ink) !important; stroke: none; }

@media (max-width: 991px) {
  .fd-pdp { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .fd-pdp-info { position: static; }
}
@media (max-width: 575px) {
  .fd-pdp-buy .product-quantity { flex-basis: 116px; }
  .fd-pdp-price .new-price { font-size: 26px !important; }
  .fd-pdp-gallery .gallery-thumbs .swiper-slide img { height: 56px !important; }
}
.fd-pdp-cart { max-width: none !important; width: auto !important; }
/* Thumbnails: fixed square tiles (script sets strip height = width) */
.fd-pdp-gallery .gallery-thumbs { height: auto !important; }
.fd-pdp-gallery .gallery-thumbs .swiper-slide { width: 84px !important; height: 84px; margin-right: 8px; display: flex; align-items: center; justify-content: center; }
.fd-pdp-gallery .gallery-thumbs .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 2px; }
@media (max-width: 575px) { .fd-pdp-gallery .gallery-thumbs .swiper-slide { width: 64px !important; height: 64px; } .fd-pdp-gallery .gallery-thumbs .swiper-slide img { height: 100% !important; } }
/* Section rhythm below the fold */
.fd-pdp-details + .row, .fd-pdp-details ~ .row { margin-top: 0; }
.extra-products { margin-bottom: 56px; }
/* Full-width .row wrappers placed directly in the page: cancel Bootstrap's negative gutters (stops ~10px horizontal scroll) */
.main > .row, .page-content > .row, .main > .page-content > .row { margin-left: 0; margin-right: 0; }
.main .row:not(.container .row):not(.container-fluid .row) { margin-left: 0; margin-right: 0; }

/* Single type family (Inter). Headings get weight + tight tracking for hierarchy. */
h1, h2, h3, .fd-listing-head h1, .fd-page-head h1, .fd-pdp-title, .fd-contact-title, .fd-404 h1, .fd-empty-cart h1, .fd-hero-plain h1, .section-heading h2, .section-heading h3, .fd-quote p { font-stretch: normal !important; }
h1, .fd-page-head h1, .fd-listing-head h1, .fd-pdp-title, .fd-contact-title, .fd-404 h1, .fd-empty-cart h1, .fd-hero-plain h1 { font-weight: 700 !important; letter-spacing: -.02em !important; }
.section-heading h2, .section-heading h3 { font-weight: 700 !important; letter-spacing: -.015em !important; }

/* PDP gallery: vertical thumbs on the left (desktop), row below (mobile) */
.fd-pdp-gallery .gallery-parent { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.fd-pdp-gallery .gallery-top { grid-column: 2; grid-row: 1; width: 100%; }
.fd-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 2px; }
.fd-thumbs::-webkit-scrollbar { display: none; }
.fd-thumb { flex: 0 0 auto; width: 72px; height: 72px; padding: 3px; border: 1px solid var(--fd-border); border-radius: 4px; background: var(--fd-surface); cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s, box-shadow .15s; }
.fd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.fd-thumb:hover { opacity: 1; border-color: var(--fd-line-strong); }
.fd-thumb.is-active { opacity: 1; border-color: var(--fd-ink); box-shadow: inset 0 0 0 1px var(--fd-ink); }
.fd-thumb:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 2px; }
.fd-pdp-gallery .gallery-parent:not(:has(.fd-thumbs)) { grid-template-columns: minmax(0, 1fr); }
.fd-pdp-gallery .gallery-parent:not(:has(.fd-thumbs)) .gallery-top { grid-column: 1; }
@media (max-width: 991px) {
  .fd-pdp-gallery .gallery-parent { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fd-pdp-gallery .gallery-top { grid-column: 1; }
  .fd-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none !important; }
  .fd-thumb { width: 64px; height: 64px; }
}

/* Product rails on PDP / cart: reuse the home .fd-rail component inside a section */
.fd-product-rail { padding: 40px 0 8px; }
.fd-product-rail + .fd-product-rail { padding-top: 16px; }
.fd-product-rail:last-of-type { padding-bottom: 64px; }
.fd-product-rail .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fd-product-rail .section-heading h2 { margin: 0; font-size: 24px; }
.fd-product-rail .fd-rail-item .product-v2 { height: 100%; margin: 0; }
@media (max-width: 767px) { .fd-product-rail .fd-rail-item { flex-basis: 46%; min-width: 0; } .fd-product-rail .section-heading h2 { font-size: 20px; } }
/* Description/specs section headings match rail headings */
.fd-pdp-details .editor-content h3 { font-size: 24px !important; font-weight: 700 !important; letter-spacing: -.015em; }
.fd-pdp-gallery, .fd-pdp-gallery .gallery-parent { background: transparent !important; }
.fd-pdp-details { padding-bottom: 8px; }
.fd-pdp-details .wrapperContent:empty { display: none; }

/* Card stepper: trash icon replaces "−" at quantity 1 */
.product-v2 .cart_row.is-at-min .btn-decrement i { display: none; }
.product-v2 .cart_row.is-at-min .btn-decrement::before { content: ""; display: block; width: 16px; height: 16px; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; }
.product-v2 .cart_row.is-removing { opacity: .5; pointer-events: none; }

/* ===== Cart drawer ===== */

.fd-cart-drawer { position: fixed; inset: 0; z-index: 10050; }
.fd-cart-drawer[hidden] { display: none; }
.fd-cart-drawer-scrim { position: absolute; inset: 0; background: #0E0F1166; opacity: 0; transition: opacity .25s var(--fd-ease); }
.fd-cart-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; width: min(440px, 100%); background: var(--fd-page-bg, #F7F5F1); box-shadow: -12px 0 32px #0000002e; transform: translateX(100%); transition: transform .28s var(--fd-ease); outline: none; }
.fd-cart-drawer.is-open .fd-cart-drawer-scrim { opacity: 1; }
.fd-cart-drawer.is-open .fd-cart-drawer-panel { transform: none; }
.fd-cart-drawer-content { display: flex; flex: 1; min-width: 0; }
.fd-cart-drawer-content[aria-busy="true"]:empty::after { content: ""; width: 28px; height: 28px; margin: auto; border: 2px solid var(--fd-line-strong); border-top-color: var(--fd-ink); border-radius: 50%; animation: fd-spin .8s linear infinite; }
@keyframes fd-spin { to { transform: rotate(360deg); } }
.fd-cart-drawer-panel.is-busy .fd-cd-body, .fd-cart-drawer-panel.is-busy .fd-cd-foot { opacity: .55; pointer-events: none; transition: opacity .15s; }
[dir=rtl] .fd-cart-drawer-panel { right: auto; left: 0; transform: translateX(-100%); box-shadow: 12px 0 32px #0000002e; }
[dir=rtl] .fd-cart-drawer.is-open .fd-cart-drawer-panel { transform: none; }

.fd-drawer-cart { display: flex; flex-direction: column; flex: 1; min-width: 0; height: 100%; }
.fd-cd-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--fd-border); }
.fd-cd-head h2 { margin: 0; color: var(--fd-heading); font: 700 22px/1.2 var(--fd-font-body); letter-spacing: -.015em; }
.fd-cd-head h2 span { color: var(--fd-muted); font-weight: 500; }
.fd-cd-close { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 50%; background: transparent; color: var(--fd-ink); cursor: pointer; }
.fd-cd-close:hover { background: #0000000d; }
.fd-cd-close:focus-visible, .fd-cd-step:focus-visible, .fd-cd-add:focus-visible, .fd-cd-remove:focus-visible, .fd-cd-btn:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: 2px; }

.fd-cd-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 16px; }
.fd-cd-lines { margin: 0; padding: 0; list-style: none; }
.fd-cd-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--fd-border); }
.fd-cd-img { display: block; width: 88px; height: 88px; overflow: hidden; border-radius: 6px; background: var(--fd-paper); }
.fd-cd-img img { width: 100%; height: 100%; object-fit: cover; }
.fd-cd-name { display: block; color: var(--fd-heading) !important; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none !important; }
.fd-cd-name:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.fd-cd-unit { margin: 4px 0 10px; color: var(--fd-text); font-size: 13px; }
.fd-cd-unit s { color: var(--fd-muted); }
.fd-cd-qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--fd-line-strong); border-radius: 6px; background: var(--fd-surface); }
.fd-cd-step { display: grid; place-items: center; width: 38px; height: 36px; border: 0; background: transparent; color: var(--fd-ink); cursor: pointer; }
.fd-cd-step:hover:not(:disabled) { background: #0000000a; }
.fd-cd-step:disabled { opacity: .3; cursor: not-allowed; }
.fd-cd-qty-val { min-width: 28px; color: var(--fd-heading); font-size: 14px; font-weight: 600; text-align: center; }
.fd-cd-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.fd-cd-total { color: var(--fd-heading); font-size: 15px; font-weight: 600; white-space: nowrap; }
.fd-cd-remove { padding: 0; border: 0; background: none; color: var(--fd-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fd-cd-remove:hover { color: var(--fd-sale); }

.fd-cd-suggest { margin-top: 24px; }
.fd-cd-suggest h3 { margin: 0 0 12px; color: var(--fd-brass-text); font: 600 12px/1.3 var(--fd-font-body); letter-spacing: .1em; text-transform: uppercase; }
.fd-cd-suggest ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fd-cd-sug { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--fd-border); border-radius: 8px; background: var(--fd-surface); }
.fd-cd-sug-img { display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 4px; background: var(--fd-paper); }
.fd-cd-sug-img img { width: 100%; height: 100%; object-fit: cover; }
.fd-cd-sug-name { display: block; color: var(--fd-heading) !important; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none !important; }
.fd-cd-sug-price { display: block; margin-top: 2px; color: var(--fd-text); font-size: 13px; }
.fd-cd-add { height: 36px; padding: 0 18px; border: 1px solid var(--fd-ink); border-radius: 999px; background: transparent; color: var(--fd-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.fd-cd-add:hover { background: var(--fd-ink); color: #fff; }

.fd-cd-foot { padding: 18px 24px 22px; border-top: 1px solid var(--fd-border); background: var(--fd-surface); }
.fd-cd-row { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 15px; }
.fd-cd-save { color: var(--fd-sale); font-weight: 600; }
.fd-cd-subtotal { color: var(--fd-heading); font-size: 18px; font-weight: 700; }
.fd-cd-note { margin: 6px 0 16px; color: var(--fd-muted); font-size: 13px; line-height: 1.5; }
.fd-cd-note a { color: var(--fd-link); text-decoration: underline; text-underline-offset: 2px; }
.fd-cd-btn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 6px; font-size: 16px; font-weight: 600; letter-spacing: .01em; text-decoration: none !important; }
.fd-cd-btn--primary { background: var(--fd-ink); color: #fff !important; }
.fd-cd-btn--primary:hover { background: #000; box-shadow: inset 0 -3px 0 var(--fd-brass); }
.fd-cd-link { display: block; margin-top: 12px; color: var(--fd-heading) !important; font-size: 14px; font-weight: 500; text-align: center; text-decoration: underline !important; text-underline-offset: 3px; }

.fd-cd-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 32px; color: var(--fd-text); text-align: center; }
.fd-cd-empty svg { margin-bottom: 16px; color: var(--fd-brass); }
.fd-cd-empty-title { margin: 0 0 6px; color: var(--fd-heading); font-size: 20px; font-weight: 700; }
.fd-cd-empty p { max-width: 32ch; margin: 0 0 20px; }
.fd-cd-empty .fd-cd-btn { width: 100%; max-width: 280px; }

@media (max-width: 575px) {
  .fd-cart-drawer-panel { width: 100%; box-shadow: none; }
  .fd-cd-head, .fd-cd-body, .fd-cd-foot { padding-left: 16px; padding-right: 16px; }
  .fd-cd-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .fd-cd-img { width: 72px; height: 72px; }
  .fd-cd-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fd-cart-drawer-panel, .fd-cart-drawer-scrim { transition: none; } }

/* Card stepper trash icon: centred in the round button */
.product-v2 .cart_row.is-at-min .btn-decrement { display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; line-height: 1; }
.product-v2 .cart_row.is-at-min .btn-decrement::before { margin: 0 !important; width: 16px; height: 16px; flex: 0 0 16px; }
.fd-cd-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.fd-cd-btn--ghost { height: 46px; border: 1px solid var(--fd-line-strong); background: var(--fd-surface); color: var(--fd-ink) !important; font-size: 14px; cursor: pointer; }
.fd-cd-btn--ghost:hover { border-color: var(--fd-ink); }
/* Belt and braces: hide any Tawk bubble iframes while the cart is open (API hides it when loaded). */
html.fd-cart-open iframe[title*="chat" i], html.fd-cart-open .widget-visible iframe { visibility: hidden !important; }

/* ---------- Quantity stepper: one compact grouped control ----------
   [ − | 1 | + ], 40px tall to match "Add to cart". Cards: 132px, centred. Cart page: 120px. */
.product-v2 .cart_row { display: flex !important; justify-content: center; width: 100% !important; max-width: none; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
.cart-v2 .cart-product-quantity { width: auto !important; max-width: none; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
.product-v2 .cart_row .input-spinner,
.cart-v2 .cart-product-quantity .input-spinner { display: inline-flex !important; flex-wrap: nowrap; align-items: stretch; width: 132px !important; flex: 0 0 132px; height: 40px; border: 1px solid var(--fd-line-strong); border-radius: 4px; background: var(--fd-surface); overflow: hidden; }
.cart-v2 .cart-product-quantity .input-spinner { width: 120px !important; flex-basis: 120px; }
.product-v2 .cart_row .input-spinner .input-group-prepend,
.product-v2 .cart_row .input-spinner .input-group-append,
.cart-v2 .cart-product-quantity .input-spinner .input-group-prepend,
.cart-v2 .cart-product-quantity .input-spinner .input-group-append { position: static !important; display: flex; margin: 0 !important; }
.product-v2 .cart_row .input-spinner .btn-spinner,
.cart-v2 .cart-product-quantity .input-spinner .btn-spinner { display: inline-flex !important; align-items: center; justify-content: center; width: 40px !important; min-width: 40px !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--fd-ink) !important; font-size: 13px; line-height: 1; box-shadow: none !important; transition: background-color .15s, color .15s; }
.cart-v2 .cart-product-quantity .input-spinner .btn-spinner { width: 36px !important; min-width: 36px !important; }
.product-v2 .cart_row .input-spinner .btn-spinner:hover,
.cart-v2 .cart-product-quantity .input-spinner .btn-spinner:hover { background: #0000000a !important; }
.product-v2 .cart_row .input-spinner .btn-spinner:focus-visible,
.cart-v2 .cart-product-quantity .input-spinner .btn-spinner:focus-visible { outline: 2px solid var(--fd-brass); outline-offset: -2px; }
.product-v2 .cart_row .input-spinner .btn-spinner:disabled,
.cart-v2 .cart-product-quantity .input-spinner .btn-spinner:disabled { opacity: .3; }
.product-v2 .cart_row .input-spinner input.form-control,
.cart-v2 .cart-product-quantity .input-spinner input.form-control { flex: 1 1 auto; min-width: 0; width: auto; height: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--fd-heading) !important; font-size: 15px !important; font-weight: 600; text-align: center; box-shadow: none !important; }
/* At quantity 1 the minus is a remove action: trash icon, red on hover */
.product-v2 .cart_row.is-at-min .btn-decrement:hover { color: var(--fd-error) !important; background: var(--fd-error-bg) !important; }
.product-v2 .cart_row.is-at-min .btn-decrement::before { width: 15px !important; height: 15px !important; flex-basis: 15px !important; }
.cart-v2 .cart-product-quantity .badge { display: block; width: max-content; margin-top: 6px; }
/* Cards: full width of the "Add to cart" button it replaces; dividers keep − 1 + reading as one control. */
.product-v2 .cart_row { display: block !important; }
.product-v2 .cart_row .input-spinner { width: 100% !important; flex: none; }
.product-v2 .cart_row .input-spinner .btn-spinner { width: 44px !important; min-width: 44px !important; }
.product-v2 .cart_row .input-spinner .input-group-prepend .btn-spinner { border-right: 1px solid var(--fd-line) !important; }
.product-v2 .cart_row .input-spinner .input-group-append .btn-spinner { border-left: 1px solid var(--fd-line) !important; }

/* =====================================================================
   Account screens — login, signup, forgot / reset password
   Split layout: form column + charcoal brand panel (panel hidden < 992px
   so on phones the form starts right under a slim logo bar).
   ===================================================================== */
.fd-auth-body { background: var(--fd-surface); }
.fd-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--fd-surface); color: var(--fd-text); font-family: var(--fd-font-body); }
.fd-auth-col { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; min-height: 100dvh; padding: 0 clamp(16px, 5vw, 72px); }

.fd-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.fd-auth-logo { display: inline-flex; align-items: center; min-height: 44px; }
.fd-auth-logo img { width: 140px; height: auto; filter: none !important; }
.fd-auth-help { display: inline-flex; align-items: center; min-height: 44px; color: var(--fd-text) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fd-line-strong); }
.fd-auth-help:hover { text-decoration-color: currentColor; }

.fd-auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0 48px; }
.fd-auth-card { width: 100%; max-width: 400px; }
.fd-auth-title { margin: 0 0 8px; color: var(--fd-heading); font: 600 30px/1.2 var(--fd-font-body); letter-spacing: -.015em; text-transform: none; }
.fd-auth-lead { margin: 0 0 28px; color: var(--fd-text); font-size: 15px; line-height: 1.55; }
.fd-auth-lead strong { color: var(--fd-heading); font-weight: 600; word-break: break-word; }

.fd-auth-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -8px 0 16px; color: var(--fd-text) !important; font-size: 14px; text-decoration: none !important; }
.fd-auth-back:hover { color: var(--fd-heading) !important; }
.fd-auth-link { color: var(--fd-brass-text) !important; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.fd-auth-link:hover { color: var(--fd-heading) !important; }

/* Fields */
.fd-auth-form { margin: 0; }
.fd-field { margin: 0 0 18px; }
.fd-label { display: block; margin: 0 0 6px; color: var(--fd-heading); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.fd-label-opt { color: var(--fd-muted); font-weight: 400; }
.fd-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.fd-label-row .fd-label { margin: 0; }
.fd-label-row .fd-auth-link { font-size: 13px; padding: 4px 0; }
.fd-input-wrap { position: relative; }
:is(.fd-auth, .fd-acct) .fd-input { display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--fd-line-strong); border-radius: 6px; background: var(--fd-surface); color: var(--fd-heading); font: 400 16px/1.2 var(--fd-font-body); box-shadow: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
:is(.fd-auth, .fd-acct) .fd-input::placeholder { color: #8d8e92; opacity: 1; }
:is(.fd-auth, .fd-acct) .fd-input:hover { border-color: #a9a49a; }
:is(.fd-auth, .fd-acct) .fd-input:focus { outline: none; border-color: var(--fd-ink); box-shadow: 0 0 0 3px #b282293d; }
.fd-input-wrap--pass .fd-input { padding-inline-end: 76px; }
.fd-reveal { position: absolute; inset-block: 4px; inset-inline-end: 4px; min-width: 64px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: var(--fd-brass-text); font: 600 13px var(--fd-font-body); cursor: pointer; }
.fd-reveal:hover { background: #0000000a; color: var(--fd-heading); }
.fd-reveal:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: 0; }
.fd-input-wrap.error .fd-input { border-color: var(--fd-error); }
.fd-input-wrap.error .fd-input:focus { box-shadow: 0 0 0 3px var(--fd-error-bg); }
.fd-field-hint, .fd-field-error { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.fd-field-hint { color: var(--fd-muted); }
.fd-field-error { display: none; color: var(--fd-error); }
.fd-input-wrap.error ~ .fd-field-error { display: block; }
.fd-input-wrap.error ~ .fd-field-hint { display: none; }
.fd-pass-hint { display: flex; align-items: center; gap: 6px; }
.fd-pass-hint::before { content: ""; flex: 0 0 14px; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; }
.fd-pass-hint.is-met { color: var(--fd-success); }
.fd-pass-hint.is-met::before { border-color: var(--fd-success); background: var(--fd-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }

.fd-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px; color: var(--fd-text); font-size: 14px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.fd-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--fd-ink); -webkit-appearance: checkbox; appearance: auto; position: static; opacity: 1; cursor: pointer; }
.fd-captcha { margin: 4px 0 20px; min-height: 78px; }
@media (max-width: 359px) { .fd-captcha > div { transform: scale(.9); transform-origin: 0 0; } }

/* Messages from the server (fd_form_submit fills .notifications .alert) */
:is(.fd-auth, .fd-acct) .notifications .alert { margin: 0 0 18px; padding: 12px 14px; border: 1px solid; border-radius: 6px; font-size: 14px; line-height: 1.45; }
:is(.fd-auth, .fd-acct) .notifications .alert-danger { border-color: #b3261e40; background: var(--fd-error-bg); color: var(--fd-error); }
:is(.fd-auth, .fd-acct) .notifications .alert-success { border-color: #3e7a4f40; background: var(--fd-success-bg); color: var(--fd-success); }
:is(.fd-auth, .fd-acct) .notifications .alert:empty { display: none; }

/* Buttons */
:is(.fd-auth, .fd-acct) .fd-auth-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin: 6px 0 0; padding: 0 20px; border: 1px solid var(--fd-primary) !important; border-radius: 6px; background: var(--fd-primary) !important; color: var(--fd-primary-text) !important; font: 600 15px/1 var(--fd-font-body); letter-spacing: 0; text-transform: none; text-decoration: none !important; cursor: pointer; transition: background-color .15s, border-color .15s; }
:is(.fd-auth, .fd-acct) .fd-auth-btn:hover { border-color: var(--fd-primary-hover) !important; background: var(--fd-primary-hover) !important; }
:is(.fd-auth, .fd-acct) .fd-auth-btn:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: 2px; }
:is(.fd-auth, .fd-acct) .fd-auth-btn--ghost { border-color: var(--fd-line-strong) !important; background: transparent !important; color: var(--fd-heading) !important; }
:is(.fd-auth, .fd-acct) .fd-auth-btn--ghost:hover { border-color: var(--fd-ink) !important; background: transparent !important; }
:is(.fd-auth, .fd-acct) .fd-auth-btn[disabled] { cursor: progress; color: transparent !important; }
:is(.fd-auth, .fd-acct) .fd-auth-btn[disabled]::after { content: attr(data-busy); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--fd-primary-text); }
.fd-auth-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; color: var(--fd-muted); font-size: 13px; }
.fd-auth-divider::before, .fd-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--fd-line); }
.fd-auth-legal { margin: 14px 0 0; color: var(--fd-muted); font-size: 12.5px; line-height: 1.5; }
.fd-auth-legal a { color: var(--fd-text) !important; text-decoration: underline; text-underline-offset: 2px; }

/* Forgot password: "Check your email" step */
.fd-auth-sent:focus { outline: none; }
.fd-auth-sent-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 18px; border-radius: 50%; background: var(--fd-success-bg); color: var(--fd-success); }
.fd-auth-sent .fd-auth-lead { margin-bottom: 8px; }
.fd-auth-sent > .fd-field-hint { margin: 0 0 26px; }
.fd-auth-sent .fd-auth-btn + .fd-auth-btn { margin-top: 10px; }

.fd-auth-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 18px 0 22px; border-top: 1px solid var(--fd-line); color: var(--fd-muted); font-size: 12.5px; }
.fd-auth-foot a { color: var(--fd-muted) !important; text-decoration: none; }
.fd-auth-foot a:hover { color: var(--fd-heading) !important; text-decoration: underline; }

/* Brand panel */
.fd-auth-aside { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; padding: clamp(48px, 7vh, 96px) clamp(32px, 5vw, 80px); background: var(--fd-charcoal); color: var(--fd-on-charcoal); }
.fd-auth-aside-copy { position: relative; z-index: 1; max-width: 460px; }
.fd-auth-aside-kicker { margin: 0 0 14px; color: var(--fd-brass-light); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.fd-auth-aside-title { margin: 0 0 18px; color: var(--fd-on-charcoal); font: 600 clamp(30px, 2.8vw, 42px)/1.12 var(--fd-font-body); letter-spacing: -.02em; }
.fd-auth-aside-text { margin: 0; color: var(--fd-on-charcoal-muted); font-size: 16px; line-height: 1.6; }
.fd-auth-points { margin: 0; padding: 0; list-style: none; }
.fd-auth-points li { position: relative; margin: 0 0 12px; padding-inline-start: 30px; color: var(--fd-on-charcoal-muted); font-size: 15.5px; line-height: 1.5; }
.fd-auth-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; background: var(--fd-brass-light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
/* The banners carry their own headline on the left; show only the knife (right ~62%). */
.fd-auth-aside-img { position: absolute; inset-inline: 0; bottom: 0; aspect-ratio: 15 / 8; background-repeat: no-repeat; background-size: 160% auto; background-position: right bottom; }
.fd-auth-aside-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--fd-charcoal), transparent 30%); }
[dir="rtl"] .fd-auth-aside-img { transform: scaleX(-1); }

@media (max-width: 1199px) {
  .fd-auth { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
@media (max-width: 991px) {
  .fd-auth { grid-template-columns: 1fr; }
  .fd-auth-aside { display: none; }
}
@media (max-width: 575px) {
  .fd-auth-top { height: 60px; border-bottom: 1px solid var(--fd-line); margin: 0 -16px; padding: 0 16px; }
  .fd-auth-logo img { width: 116px; }
  .fd-auth-main { align-items: flex-start; padding: 28px 0 36px; }
  .fd-auth-title { font-size: 26px; }
  .fd-auth-lead { margin-bottom: 24px; }
  .fd-auth-foot { justify-content: center; text-align: center; }
}
:root[data-theme="dark"] .fd-auth-logo img { filter: invert(1) !important; }
@media (max-width: 575px) {
  .fd-auth-col { padding: 0 20px; }
  .fd-auth-top { margin: 0 -20px; padding: 0 20px; }
}

/* =====================================================================
   My account — profile, orders, returns, wishlist, addresses
   Desktop: sticky sidebar + content. Phones: section tabs scroll sideways.
   ===================================================================== */
.fd-acct { padding: 40px 0 72px; background: var(--fd-page-bg); color: var(--fd-text); font-family: var(--fd-font-body); }
.fd-acct-layout { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 40px; align-items: start; }

/* Sidebar */
.fd-acct-side { position: sticky; top: calc(24px + var(--fd-camp-h, 0px)); padding: 18px 12px 12px; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-acct-user { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 0 8px; padding: 0 8px 16px; border-bottom: 1px solid var(--fd-line); }
.fd-acct-avatar { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--fd-charcoal); color: var(--fd-on-charcoal); font-size: 16px; font-weight: 600; }
.fd-acct-user-text { min-width: 0; }
.fd-acct-hello { margin: 0; color: var(--fd-heading); font-size: 15px; font-weight: 600; line-height: 1.3; }
.fd-acct-email { margin: 2px 0 0; overflow: hidden; color: var(--fd-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fd-acct-nav ul { margin: 0; padding: 0; list-style: none; }
.fd-acct-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 6px; color: var(--fd-text) !important; font-size: 15px; text-decoration: none !important; transition: background-color .15s; }
.fd-acct-nav a:hover { background: #0000000a; color: var(--fd-heading) !important; }
.fd-acct-nav a.is-active { background: #1b1c1e0d; box-shadow: inset 3px 0 0 var(--fd-brass); color: var(--fd-heading) !important; font-weight: 600; }
.fd-acct-nav a:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: -2px; }
.fd-acct-ico { flex: 0 0 20px; }
.fd-acct-nav-out { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--fd-line); }
.fd-acct-nav-out a { color: var(--fd-muted) !important; }

/* Page heading */
.fd-acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.fd-acct-kicker { margin: 0 0 6px; color: var(--fd-brass-text); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.fd-acct-title { margin: 0; color: var(--fd-heading); font: 600 30px/1.2 var(--fd-font-body); letter-spacing: -.015em; }
.fd-acct-lead { margin: 6px 0 0; color: var(--fd-text); font-size: 15px; line-height: 1.5; }

/* Cards, form grid, buttons */
.fd-acct-card { margin: 0 0 20px; padding: 24px 28px; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-acct-card-title { margin: 0 0 18px; color: var(--fd-heading); font: 600 18px/1.3 var(--fd-font-body); }
.fd-acct-card-lead { margin: -10px 0 18px; color: var(--fd-muted); font-size: 14px; }
.fd-acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.fd-acct-span { grid-column: 1 / -1; }
.fd-acct .fd-input[disabled] { background: var(--fd-paper); color: var(--fd-muted); cursor: not-allowed; }
.fd-acct .fd-input-wrap--pass .fd-input { padding-inline-end: 76px; }
.fd-acct-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border: 1px solid var(--fd-primary) !important; border-radius: 6px; background: var(--fd-primary) !important; color: var(--fd-primary-text) !important; font: 600 15px/1 var(--fd-font-body); text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.fd-acct-btn:hover { border-color: var(--fd-primary-hover) !important; background: var(--fd-primary-hover) !important; }
.fd-acct-btn:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: 2px; }
.fd-acct-btn--ghost { border-color: var(--fd-line-strong) !important; background: var(--fd-surface) !important; color: var(--fd-heading) !important; }
.fd-acct-btn--ghost:hover { border-color: var(--fd-ink) !important; background: var(--fd-surface) !important; }
.fd-acct-btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.fd-acct-btn[disabled] { color: transparent !important; cursor: progress; }
.fd-acct-btn[disabled]::after { content: attr(data-busy); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--fd-primary-text); }

/* Address form bits */
.fd-input-prefix { display: flex; }
.fd-input-prefix-code { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--fd-line-strong); border-inline-end: 0; border-radius: 6px 0 0 6px; background: var(--fd-paper); color: var(--fd-text); font-size: 16px; }
.fd-acct .fd-input-prefix .fd-input { border-radius: 0 6px 6px 0; }
.fd-acct .fd-select { padding-inline-end: 40px; background: var(--fd-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.fd-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 18px; padding: 0; border: 0; }
.fd-choice legend { width: 100%; margin-bottom: 6px; }
.fd-acct .fd-check { margin: 0 0 6px; }

/* Status badge */
.fd-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.fd-badge--progress { background: #b282291f; color: var(--fd-brass-text); }
.fd-badge--done { background: var(--fd-success-bg); color: var(--fd-success); }
.fd-badge--closed { background: #0000000d; color: var(--fd-muted); }

/* Order card */
.fd-order-list { display: grid; gap: 16px; }
.fd-order { overflow: hidden; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-order .curr, .fd-order .price, .fd-addr .curr, .fd-addr .price { color: inherit !important; font: inherit !important; }
.fd-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--fd-line); }
.fd-order-id h2 { margin: 0; color: var(--fd-heading); font: 600 16px/1.35 var(--fd-font-body); }
.fd-order-id p { margin: 4px 0 0; color: var(--fd-muted); font-size: 13px; }
.fd-order-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fd-order-total { margin: 0; color: var(--fd-heading); font-size: 15px; font-weight: 600; }
.fd-order-total span { color: var(--fd-muted); font-size: 13px; font-weight: 400; }
.fd-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 20px 22px 4px; list-style: none; }
.fd-track li { position: relative; color: var(--fd-muted); font-size: 12.5px; line-height: 1.3; text-align: center; }
.fd-track li::before { content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: var(--fd-line-strong); }
.fd-track li:first-child::before { display: none; }
.fd-track-dot { position: relative; z-index: 1; display: block; width: 12px; height: 12px; margin: 0 auto 8px; border: 2px solid var(--fd-line-strong); border-radius: 50%; background: var(--fd-surface); }
.fd-track li.is-done::before, .fd-track li.is-current::before { background: var(--fd-ink); }
.fd-track li.is-done .fd-track-dot { border-color: var(--fd-ink); background: var(--fd-ink); }
.fd-track li.is-current .fd-track-dot { border-color: var(--fd-ink); box-shadow: 0 0 0 4px #b2822933; }
.fd-track li.is-done, .fd-track li.is-current { color: var(--fd-text); }
.fd-track li.is-current .fd-track-label { color: var(--fd-heading); font-weight: 600; }
.fd-order--done .fd-track li.is-current .fd-track-dot { border-color: var(--fd-success); background: var(--fd-success); box-shadow: 0 0 0 4px var(--fd-success-bg); }
.fd-order-note { margin: 16px 22px 0; padding: 12px 14px; border-radius: 6px; background: var(--fd-paper); color: var(--fd-text); font-size: 14px; line-height: 1.5; }
.fd-order-items { margin: 0; padding: 6px 22px 8px; list-style: none; }
.fd-order-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; }
.fd-order-items li + li { border-top: 1px solid var(--fd-line); }
.fd-order-thumb { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 6px; background: var(--fd-image-bg); }
.fd-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fd-order-item-text a, .fd-order-item-text span { color: var(--fd-heading) !important; font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.fd-order-item-text a:hover { text-decoration: underline; }
.fd-order-item-text small { display: block; margin-top: 3px; color: var(--fd-muted); font-size: 13px; }
.fd-order-item-price { color: var(--fd-heading); font-size: 15px; font-weight: 600; white-space: nowrap; }
.fd-order-more { border-top: 1px solid var(--fd-line); }
.fd-order-more summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 22px; color: var(--fd-heading); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.fd-order-more summary::-webkit-details-marker { display: none; }
.fd-order-more summary::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.fd-order-more[open] summary::after { transform: rotate(180deg); }
.fd-order-more summary:hover { background: #00000005; }
.fd-order-more summary:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: -2px; }
.fd-order-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 4px 22px 16px; }
.fd-order-more h3 { margin: 0 0 6px; color: var(--fd-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fd-order-more p { margin: 0; color: var(--fd-text); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.fd-order-more p strong { color: var(--fd-heading); font-weight: 600; }
.fd-order-sum { margin: 0; font-size: 14px; }
.fd-order-sum div { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.fd-order-sum dt { color: var(--fd-text); font-weight: 400; }
.fd-order-sum dd { margin: 0; color: var(--fd-heading); }
.fd-order-sum .is-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--fd-line); }
.fd-order-sum .is-total dt, .fd-order-sum .is-total dd { color: var(--fd-heading); font-weight: 600; }
.fd-order-help { display: inline-block; margin: 0 22px 18px; font-size: 14px; }
.fd-acct-foot-note { margin: 20px 0 0; color: var(--fd-muted); font-size: 14px; }

/* Empty states */
.fd-acct-empty { padding: 48px 24px; border: 1px dashed var(--fd-line-strong); border-radius: 10px; background: var(--fd-surface); text-align: center; }
.fd-acct-empty[hidden] { display: none; }
.fd-acct-empty-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--fd-paper); color: var(--fd-ink); }
.fd-acct-empty h2 { margin: 0 0 6px; color: var(--fd-heading); font: 600 20px/1.3 var(--fd-font-body); }
.fd-acct-empty p { max-width: 440px; margin: 0 auto 20px; color: var(--fd-muted); font-size: 15px; line-height: 1.55; }
.fd-acct-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Wishlist */
.fd-acct-wish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.fd-acct-wish[hidden] { display: none; }
.fd-acct-wish-item { min-width: 0; }
.fd-acct-wish-item .product-v2 { width: 100%; height: 100%; margin: 0; }

/* Addresses */
.fd-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fd-addr { display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-addr.is-default { border-color: var(--fd-line-strong); box-shadow: inset 0 3px 0 var(--fd-brass); }
.fd-addr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fd-addr-type { color: var(--fd-muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.fd-addr address { flex: 1; margin: 10px 0 18px; color: var(--fd-text); font-size: 15px; font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.fd-addr address strong { color: var(--fd-heading); font-weight: 600; }
.fd-addr-phone { color: var(--fd-muted); }
.fd-addr-actions { display: flex; align-items: center; gap: 16px; }
.fd-addr-remove { color: var(--fd-error) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) {
  .fd-acct-layout { grid-template-columns: 228px minmax(0, 1fr); gap: 28px; }
  .fd-order-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .fd-acct { padding: 16px 0 48px; }
  .fd-acct-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fd-acct-side { position: static; margin: 0 calc(-1 * var(--fd-gutter, 16px)); padding: 0; border: 0; border-radius: 0; background: transparent; }
  .fd-acct-user { display: none; }
  .fd-acct-nav ul { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--fd-gutter, 16px) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .fd-acct-nav ul::-webkit-scrollbar { display: none; }
  .fd-acct-nav li { flex: 0 0 auto; scroll-snap-align: start; }
  .fd-acct-nav a { gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--fd-line-strong); border-radius: 999px; background: var(--fd-surface); font-size: 14px; white-space: nowrap; }
  .fd-acct-nav a.is-active { border-color: var(--fd-ink); background: var(--fd-ink); box-shadow: none; color: var(--fd-primary-text) !important; }
  .fd-acct-nav .fd-acct-ico { width: 18px; height: 18px; flex-basis: 18px; }
  .fd-acct-nav-out { margin: 0; padding: 0; border: 0; }
  .fd-acct-title { font-size: 26px; }
  .fd-acct-wish { gap: 12px; }
}
@media (max-width: 767px) {
  .fd-acct-head { flex-direction: column; align-items: stretch; }
  .fd-acct-head .fd-acct-btn { width: 100%; }
  .fd-acct-card { padding: 20px 18px; }
  .fd-acct-grid, .fd-addr-grid, .fd-order-more-grid { grid-template-columns: minmax(0, 1fr); }
  .fd-acct-card .fd-acct-btn { width: 100%; }
  .fd-acct-wish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-order-head, .fd-order-items, .fd-order-more summary, .fd-order-more-grid { padding-left: 16px; padding-right: 16px; }
  .fd-order-head { padding-top: 16px; padding-bottom: 16px; }
  .fd-track { padding: 18px 8px 2px; }
  .fd-track li { font-size: 11.5px; }
  .fd-order-note { margin: 14px 16px 0; }
  .fd-order-help { margin: 0 16px 16px; }
  .fd-order-items li { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .fd-order-thumb { width: 56px; height: 56px; }
}
.fd-addr-top { min-height: 24px; }

/* =====================================================================
   Checkout — step 1, delivery address (shop/shipping)
   ===================================================================== */
.fd-co-body { background: var(--fd-page-bg); }
.fd-acct.fd-co { padding: 24px 0 64px; }
.fd-co .curr, .fd-co .price { color: inherit !important; font: inherit !important; }

/* Steps */
.fd-co-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 0 0 28px; padding: 0; list-style: none; color: var(--fd-muted); font-size: 14px; }
.fd-co-steps li { display: flex; align-items: center; gap: 8px; }
.fd-co-steps li + li::before { content: ""; width: 36px; height: 1px; margin: 0 12px; background: var(--fd-line-strong); }
.fd-co-steps span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--fd-line-strong); border-radius: 50%; background: var(--fd-surface); font-size: 12px; font-weight: 600; }
.fd-co-steps li.is-current { color: var(--fd-heading); font-weight: 600; }
.fd-co-steps li.is-current span { border-color: var(--fd-ink); background: var(--fd-ink); color: var(--fd-primary-text); }

.fd-co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.fd-co-main { min-width: 0; }
.fd-co-title { margin: 0 0 6px; color: var(--fd-heading); font: 600 28px/1.2 var(--fd-font-body); letter-spacing: -.015em; }
.fd-co-lead { margin: 0 0 22px; color: var(--fd-text); font-size: 15px; line-height: 1.5; }

/* Saved addresses as selectable cards */
.fd-co-addrs { display: grid; gap: 12px; margin: 0 0 12px; padding: 0; border: 0; }
.fd-co-addr { border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); transition: border-color .15s, box-shadow .15s; }
.fd-co-addr:hover { border-color: var(--fd-line-strong); }
.fd-co-addr.is-selected { border-color: var(--fd-ink); box-shadow: 0 0 0 1px var(--fd-ink); }
.fd-co-addr-pick { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 18px 20px 6px; color: var(--fd-text); font-weight: 400; cursor: pointer; }
.fd-co-addr-pick input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fd-ink); -webkit-appearance: radio; appearance: auto; position: static; opacity: 1; cursor: pointer; }
.fd-co-addr-pick input:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: 2px; }
.fd-co-addr-text { display: block; min-width: 0; }
.fd-co-addr-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--fd-heading); font-size: 15px; font-weight: 600; }
.fd-co-addr-lines { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.fd-co-addr-phone { display: block; margin-top: 4px; color: var(--fd-muted); font-size: 14px; }
.fd-co-addr-warn { display: block; margin-top: 6px; color: var(--fd-error); font-size: 13px; }
.fd-co-addr-actions { display: flex; gap: 18px; padding: 0 20px 14px 54px; }
.fd-co-link { min-height: 32px; padding: 0; border: 0; background: none; color: var(--fd-brass-text); font: 600 14px var(--fd-font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fd-co-link:hover { color: var(--fd-heading); }
.fd-co-link--danger { color: var(--fd-error); }
.fd-co-link:focus-visible { outline: 2px solid var(--fd-focus); outline-offset: 2px; }
.fd-co-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border: 1px dashed var(--fd-line-strong); border-radius: 10px; background: transparent; color: var(--fd-heading); font: 600 15px var(--fd-font-body); cursor: pointer; }
.fd-co-add:hover { border-color: var(--fd-ink); background: var(--fd-surface); }
.fd-co-add[hidden] { display: none; }

/* Address form panel */
.fd-co-form-panel { padding: 22px 24px; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-co-form-panel[hidden] { display: none; }
.fd-co-form-title { margin: 0 0 18px; color: var(--fd-heading); font: 600 18px/1.3 var(--fd-font-body); }
.fd-co-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fd-co-alert { margin-bottom: 12px; }

.fd-co-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.fd-co-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fd-text) !important; font-size: 14px; text-decoration: none !important; }
.fd-co-back:hover { color: var(--fd-heading) !important; }
.fd-co-continue { height: 52px; padding: 0 32px; font-size: 16px; }
.fd-co-continue[hidden] { display: none; }

/* Order summary */
.fd-co-side { position: sticky; top: calc(24px + var(--fd-camp-h, 0px)); }
.fd-co-sum { border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-co-sum summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; color: var(--fd-heading); font-size: 16px; font-weight: 600; list-style: none; }
.fd-co-sum summary::-webkit-details-marker { display: none; }
.fd-co-sum-label small { color: var(--fd-muted); font-size: 13px; font-weight: 400; }
.fd-co-items { margin: 0; padding: 0 20px 6px; list-style: none; border-top: 1px solid var(--fd-line); }
.fd-co-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.fd-co-items li + li { border-top: 1px solid var(--fd-line); }
.fd-co-thumb { position: relative; display: block; width: 56px; height: 56px; border-radius: 6px; background: var(--fd-image-bg); }
.fd-co-thumb img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.fd-co-qty { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--fd-charcoal); color: var(--fd-on-charcoal); font-size: 11px; font-weight: 600; }
.fd-co-item-name { color: var(--fd-heading); font-size: 14px; line-height: 1.35; }
.fd-co-item-price { color: var(--fd-heading); font-size: 14px; font-weight: 600; white-space: nowrap; }
.fd-co-totals { margin: 0; padding: 14px 20px 16px; border-top: 1px solid var(--fd-line); }
.fd-co-muted { color: var(--fd-muted) !important; font-size: 13px; text-align: end; }
.fd-co-notes { margin: 0; padding: 14px 20px 16px; border-top: 1px solid var(--fd-line); list-style: none; }
.fd-co-notes li { position: relative; margin: 0 0 8px; padding-inline-start: 14px; color: var(--fd-muted); font-size: 12.5px; line-height: 1.5; }
.fd-co-notes li:last-child { margin-bottom: 0; }
.fd-co-notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--fd-brass); }

@media (min-width: 992px) {
  /* Desktop: the summary is always open */
  .fd-co-sum summary { pointer-events: none; }
  .fd-co-sum-total { display: none; }
}
@media (max-width: 991px) {
  .fd-co-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fd-co-side { position: static; order: -1; }
  .fd-co-sum summary { cursor: pointer; font-size: 15px; }
  .fd-co-sum summary::after { content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-inline-start: -4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
  .fd-co-sum[open] summary::after { transform: rotate(180deg); }
  .fd-co-sum-total { margin-inline-start: auto; }
}
@media (max-width: 767px) {
  .fd-acct.fd-co { padding: 16px 0 48px; }
  .fd-co-steps { margin-bottom: 18px; font-size: 13px; }
  .fd-co-steps li + li::before { width: 14px; margin: 0 8px; }
  .fd-co-steps li:not(.is-current) { font-size: 0; gap: 0; }
  .fd-co-steps li:not(.is-current) span { font-size: 12px; }
  .fd-co-title { font-size: 23px; }
  .fd-co-form-panel { padding: 18px 16px; }
  .fd-co-form-actions .fd-acct-btn { width: 100%; }
  .fd-co-addr-pick { padding: 16px 16px 6px; }
  .fd-co-addr-actions { padding: 0 16px 12px 50px; }
  .fd-co-nav { flex-direction: column-reverse; align-items: stretch; }
  .fd-co-continue { width: 100%; }
  .fd-co-back { justify-content: center; }
}

/* Searchable country picker (fd-storefront.js → select[data-fd-country-search]) */
.fd-combo { position: relative; }
.fd-combo .fd-combo-input { padding-inline-end: 44px; }
.fd-combo-native { position: absolute !important; inset: auto auto 0 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.fd-combo-toggle { position: absolute; inset-block: 1px; inset-inline-end: 1px; width: 42px; border: 0; border-radius: 0 6px 6px 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px; cursor: pointer; transition: transform .15s; }
.fd-combo.is-open .fd-combo-toggle { transform: rotate(180deg); }
.fd-combo-list { position: absolute; z-index: 30; top: calc(100% + 4px); inset-inline: 0; max-height: 288px; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--fd-line-strong); border-radius: 8px; background: var(--fd-surface); box-shadow: 0 12px 32px #16171a24; list-style: none; }
.fd-combo-list[hidden] { display: none; }
.fd-combo-list [role=option] { position: relative; display: flex; align-items: center; min-height: 42px; padding: 0 36px 0 12px; border-radius: 5px; color: var(--fd-heading); font-size: 15px; line-height: 1.3; cursor: pointer; }
.fd-combo-list [role=option].is-active { background: #1b1c1e0d; }
.fd-combo-list [role=option].is-chosen { font-weight: 600; }
.fd-combo-list [role=option].is-chosen::after { content: ""; position: absolute; inset-inline-end: 12px; width: 16px; height: 16px; background: var(--fd-brass-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.fd-combo-list mark { padding: 0; background: none; color: inherit; font-weight: 700; }
.fd-combo-empty { padding: 12px; color: var(--fd-muted); font-size: 14px; }
.fd-input-wrap.error .fd-combo-input { border-color: var(--fd-error); }
@media (max-width: 767px) { .fd-combo-list { max-height: 240px; } }

/* Checkout header: slim bar, logo, "Secure checkout" and help */
.header.header-2 .header-middle > .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-top: 10px !important; padding-bottom: 10px !important; }
.header.header-2 .fd-logo img { width: 140px; height: auto; }
.fd-co-head-right { display: flex; align-items: center; gap: 18px; color: var(--fd-on-charcoal); font-size: 14px; }
.fd-co-secure { display: inline-flex; align-items: center; gap: 6px; color: var(--fd-on-charcoal-muted); }
.fd-co-help { display: inline-flex; align-items: center; min-height: 44px; color: var(--fd-on-charcoal) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575px) {
  .header.header-2 .header-middle > .container { min-height: 56px; }
  .header.header-2 .fd-logo img { width: 112px; }
  .fd-co-head-right { gap: 12px; font-size: 13px; }
}
.fd-input-wrap.error .fd-combo-input:focus { border-color: var(--fd-error); box-shadow: 0 0 0 3px var(--fd-error-bg); }

/* =====================================================================
   Checkout — step 2, review & pay (PayPal)
   ===================================================================== */
.fd-co-steps li.is-done a { display: inline-flex; align-items: center; gap: 8px; color: var(--fd-text) !important; text-decoration: none !important; }
.fd-co-steps li.is-done a:hover { color: var(--fd-heading) !important; text-decoration: underline !important; }
.fd-co-steps li.is-done span { border-color: var(--fd-success); background: var(--fd-success); color: #fff; }
@media (max-width: 767px) {
  .fd-co-steps li.is-done a { font-size: 0; gap: 0; }
  .fd-co-steps li.is-done span { font-size: 12px; }
}

.fd-rv-card { margin: 0 0 14px; padding: 18px 22px; border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-rv-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.fd-rv-card-head h2 { margin: 0; color: var(--fd-heading); font: 600 16px/1.3 var(--fd-font-body); }
.fd-rv-card-head h2 small { color: var(--fd-muted); font-size: 13px; font-weight: 400; }
.fd-rv-addr { margin: 0; color: var(--fd-text); font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.fd-rv-addr strong { color: var(--fd-heading); font-weight: 600; }
.fd-rv-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--fd-error-bg); color: var(--fd-error); font-size: 14px; }
.fd-rv-items { padding: 0; border-top: 0; }
.fd-rv-items li { grid-template-columns: 64px minmax(0, 1fr) auto; }
.fd-rv-items .fd-co-thumb { width: 64px; height: 64px; }
.fd-rv-item-text { min-width: 0; color: var(--fd-heading); font-size: 15px; line-height: 1.35; }
.fd-rv-item-text a { color: var(--fd-heading) !important; text-decoration: none; }
.fd-rv-item-text a:hover { text-decoration: underline; }
.fd-rv-item-text small { display: block; margin-top: 3px; color: var(--fd-muted); font-size: 13px; }
.fd-rv-item-text .fd-rv-warn-inline { color: var(--fd-error); }
.fd-acct .fd-rv-notes { height: auto; min-height: 84px; padding: 12px 14px; line-height: 1.5; resize: vertical; }

.fd-rv-sum-title { margin: 0; padding: 16px 20px; color: var(--fd-heading); font: 600 16px/1.3 var(--fd-font-body); }
.fd-rv-promo { padding: 0 20px 14px; border-bottom: 1px solid var(--fd-line); }
.fd-rv-promo summary { display: inline-flex; min-height: 32px; align-items: center; color: var(--fd-brass-text); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; list-style: none; cursor: pointer; }
.fd-rv-promo summary::-webkit-details-marker { display: none; }
.fd-rv-promo-row { display: flex; gap: 8px; margin-top: 8px; }
.fd-rv-promo-row .fd-input { height: 44px; text-transform: uppercase; }
.fd-rv-promo-row .fd-acct-btn { height: 44px; padding: 0 16px; }
.fd-rv-promo-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--fd-success-bg); color: var(--fd-success); font-size: 14px; font-weight: 600; }
.fd-rv-promo-on span { display: inline-flex; align-items: center; gap: 6px; }
.fd-rv-promo-msg { margin: 6px 0 0; font-size: 13px; }
.fd-rv-promo-msg:empty { display: none; }
.fd-rv-promo-msg.is-error { color: var(--fd-error); }
.fd-rv-discount dd { color: var(--fd-success) !important; }
.fd-rv-total dt, .fd-rv-total dd { font-size: 17px; }
.fd-rv-total dd small { color: var(--fd-muted); font-size: 12px; font-weight: 500; letter-spacing: .04em; }

.fd-rv-pay { padding: 16px 20px; border-top: 1px solid var(--fd-line); }
.fd-acct .fd-rv-agree { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; }
.fd-rv-agree a { color: var(--fd-heading) !important; text-decoration: underline; }
.fd-rv-agree.is-error { color: var(--fd-error); }
.fd-rv-agree.is-error input { outline: 2px solid var(--fd-error); outline-offset: 2px; }
.fd-rv-agree-err { margin: -6px 0 10px; color: var(--fd-error); font-size: 13px; }
.fd-rv-alert { margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; font-size: 14px; line-height: 1.45; }
.fd-rv-alert.is-error { background: var(--fd-error-bg); color: var(--fd-error); }
.fd-rv-alert.is-info { background: var(--fd-paper); color: var(--fd-text); }
.fd-rv-buttons { position: relative; z-index: 0; min-height: 104px; }
.fd-rv-buttons[aria-busy="true"] { border-radius: 6px; background: linear-gradient(90deg, var(--fd-paper), #ece8e0, var(--fd-paper)); background-size: 200% 100%; animation: fd-shimmer 1.2s linear infinite; }
@keyframes fd-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .fd-rv-buttons[aria-busy="true"] { animation: none; } }
.fd-rv-or { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; color: var(--fd-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.fd-rv-or::before, .fd-rv-or::after { content: ""; flex: 1; height: 1px; background: var(--fd-line, #e2ddd3); }
.fd-rv-paycard { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 16px; border: 0; border-radius: 4px; background: var(--fd-ink, #111); color: #fff; cursor: pointer; text-align: left; transition: opacity .15s; }
.fd-rv-paycard:hover { opacity: .88; }
.fd-rv-paycard:focus-visible { outline: 3px solid var(--fd-accent, #b8862b); outline-offset: 2px; }
.fd-rv-paycard:disabled { opacity: .6; cursor: progress; }
.fd-rv-paycard span { display: flex; flex-direction: column; line-height: 1.2; }
.fd-rv-paycard b { font-size: 16px; font-weight: 600; }
.fd-rv-paycard small { font-size: 12px; opacity: .85; }
.fd-rv-pay-note { display: flex; gap: 8px; margin: 10px 0 0; color: var(--fd-muted); font-size: 12.5px; line-height: 1.5; }
.fd-rv-pay-note svg { flex: 0 0 14px; margin-top: 2px; }
.fd-rv-notready h3 { margin: 0 0 6px; color: var(--fd-heading); font: 600 15px/1.3 var(--fd-font-body); }
.fd-rv-notready p { margin: 0 0 12px; color: var(--fd-text); font-size: 14px; line-height: 1.5; }
.fd-rv-notready .fd-acct-btn { width: 100%; }
.fd-rv-sum .fd-co-notes a { color: var(--fd-text) !important; text-decoration: underline; }

.fd-rv-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #f7f5f1e6; }
.fd-rv-overlay[hidden] { display: none; }
.fd-rv-overlay > div { text-align: center; }
.fd-rv-overlay p { margin: 14px 0 0; color: var(--fd-heading); font-size: 16px; font-weight: 600; }
.fd-rv-spinner { display: inline-block; width: 36px; height: 36px; border: 3px solid var(--fd-line-strong); border-top-color: var(--fd-ink); border-radius: 50%; animation: fd-spin .8s linear infinite; }
@keyframes fd-spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .fd-rv-sum-title { padding-bottom: 12px; }
  /* Phones: the summary + pay box come after the items (natural order), not folded */
  .fd-rv .fd-co-side { order: 0; }
}
@media (max-width: 767px) {
  .fd-rv-card { padding: 16px; }
  .fd-rv-promo, .fd-rv-pay { padding-left: 16px; padding-right: 16px; }
  .fd-rv-sum-title { padding-left: 16px; padding-right: 16px; }
}
/* Review summary box (own class: the shipping step's .fd-co-sum styles its <summary> as a header) */
.fd-rv-sum { border: 1px solid var(--fd-line); border-radius: 10px; background: var(--fd-surface); }
.fd-rv-promo summary { margin: 0; padding: 0; }
.fd-rv-sum-title { padding-bottom: 8px; }

/* Was / now prices on cart, checkout and order pages (fd_price_was_html) */
.fd-was { margin-right: 4px; color: var(--fd-muted); font-weight: 400; font-size: .92em; text-decoration: line-through; }
.fd-now { color: var(--fd-sale); }
.fd-was-block { display: block; margin: 2px 0 0; text-align: right; }
/* Narrow checkout summary (shipping step): was / now / tag stacked on the right */
.fd-co-items .fd-co-item-price { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.fd-co-items .fd-co-item-price .fd-was, .fd-co-items .fd-co-item-price .fd-now, .fd-co-items .fd-co-item-price .fd-sale-tag { display: block; width: max-content; margin: 0 0 2px auto; }
.fd-sale-tag { display: inline-block; margin-left: 2px; padding: 1px 6px; border-radius: 3px; background: var(--fd-sale); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; white-space: nowrap; vertical-align: 1px; }
.fd-save-row dt, .fd-save-row dd { color: var(--fd-sale) !important; font-weight: 600; }
/* Sale campaign bar (includes/header.php) */
/* The sticky header (group-navigation.css) sits right under the sticky campaign strip; --fd-camp-h is 0 without a campaign */
.fd-header-shell { top: var(--fd-camp-h, 0px); }
.fd-campaign-bar { position: sticky; top: 0; z-index: 1035; background: var(--fd-sale); color: #fff; font-size: 13.5px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.fd-campaign-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.fd-campaign-row p, .fd-campaign-row strong, .fd-campaign-count { margin: 0; color: #fff; }
.fd-campaign-count { display: inline-block; margin-left: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .92; }
.fd-campaign-row a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 575.98px) {
  /* Phones: keep the sticky strip short (banner + countdown only) */
  .fd-campaign-bar { font-size: 12.5px; }
  .fd-campaign-row { padding-top: 6px; padding-bottom: 6px; line-height: 1.35; }
  .fd-campaign-row a { display: none; }
  .fd-campaign-count { margin-left: 6px; }
}
/* Price / code notices on cart and checkout */
.fd-price-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; border: 1px solid #E8C873; background: #FBF6EA; color: var(--fd-heading); font-size: 14px; line-height: 1.5; }
