/*
Theme Name: Mark Fisher
Theme URI: https://markfisher.co.uk
Author: Mark Fisher
Description: Professional plumbing and bathroom supplies theme for WooCommerce with gold accent design, trade pricing, bulk discounts, and mobile-first responsive layout.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 8.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: limra-plumbing
Tags: woocommerce, e-commerce, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   LIMRA PLUMBING THEME — MASTER CSS
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --gold:         #C9A84C;
  --gold-dark:    #B8960C;
  --gold-light:   #f5f0e0;
  --gold-pale:    #fdf8ec;
  --dark:         #1a1a1a;
  --darker:       #111111;
  --mid:          #2a2a2a;

  --bg:           #f4f4f2;
  --bg-card:      #ffffff;
  --bg-secondary: #f8f8f6;

  --text:         #1a1a1a;
  --text-muted:   #666666;
  --text-light:   #999999;

  --border:       rgba(0,0,0,.08);
  --border-mid:   rgba(0,0,0,.12);

  --green:        #3B6D11;
  --green-bg:     #EAF3DE;
  --blue:         #0C447C;
  --blue-bg:      #E6F1FB;
  --amber:        #633806;
  --amber-bg:     #FAEEDA;

  --radius:       8px;
  --radius-sm:    4px;
  --radius-lg:    12px;

  --shadow:       0 2px 8px rgba(0,0,0,.07);
  --shadow-lg:    0 4px 20px rgba(0,0,0,.12);

  --nav-h:        64px;
  --bar-h:        52px;
  --promo-h:      34px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1 { font-size: 26px; font-weight: 600; line-height: 1.25; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
h4 { font-size: 14px; font-weight: 500; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.gold { color: var(--gold); }
.gold-dark { color: var(--gold-dark); }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 12px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; font-size: 13px; font-weight: 500;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: opacity .15s, transform .1s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark  { background: var(--dark); color: var(--gold); }
.btn-gold  { background: var(--gold); color: var(--darker); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-dark); }
.btn-sm    { padding: 6px 14px; font-size: 11px; }
.btn-lg    { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border: 0.5px solid var(--border-mid); color: var(--text-muted); }

/* ---------- FORM ELEMENTS ---------- */
.form-group   { margin-bottom: 16px; }
.form-label   { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; letter-spacing: .2px; }
.form-control {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  font-size: 13px; background: var(--bg-card); color: var(--text);
  transition: border-color .15s;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- STATUS PILLS ---------- */
.pill { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 10px; font-weight: 500; letter-spacing: .3px; }
.pill-green  { background: var(--green-bg); color: var(--green); }
.pill-blue   { background: var(--blue-bg);  color: var(--blue); }
.pill-amber  { background: var(--amber-bg); color: var(--amber); }
.pill-gold   { background: var(--gold-light); color: #7a5200; }
.pill-dark   { background: var(--dark); color: var(--gold); }

/* ---------- DIVIDERS ---------- */
.divider { height: 0.5px; background: var(--border); }

/* ============================================================
   MOBILE FEATURE FADE STRIP
   Hidden on desktop — shown only on mobile, below the static header.
   Four slides fade in/out continuously via JS.
   ============================================================ */
.mobile-feature-fade {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  .mobile-feature-fade {
    display: block;
    position: relative;
    background: var(--gold);
    height: 34px;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  .mff-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }
  .mff-slide.mff-active {
    opacity: 1;
    pointer-events: auto;
  }
  .mff-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
  }
  .mff-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--darker);
    letter-spacing: .2px;
    white-space: nowrap;
  }
  .mff-text strong {
    font-weight: 700;
  }
}

/* ============================================================
   NAVIGATION — floating header (always visible on scroll)
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark);
    transition: box-shadow .2s ease;
    /* Never allow transforms to hide the header */
    transform: none !important;
}
.site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
/* WP admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

/* Ensure no ancestor container breaks position: sticky.
   IMPORTANT: overflow:hidden creates a new scroll container and silently
   breaks position:sticky on all descendants. Use overflow:clip instead —
   it clips visually without creating a scroll container, so sticky works. */
html, body {
    overflow-x: clip;   /* clips horizontal overflow WITHOUT breaking sticky */
    overflow-y: visible;
}
.site-header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h); padding: 0 24px;
}
.site-logo { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: 1.5px; text-decoration: none; flex-shrink: 0; }
.site-logo em { color: var(--gold); font-style: normal; }
.nav-search-wrap { flex: 1; max-width: 480px; position: relative; }
.nav-search {
  width: 100%; background: #2a2a2a; border: 0.5px solid #444;
  border-radius: var(--radius-sm); padding: 8px 14px 8px 38px;
  color: #fff; font-size: 12px;
}
.nav-search::placeholder { color: #888; }
.nav-search-icon {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  color: #666; font-size: 14px; cursor: pointer;
  background: transparent; border: 0; padding: 4px 8px; border-radius: 3px;
  transition: color .15s, background .15s;
}
.nav-search-icon:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-action-link { color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 5px; text-decoration: none; white-space: nowrap; transition: color .15s; }
.nav-action-link:hover { color: var(--gold); }
.nav-basket-btn {
  background: var(--gold); color: var(--darker); padding: 7px 16px;
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600;
  border: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  text-decoration: none; white-space: nowrap;
}
.nav-basket-btn .basket-count {
  background: var(--darker); color: var(--gold); border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   MEGA MENU — Selco-style 3-level: bar → col1 subcats → col2 grandchildren
   ============================================================ */
.mega-bar {
  background: var(--darker); border-bottom: 0.5px solid #2a2a2a;
  display: flex; flex-wrap: nowrap; overflow: visible; padding: 0 24px;
  min-height: var(--bar-h); height: auto; position: relative; z-index: 100;
  align-items: stretch;
}
.mega-bar::-webkit-scrollbar { height: 0; }

/* Top-level item wrapper */
.mega-item-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.mega-item-wrap:hover > .mega-dropdown { display: flex; }
.mega-item-wrap .mega-dropdown { display: none; }

/* Top-level label */
.mega-item {
  padding: 0 12px; font-size: 11.5px; color: #aaa;
  white-space: normal; word-break: keep-all; hyphens: none;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: var(--bar-h);
  border-bottom: 2px solid transparent; transition: color .15s;
  text-decoration: none; gap: 4px; cursor: pointer;
  line-height: 1.3;
}
.mega-item-wrap:hover > .mega-item,
.mega-item:hover,
.mega-item.active { color: var(--gold); border-bottom-color: var(--gold); }
.mega-item.sale { color: var(--gold); font-weight: 600; }

/* ── Dropdown panel (flex row: col1 + col2) ─────────────── */
.mega-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: row;
  z-index: 999;
  width: max-content;
  min-width: 220px;
}
/* Flip dropdown to the right-aligned when it would overflow the viewport */
.mega-dropdown.flip-left {
  left: auto;
  right: 0;
}
/* Col-2 flips to left of col-1 when flagged */
.mega-dropdown.flip-col2-left {
  flex-direction: row-reverse;
}

/* ── Column shared styles ───────────────────────────────── */
.mega-col { border-right: 0.5px solid var(--border); flex-shrink: 0; }
.mega-col:last-child { border-right: none; }

/* COL 1 — subcategory list */
.mega-col--nav {
  width: max-content;
  min-width: 180px;
  max-width: 280px;
  overflow-y: auto;
  max-height: 420px;
}

/* COL 2 — grandchild panel area */
.mega-col--sub {
  width: max-content;
  min-width: 180px;
  max-width: 280px;
  position: relative;
  overflow-y: auto;
  max-height: 420px;
}

.mega-col-header {
  padding: 10px 16px 6px; font-size: 10px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .6px; font-weight: 600;
  border-bottom: 0.5px solid var(--border); white-space: nowrap;
}

/* ── Col-1 links ────────────────────────────────────────── */
.mega-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px; font-size: 12px; color: var(--text-muted);
  cursor: pointer; transition: background .1s, color .1s;
  text-decoration: none; gap: 8px; white-space: nowrap;
}
.mega-link:hover { background: var(--gold-light); color: var(--gold-dark); }
.mega-link.active { background: var(--gold-light); color: var(--gold-dark); font-weight: 500; }

/* Highlighted state when JS sets it as active */
.mega-link.mega-link--active {
  background: var(--gold-light);
  color: var(--gold-dark);
  font-weight: 500;
}
.mega-link.mega-link--active .mega-link-arrow { color: var(--gold-dark); }

.mega-link-label { flex: 1 1 auto; min-width: 0; }
.mega-link-arrow { flex-shrink: 0; font-size: 13px; color: var(--text-muted); transition: color .1s; }
.mega-link:hover .mega-link-arrow { color: var(--gold-dark); }

/* "View all" link at bottom of column */
.mega-viewall {
  color: var(--gold-dark); font-weight: 600;
  border-top: 0.5px solid var(--border);
  margin-top: 4px; padding-top: 8px;
}
.mega-viewall:hover { color: var(--gold); }

/* ── Col-2 grandchild panels ────────────────────────────── */
/* All panels hidden by default — JS adds .visible to the active one */
.mega-gc-panel { display: none; }
.mega-gc-panel.visible { display: block; }

/* Placeholder shown when col2 is open but nothing is hovered yet */
.mega-gc-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 80px;
  color: var(--text-muted); font-size: 11px;
  font-style: italic; padding: 20px 16px; text-align: center;
}
/* Hide placeholder when a real panel is visible */
.mega-col--sub:has(.mega-gc-panel.visible) .mega-gc-placeholder { display: none; }

/* ── "More ▾" overflow button ───────────────────────────── */
.mega-more-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-left: auto;
  flex-shrink: 0;
}
.mega-more-btn {
  padding: 0 14px; font-size: 11.5px; color: #aaa;
  white-space: nowrap; display: none; align-items: center; height: var(--bar-h);
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .15s; gap: 4px;
}
.mega-more-btn:hover { color: var(--gold); }
.mega-more-wrap:hover .mega-more-btn { color: var(--gold); border-bottom-color: var(--gold); }
.mega-more-wrap:hover .mega-dropdown  { display: flex; }

/* "More" dropdown: vertical single-column list */
.mega-more-wrap .mega-dropdown {
  left: auto; right: 0;
  min-width: 200px;
  flex-direction: column;
}
/* Inside More: col1 takes full width, col2 hides */
.mega-more-wrap .mega-col--nav  { min-width: 200px; max-width: 240px; border-right: none; }
.mega-more-wrap .mega-col--sub  { display: none; }

/* Mobile nav */
/* Static permanent mobile header — fixed, always visible on mobile */
.mobile-header-static {
    display: none;
    background: var(--dark);
    padding: 0 16px;
    height: 45px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    position: relative; /* Scrolls with the page — disappears on scroll-down */
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
}
/* Show static header only on mobile */
@media (max-width: 768px) {
    .mobile-header-static {
        display: flex !important;
    }
    /* No top padding needed — static header is in normal flow */
    body {
        padding-top: 0;
    }
}
/* Shared logo style for both mobile headers */
.mobile-header-logo {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}
.mobile-header-logo em {
    color: var(--gold);
    font-style: normal;
}
/* Mobile floating header — hidden on desktop, revealed by JS on scroll-up */
.mobile-header {
    display: none;
    background: var(--dark);
    height: var(--nav-h);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    /* NOTE: no transform here — mobile media query sets translateY(-100%) */
}
.mobile-menu-btn { color: #ccc; font-size: 22px; background: none; border: none; cursor: pointer; }
.mobile-basket-btn { background: var(--gold); color: var(--darker); padding: 6px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; border: none; cursor: pointer; }
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; }
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;                 /* Use dynamic viewport on mobile */
    background: var(--dark);
    z-index: 2001;
    transition: left .3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 16px;
    overscroll-behavior: contain;
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-overlay.open { display: block; }
.drawer-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: #888; font-size: 22px; cursor: pointer; }
.drawer-nav-item { display: block; padding: 13px 0; font-size: 14px; color: #ccc; border-bottom: 0.5px solid #2a2a2a; text-decoration: none; }
.drawer-nav-item:hover { color: var(--gold); }

/* Bottom mobile nav */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); border-top: 0.5px solid #2a2a2a; z-index: 900; padding: 6px 0 env(safe-area-inset-bottom); }
.mbn-inner { display: flex; justify-content: space-around; align-items: center; }
.mbn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; text-decoration: none; padding: 6px 8px; flex: 1; }
.mbn-icon { font-size: 20px; color: #777; height: 28px; display: flex; align-items: center; justify-content: center; }
.mbn-label { font-size: 9px; color: #777; letter-spacing: .2px; line-height: 1; }
.mbn-item.active .mbn-icon,
.mbn-item.active .mbn-label { color: var(--gold); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 10px 24px; font-size: 11px; color: var(--text-muted); background: var(--bg-secondary); border-bottom: 0.5px solid var(--border); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span.sep { margin: 0 6px; }
.breadcrumb span.current { color: var(--text); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header { background: var(--bg-secondary); border-bottom: 0.5px solid var(--border); padding: 20px 24px; }
.page-header h1 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.page-header p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero banner */
.hero-section { padding: 16px 24px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.hero-banner {
  background: var(--dark); border-radius: var(--radius); padding: 22px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border: 0.5px solid #333; cursor: pointer; transition: border-color .2s; min-height: 130px;
}
.hero-banner:hover { border-color: var(--gold); }
.hero-banner.featured { background: linear-gradient(135deg, #1a1a1a 60%, #2a1e05); border-color: rgba(201,168,76,.4); }
.hero-grid .hero-banner.featured { grid-column: span 2; }
.hb-tag { font-size: 10px; color: var(--gold); font-weight: 600; letter-spacing: .6px; margin-bottom: 5px; }
.hb-title { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 5px; }
.hb-sub { font-size: 11px; color: #999; }
.hb-btn { display: inline-block; font-size: 11px; background: var(--gold); color: var(--darker); padding: 5px 13px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 10px; }
.hb-visual { width: 75px; height: 75px; background: #2a2a2a; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }

/* Category icons */
.img-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; padding: 20px 24px; }
.img-cat { text-align: center; cursor: pointer; }
.img-cat-box { width: 100%; aspect-ratio: 1; background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 6px; transition: border-color .15s; }
.img-cat:hover .img-cat-box { border-color: var(--gold); }
.img-cat p { font-size: 11px; color: var(--text-muted); line-height: 1.3; }

/* Brands bar */
.brands-section { background: var(--bg-secondary); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 14px 24px; }
.brands-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }
.brands-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.brands-track::-webkit-scrollbar { height: 0; }
.brand-chip { min-width: 90px; height: 38px; background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-muted); cursor: pointer; flex-shrink: 0; transition: border-color .15s, color .15s; }
.brand-chip:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Section */
.home-section { padding: 20px 24px; }
.section-hdr { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.section-title { font-size: 18px; font-weight: 600; }
.section-link { font-size: 12px; color: var(--gold-dark); cursor: pointer; }
.section-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }

/* Feature strips */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 24px; background: var(--bg-secondary); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.feature-item { display: flex; align-items: center; gap: 12px; }
.feature-icon { width: 38px; height: 38px; background: var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.feature-text h4 { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.feature-text p { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.products-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.products-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.prod-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.prod-card:hover { box-shadow: var(--shadow-lg); }
.prod-img { height: 150px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 0.5px solid var(--border); overflow: hidden; }
.prod-img img { object-fit: contain; width: 100%; height: 100%; padding: 8px; }
.prod-img .placeholder { font-size: 30px; color: var(--text-light); }
.prod-img .wishlist-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; transition: border-color .15s, color .15s, background .15s; }
.prod-img .wishlist-btn:hover { border-color: var(--gold); color: var(--gold); }
.prod-img .wishlist-btn.active { color: #c0392b; background: #fdecea; border-color: #f5c6cb; }
.prod-badge { position: absolute; top: 8px; left: 8px; font-size: 9px; background: var(--gold-light); color: #7a5200; padding: 2px 7px; border-radius: 3px; font-weight: 600; }
.prod-badge.sale { background: var(--amber-bg); color: var(--amber); }

.prod-body { padding: 11px; flex: 1; display: flex; flex-direction: column; }
.prod-name { font-size: 12px; font-weight: 500; color: var(--text); margin-bottom: 4px; line-height: 1.35; }
.prod-sku { font-size: 10px; color: var(--text-light); margin-bottom: 6px; }
.prod-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.prod-price { font-size: 17px; font-weight: 600; color: var(--gold-dark); display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.prod-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }

/* WooCommerce sale price: <del>...</del> <ins>...</ins>
   Put <ins> (new price) FIRST (left, bold) and <del> (old price) SECOND (right, muted strikethrough) */
.prod-price del {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.7;
    order: 2;
}
.prod-price del .woocommerce-Price-amount {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}
.prod-price ins {
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-dark);
    background: none;
    order: 1;
}
.prod-price ins .woocommerce-Price-amount {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}
.prod-stock { font-size: 10px; color: var(--green); margin-bottom: 6px; }
.prod-stock.low { color: var(--amber); }
.prod-stock.oos { color: #c0392b; }

/* fulfil toggle on card */
.card-fulfil { display: flex; gap: 8px; margin: 6px 0; }
.cf-opt { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--text-muted); cursor: pointer; }
.cf-radio { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--border-mid); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cf-radio.sel { border-color: var(--gold); }
.cf-radio.sel::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* bulk toggle on card */
.bulk-toggle { font-size: 10px; color: var(--gold-dark); cursor: pointer; text-decoration: underline; margin: 4px 0; }
.bulk-mini { border: 0.5px solid var(--border); border-radius: 3px; overflow: hidden; margin-top: 5px; display: none; }
.bulk-mini.show { display: block; }
.bm-row { display: flex; justify-content: space-between; padding: 3px 7px; font-size: 10px; border-bottom: 0.5px solid var(--border); }
.bm-row:last-child { border-bottom: none; }
.bm-row.hdr { background: var(--bg-secondary); font-weight: 500; color: var(--text-muted); }
.bm-row .p { color: var(--gold-dark); font-weight: 600; }

.add-cart-btn { width: 100%; background: var(--dark); color: var(--gold); border: none; padding: 8px; font-size: 11px; cursor: pointer; border-radius: var(--radius-sm); margin-top: auto; transition: background .15s; }
.add-cart-btn:hover { background: #2a2a2a; }

/* ============================================================
   CATEGORY / SUBCATEGORY PAGE
   ============================================================ */
.subcat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 20px 24px; }
.subcat-tile { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; cursor: pointer; transition: border-color .15s; text-decoration: none; }
.subcat-tile:hover { border-color: var(--gold); }
.subcat-icon { font-size: 28px; margin-bottom: 8px; }
.subcat-tile h4 { font-size: 12px; margin-bottom: 2px; }
.subcat-tile small { font-size: 10px; color: var(--text-muted); }

/* Filter + grid layout */
.filter-layout { display: grid; grid-template-columns: 210px 1fr; }
.sidebar { border-right: 0.5px solid var(--border); padding: 16px; background: var(--bg-secondary); min-height: 400px; }
.filter-section { border-bottom: 0.5px solid var(--border); padding-bottom: 12px; margin-bottom: 12px; }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: 11px; font-weight: 600; color: var(--text); letter-spacing: .4px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.filter-section-title a { color: var(--gold-dark); font-size: 10px; font-weight: 400; }
.filter-opt { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; cursor: pointer; }
.filter-check { width: 14px; height: 14px; border: 1px solid var(--border-mid); border-radius: 3px; flex-shrink: 0; background: var(--bg-card); display: flex; align-items: center; justify-content: center; }
.filter-check.on { background: var(--gold); border-color: var(--gold); }
.filter-check.on::after { content: '✓'; font-size: 9px; color: var(--darker); }
.filter-opt span { font-size: 12px; color: var(--text); }
.filter-opt small { font-size: 10px; color: var(--text-muted); margin-left: auto; }

.cat-main { padding: 16px 20px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: 12px; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select { border: 0.5px solid var(--border-mid); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 12px; background: var(--bg-card); color: var(--text); }
.view-btns button { padding: 5px 10px; border: 0.5px solid var(--border-mid); background: var(--bg-card); color: var(--text-muted); font-size: 13px; cursor: pointer; }
.view-btns button.active { background: var(--dark); color: var(--gold); }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Active filters */
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.active-filter-tag { display: flex; align-items: center; gap: 5px; background: var(--gold-light); color: #7a5200; border-radius: 20px; padding: 3px 10px; font-size: 11px; }
.active-filter-tag button { background: none; border: none; color: inherit; cursor: pointer; font-size: 13px; padding: 0; line-height: 1; }

/* ============================================================
   PRODUCT PAGE (single)
   ============================================================ */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; padding: 20px 24px; align-items: start; }
.prod-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 100%; }
.main-img { height: 360px; background: var(--bg-secondary); border: 0.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.main-img img { object-fit: contain; width: 100%; height: 100%; padding: 20px; }

/* Thumbnail carousel */
.thumb-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}
.thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;           /* Firefox: hide scrollbar */
    -ms-overflow-style: none;        /* IE/old Edge */
    padding: 2px;                    /* so active-border isn't clipped */
    flex: 1 1 auto;
    min-width: 0;
}
.thumbs::-webkit-scrollbar { display: none; }  /* Chrome/Safari: hide scrollbar */
.thumb {
    width: 68px;
    height: 68px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .15s;
}
.thumb:hover { border-color: var(--gold); }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.thumb img { object-fit: contain; width: 100%; height: 100%; padding: 4px; }

.thumb-nav {
    flex-shrink: 0;
    width: 30px;
    height: 68px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 22px;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s, color .15s;
    padding: 0;
}
.thumb-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--darker); }
.thumb-nav:disabled { opacity: .35; cursor: default; background: var(--bg-secondary); color: var(--text-muted); }

/* Hide arrows if all thumbs fit without scrolling */
.thumb-carousel.thumb-carousel-fits .thumb-nav { display: none; }
.thumb.active { border-color: var(--gold); }

.prod-panel { display: flex; flex-direction: column; gap: 14px; }
.prod-panel-title { font-size: 22px; font-weight: 600; line-height: 1.3; }
.prod-panel-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 14px; }
.stars { color: var(--gold); font-size: 13px; }
.stars span { color: var(--text-muted); font-size: 11px; }
.price-row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.big-price { font-size: 30px; font-weight: 700; color: var(--gold-dark); }
.save-pill { background: var(--green-bg); color: var(--green); padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 500; }

.section-label { font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 8px; }

/* Fulfil toggle on product */
.fulfil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ft-card { border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; background: var(--bg-card); transition: border-color .15s; }
.ft-card.sel { border-color: var(--gold); background: var(--gold-pale); }
.ft-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.ft-radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-card.sel .ft-radio { border-color: var(--gold); }
.ft-card.sel .ft-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ft-title { font-size: 13px; font-weight: 600; }
.ft-sub { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.ft-stock { font-size: 11px; border-top: 0.5px solid var(--border); padding-top: 7px; }
.ft-stock .units { color: var(--green); font-weight: 600; }
.ft-stock .ship { color: var(--gold-dark); }

/* Bulk pricing on product */
.bulk-section { background: var(--bg-secondary); border: 0.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.bulk-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bulk-section-head p { font-size: 13px; font-weight: 600; }
.bulk-section-head a { font-size: 11px; color: var(--gold-dark); }
.bulk-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.bulk-tbl th { text-align: left; padding: 6px 8px; font-weight: 600; font-size: 11px; color: var(--text-muted); background: var(--bg-card); border-bottom: 0.5px solid var(--border); }
.bulk-tbl td { padding: 6px 8px; border-bottom: 0.5px solid var(--border); }
.bulk-tbl tr:last-child td { border-bottom: none; }
.bulk-tbl td.hi { color: var(--gold-dark); font-weight: 700; }
.bulk-tbl tr.active-row td { background: var(--gold-pale); }

/* Qty selector */
.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-wrap { display: flex; align-items: center; border: 1px solid var(--border-mid); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 34px; height: 38px; background: var(--bg-secondary); border: none; font-size: 18px; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--gold-light); }
.qty-input { width: 48px; height: 38px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; font-weight: 600; background: var(--bg-card); color: var(--text); }

/* Product tabs */
.prod-tabs {
    border-top: 0.5px solid var(--border);
    margin-top: 24px;
}
.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    padding: 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
    transition: color .15s, border-color .15s;
    position: relative;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
    color: var(--darker);
    border-bottom-color: var(--gold);
    font-weight: 600;
}
.tab-panel { padding: 24px; display: none; }
.tab-panel.active { display: block; }

/* Mobile — tighter, full scrollable bar with active indicator */
@media (max-width: 768px) {
    .tab-nav { padding: 0 12px; }
    .tab-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
    .tab-panel { padding: 18px 14px; }
}
@media (max-width: 400px) {
    .tab-btn {
        padding: 12px 12px;
        font-size: 12px;
    }
}
.specs-table { width: 100%; font-size: 13px; }
.specs-table tr:nth-child(even) td { background: var(--bg-secondary); }
.specs-table td { padding: 9px 12px; border-bottom: 0.5px solid var(--border); }
.specs-table td:first-child { font-weight: 500; width: 40%; color: var(--text-muted); }

/* ============================================================
   BASKET / CHECKOUT
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; padding: 20px 24px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-bottom: 0.5px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-img { width: 80px; height: 80px; background: var(--bg-secondary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; flex-shrink: 0; }
.cart-img img { object-fit: contain; width: 100%; height: 100%; padding: 4px; }
.cart-info h4 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.cart-info .sku { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.cart-info .price-each { font-size: 12px; color: var(--text-muted); }
.cart-actions { display: flex; align-items: center; gap: 10px; flex-direction: column; text-align: right; }
.cart-total { font-size: 15px; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.cart-remove { font-size: 11px; color: var(--text-muted); cursor: pointer; background: none; border: none; text-decoration: underline; }

.order-summary { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: 70px; }
.order-summary h3 { margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 0.5px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-weight: 700; font-size: 16px; }
.summary-row.total span:last-child { color: var(--gold-dark); }

.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 16px 0; }
.checkout-step { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
.step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-secondary); border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.checkout-step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--darker); }
.checkout-step.done .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-sep { width: 40px; height: 1px; background: var(--border-mid); }

/* ============================================================
   WISHLIST
   ============================================================ */
.wishlist-table { width: 100%; }
.wishlist-table th { text-align: left; padding: 10px 14px; font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: .3px; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.wishlist-table td { padding: 12px 14px; border-bottom: 0.5px solid var(--border); font-size: 13px; vertical-align: middle; }
.wl-img { width: 60px; height: 60px; background: var(--bg-secondary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.wl-img img { object-fit: contain; width: 100%; height: 100%; padding: 4px; }

/* ============================================================
   MY ACCOUNT
   ============================================================ */
.account-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 500px; }
.account-sidebar { background: var(--bg-secondary); border-right: 0.5px solid var(--border); padding: 20px 14px; }
.account-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #7a5200; margin-bottom: 10px; }
.account-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.account-type { font-size: 11px; color: var(--text-muted); }
.account-nav { margin-top: 16px; }
.account-nav-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text-muted); cursor: pointer; margin-bottom: 2px; text-decoration: none; }
.account-nav-item:hover { background: var(--bg-card); color: var(--text); }
.account-nav-item.active { background: var(--gold-light); color: #7a5200; font-weight: 500; }
.account-content { padding: 20px 24px; }
.account-content h2 { margin-bottom: 16px; }
.order-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-card-num { font-size: 13px; font-weight: 600; }
.order-card-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.order-card-foot { display: flex; justify-content: space-between; align-items: center; }
.order-card-date { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   ORDER CONFIRMATION
   ============================================================ */
.confirm-wrap { text-align: center; max-width: 560px; margin: 0 auto 24px; }
.confirm-icon { width: 60px; height: 60px; background: var(--green-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 700px; margin: 0 auto 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.contact-icon { width: 42px; height: 42px; background: var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ============================================================
   404
   ============================================================ */
.error-page { text-align: center; padding: 60px 24px; }
.error-num { font-size: 90px; font-weight: 800; color: var(--gold); line-height: 1; }
.error-page h1 { margin: 14px 0 10px; }
.error-page p { max-width: 380px; margin: 0 auto 24px; color: var(--text-muted); }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.track-timeline { position: relative; padding-left: 32px; }
.track-step { position: relative; margin-bottom: 24px; }
.track-step::before { content: ''; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--border-mid); border: 2px solid var(--bg-card); box-shadow: 0 0 0 2px var(--border-mid); }
.track-step.done::before { background: var(--green); box-shadow: 0 0 0 2px var(--green-bg); }
.track-step.active::before { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-light); }
.track-line { position: absolute; left: -18px; top: 18px; bottom: -24px; width: 1px; background: var(--border); }
.track-step:last-child .track-line { display: none; }
.track-step-title { font-size: 13px; font-weight: 600; }
.track-step-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.track-step-detail { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   RETURNS & REFUNDS / STATIC PAGES
   ============================================================ */
.static-content { max-width: 800px; margin: 0 auto; padding: 24px; }
.static-content h2 { font-size: 18px; margin: 24px 0 10px; }
.static-content h3 { font-size: 15px; margin: 18px 0 8px; }
.static-content p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.7; }
.static-content ul { padding-left: 20px; margin-bottom: 10px; }
.static-content ul li { font-size: 13px; color: var(--text-muted); margin-bottom: 5px; list-style: disc; line-height: 1.6; }

/* ============================================================
   TRADE ACCOUNTS
   ============================================================ */
.trade-hero { background: linear-gradient(135deg, var(--dark) 60%, #2a1e05); padding: 48px 24px; text-align: center; }
.trade-hero h1 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.trade-hero p { color: #aaa; font-size: 14px; max-width: 500px; margin: 0 auto 24px; }
.trade-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px; }
.trade-benefit { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.trade-benefit .icon { font-size: 32px; margin-bottom: 10px; }
.trade-benefit h3 { margin-bottom: 6px; }
.trade-benefit p { font-size: 12px; color: var(--text-muted); }
.trade-form-wrap { max-width: 640px; margin: 0 auto; padding: 0 24px 32px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero { background: var(--dark); padding: 48px 24px; position: relative; overflow: hidden; }
.about-hero h1 { color: #fff; font-size: 28px; margin-bottom: 10px; max-width: 500px; }
.about-hero p { color: #aaa; font-size: 13px; max-width: 480px; }
.about-hero .gold-accent { color: var(--gold); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); background: var(--bg-secondary); }
.stat-item { padding: 20px; text-align: center; border-right: 0.5px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--gold-dark); }
.stat-label { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.limra-pagination { display:flex; justify-content:center; align-items:center; gap:4px; margin-top:28px; padding-top:20px; border-top:0.5px solid var(--border); flex-wrap:wrap; }
.limra-pagination ul { display:flex; gap:4px; list-style:none; flex-wrap:wrap; }
.limra-pagination ul li { list-style:none; }
.limra-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 8px; border:0.5px solid var(--border-mid); border-radius:4px; font-size:12px; color:var(--text); text-decoration:none; background:var(--bg-card); transition:background .15s; }
.limra-pagination .page-numbers:hover { border-color:var(--gold); color:var(--gold-dark); }
.limra-pagination .page-numbers.current { background:var(--dark); color:var(--gold); border-color:var(--dark); font-weight:600; }
.limra-pagination .page-numbers.prev,
.limra-pagination .page-numbers.next { background:transparent; font-size:14px; }

/* Sidebar open on mobile */
@media (max-width:768px) {
    .sidebar.open { display:block !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--darker); color: #ccc; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 36px 24px; border-bottom: 0.5px solid #2a2a2a; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.footer-brand em { color: var(--gold); font-style: normal; }
.footer-desc { font-size: 12px; color: #888; line-height: 1.6; margin-bottom: 14px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-link { display: block; font-size: 12px; color: #888; margin-bottom: 7px; text-decoration: none; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { padding: 14px 24px; display: flex; justify-content: space-between; font-size: 11px; color: #555; flex-wrap: wrap; gap: 8px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { background: #2a2a2a; border-radius: var(--radius-sm); padding: 3px 8px; font-size: 10px; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .site-header-inner { padding: 0 16px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid .hero-banner.featured { grid-column: span 2; }
  .img-cats { grid-template-columns: repeat(6, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .checkout-layout { grid-template-columns: 1fr 300px; }
  .product-layout { grid-template-columns: 1fr 340px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .trade-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* nav */
  .site-header { display: none; }
  .mobile-header {
      display: flex;
      position: fixed;       /* Fixed so it slides in from top on scroll-up */
      top: 0;
      left: 0;
      right: 0;
      box-shadow: none;
      transform: translateY(-100%);  /* Hidden — JS reveals on scroll up */
      transition: transform 0.2s ease; /* Smooth slide-in on scroll-up */
      z-index: 1000;
  }
  /* Revealed when user scrolls up — added by JS — slides in smoothly */
  .mobile-header.mh-visible {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(0,0,0,.3);
	  height: 45px;
  }
  .mega-bar { display: none; }
  .mobile-bottom-nav { display: block; }

  /* Static header is in-flow; floating header is fixed. Only bottom padding needed. */
  body { padding-bottom: 60px; }

  /* hero */
  .hero-section { padding: 12px 14px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .hero-banner.featured { grid-column: span 1; }

  /* categories */
  .img-cats { grid-template-columns: repeat(4, 1fr); padding: 14px; gap: 8px; }
  .subcat-grid { grid-template-columns: repeat(2, 1fr); padding: 14px; }

  /* products */
  .products-grid, .products-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  /* filter layout on mobile */
  .filter-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 0.5px solid var(--border); display: none; }
  .sidebar.open { display: block; }

  /* product page */
  .product-layout { grid-template-columns: 1fr; padding: 14px; }
  .fulfil-grid { grid-template-columns: 1fr; }
  .main-img { height: 260px; }

  /* checkout */
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .confirm-grid { grid-template-columns: 1fr; }

  /* account */
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { border-right: none; border-bottom: 0.5px solid var(--border); }

  /* contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* pages */
  .static-content { padding: 16px; }
  .breadcrumb { padding: 8px 14px; }
  .page-header { padding: 14px; }
  .home-section, .cat-main { padding: 14px; }
  .brands-section { padding: 12px 14px; }
  .feature-strip { display: none; }

  /* footer */
  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 10px; }
  .footer-bottom > span { color: #aaa; }
  .footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
  .footer-badge { font-size: 11px; color: #ccc; padding: 4px 10px; }

  /* about / trade */
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .trade-benefits-grid { grid-template-columns: 1fr; padding: 14px; }
  .trade-hero { padding: 32px 14px; }
  .about-hero { padding: 32px 14px; }

  /* misc */
  h1 { font-size: 20px; }
  h2 { font-size: 17px; }
  .container { padding: 0 14px; }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-notices-wrapper { padding: 0 24px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { border-radius: var(--radius-sm); padding: 12px 16px; margin: 12px 0; font-size: 13px; }
.woocommerce-message { background: var(--green-bg); border-left: 3px solid var(--green); color: var(--green); }
.woocommerce-error { background: #fdecea; border-left: 3px solid #c0392b; color: #c0392b; }
.woocommerce-info { background: var(--blue-bg); border-left: 3px solid var(--blue); color: var(--blue); }

/* Remove default WC styles that conflict */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { 
  background: var(--dark); color: var(--gold); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; padding: 10px 20px; border: none;
  transition: opacity .15s; 
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background: var(--gold); color: var(--darker); }

/* Stars */
.woocommerce .star-rating span::before { color: var(--gold); }
.woocommerce .star-rating { color: var(--gold); }

/* ============================================================
   MEGA MENU FIX — kept for reference; actual rules are above
   ============================================================ */

/* Pagination */
.limra-pagination { display:flex;justify-content:center;align-items:center;gap:4px;margin-top:28px;padding-top:16px;border-top:0.5px solid var(--border); }
.limra-pagination .page-numbers { display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:0.5px solid var(--border);border-radius:var(--radius-sm);font-size:12px;color:var(--text);text-decoration:none;padding:0 10px;background:var(--bg-card);transition:background .15s,color .15s; }
.limra-pagination .page-numbers:hover { background:var(--gold-light);color:var(--gold-dark); }
.limra-pagination .page-numbers.current { background:var(--dark);color:var(--gold);border-color:var(--dark); }
.limra-pagination .page-numbers.dots { border:none;background:none; }

/* Wishlist btn — red when active, gold on hover */
.wishlist-btn { background:var(--bg-card);border:1px solid var(--border-mid);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .15s,color .15s,background .15s; }
.wishlist-btn:hover { border-color:var(--gold);color:var(--gold); }
.wishlist-btn.active { color: #c0392b; background: #fdecea; border-color: #f5c6cb; }

/* prod-name as link */
a.prod-name { display:block;color:var(--text);text-decoration:none;font-size:12px;font-weight:500;margin-bottom:4px;line-height:1.35; }
a.prod-name:hover { color:var(--gold-dark); }

/* Account page content area styling */
.woocommerce-MyAccount-content h2 { font-size:18px;margin-bottom:16px; }
.woocommerce-MyAccount-content p { font-size:13px;color:var(--text-muted);margin-bottom:10px;line-height:1.6; }
.woocommerce-MyAccount-content table { width:100%;border-collapse:collapse;font-size:13px; }
.woocommerce-MyAccount-content table th { padding:9px 12px;text-align:left;border-bottom:1px solid var(--border);font-size:11px;color:var(--text-muted);background:var(--bg-secondary); }
.woocommerce-MyAccount-content table td { padding:10px 12px;border-bottom:0.5px solid var(--border);vertical-align:middle; }
.woocommerce-MyAccount-content .button { background:transparent;border:0.5px solid var(--border-mid);color:var(--text-muted);padding:5px 12px;border-radius:4px;font-size:11px;text-decoration:none;display:inline-block; }
.woocommerce-MyAccount-content .button:hover { border-color:var(--gold);color:var(--gold-dark); }

/* Form fields in account */
.woocommerce-form__label { font-size:12px;font-weight:500;color:var(--text-muted);margin-bottom:4px;display:block; }
.woocommerce-Input { width:100%;padding:10px 13px;border:1px solid var(--border-mid);border-radius:4px;font-size:13px;font-family:inherit;background:var(--bg-card);color:var(--text); }
.woocommerce-Input:focus { outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,168,76,.1); }
.woocommerce-Button { background:var(--dark);color:var(--gold);border:none;padding:10px 20px;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit; }
.woocommerce-Button:hover { opacity:.88; }

/* Filter sidebar open on mobile */
@media (max-width: 768px) {
    .sidebar.open { display:block; }
    .mega-item-wrap { height:auto; }
}

/* ============================================================
   v1.3.0 ADDITIONS
   ============================================================ */

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); width: 100%; }
.hero-slide {
  display: grid; grid-template-columns: 2fr 1fr; gap: 10px;
  flex: 0 0 100%; min-width: 100%;
}
/* Force slide children to one grid column each — overrides any legacy span rule */
.hero-slide > .hero-banner { grid-column: auto; min-width: 0; }
.hero-slide > .hero-banner.featured { grid-column: 1 / 2; }
.hero-slide > .hero-banner:not(.featured) { grid-column: 2 / 3; }
.hero-dots {
  display: flex; gap: 6px; justify-content: center;
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
  transition: background .2s, width .2s;
}
.hero-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* Desktop: show desktop track/dots; hide mobile track/dots/arrows */
.hero-track-mobile { display: none; }
.hero-dots-mobile  { display: none; }
.hero-arrow        { display: none; }

@media (max-width: 768px) {
  /* Hide desktop track & dots */
  .hero-track-desktop { display: none !important; }
  .hero-dots-desktop  { display: none !important; }

  /* Full-bleed — strip all padding/margin/radius from section and carousel */
  .hero-section { padding: 0 !important; margin: 0 !important; }
  .hero-carousel { border-radius: 0; width: 100%; overflow: hidden; }

  /* Mobile track — full width, each slide is exactly 100% */
  .hero-track-mobile { display: flex; width: 100%; }

  /* Slide: switch from grid to block so no grid gap creates whitespace */
  .hero-slide-mobile {
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
  }

  /* Banner: edge-to-edge, all borders/radius stripped */
  .hero-slide-mobile .hero-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    min-height: 190px;
    padding: 26px 20px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
  }

  /* Bigger text & visual inside mobile banner */
  .hero-slide-mobile .hb-title  { font-size: 21px; }
  .hero-slide-mobile .hb-sub    { font-size: 12.5px; }
  .hero-slide-mobile .hb-visual { width: 90px; height: 90px; font-size: 36px; }

  /* Mobile dots */
  .hero-dots-mobile { display: flex; bottom: 8px; }

  /* Arrow buttons */
  .hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,.5);
    border: 0.5px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background .2s;
  }
  .hero-arrow:active { background: var(--gold); color: var(--darker); }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
}



/* ---------- Shop by category — 7-col grid for 14 items in 2 rows ---------- */
.img-cats-7col { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1100px) { .img-cats-7col { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 768px)  { .img-cats-7col { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px)  { .img-cats-7col { grid-template-columns: repeat(3, 1fr); } }
.img-cat-sale   { background: linear-gradient(135deg, #fff5e0, #f5d97a); border-color: rgba(201,168,76,.5) !important; color: #7a5200; }
.img-cat-brands { background: linear-gradient(135deg, #f5f0e0, #e8dcb6); border-color: rgba(201,168,76,.5) !important; color: #7a5200; }

/* ---------- Brands — single row, no scroll, truncated ---------- */
.brands-row {
  display: flex; gap: 10px; flex-wrap: nowrap; overflow: hidden;
  align-items: center;
}
.brands-row .brand-chip { flex: 0 1 auto; }
.brand-chip-more {
  background: var(--dark) !important; color: var(--gold) !important;
  border-color: var(--dark) !important;
}
.brand-chip-more:hover { background: var(--mid) !important; color: var(--gold) !important; }
@media (max-width: 768px) {
  .brands-row { overflow-x: auto; flex-wrap: nowrap; }
  .brands-row::-webkit-scrollbar { height: 0; }
}

/* ---------- Product card variant select ---------- */
.card-variant-select {
  width: 100%; padding: 5px 8px; font-size: 11px;
  border: 0.5px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text);
  margin-bottom: 6px; cursor: pointer;
}
.card-variant-select:focus { border-color: var(--gold); outline: none; }

/* ---------- Product card stock info ---------- */
.card-stock-info { margin: 4px 0 6px; min-height: 14px; }
.card-stock-line { font-size: 10px; color: var(--green); line-height: 1.35; margin: 0; }
.card-stock-line.card-stock-delivery { color: var(--blue); }
.card-stock-line .cs-num { font-weight: 700; }
.card-stock-line small { display: inline-block; font-size: 9px; }

/* ---------- Card fulfil — clickable labels ---------- */
.cf-opt { cursor: pointer; user-select: none; }
.cf-opt.sel { color: var(--gold-dark); font-weight: 600; }

/* ---------- Add-to-cart OOS state ---------- */
.add-cart-btn.oos {
  background: #555; color: #ccc; opacity: .65; cursor: not-allowed;
}
.add-cart-btn.oos:hover { background: #555; }
.add-cart-btn:disabled { cursor: not-allowed; }

/* ---------- Cart page tweaks ---------- */
.cart-actions { gap: 8px; }
.cart-remove { color: #c0392b; }
.cart-remove:hover { color: #a02818; }

/* ---------- Active filter chip ---------- */
.active-filter-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gold-light); color: #7a5200;
  padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 500;
}

/* ---------- Mega bar active highlighting ---------- */
.mega-item.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
  font-weight: 600;
  background: rgba(201,168,76,.08);
}

/* ---------- WooCommerce default content polish (my-account, cart, checkout) ---------- */
.limra-wc-wrap { padding: 24px; max-width: 1400px; margin: 0 auto; }

/* My account WooCommerce default tables/forms */
.account-content .woocommerce-MyAccount-content,
.account-content > * { font-size: 13px; }
.account-content table.shop_table,
.limra-wc-wrap table.shop_table {
  width: 100%; border-collapse: collapse; margin-bottom: 16px;
  background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.account-content table.shop_table th,
.limra-wc-wrap table.shop_table th {
  text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 600;
  color: var(--text-muted); background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: .3px;
}
.account-content table.shop_table td,
.limra-wc-wrap table.shop_table td {
  padding: 12px 14px; font-size: 13px; border-bottom: 0.5px solid var(--border); vertical-align: middle;
}
.account-content table.shop_table tr:last-child td,
.limra-wc-wrap table.shop_table tr:last-child td { border-bottom: none; }

.account-content .button,
.account-content button[type="submit"],
.limra-wc-wrap .button,
.limra-wc-wrap button[type="submit"],
.woocommerce-Button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; font-size: 13px; font-weight: 500;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--dark); color: var(--gold);
  text-decoration: none; transition: opacity .15s;
}
.account-content .button:hover,
.account-content button[type="submit"]:hover,
.limra-wc-wrap .button:hover,
.limra-wc-wrap button[type="submit"]:hover,
.woocommerce-Button:hover { opacity: .9; }

.account-content input[type="text"],
.account-content input[type="email"],
.account-content input[type="password"],
.account-content input[type="tel"],
.account-content input[type="number"],
.account-content textarea,
.account-content select,
.limra-wc-wrap input[type="text"],
.limra-wc-wrap input[type="email"],
.limra-wc-wrap input[type="password"],
.limra-wc-wrap input[type="tel"],
.limra-wc-wrap input[type="number"],
.limra-wc-wrap textarea,
.limra-wc-wrap select {
  width: 100%; padding: 9px 12px; font-size: 13px;
  border: 0.5px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text);
  font-family: inherit;
}
.account-content input:focus,
.account-content textarea:focus,
.account-content select:focus,
.limra-wc-wrap input:focus,
.limra-wc-wrap textarea:focus,
.limra-wc-wrap select:focus { outline: none; border-color: var(--gold); }

.account-content label,
.limra-wc-wrap label { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; }

.account-content .form-row,
.limra-wc-wrap .form-row { margin-bottom: 12px; }

.woocommerce-MyAccount-navigation { display: none; } /* we use our custom sidebar */

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  background: var(--bg-card); border-left: 3px solid var(--gold);
  padding: 12px 14px; margin-bottom: 14px; border-radius: var(--radius-sm);
  font-size: 13px;
}
.woocommerce-error { border-left-color: #c0392b; color: #c0392b; }
.woocommerce-message { border-left-color: var(--green); }

/* Checkout page */
.woocommerce-checkout #order_review,
.woocommerce-checkout-review-order-table {
  background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 16px;
}

.woocommerce form .form-row {
  display: block; margin-bottom: 12px;
}

/* Login form on My account */
.woocommerce-form-login,
.woocommerce-form-register {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: var(--radius); padding: 24px; max-width: 420px; margin: 0 auto;
}


/* Checkout layout cols */
.checkout-fields { min-width: 0; }
.checkout-summary-col { min-width: 0; }
.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) {
  .col2-set { grid-template-columns: 1fr; }
}
.col2-set h3 { margin-bottom: 10px; font-size: 14px; }


/* ============================================================
   CART v2 — matches new design (v1.3.4)
   ============================================================ */
.checkout-steps-wrap {
    padding: 22px 24px 20px;
    background: var(--bg-card);
    border-bottom: 0.5px solid var(--border);
}
.checkout-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin: 0; max-width: 720px; margin-left: auto; margin-right: auto;
}
.checkout-step {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-muted);
}
.checkout-step .step-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg-secondary); border: 1px solid var(--border-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.checkout-step.active { color: var(--text); font-weight: 600; }
.checkout-step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--darker); }
.checkout-step.done .step-num { background: var(--darker); border-color: var(--darker); color: #fff; }
.step-sep { flex: 1; height: 1px; max-width: 70px; background: var(--border-mid); margin: 0 8px; }

/* 2-col cart layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 24px 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}
.cart-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; }

.cart-items { background: transparent; }
.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 0.5px solid var(--border);
    align-items: start;
}
.cart-item:first-child { border-top: 0.5px solid var(--border); }
.cart-img {
    width: 72px; height: 72px; background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; overflow: hidden; flex-shrink: 0;
}
.cart-img img { object-fit: contain; width: 100%; height: 100%; padding: 4px; }

.cart-body { min-width: 0; }
.cart-name {
    font-size: 14px; font-weight: 500; color: var(--gold-dark);
    text-decoration: none; display: block; margin-bottom: 2px;
}
.cart-name:hover { color: var(--gold); }
.cart-sku { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.cart-price { font-size: 15px; font-weight: 700; color: var(--gold-dark); margin-bottom: 8px; }

.cart-fulfil-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.fulfil-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 500;
}
.fulfil-pill.fulfil-delivery { background: #E6F1FB; color: var(--blue); }
.fulfil-pill.fulfil-collect  { background: var(--green-bg); color: var(--green); }
.fulfil-change-btn {
    background: none; border: none; font-size: 11px;
    color: var(--gold-dark); text-decoration: underline; cursor: pointer; padding: 0;
}
.fulfil-change-btn:hover { color: var(--gold); }
.fulfil-change-btn:disabled { opacity: .6; cursor: wait; text-decoration: none; }

.cart-bottom-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.cart-bottom-row .qty-wrap {
    display: inline-flex; align-items: center; gap: 0;
    border: 0.5px solid var(--border-mid); border-radius: var(--radius-sm);
    overflow: hidden;
}
.cart-bottom-row .qty-btn {
    width: 28px; height: 28px; background: var(--bg-secondary);
    border: none; font-size: 14px; font-weight: 700; color: var(--text);
    cursor: pointer;
}
.cart-bottom-row .qty-btn:hover { background: var(--gold-light); }
.cart-bottom-row .qty-input {
    width: 40px; height: 28px; border: none; border-left: 0.5px solid var(--border-mid);
    border-right: 0.5px solid var(--border-mid); text-align: center; font-size: 13px;
    font-weight: 600; background: #fff; -moz-appearance: textfield;
}
.cart-bottom-row .qty-input::-webkit-outer-spin-button,
.cart-bottom-row .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-remove-btn {
    background: none; border: none; font-size: 12px;
    color: #c0392b; cursor: pointer; padding: 0;
}
.cart-remove-btn:hover { color: #a02818; text-decoration: underline; }

.cart-continue-link { color: var(--gold-dark); font-size: 13px; text-decoration: none; }
.cart-continue-link:hover { color: var(--gold); }

/* Sticky summary */
.cart-summary-col { position: sticky; top: 20px; }
.cart-summary-col .order-summary {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.cart-summary-col .summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: 13px; border-bottom: none;
}
.cart-summary-col .summary-row.total {
    border-top: 0.5px solid var(--border); margin-top: 6px; padding-top: 12px;
    font-size: 18px; font-weight: 700;
}
.cart-summary-col .summary-row.total span:last-child { color: var(--gold-dark); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.pill-green { background: var(--green-bg); color: var(--green); }

.btn-block { display: block; width: 100%; }
.btn-dark {
    background: var(--darker); color: #fff; border: none; padding: 8px 14px;
    border-radius: var(--radius-sm); font-size: 12px; cursor: pointer;
}
.btn-dark:hover { background: #000; }

/* Fulfilment summary block */
.fulfilment-summary { margin-top: 24px; }
.fulfilment-summary h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.fulfilment-summary ul { list-style: none; padding: 0; margin: 0; }
.fulfilment-summary li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 12px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.5;
}
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.dot-green { background: var(--green); }
.dot-blue  { background: var(--blue); }

/* Mobile */
@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; padding: 16px 14px 32px; gap: 20px; }
    .cart-summary-col { position: static; }
    .checkout-steps-wrap { padding: 16px 14px; }
    .checkout-step span { display: none; }
    .step-sep { max-width: 30px; }
}

/* ============================================================
   CHECKOUT v2 — matches the cart layout, full-width billing
   (v1.3.5)
   ============================================================ */

/* Notices area: coupon "Have a coupon?" link, errors, messages */
.limra-checkout-notices {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 0;
    position: relative;
    z-index: 1;
}
.limra-checkout-notices .woocommerce-info,
.limra-checkout-notices .woocommerce-message,
.limra-checkout-notices .woocommerce-error {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px 20px 14px 24px;
    font-size: 13px;
    margin-bottom: 0;
    color: var(--text);
    list-style: none;
    line-height: 1.5;
}
.limra-checkout-notices .woocommerce-info::before,
.limra-checkout-notices .woocommerce-message::before,
.limra-checkout-notices .woocommerce-error::before {
    content: none !important; /* Hide WC's default pseudo-element icon that causes overlap */
}
.limra-checkout-notices .woocommerce-info a { color: var(--gold-dark); font-weight: 600; }
.limra-checkout-notices .woocommerce-info a:hover { color: var(--gold); }
.limra-checkout-notices .woocommerce-form-coupon-toggle { margin-bottom: 0; }

/* The coupon form that expands when you click "Have a coupon?" */
.limra-checkout-notices .checkout_coupon {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 10px;
}
.limra-checkout-notices .checkout_coupon p { margin-bottom: 8px; font-size: 12px; color: var(--text-muted); }
.limra-checkout-notices .checkout_coupon .form-row-first,
.limra-checkout-notices .checkout_coupon .form-row-last { display: inline-block; vertical-align: top; margin-right: 6px; }
.limra-checkout-notices .checkout_coupon input[type="text"] { min-width: 240px; }
.limra-checkout-notices .checkout_coupon .button {
    background: var(--darker); color: #fff; border: none;
    padding: 9px 16px; border-radius: var(--radius-sm); font-size: 13px;
    font-weight: 600; cursor: pointer;
}
.limra-checkout-notices .checkout_coupon .button:hover { background: #000; }

/* Scope the checkout layout override to checkout only — do NOT inherit cart's .checkout-layout */
body.woocommerce-checkout .checkout-layout,
.limra-checkout-form .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    padding: 24px 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Left column — billing/shipping card */
.limra-checkout-form .checkout-fields { min-width: 0; }
.limra-checkout-form .checkout-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.limra-checkout-form .checkout-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Make billing fill the full card width, NOT half */
.limra-checkout-form .checkout-billing-wrap,
.limra-checkout-form .checkout-shipping-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Override WC's "Billing details" heading alignment */
.limra-checkout-form .woocommerce-billing-fields h3,
.limra-checkout-form .woocommerce-shipping-fields h3,
.limra-checkout-form .woocommerce-additional-fields h3 {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
    padding: 0;
    border: none;
}

/* Neutralise the .col2-set rule inside the checkout form — it's only
   meant for the myaccount Login|Register layout. On checkout we want
   fields to be full-width or laid out as WC's own form-row classes. */
.limra-checkout-form .col2-set {
    display: block;
    grid-template-columns: none;
}
.limra-checkout-form .col2-set .col-1,
.limra-checkout-form .col2-set .col-2 {
    width: 100%;
    max-width: 100%;
    float: none;
    padding: 0;
}

/* ============================================================
   NUCLEAR BILLING OVERRIDES — force flush left, full width
   WooCommerce's default CSS (woocommerce-layout.css) applies
   float-based columns that push billing off-center when shipping
   is hidden. These rules override all of that.
   ============================================================ */
.limra-checkout-form .woocommerce-billing-fields,
.limra-checkout-form .woocommerce-shipping-fields,
.limra-checkout-form .woocommerce-additional-fields {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    text-align: left !important;
}
.limra-checkout-form .checkout-billing-wrap,
.limra-checkout-form .checkout-shipping-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}
.limra-checkout-form .woocommerce-billing-fields h3,
.limra-checkout-form .woocommerce-shipping-fields h3,
.limra-checkout-form .woocommerce-additional-fields h3 {
    text-align: left !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    width: auto !important;
}
/* Any .col-1 / .col-2 that WC might wrap billing in */
.limra-checkout-form .col-1,
.limra-checkout-form .col-2,
.limra-checkout-form .col2-set .col-1,
.limra-checkout-form .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Neutralise .col2-set grid/float inside checkout form */
.limra-checkout-form .col2-set,
.limra-checkout-form #customer_details {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: none !important;
}
/* The field-wrapper is our actual grid */
.limra-checkout-form .woocommerce-billing-fields__field-wrapper,
.limra-checkout-form .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
/* Form rows should flow normally inside the grid */
.limra-checkout-form .form-row {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
}
.limra-checkout-form .form-row-first,
.limra-checkout-form .form-row-last,
.limra-checkout-form .form-row-wide {
    width: auto !important;
}
/* Full-width rows: street address, country, email, phone, notes */
.limra-checkout-form .form-row-wide,
.limra-checkout-form #billing_address_1_field,
.limra-checkout-form #billing_address_2_field,
.limra-checkout-form #billing_country_field,
.limra-checkout-form #billing_email_field,
.limra-checkout-form #billing_phone_field,
.limra-checkout-form #billing_company_field,
.limra-checkout-form #shipping_address_1_field,
.limra-checkout-form #shipping_address_2_field,
.limra-checkout-form #shipping_country_field,
.limra-checkout-form #order_comments_field {
    grid-column: 1 / -1;
}

/* Form field polish */
.limra-checkout-form .form-row { margin: 0; padding: 0; }
.limra-checkout-form .form-row label {
    display: block; font-size: 12px; font-weight: 500;
    color: var(--text-muted); margin-bottom: 4px;
}
.limra-checkout-form .form-row .required { color: #c0392b; }
.limra-checkout-form .form-row input[type="text"],
.limra-checkout-form .form-row input[type="email"],
.limra-checkout-form .form-row input[type="tel"],
.limra-checkout-form .form-row input[type="password"],
.limra-checkout-form .form-row textarea,
.limra-checkout-form .form-row select,
.limra-checkout-form .select2-selection--single {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    height: auto;
    line-height: 1.4;
}
.limra-checkout-form .form-row input:focus,
.limra-checkout-form .form-row textarea:focus,
.limra-checkout-form .form-row select:focus { outline: none; border-color: var(--gold); }

/* Select2 dropdown alignment to match */
.limra-checkout-form .select2-container .select2-selection--single {
    height: 38px;
    display: flex;
    align-items: center;
}
.limra-checkout-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    padding-left: 0;
}
.limra-checkout-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

/* Ship-to-different-address toggle */
.limra-checkout-form #ship-to-different-address {
    margin: 20px 0 10px;
    font-size: 14px;
    font-weight: 600;
}
.limra-checkout-form #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }

/* Order-notes textarea */
.limra-checkout-form .woocommerce-additional-fields { margin-top: 24px; padding-top: 20px; border-top: 0.5px solid var(--border); }

/* RIGHT column — order summary stays as per cart, but tighten the order-review table */
.limra-checkout-form .checkout-summary-col { position: sticky; top: 20px; min-width: 0; }
.limra-checkout-form .order-summary {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.limra-checkout-form .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 14px;
}
.limra-checkout-form .woocommerce-checkout-review-order-table th,
.limra-checkout-form .woocommerce-checkout-review-order-table td {
    padding: 8px 4px;
    border-bottom: 0.5px solid var(--border);
    text-align: left;
}
.limra-checkout-form .woocommerce-checkout-review-order-table th { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.limra-checkout-form .woocommerce-checkout-review-order-table td:last-child,
.limra-checkout-form .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.limra-checkout-form .woocommerce-checkout-review-order-table tr.cart_item td { font-size: 12px; }
.limra-checkout-form .woocommerce-checkout-review-order-table tr.order-total td,
.limra-checkout-form .woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 16px; font-weight: 700; border-bottom: none; padding-top: 12px;
}
.limra-checkout-form .woocommerce-checkout-review-order-table tr.order-total td { color: var(--gold-dark); }

/* Payment methods */
.limra-checkout-form #payment {
    background: transparent;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-top: 14px;
}
.limra-checkout-form #payment ul.payment_methods { margin: 0; padding: 0; list-style: none; border: none; }
.limra-checkout-form #payment ul.payment_methods li { padding: 10px 0; border-bottom: 0.5px solid var(--border); }
.limra-checkout-form #payment ul.payment_methods li:last-child { border-bottom: none; }
.limra-checkout-form #payment .payment_box { background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.limra-checkout-form #place_order {
    width: 100%;
    background: var(--gold);
    color: var(--darker);
    border: none;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 14px;
}
.limra-checkout-form #place_order:hover { background: var(--gold-dark); color: #fff; }

/* Mobile */
@media (max-width: 900px) {
    body.woocommerce-checkout .checkout-layout,
    .limra-checkout-form .checkout-layout {
        grid-template-columns: 1fr;
        padding: 16px 14px 32px;
        gap: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Remove wrapper's own padding so checkout-layout fills full width */
    body.woocommerce-checkout .limra-wc-wrap {
        padding: 0;
        max-width: 100%;
    }
    .limra-checkout-form .checkout-summary-col { position: static; }
    .limra-checkout-form .checkout-card { padding: 16px; }
    .limra-checkout-form .woocommerce-billing-fields__field-wrapper,
    .limra-checkout-form .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    .limra-checkout-notices { padding: 14px 14px 0; }
    /* Ensure checkout fields and cards take full width */
    .limra-checkout-form .checkout-fields,
    .limra-checkout-form .checkout-card {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   MY ACCOUNT v2 (v1.3.7) — matches the design mockup
   ============================================================ */

/* ---------- LOGGED OUT — Welcome back + Login|Register ---------- */
.limra-login-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.limra-login-header {
    text-align: center;
    margin-bottom: 28px;
}
.limra-login-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}
.limra-login-header p {
    color: var(--text-muted);
    font-size: 14px;
}
.limra-login-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.limra-auth-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
}
.limra-auth-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}
.limra-auth-card .form-row {
    margin-bottom: 14px !important;
}
.limra-auth-card label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.limra-auth-card input[type="text"],
.limra-auth-card input[type="email"],
.limra-auth-card input[type="password"],
.limra-auth-card .input-text {
    width: 100%;
    padding: 10px 12px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--bg-card);
}
.limra-auth-card input:focus { outline: none; border-color: var(--gold); }
.limra-auth-card .woocommerce-form__label-for-checkbox {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--text-muted); cursor: pointer;
}
.limra-auth-card .button,
.limra-auth-card button[type="submit"] {
    background: var(--darker);
    color: #fff;
    border: none;
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.limra-auth-card .button:hover,
.limra-auth-card button[type="submit"]:hover { background: #000; }
.limra-auth-card .lost_password a {
    font-size: 12px;
    color: var(--gold-dark);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}
.limra-auth-card .lost_password a:hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 768px) {
    .limra-login-cols { grid-template-columns: 1fr; }
    .limra-login-wrap { padding: 24px 16px 40px; }
}

/* ---------- LOGGED IN — sidebar + content ---------- */
.limra-account-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}
.limra-account-wrap .account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 480px;
    align-items: stretch;
}
.limra-account-wrap .account-sidebar {
    background: var(--bg-secondary);
    border-right: 0.5px solid var(--border);
    padding: 24px 14px;
}
.limra-account-wrap .account-profile { margin-bottom: 22px; }
.limra-account-wrap .account-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold-light); color: #854F0B;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    margin-bottom: 10px;
}
.limra-account-wrap .account-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.limra-account-wrap .account-type { font-size: 11px; color: var(--text-muted); }

.limra-account-wrap .account-nav { display: flex; flex-direction: column; gap: 2px; }
.limra-account-wrap .account-nav-item {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.limra-account-wrap .account-nav-item:hover { background: var(--bg-card); color: var(--text); }
.limra-account-wrap .account-nav-item.active {
    background: var(--gold-light);
    color: #854F0B;
    font-weight: 500;
}
.limra-account-wrap .account-nav-item-gold { color: var(--gold-dark); }
.limra-account-wrap .account-nav-signout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 0.5px solid var(--border);
}

.limra-account-wrap .account-content {
    padding: 28px 32px;
}
.account-section-title {
    font-size: 20px; font-weight: 600; margin-bottom: 18px;
}

/* ---------- Order cards v2 ---------- */
.order-cards { display: flex; flex-direction: column; gap: 10px; }
.order-card-v2 {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.order-card-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 6px;
}
.order-card-num { font-size: 13px; font-weight: 600; }
.order-card-summary {
    font-size: 13px; color: var(--text-muted); margin-bottom: 10px;
}
.order-card-foot {
    display: flex; justify-content: space-between; align-items: center;
}
.order-card-meta { font-size: 12px; color: var(--text-muted); }

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    font-size: 11px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-gold:hover { background: var(--gold-light); }
.btn-sm { font-size: 11px; padding: 5px 12px; }

/* Status pills */
.status-pill {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}
.status-green { background: var(--green-bg); color: #27500A; }
.status-blue  { background: var(--blue-bg);  color: var(--blue); }
.status-amber { background: var(--amber-bg); color: var(--amber); }
.status-red   { background: #fdecea;         color: #c0392b; }

/* Mobile */
@media (max-width: 768px) {
    .limra-account-wrap .account-layout { grid-template-columns: 1fr; }
    .limra-account-wrap .account-sidebar { border-right: none; border-bottom: 0.5px solid var(--border); }
    .limra-account-wrap .account-content { padding: 20px 16px; }
}

/* ============================================================
   ORDER CONFIRMATION v2 (v1.3.7)
   ============================================================ */
.confirmation-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 24px 48px;
}
.confirmation-hero {
    text-align: center;
    margin-bottom: 28px;
}
.confirm-icon-lg {
    width: 64px; height: 64px;
    background: var(--green-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.confirm-check {
    font-size: 24px;
    color: #639922;
    font-weight: 700;
    line-height: 1;
}
.confirmation-hero h1 {
    font-size: 24px; font-weight: 600; margin-bottom: 10px;
}
.confirmation-hero p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}
.confirmation-hero p strong { color: var(--text); }

.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.confirm-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.confirm-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}
.confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 13px;
    gap: 10px;
    min-width: 0;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row-label {
    color: var(--text-muted);
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.4;
}
.confirm-row-val {
    text-align: right;
    font-weight: 500;
    color: var(--text);
    flex-shrink: 0;
    overflow-wrap: anywhere;
    max-width: 55%;
}
.confirm-row-total { padding-top: 12px; font-weight: 700; }
.confirm-total { color: var(--gold-dark); font-size: 15px; }

/* Keep status pills compact and on one line */
.confirm-row .status-pill {
    flex-shrink: 0;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 2px;
}

.confirmation-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.confirmation-actions .btn { min-width: 170px; text-align: center; }

/* Dark button */
.btn-dark {
    background: var(--darker);
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.btn-dark:hover { background: #000; color: #fff; }

/* Mobile */
@media (max-width: 768px) {
    .confirmation-grid { grid-template-columns: 1fr; }
    .confirmation-page { padding: 24px 16px 32px; }
}

/* ============================================================
   LOGGED-OUT AUTH v2 (v1.3.8) — centered single card
   ============================================================ */
.limra-auth-card-center {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 32px 28px;
}
.limra-auth-card-center .limra-auth-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}
.limra-auth-card-center .form-row {
    margin-bottom: 14px !important;
    display: block;
    width: 100%;
}
.limra-auth-card-center .form-row label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.limra-auth-card-center .form-row .required { color: #c0392b; }
.limra-auth-card-center .input-text,
.limra-auth-card-center input[type="text"],
.limra-auth-card-center input[type="email"],
.limra-auth-card-center input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--bg-card);
    color: var(--text);
    box-sizing: border-box;
}
.limra-auth-card-center input:focus { outline: none; border-color: var(--gold); }

.limra-auth-card-center .limra-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px !important;
}
.limra-auth-card-center .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    margin: 0;
}
.limra-auth-card-center .woocommerce-form__input-checkbox {
    width: auto;
    margin: 0;
}
.limra-auth-card-center .btn-dark {
    padding: 10px 22px;
    flex-shrink: 0;
}
.limra-auth-card-center .lost_password {
    margin: 0 !important;
}
.limra-auth-card-center .lost_password a {
    font-size: 12px;
    color: var(--gold-dark);
    text-decoration: none;
}
.limra-auth-card-center .lost_password a:hover { color: var(--gold); text-decoration: underline; }

/* Divider + "Create one" CTA */
.limra-auth-divider {
    height: 0.5px;
    background: var(--border);
    margin: 22px 0 16px;
}
.limra-auth-register-cta {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.limra-auth-register-cta a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}
.limra-auth-register-cta a:hover { color: var(--gold); text-decoration: underline; }

.limra-auth-card-center fieldset { border: none; padding: 0; margin: 0; }

@media (max-width: 540px) {
    .limra-auth-card-center { padding: 22px 18px 20px; }
    .limra-auth-card-center .limra-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .limra-auth-card-center .btn-dark { width: 100%; }
}

/* ============================================================
   SAVED ADDRESSES (v1.3.8)
   ============================================================ */
.account-section-intro {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.address-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.address-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}
.address-card-head h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
.address-edit-link {
    font-size: 12px;
    color: var(--gold-dark);
    font-weight: 500;
    text-decoration: none;
}
.address-edit-link:hover { color: var(--gold); text-decoration: underline; }
.address-card-body {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 10px;
}
.address-contact {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.address-contact-label {
    color: var(--text);
    font-weight: 500;
}
.address-empty {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .address-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCOUNT DETAILS (v1.3.8)
   ============================================================ */
.account-details-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    max-width: 640px;
}
.account-details-card .form-row {
    margin-bottom: 16px !important;
    display: block;
    width: 100%;
}
.account-details-card .form-row label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.account-details-card .form-row .required { color: #c0392b; }
.account-details-card .input-text,
.account-details-card input[type="text"],
.account-details-card input[type="email"],
.account-details-card input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--bg-card);
    color: var(--text);
    box-sizing: border-box;
}
.account-details-card input:focus { outline: none; border-color: var(--gold); }

.form-row-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
.account-form-grid .form-row { width: 100% !important; max-width: 100% !important; }

.account-password-fieldset {
    margin-top: 12px;
    padding: 20px 22px;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
}
.account-password-fieldset legend {
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.account-password-fieldset .form-row:last-child { margin-bottom: 0 !important; }

.account-form-actions {
    margin-top: 20px !important;
    padding-top: 18px;
    border-top: 0.5px solid var(--border);
    display: flex;
    justify-content: flex-end;
}
.account-form-actions .btn-dark { min-width: 160px; }

@media (max-width: 600px) {
    .account-details-card { padding: 20px 18px; }
    .account-form-grid { grid-template-columns: 1fr; }
    .account-form-actions { justify-content: stretch; }
    .account-form-actions .btn-dark { width: 100%; }
}

/* ============================================================
   WISHLIST v2 (v1.3.9)
   ============================================================ */
.wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}
.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.wishlist-header h1 {
    font-size: 22px;
    font-weight: 600;
}
.wishlist-header .wl-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 6px;
}
.wishlist-header p { font-size: 13px; }

/* Empty / logged-out states */
.wishlist-empty-state {
    text-align: center;
    padding: 60px 24px;
    max-width: 480px;
    margin: 0 auto;
}
.wishlist-empty-card {
    text-align: center;
    padding: 56px 28px;
}
.wl-big-heart {
    font-size: 44px;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.wl-empty-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* Item cards */
.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wl-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 20px;
    align-items: start;
    position: relative;
}
.wl-card .wl-img {
    width: 90px;
    height: 90px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.wl-card .wl-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 4px;
    box-sizing: border-box;
    pointer-events: none;
}


.wl-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gold-dark);
    text-decoration: none;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}
.wl-name:hover { color: var(--gold); }
.wl-sku {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    display: block;
}
.wl-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 6px;
    display: block;
}
.wl-stock {
    font-size: 12px; color: var(--text-muted);
    display: inline-flex; align-items: center; gap: 6px;
}

/* Controls column (right-most) */
.wl-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
}
.wl-fulfil {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wl-fulfil-opt {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.wl-fulfil-opt:hover { background: var(--bg-secondary); }
.wl-fulfil-opt input[type="radio"] {
    margin: 0;
    accent-color: var(--gold);
    flex-shrink: 0;
}
.wl-fulfil-pill {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.4;
}
.wl-fulfil-pill-delivery { background: var(--blue-bg); color: var(--blue); }
.wl-fulfil-pill-collect  { background: var(--green-bg); color: var(--green); }
.wl-fulfil-opt.active .wl-fulfil-pill { box-shadow: 0 0 0 1px currentColor inset; }

.wl-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wl-qty {
    display: inline-flex;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.wl-qty .qty-btn {
    width: 30px; height: 32px; background: var(--bg-secondary);
    border: none; font-size: 14px; font-weight: 700; cursor: pointer;
}
.wl-qty .qty-btn:hover { background: var(--gold-light); }
.wl-qty .qty-input {
    width: 44px; height: 32px; border: none;
    border-left: 0.5px solid var(--border-mid); border-right: 0.5px solid var(--border-mid);
    text-align: center; font-size: 13px; font-weight: 600;
    -moz-appearance: textfield;
}
.wl-qty .qty-input::-webkit-outer-spin-button,
.wl-qty .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.wl-add { flex: 1; min-width: 130px; text-align: center; }
.wl-add:disabled { background: #555; cursor: not-allowed; opacity: .6; }
.wl-remove {
    background: none;
    border: 0.5px solid #f5c6cb;
    color: #c0392b;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s;
    flex-shrink: 0;
    letter-spacing: .2px;
}
.wl-remove:hover {
    background: #fdecea;
    color: #a93226;
    border-color: #c0392b;
}
.wl-remove:disabled { opacity: .5; cursor: wait; }

.wishlist-footer { margin-top: 18px; }
.wl-continue-link {
    color: var(--gold-dark); font-size: 13px; text-decoration: none;
}
.wl-continue-link:hover { color: var(--gold); }

/* Mobile (tablet) */
@media (max-width: 820px) {
    .wl-card {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 12px 14px;
    }
    .wl-img {
        grid-row: 1;
        grid-column: 1;
    }
    .wl-body {
        grid-row: 1;
        grid-column: 2;
        overflow: visible;
        min-width: 0;
        position: relative;
        z-index: 2;
    }
    .wl-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        padding-top: 10px;
        border-top: 0.5px solid var(--border);
    }
    .wl-add { min-width: 0; }
}

/* Default desktop layout: hide the mobile-only row wrapper */
.wl-sku-price-row { display: contents; }

@media (max-width: 480px) {
    /* Actions: qty + add on top row, remove stacked below */
    .wl-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        width: 100%;
    }
    .wl-qty { order: 1; flex-shrink: 0; }
    .wl-actions .wl-add {
        flex: 1 1 auto;
        min-width: 0;
        order: 2;
        font-size: 12px;
        padding: 8px 10px;
    }
    .wl-remove {
        order: 3;
        flex-shrink: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================================
   VAT SUFFIX (v1.3.11)
   ============================================================ */
.limra-vat-suffix {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
    letter-spacing: .2px;
    white-space: nowrap;
}
.limra-vat-suffix-inc { color: var(--gold-dark); font-weight: 600; }

/* Big price on single product gets more room */
.price-row .limra-vat-suffix {
    font-size: 12px;
    margin-left: 2px;
    vertical-align: 6px;
}

/* ============================================================
   PRODUCT PANEL — title + wishlist + share icons (v1.3.11)
   ============================================================ */
.prod-panel-title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.prod-panel-title-row .prod-panel-title {
    flex: 1;
    min-width: 0;
}
.prod-panel-icons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
}
.prod-panel-icons .wishlist-btn,
.prod-panel-icons .share-btn {
    position: static;
    top: auto;
    right: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 0.5px solid var(--border-mid);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.prod-panel-icons .wishlist-btn:hover,
.prod-panel-icons .share-btn:hover {
    background: var(--gold-light);
    color: var(--gold-dark);
    border-color: var(--gold);
}
.prod-panel-icons .wishlist-btn:active,
.prod-panel-icons .share-btn:active { transform: scale(.95); }
.prod-panel-icons .wishlist-btn.active {
    color: #c0392b;
    background: #fdecea;
    border-color: #f5c6cb;
}

/* Share dropdown menu */
.share-menu {
    position: absolute;
    top: 44px;
    right: 0;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 6px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.share-menu[hidden] { display: none; }
.share-menu-item {
    background: none;
    border: none;
    text-align: left;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}
.share-menu-item:hover { background: var(--bg-secondary); color: var(--gold-dark); }

/* ============================================================
   MOBILE FULFILMENT — side-by-side on mobile (v1.3.11)
   (Desktop already places them in a 2-col grid; this keeps the
   same 2-col layout on small screens.)
   ============================================================ */
@media (max-width: 768px) {
    .fulfil-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }
    .ft-card {
        padding: 10px 10px;
    }
    .ft-card-head {
        gap: 6px;
    }
    .ft-title {
        font-size: 12px;
    }
    .ft-sub {
        font-size: 10px;
        line-height: 1.3;
    }
    .ft-stock {
        font-size: 11px;
    }
}

/* ============================================================
   MOBILE SEARCH (replaces mobile basket) (v1.3.11)
   ============================================================ */
.mobile-search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1;
}
.mobile-search-btn:hover { color: var(--gold); }

.mobile-search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
    box-sizing: border-box;
}
.mobile-search-overlay[hidden] { display: none; }

.mobile-search-form {
    background: var(--bg-card);
    width: calc(100% - 16px);
    max-width: 520px;
    padding: 10px 12px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
    overflow: hidden;
}
.mobile-search-input {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    padding: 9px 11px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-card);
    color: var(--text);
    box-sizing: border-box;
}
.mobile-search-input:focus { outline: none; border-color: var(--gold); }
.mobile-search-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 6px 8px;
    line-height: 1;
    flex-shrink: 0;
}
.mobile-search-close:hover { color: var(--text); }
.mobile-search-submit {
    background: var(--darker);
    color: #fff;
    border: none;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}
.mobile-search-submit:hover { background: #000; }

/* On very narrow phones, use a compact search icon instead of the word "Search" */
@media (max-width: 400px) {
    .mobile-search-form { gap: 4px; padding: 8px 10px; }
    .mobile-search-submit {
        padding: 9px 10px;
        font-size: 0;              /* hide the word */
        min-width: 38px;
    }
    .mobile-search-submit::before {
        content: '🔍';
        font-size: 14px;
    }
    .mobile-search-close { padding: 6px; }
}

/* ============================================================
   PRODUCT PAGE — floating wishlist + share over image (v1.3.14)
   Icons are pinned to the top corners of the product image on
   BOTH desktop and mobile. Share top-left, wishlist top-right.
   ============================================================ */

/* Hide the inline title-row icons everywhere — the floating ones replace them */
.prod-panel-icons { display: none; }

/* Enable overlay positioning on the gallery + image wrapper */
.prod-gallery { position: relative; }
.main-img { position: relative; }

/* Desktop / default — floating overlay icons */
.mobile-img-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    padding: 14px;
}
.mobile-img-icons > button,
.mobile-img-icons .share-wrap > button {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform .12s, background .15s, color .15s, border-color .15s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: static;           /* Reset any inherited absolute positioning */
    top: auto; right: auto; left: auto;
}
.mobile-img-icons > button:hover,
.mobile-img-icons .share-wrap > button:hover {
    background: #fff;
    color: var(--gold-dark);
    border-color: var(--gold);
}
.mobile-img-icons > button:active,
.mobile-img-icons .share-wrap > button:active { transform: scale(.92); }
.mobile-img-icons .mobile-wl-btn.active {
    color: #c0392b;
    background: rgba(253, 236, 234, 0.98);
    border-color: #f5c6cb;
}

/* Share button + menu wrapper (positions menu relative to share button) */
.mobile-img-icons .share-wrap {
    position: relative;
    pointer-events: auto;
    display: inline-flex;
}
/* Share menu — drops from below the share button */
.mobile-img-icons .share-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    min-width: 180px;
    padding: 6px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-img-icons .share-menu[hidden] { display: none; }

/* Mobile tweaks */
@media (max-width: 768px) {
    .mobile-img-icons { padding: 12px; }

    /* Align title cleanly since there are no icons next to it */
    .prod-panel-title-row .prod-panel-title {
        font-size: 22px;
        line-height: 1.2;
    }

    /* Share menu on mobile — floats from bottom */
    .share-menu {
        position: fixed;
        bottom: 72px;
        left: 12px;
        right: 12px;
        top: auto;
        min-width: 0;
        border-radius: var(--radius);
        padding: 8px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    }
    .share-menu-item { padding: 12px; font-size: 14px; }
}

/* ============================================================
   PRODUCT CARD — variant-required states (v1.3.15)
   ============================================================ */
.card-stock-hint {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
}
.add-cart-btn.needs-variant,
.add-cart-btn:disabled {
    background: #555;
    color: #ccc;
    cursor: not-allowed;
    opacity: .75;
}
.add-cart-btn.needs-variant:hover,
.add-cart-btn:disabled:hover {
    background: #555;
}
.card-variant-select {
    width: 100%;
    padding: 6px 8px;
    border: 0.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 11px;
    background: var(--bg-card);
    color: var(--text);
    margin-bottom: 6px;
    cursor: pointer;
}
.card-variant-select:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   PRODUCT DOCUMENTS TAB (v1.3.18)
   ============================================================ */
.product-documents {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
}
.doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s, background .15s;
}
.doc-link:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--gold-dark);
}
.doc-link .doc-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.doc-link .doc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.doc-link .doc-name {
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.doc-link .doc-meta {
    font-size: 11px;
    color: var(--text-muted);
}
.doc-link .doc-download {
    font-size: 18px;
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* ============================================================
   CART — unavailable-switch label (v1.3.18)
   ============================================================ */
.fulfil-switch-unavailable {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 0.5px dashed var(--border-mid);
    font-style: italic;
    white-space: nowrap;
}

/* Scroll hint on tab-nav for mobile — subtle gradient on the right edge
   to signal the bar scrolls horizontally */
@media (max-width: 768px) {
    .prod-tabs { position: relative; }
    .prod-tabs::after {
        content: '';
        position: absolute;
        top: 1px;                   /* below the 1px top border */
        right: 0;
        width: 28px;
        height: 46px;
        background: linear-gradient(to right, rgba(255,255,255,0), var(--bg-card) 80%);
        pointer-events: none;
        z-index: 1;
    }
}

/* ============================================================
   VAT PRICE PAIR (v1.3.27)
   Structure:
     .limra-price-pair (flex row, space-between)
       .lpp-group-left  — big primary OR big secondary, plus strike + save
       .lpp-group-right — small secondary OR small primary

   Both prices are always rendered; CSS shows ONE big in left group and
   ONE small in right group based on data-mode.
   ============================================================ */

.price-row { margin-bottom: 12px; }

.limra-price-pair {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    flex-wrap: wrap;
}
.lpp-group-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.lpp-group-right {
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 4px;
    white-space: nowrap;
}

/* --- Default inc mode --- */
/* Big primary visible in left group, secondary hidden there */
.limra-price-pair[data-mode="inc"] .lpp-primary,
.limra-price-pair:not([data-mode="ex"]) .lpp-primary {
    display: inline-flex;
    align-items: baseline;
    font-size: 34px;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}
.limra-price-pair[data-mode="inc"] .lpp-primary .lpp-tag,
.limra-price-pair:not([data-mode="ex"]) .lpp-primary .lpp-tag {
    display: none;
}
.limra-price-pair[data-mode="inc"] .lpp-secondary,
.limra-price-pair:not([data-mode="ex"]) .lpp-secondary {
    display: none;
}
/* Small ex visible in right group */
.limra-price-pair[data-mode="inc"] .lpp-small-ex,
.limra-price-pair:not([data-mode="ex"]) .lpp-small-ex {
    display: inline;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.limra-price-pair[data-mode="inc"] .lpp-small-inc,
.limra-price-pair:not([data-mode="ex"]) .lpp-small-inc {
    display: none;
}

/* --- Ex mode (big ex-VAT price) --- */
.limra-price-pair[data-mode="ex"] .lpp-primary {
    display: none;
}
.limra-price-pair[data-mode="ex"] .lpp-secondary {
    display: inline-flex;
    align-items: baseline;
    font-size: 34px;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}
.limra-price-pair[data-mode="ex"] .lpp-secondary .lpp-tag {
    display: none;
}
/* Small inc visible in right group */
.limra-price-pair[data-mode="ex"] .lpp-small-inc {
    display: inline;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.limra-price-pair[data-mode="ex"] .lpp-small-ex {
    display: none;
}

.lpp-group-right small {
    font-size: 11px;
    margin-left: 2px;
    letter-spacing: 0.3px;
}

/* Strike & save */
.limra-price-pair .price-strike {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    flex-shrink: 0;
}
.limra-price-pair .save-pill {
    flex-shrink: 0;
}

/* Card (multi-product) — lpp-primary inc OR secondary ex shown depending on mode */
.limra-price-pair-card {
    display: inline-flex;
    justify-content: flex-start;
    width: auto;
    gap: 6px;
}
.limra-price-pair-card .lpp-primary {
    font-size: 16px;
}
.limra-price-pair-card .lpp-secondary {
    display: none;
}
body[data-vat-mode="ex"] .limra-price-pair-card .lpp-primary {
    display: none;
}
body[data-vat-mode="ex"] .limra-price-pair-card .lpp-secondary {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-dark);
}
body[data-vat-mode="ex"] .limra-price-pair-card .lpp-secondary .lpp-tag {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   VAT TOGGLE (header)
   ============================================================ */
.limra-vat-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 2px;
    gap: 1px;
}
.limra-vat-opt {
    background: none;
    border: none;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    color: #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.limra-vat-opt:hover { color: #fff; }
.limra-vat-opt.active {
    background: var(--gold);
    color: var(--darker);
}
.drawer-vat-wrap .limra-vat-toggle {
    width: 100%;
    justify-content: stretch;
}
.drawer-vat-wrap .limra-vat-opt {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 560px) {
    .limra-price-pair[data-mode="inc"] .lpp-primary,
    .limra-price-pair:not([data-mode="ex"]) .lpp-primary,
    .limra-price-pair[data-mode="ex"] .lpp-secondary {
        font-size: 26px;
    }
    .lpp-group-right {
        /* If the two groups can't fit on one row, the right group wraps;
           keep it right-aligned when it does so */
        text-align: right;
    }
}

/* ============================================================
   TRACK ORDER PAGE LAYOUT (v1.3.21)
   ============================================================ */
.track-order-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
}
.track-col-timeline, .track-col-summary { min-width: 0; }

.track-item-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.track-item-img {
    width: 50px; height: 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.track-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.track-item-info { flex: 1; min-width: 0; }
.track-item-name {
    font-size: 12px; font-weight: 500;
    overflow-wrap: anywhere;
    line-height: 1.3;
}
.track-item-qty { font-size: 11px; color: var(--text-muted); }
.track-item-price {
    font-size: 12px; font-weight: 600;
    color: var(--gold-dark);
    flex-shrink: 0;
    white-space: nowrap;
}

.track-total-row {
    display: flex; justify-content: space-between;
    font-size: 13px; font-weight: 700;
}
.track-total-val { color: var(--gold-dark); }

.track-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .track-order-grid {
        grid-template-columns: 1fr;
        padding: 16px 14px;
    }
    .track-col-summary {
        padding-top: 16px;
        border-top: 0.5px solid var(--border);
        margin-top: 4px;
    }
}

/* ============================================================
   CATEGORY IMAGE TILES — from WC backend (v1.3.21)
   ============================================================ */
.img-cat-box.has-image,
.subcat-icon.has-image {
    padding: 0;
    overflow: hidden;
    font-size: 0;
}
.img-cat-box.has-image img,
.subcat-icon.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   REVIEWS SUMMARY + SKU (v1.3.26)
   ============================================================ */
.reviews-sum {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text);
}
.reviews-sum .rev-rating {
    font-weight: 700;
    color: var(--darker);
}
.reviews-sum .rev-stars {
    color: var(--gold);
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 1;
}
.reviews-sum .rev-count {
    color: var(--text-muted);
    font-size: 12px;
}
.reviews-sum-sm {
    font-size: 11px;
    gap: 3px;
}
.reviews-sum-sm .rev-rating { font-size: 11px; }
.reviews-sum-sm .rev-stars  { font-size: 11px; }
.reviews-sum-sm .rev-count  { font-size: 10px; }

.prod-panel-sku {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 8px;
    letter-spacing: 0.2px;
}
.prod-panel-reviews { margin-bottom: 10px; }

.prod-card-reviews {
    margin: 2px 0 4px;
}

/* Cart summary VAT tags (v1.3.26) */
.summary-vat-tag {
    display: inline-block;
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 4px;
    letter-spacing: 0.3px;
}
.summary-vat-tag-inc {
    color: var(--gold-dark);
    font-weight: 600;
}
.summary-vat-line {
    font-size: 11px;
    color: var(--text-muted);
    padding-top: 2px;
    border-top: 0.5px dashed var(--border);
    margin-top: -6px;
    margin-bottom: 10px;
}

/* ============================================================
   COOKIE BANNER (v1.3.26)
   ============================================================ */
.limra-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: var(--darker);
    border: 0.5px solid #2a2a2a;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-radius: var(--radius);
    z-index: 3000;
    color: #ddd;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.limra-cookie-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 16px 20px;
}
.limra-cookie-text { flex: 1; min-width: 0; }
.limra-cookie-text strong { color: #fff; font-size: 14px; display: block; margin-bottom: 4px; }
.limra-cookie-text p { font-size: 12px; line-height: 1.5; color: #aaa; margin: 0; }
.limra-cookie-text a { color: var(--gold); text-decoration: underline; }
.limra-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 640px) {
    .limra-cookie-banner { bottom: 70px; left: 8px; right: 8px; }
    .limra-cookie-inner { flex-direction: column; align-items: stretch; padding: 14px 16px; }
    .limra-cookie-actions { justify-content: space-between; width: 100%; }
    .limra-cookie-actions .btn { flex: 1; }
}

/* ============================================================
   MOBILE NAV BADGE (superscript count on basket & wishlist) v1.3.26
   ============================================================ */
.mbn-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;    /* Exact match to .mbn-icon height — badge overflows without shifting */
    overflow: visible;
}
.mbn-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--gold);
    color: var(--darker);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px var(--dark);
}
.mbn-badge-wl {
    background: #c0392b;
    color: #fff;
}