/*
 * Veer Ornaments - Material Design 3 Expressive (Light Luxury Theme)
 * Lead Front-End Architecture & Design System
 * 
 * Dynamic Palette derived directly from the Veer Ornaments emblem:
 * Dominant Royal Gold: #855C0E (text/icons) / #C99738 / #ECC26B (accent gradients)
 * Champagne Diamond Accents: #F6E1BB / #FAF4E8 / #FFFFFF
 * Warm Alabaster & Silk Surfaces: #FAF8F5 / #F4EDE4 / #EEE7DD / #FFFFFF
 * Deep Espresso Charcoal Text: #1E1B16 / #4E4639 (WCAG AAA contrast)
 */

@layer tokens, reset, base, layout, components, pages, utilities, responsive;

@layer tokens {
  :root,
  .dark {
    /* -------------------------------------------------------------
     * MATERIAL DESIGN 3: LIGHT LUXURY COLOR ROLES (WCAG AA/AAA)
     * ------------------------------------------------------------- */
    --md-sys-color-primary: #855C0E;                  /* Rich Royal Gold: 7.1:1 AAA */
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #FCE8B3;        /* Warm Gold Tonal Container */
    --md-sys-color-on-primary-container: #2A1C00;

    --md-sys-color-secondary: #6C5D3F;                /* Diamond Champagne Refraction */
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #F6E1BB;
    --md-sys-color-on-secondary-container: #251A04;

    --md-sys-color-tertiary: #7D5233;                 /* Burnished Bronze Accent */
    --md-sys-color-on-tertiary: #FFFFFF;
    --md-sys-color-tertiary-container: #FFDBC7;
    --md-sys-color-on-tertiary-container: #311300;

    /* Tonal Surface Hierarchy (Material You - Light Luxury) */
    --md-sys-color-surface: #FAF8F5;                  /* Warm Alabaster Silk */
    --md-sys-color-surface-dim: #E8E1D7;
    --md-sys-color-surface-bright: #FFFDFB;
    --md-sys-color-surface-container-lowest: #FFFFFF; /* Pure White Card Surfaces */
    --md-sys-color-surface-container-low: #F5EFE7;
    --md-sys-color-surface-container: #EFE8DE;
    --md-sys-color-surface-container-high: #E8E1D6;
    --md-sys-color-surface-container-highest: #E2DBD0;

    --md-sys-color-on-surface: #1E1B16;              /* Deep Espresso: High Legibility */
    --md-sys-color-on-surface-variant: #504639;      /* Comfortable Muted Reading */
    --md-sys-color-outline: #847969;
    --md-sys-color-outline-variant: #DDD2C2;         /* Refined Warm Hairline Borders */
    --md-sys-color-shadow: rgba(133, 92, 14, 0.08);

    --md-sys-color-error: #BA1A1A;
    --md-sys-color-on-error: #FFFFFF;
    --md-sys-color-error-container: #FFDAD6;
    --md-sys-color-on-error-container: #410002;

    --md-sys-color-success: #1E6C3A;
    --md-sys-color-on-success: #FFFFFF;
    --md-sys-color-success-container: #C4EED0;
    --md-sys-color-on-success-container: #00210B;

    /* Backward Compatible Legacy Variable Mapping (All Views Render Light) */
    --blk: #1E1B16;
    --ink: #FAF8F5;
    --panel: #FFFFFF;
    --line: rgba(133, 92, 14, 0.16);
    --gold: #855C0E;
    --gold2: #B8860B;
    --ivory: var(--md-sys-color-surface);
    --txt: #1E1B16;
    --mut: #6E6353;

    --paper: #FFFFFF;
    --rule: #E5DACB;
    --rule2: #EEE5D8;
    --ink-d: #1A1611;
    --body-d: #383126;
    --mut-d: #6E6353;
    --gold-d: #855C0E;
    --ok: var(--md-sys-color-success);
    --err: var(--md-sys-color-error);

    /* Typography Tokens */
    --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: var(--font-display);
    --sans: var(--font-body);

    /* Shape Radii */
    --shape-xs: 6px;
    --shape-sm: 10px;
    --shape-md: 14px;
    --shape-lg: 18px;
    --shape-xl: 24px;
    --shape-2xl: 28px;
    --shape-full: 9999px;

    /* Tonal Ambient Elevations (No Dirty Dark Shadows) */
    --elevation-0: none;
    --elevation-1: 0 1px 3px 1px rgba(133, 92, 14, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --elevation-2: 0 3px 8px 2px rgba(133, 92, 14, 0.08), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --elevation-3: 0 6px 18px 3px rgba(133, 92, 14, 0.10), 0 2px 6px 0 rgba(0, 0, 0, 0.06);
    --elevation-4: 0 10px 26px 4px rgba(133, 92, 14, 0.12), 0 4px 10px 0 rgba(0, 0, 0, 0.08);
    --elevation-5: 0 16px 38px 6px rgba(133, 92, 14, 0.15), 0 6px 14px 0 rgba(0, 0, 0, 0.10);

    /* Motion Physics */
    --easing-standard: cubic-bezier(0.2, 0.0, 0.0, 1.0);
    --easing-emphasized: cubic-bezier(0.2, 0.0, 0.1, 1.0);
    --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1.0);
    --duration-short: 180ms;
    --duration-medium: 300ms;
    --duration-long: 500ms;

    --gut: 48px;
    --focus: var(--md-sys-color-primary);
    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
  }

  @media (max-width: 1100px) { :root, .dark { --gut: 32px; } }
  @media (max-width: 720px) { :root, .dark { --gut: 18px; } }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
  }
  body {
    margin: 0;
    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    font: 400 16px/1.65 var(--font-body);
    letter-spacing: 0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; transition: color var(--duration-short) var(--easing-standard); }
  button, input, select, textarea { font: inherit; color: inherit; }
  h1, h2, h3, h4, h5, h6 {
    color: var(--md-sys-color-on-surface);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.18;
    margin: 0;
  }
  :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: var(--shape-xs);
  }
  [hidden] { display: none !important; }
}

@layer layout {
  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
  .narrow { max-width: 880px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sprite { position: absolute; overflow: hidden; }
  
  .skip {
    position: absolute;
    left: 16px;
    top: -90px;
    z-index: 300;
    background: var(--md-sys-color-primary);
    color: #FFFFFF;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: var(--shape-full);
    box-shadow: var(--elevation-4);
    transition: top var(--duration-medium) var(--easing-spring);
  }
  .skip:focus { top: 16px; }

  svg.i {
    width: 20px;
    height: 20px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-short) var(--easing-spring), stroke var(--duration-short);
  }
  .big-i {
    width: 52px !important;
    height: 52px !important;
    color: var(--md-sys-color-primary);
    stroke-width: 1.35 !important;
  }
}

@layer components {
  /* -------------------------------------------------------------
   * MATERIAL 3 EXPRESSIVE BUTTONS & INTERACTIVE PILLS
   * ------------------------------------------------------------- */
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: var(--shape-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    transition: transform var(--duration-short) var(--easing-spring),
                box-shadow var(--duration-medium) var(--easing-standard),
                background-color var(--duration-short),
                border-color var(--duration-short),
                color var(--duration-short);
  }
  .btn:active:not([disabled]) {
    transform: scale(0.975);
  }
  .btn svg.i { width: 17px; height: 17px; }

  /* Filled Gold Brand Pill Button */
  .btn-gold {
    background: linear-gradient(135deg, #ECC26B 0%, #C99738 50%, #A8761E 100%);
    color: #1A1408;
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
  .btn-gold:hover {
    background: linear-gradient(135deg, #F5D285 0%, #D4A345 50%, #B88225 100%);
    box-shadow: 0 6px 20px rgba(201, 151, 56, 0.45);
    transform: translateY(-2px);
  }

  /* Outlined / Ghost Pill Button in Light Theme */
  .btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(133, 92, 14, 0.35);
    color: var(--md-sys-color-primary);
    box-shadow: var(--elevation-1);
    backdrop-filter: blur(12px);
  }
  .btn-ghost:hover {
    background: #FFFFFF;
    border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    box-shadow: var(--elevation-2);
    transform: translateY(-2px);
  }

  /* Dark Elevated Button (High-Contrast Rich Espresso) */
  .btn-dark {
    background: #1E1B16;
    color: #ECC26B;
    border: 1px solid rgba(230, 188, 98, 0.3);
    box-shadow: var(--elevation-1);
  }
  .btn-dark:hover {
    background: #2E2820;
    color: #FFFFFF;
    border-color: var(--md-sys-color-primary);
    box-shadow: var(--elevation-2);
    transform: translateY(-2px);
  }

  /* Outlined Light Button */
  .btn-line {
    background: var(--md-sys-color-surface-container-lowest);
    border-color: var(--md-sys-color-outline-variant);
    color: var(--md-sys-color-on-surface);
    box-shadow: var(--elevation-1);
  }
  .btn-line:hover {
    border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    background: var(--md-sys-color-surface-container-low);
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
  }

  .btn-wide { width: 100%; }
  .btn[disabled], .btn[aria-busy="true"] {
    opacity: 0.65;
    cursor: progress;
    transform: none !important;
    box-shadow: none !important;
  }

  /* Text Link / Action */
  .link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.05em;
    color: var(--md-sys-color-primary);
    text-decoration: underline;
    text-underline-offset: 5px;
    cursor: pointer;
    transition: opacity var(--duration-short);
  }
  .link:hover { opacity: 0.82; }
  .link[disabled] { color: var(--md-sys-color-outline); text-decoration: none; cursor: default; }

  /* Eyebrow Label Pill */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary);
  }
  .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: var(--shape-full);
    background: currentColor;
  }

  .lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--md-sys-color-on-surface-variant);
    max-width: 540px;
    margin: 0;
  }
  .lede {
    color: var(--md-sys-color-on-surface-variant);
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.65;
  }
  .cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
  .center { justify-content: center; }
  .small { font-size: 13.5px; color: var(--mut-d); margin: 16px 0 0; }
  .code {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.15em;
    color: var(--md-sys-color-primary);
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 LIGHT HEADER & NAVIGATION
   * ------------------------------------------------------------- */
  .ann {
    margin: 0;
    background: #F4EDE2;
    color: #855C0E;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    line-height: 1.5;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    padding: 10px var(--gut);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }

  .hd,
  .hd.dark {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: 0 2px 12px rgba(133, 92, 14, 0.05);
    transition: background-color var(--duration-medium);
  }

  .hd-in {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    min-height: 84px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--md-sys-color-primary);
    justify-self: start;
    user-select: none;
  }
  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--md-sys-color-primary), 0 0 0 5px #FFFFFF, 0 0 16px rgba(201, 151, 56, 0.35);
    transition: transform var(--duration-short) var(--easing-spring);
  }
  .brand:hover img {
    transform: scale(1.06);
  }
  .brand b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.16em;
    color: #1E1B16;
  }
  .brand small {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 9.5px;
    line-height: 1;
    letter-spacing: 0.46em;
    color: var(--gold-d);
    margin-top: 5px;
  }

  .nav ul { list-style: none; margin: 0; padding: 0; }
  .nav > ul:first-child { display: flex; align-items: center; justify-content: center; gap: 8px; }
  
  .nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--shape-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #2E2820;
    transition: all var(--duration-short) var(--easing-standard);
  }
  .nav > ul > li > a:hover {
    color: var(--md-sys-color-primary);
    background: rgba(133, 92, 14, 0.08);
  }
  .nav a[aria-current="page"] {
    color: #1A1408 !important;
    background: linear-gradient(135deg, #ECC26B 0%, #D4A345 100%);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(201, 151, 56, 0.35);
  }

  .nav-acct { display: none; }
  .has-menu { position: relative; display: flex; align-items: center; gap: 2px; }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 28px;
    height: 32px;
    background: none;
    border: 0;
    color: #6E6353;
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    transition: background-color var(--duration-short), color var(--duration-short);
  }
  .menu-btn:hover { color: var(--md-sys-color-primary); background: rgba(133, 92, 14, 0.1); }
  .menu-btn svg.i { width: 15px; height: 15px; transition: transform var(--duration-medium) var(--easing-spring); }
  .menu-btn[aria-expanded="true"] svg.i { transform: rotate(180deg); }

  /* Frosted Glass Menu Popover (Light Luxury) */
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    box-shadow: var(--elevation-4);
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-short) var(--easing-standard),
                transform var(--duration-medium) var(--easing-spring);
  }
  .menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
  }
  .has-menu:hover > .menu, .menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .menu a {
    display: block;
    padding: 11px 18px;
    border-radius: var(--shape-md);
    font-size: 14.5px;
    font-weight: 500;
    color: #2E2820;
    white-space: nowrap;
    transition: all var(--duration-short);
  }
  .menu a:hover {
    color: #1A1408;
    background: var(--md-sys-color-primary-container);
    font-weight: 700;
    transform: translateX(4px);
  }
  .menu-coll ul { columns: 2; column-gap: 24px; min-width: 440px; }
  .menu-coll li { break-inside: avoid; }
  .menu-all {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 18px !important;
    border-top: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-md);
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary) !important;
  }

  .tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    justify-self: end;
  }
  
  /* M3 Circular Icon Button */
  .icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #2E2820;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background-color var(--duration-short), color var(--duration-short), transform var(--duration-short);
  }
  .icon-btn:hover, .icon-btn[aria-expanded="true"] {
    color: var(--md-sys-color-primary);
    background: rgba(133, 92, 14, 0.1);
    transform: scale(1.05);
  }
  .icon-btn:active { transform: scale(0.95); }

  /* Cart Badge with Smooth Glow */
  .bag em {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--shape-full);
    background: linear-gradient(135deg, #ECC26B, #D4A345);
    color: #1A1408;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 10.5px;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    box-shadow: 0 2px 8px rgba(201, 151, 56, 0.45);
  }

  /* Trade Account Header Pill */
  .tbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: var(--shape-full);
    border: 1.5px solid var(--md-sys-color-primary);
    background: rgba(133, 92, 14, 0.06);
    color: var(--md-sys-color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--duration-short) var(--easing-standard);
  }
  .tbtn:hover {
    background: linear-gradient(135deg, #ECC26B, #D4A345);
    color: #1A1408;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.35);
  }
  .tbtn svg.i { width: 16px; height: 16px; }

  .acct .menu { left: auto; right: 0; transform: translateY(-6px); min-width: 230px; }
  .acct:hover > .menu, .acct .menu.open { transform: translateY(0); }
  .burger { display: none; }

  .notice {
    margin: 0;
    padding: 13px var(--gut);
    background: #FFF5E5;
    border-bottom: 1px solid #F5DFB5;
    color: #6C4A11;
    font-size: 14.5px;
    font-weight: 500;
    text-align: center;
  }
  .notice a {
    font-weight: 700;
    text-decoration: underline;
    margin-left: 8px;
    color: #855C0E;
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 LIGHT SEARCH DRAWER
   * ------------------------------------------------------------- */
  .search {
    display: none;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(28px);
    border-top: 1px solid var(--md-sys-color-outline-variant);
    padding: 24px 0 28px;
    box-shadow: var(--elevation-2);
    animation: searchSlideDown var(--duration-medium) var(--easing-spring);
  }
  @keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .search.open { display: block; }
  
  .search-in {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-full);
    padding: 6px 10px 6px 22px;
    box-shadow: var(--elevation-1);
    transition: border-color var(--duration-short), box-shadow var(--duration-short);
  }
  .search-in:focus-within {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px rgba(133, 92, 14, 0.2);
  }
  .search-in > svg.i { color: var(--md-sys-color-primary); width: 22px; height: 22px; }
  .search-in input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: #1E1B16;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16.5px;
    padding: 10px 4px;
  }
  .search-in input::placeholder { color: #847969; }
  .search-in input:focus { outline: none; }
  .search-in .btn { min-height: 46px; padding: 10px 24px; }

  #suggest:empty { display: none; }
  .sg { padding-top: 20px; }
  .sg .chips { margin-bottom: 12px; }
  .sg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .sg-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--shape-lg);
    border: 1px solid var(--md-sys-color-outline-variant);
    background: #FFFFFF;
    color: #1E1B16;
    font-size: 14px;
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short) var(--easing-standard);
  }
  .sg-list a:hover {
    border-color: var(--md-sys-color-primary);
    background: var(--md-sys-color-surface-container-low);
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
  }
  .sg-list b { display: block; color: var(--md-sys-color-primary); font-size: 12px; letter-spacing: 0.1em; }
  .sg-list small { display: block; color: var(--mut-d); font-size: 13px; margin-top: 2px; }
  .sg-none { margin: 0; padding-top: 16px; color: var(--mut-d); font-size: 15px; }
  .sg .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary);
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 LIGHT PAGE HEADER BANNER
   * ------------------------------------------------------------- */
  .phead,
  .phead.dark {
    background: radial-gradient(85% 150% at 85% 0%, #F5EDE1 0%, #FAF8F5 75%);
    padding: 52px 0 56px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }
  .phead h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 4.8vw, 56px);
    color: #1E1B16;
    margin: 14px 0 10px;
    letter-spacing: -0.02em;
  }
  .phead .eyebrow { margin-top: 20px; }
  .phead .sub { margin: 0; color: var(--md-sys-color-on-surface-variant); font-size: 16px; max-width: 680px; }
  .phead-s { padding: 36px 0 42px; }
  .phead-s h1 { font-size: clamp(32px, 3.8vw, 46px); margin-top: 12px; }
  .phead:has(.tabs) { padding-bottom: 0; }

  /* Breadcrumbs in Light Theme */
  .crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .crumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: var(--md-sys-color-primary);
    font-size: 14px;
    font-weight: 700;
  }
  .crumbs a:hover { color: var(--md-sys-color-primary); }
  .crumbs [aria-current] { color: #1E1B16; font-weight: 700; }
  .crumbs-l { padding: 24px 0 0; }
  .crumbs-l ol { color: var(--mut-d); }
  .crumbs-l li + li::before { color: var(--rule); }
  .crumbs-l a:hover { color: var(--gold-d); }
  .crumbs-l [aria-current] { color: var(--ink-d); }

  /* Material 3 Segmented Pill Tabs in Light Theme */
  .tabs {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a {
    padding: 12px 24px;
    border-radius: var(--shape-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mut-d);
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all var(--duration-short) var(--easing-standard);
  }
  .tabs a:hover {
    color: #1E1B16;
    background: rgba(133, 92, 14, 0.08);
  }
  .tabs a[aria-current] {
    color: #1A1408;
    background: linear-gradient(135deg, #ECC26B, #D4A345);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.35);
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 LIGHT HERO SECTION (WARM CHAMPAGNE LUXURY)
   * ------------------------------------------------------------- */
  .hero,
  .hero.dark {
    position: relative;
    background: radial-gradient(85% 120% at 75% 30%, #F5ECE0 0%, #FAF8F5 70%);
    padding: 80px 0 96px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    overflow: hidden;
  }
  .hero-in {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(46px, 5.8vw, 70px);
    line-height: 1.04;
    color: #1E1B16;
    margin: 24px 0;
    letter-spacing: -0.025em;
  }
  .hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, #A8761E 0%, #855C0E 50%, #C99738 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* Modern Stats Pill Bento Box in Light Theme */
  .stats {
    display: flex;
    margin: 52px 0 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    backdrop-filter: blur(16px);
    max-width: 540px;
    box-shadow: var(--elevation-1);
  }
  .stats div {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    padding: 8px 16px;
  }
  .stats div + div {
    border-left: 1px solid var(--md-sys-color-outline-variant);
  }
  .stats dd {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 38px;
    line-height: 1;
    color: var(--md-sys-color-primary);
  }
  .stats dt {
    margin-top: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .stats-w {
    max-width: none;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .stats-w dd { font-size: clamp(34px, 4.4vw, 48px); }

  /* Hero Architecture Graphics in Light Theme */
  .art {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 520px;
    margin-left: auto;
  }
  .frameline {
    position: absolute;
    right: 14px;
    top: -16px;
    width: 340px;
    height: 490px;
    border: 2px solid rgba(133, 92, 14, 0.35);
    border-radius: 999px 999px var(--shape-xl) var(--shape-xl);
    pointer-events: none;
  }
  .arch {
    position: absolute;
    overflow: hidden;
    border-radius: 999px 999px var(--shape-xl) var(--shape-xl);
    background: #FFFFFF;
    box-shadow: var(--elevation-2);
  }
  .arch img { width: 100%; height: 100%; object-fit: cover; }
  .arch img.mark { object-fit: contain; background: #FAF7F2; padding: 14%; }
  .arch.big {
    right: 32px;
    top: 0;
    width: 340px;
    height: 480px;
  }
  .arch.big::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(133, 92, 14, 0.25);
  }
  .arch.small {
    left: 10px;
    bottom: 0;
    width: 190px;
    height: 250px;
    box-shadow: 0 0 0 8px #FAF8F5, 0 0 0 10px rgba(133, 92, 14, 0.25), var(--elevation-3);
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 BENTO COLLECTIONS GRID (LIGHT THEME)
   * ------------------------------------------------------------- */
  .cats,
  .cats.dark {
    background: #F3ECE1;
    padding: 80px 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }
  .sec-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    margin-bottom: 38px;
  }
  .sec-h h2,
  .cats h2,
  .dark .sec-h h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 3.8vw, 44px);
    margin: 0;
    letter-spacing: -0.015em;
    color: #1E1B16 !important;
  }
  .sec-h p,
  .dark .sec-h p { margin: 8px 0 0; font-size: 15px; color: var(--mut-d) !important; }
  
  .more,
  .dark .more {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary) !important;
    transition: transform var(--duration-short);
  }
  .more:hover { transform: translateX(4px); text-decoration: underline; text-underline-offset: 4px; }

  /* Bento Grid with Clean White Elevated Cards */
  .cgrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .cgrid a {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    padding: 26px 28px;
    border-radius: var(--shape-xl);
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: var(--elevation-1);
    transition: transform var(--duration-medium) var(--easing-spring),
                box-shadow var(--duration-medium) var(--easing-standard),
                background-color var(--duration-short),
                border-color var(--duration-short);
  }
  .cgrid a:hover {
    background: #FFFFFF;
    border-color: var(--md-sys-color-primary);
    transform: translateY(-4px);
    box-shadow: var(--elevation-3);
  }
  .cgrid i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--shape-full);
    background: var(--md-sys-color-primary-container);
    border: 1px solid rgba(133, 92, 14, 0.25);
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
    color: var(--md-sys-color-primary);
    flex: none;
  }
  .cgrid b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: #1E1B16;
  }
  .cgrid small {
    display: block;
    margin-top: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .cgrid svg.i {
    margin-left: auto;
    color: var(--md-sys-color-primary);
    transition: transform var(--duration-medium) var(--easing-spring);
  }
  .cgrid a:hover svg.i { transform: translateX(6px); }

  /* -------------------------------------------------------------
   * MATERIAL 3 PRODUCT CARDS (LIGHT LUXURY)
   * ------------------------------------------------------------- */
  .prods {
    background: var(--md-sys-color-surface);
    padding: 80px 0 88px;
  }
  .pgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    overflow: hidden;
    box-shadow: var(--elevation-1);
    transition: transform var(--duration-medium) var(--easing-spring),
                box-shadow var(--duration-medium) var(--easing-standard),
                border-color var(--duration-short);
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elevation-3);
    border-color: var(--md-sys-color-primary);
  }

  .ph {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5EFE7;
  }
  .ph > a { position: absolute; inset: 0; display: block; }
  .ph > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-long) var(--easing-emphasized);
  }
  .card:hover .ph > a > img { transform: scale(1.06); }

  .ph-none {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 16px;
    background: radial-gradient(85% 85% at 50% 32%, #FAF4E9 0%, #EDE2CE 72%);
    color: var(--md-sys-color-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
  }
  .ph-none img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--md-sys-color-primary), 0 0 0 6px #FFFFFF;
  }
  .ph-none.big img { width: 92px; height: 92px; }
  .ph-none.big { font-size: 12px; }

  /* Expressive Pill Badges */
  .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: #855C0E;
    border: 1px solid rgba(133, 92, 14, 0.35);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--shape-full);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(133, 92, 14, 0.15);
  }

  /* Wishlist Floating Spring Heart */
  .heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(133, 92, 14, 0.15);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    color: #6C5432;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform var(--duration-short) var(--easing-spring),
                color var(--duration-short),
                background-color var(--duration-short);
  }
  .heart:hover {
    color: #BA1A1A;
    background: #FFFFFF;
    transform: scale(1.12);
  }
  .heart[aria-pressed="true"], .wish-l[aria-pressed="true"] {
    color: #BA1A1A !important;
  }
  .heart[aria-pressed="true"] svg.i, .wish-l[aria-pressed="true"] svg.i {
    fill: currentColor;
  }

  /* Card Content & Details */
  .bd {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
  }
  .card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18.5px;
    line-height: 1.28;
    margin: 8px 0 12px;
    color: #1E1B16;
  }
  .card h3 a:hover { color: var(--md-sys-color-primary); }

  /* Tonal Weight Pill Box */
  .wt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px;
    padding: 9px 14px;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-md);
    font-size: 13.5px;
    color: var(--md-sys-color-on-surface-variant);
  }
  .wt b {
    color: var(--gold-d);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
  }

  .bd form { display: flex; flex-direction: column; flex: 1; }
  
  /* Inline Remark Input */
  .rm {
    width: 100%;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-md);
    padding: 10px 14px;
    background: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #1E1B16;
    transition: border-color var(--duration-short), box-shadow var(--duration-short);
  }
  .rm::placeholder { color: #847969; }
  .rm:focus {
    outline: none;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px rgba(133, 92, 14, 0.2);
  }

  .act {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
  }

  /* Tactile Pill Quantity Stepper */
  .qty {
    display: inline-flex;
    align-items: center;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-full);
    padding: 3px;
    flex: none;
  }
  .qty button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #FFFFFF;
    color: #1E1B16;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all var(--duration-short);
  }
  .qty button:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
  }
  .qty button:active { transform: scale(0.92); }
  .qty input {
    width: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: #1E1B16;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
  }
  .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Material Expressive Add-To-Cart Pill */
  .add {
    flex: 1 1 120px;
    min-height: 42px;
    border: 0;
    border-radius: var(--shape-full);
    background: linear-gradient(135deg, #1E1B16 0%, #302A22 100%);
    color: #F8F3EA;
    border: 1px solid rgba(133, 92, 14, 0.35);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform var(--duration-short) var(--easing-spring),
                background var(--duration-short),
                box-shadow var(--duration-short);
  }
  .add:hover {
    background: linear-gradient(135deg, #ECC26B 0%, #D4A345 100%);
    color: #1A1408;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.35);
  }
  .add:active { transform: scale(0.96); }
  .add[disabled] { opacity: 0.65; cursor: progress; transform: none !important; }

  /* -------------------------------------------------------------
   * MATERIAL 3 TRADE HOW-IT-WORKS SECTION (LIGHT THEME)
   * ------------------------------------------------------------- */
  .trade,
  .trade.dark {
    background: #F5EFE7;
    padding: 80px 0 88px;
    border-top: 1px solid var(--md-sys-color-outline-variant);
  }
  .trade h2,
  .trade.dark h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4vw, 48px);
    color: #1E1B16 !important;
    margin: 16px 0 36px;
  }
  .steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: s;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .steps li {
    counter-increment: s;
    padding: 32px 30px;
    border-radius: var(--shape-xl);
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: var(--elevation-1);
  }
  .steps li::before, .howto li::before {
    content: counter(s, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--shape-full);
    background: var(--md-sys-color-primary-container);
    border: 1px solid rgba(133, 92, 14, 0.35);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--md-sys-color-primary);
  }
  .steps b {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #1E1B16;
  }
  .steps span {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 15px;
    line-height: 1.6;
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 LISTINGS & FILTER SYSTEM (SHOP PAGE)
   * ------------------------------------------------------------- */
  .shop {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding-top: 44px;
    padding-bottom: 88px;
  }
  @media (min-width: 961px) {
    .shop .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  .filters {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 24px;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    box-shadow: var(--elevation-1);
  }
  .filters fieldset {
    margin: 0 0 24px;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    min-width: 0;
  }
  .filters fieldset:last-of-type { border-bottom: 0; margin-bottom: 16px; padding-bottom: 8px; }
  .filters legend {
    padding: 0;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: #1E1B16;
  }
  .filters legend small {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--mut-d);
  }
  .f-head { display: none; }

  /* Custom Expressive Checkbox Pill */
  .check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--shape-md);
    font-size: 14.5px;
    color: #1E1B16;
    cursor: pointer;
    transition: background-color var(--duration-short);
  }
  .check:hover {
    background: var(--md-sys-color-surface-container);
  }
  .check input {
    width: 19px;
    height: 19px;
    margin: 0;
    border-radius: var(--shape-xs);
    accent-color: var(--gold-d);
    flex: none;
    cursor: pointer;
  }
  .check small {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: var(--shape-full);
    background: var(--md-sys-color-surface-container);
    color: var(--mut-d);
    font-weight: 600;
    font-size: 11.5px;
  }

  .range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .range span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .range .input { min-height: 44px; padding: 10px 12px; border-radius: var(--shape-md); }

  .f-actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
  .f-actions .btn { min-height: 46px; padding: 12px 26px; }

  /* Toolbar & Chips */
  .toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-bottom: 24px;
    padding: 14px 20px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    box-shadow: var(--elevation-1);
  }
  .f-toggle { display: none; min-height: 44px; padding: 10px 20px; }
  .shown { margin: 0 auto 0 0; font-size: 14.5px; color: var(--mut-d); }
  .shown b { color: #1E1B16; font-weight: 700; }
  
  .sort {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .sort .input {
    width: auto;
    min-height: 44px;
    padding: 8px 38px 8px 16px;
    border-radius: var(--shape-full);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: #1E1B16;
  }

  /* Material 3 Expressive Chips */
  .chips {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .chips a, .chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--shape-full);
    border: 1px solid var(--md-sys-color-outline-variant);
    background: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    color: #1E1B16;
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short) var(--easing-standard);
  }
  .chips a:hover {
    border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    background: var(--md-sys-color-surface-container-low);
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
  }
  .chips svg.i { width: 14px; height: 14px; }
  .search .chips a, .dark .chips a {
    background: #FFFFFF;
    border-color: var(--md-sys-color-outline-variant);
    color: #1E1B16;
  }
  .search .chips a:hover { border-color: var(--md-sys-color-primary); }

  .matches {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 24px;
  }
  .matches > span {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mut-d);
  }

  .more-wrap { display: flex; justify-content: center; margin: 44px 0 0; }

  /* Gated Trade Account Bento Card in Light Theme */
  .gate {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px 30px;
    margin-top: 36px;
    padding: 32px 36px;
    background: #FFFFFF;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    color: #1E1B16;
    box-shadow: var(--elevation-2);
  }
  .gate > svg.i {
    width: 44px;
    height: 44px;
    color: var(--md-sys-color-primary);
    stroke-width: 1.5;
  }
  .gate h2 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: #1E1B16;
  }
  .gate p { margin: 0; color: var(--mut-d); font-size: 15px; }
  .gate .cta { margin: 0; }

  .empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 80px 0 96px;
    text-align: center;
  }
  .empty .big-i { margin: 0 auto; color: var(--md-sys-color-primary); }
  .empty h2 {
    margin: 20px 0 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
  }
  .empty p { color: var(--mut-d); margin: 0 auto; max-width: 500px; font-size: 16px; }
  .empty .cta { justify-content: center; margin-top: 30px; }
  .results .empty { padding-top: 56px; }
  .list-pad { padding: 36px 0 84px; }
  .list-pad > .shown { margin-bottom: 20px; }

  /* -------------------------------------------------------------
   * MATERIAL 3 PRODUCT DETAIL PAGE (PDP)
   * ------------------------------------------------------------- */
  .pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: start;
    padding: 32px 0 76px;
  }
  .g-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5EFE7;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    box-shadow: var(--elevation-2);
  }
  .g-main > img { width: 100%; height: 100%; object-fit: cover; }
  
  .thumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 16px 0 0;
    padding: 0;
  }
  .thumbs button {
    width: 84px;
    height: 84px;
    padding: 0;
    border: 2px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-lg);
    overflow: hidden;
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short);
  }
  .thumbs button[aria-current="true"] {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 2px var(--md-sys-color-primary), var(--elevation-2);
    transform: scale(1.04);
  }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }

  .info { padding-top: 10px; }
  .info .code { font-size: 13px; }
  .info h1 {
    margin: 10px 0 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.1;
  }

  /* Material 3 Facts Specifications Bento Box in Light Theme */
  .facts {
    margin: 0 0 28px;
    padding: 16px 20px;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
  }
  .facts div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }
  .facts div:last-child { border-bottom: 0; }
  .facts dt { color: var(--mut-d); font-size: 14.5px; font-weight: 500; }
  .facts dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
    color: #1E1B16;
  }
  .facts dd a {
    color: var(--gold-d);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .facts dd small { display: block; font-weight: 500; color: var(--mut-d); font-size: 12.5px; }
  .facts .w {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    color: var(--gold-d);
  }

  .buy .field { margin-bottom: 18px; }
  .buy-row { display: flex; gap: 14px; }
  .qty-l { border-radius: var(--shape-full); padding: 4px; }
  .qty-l button { width: 48px; height: 48px; font-size: 20px; }
  .qty-l input { width: 64px; font-size: 17px; }
  .add-l { flex: 1; min-height: 56px; font-size: 14px; }

  .wish-l {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 22px;
    border-radius: var(--shape-full);
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1E1B16;
    cursor: pointer;
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short);
  }
  .wish-l:hover {
    background: var(--md-sys-color-surface-container-low);
    border-color: var(--md-sys-color-primary);
  }

  .desc {
    margin-top: 28px;
    padding: 24px;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
  }
  .desc h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 10px;
  }
  .desc p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--body-d); }

  .assure {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    font-size: 14.5px;
    color: var(--mut-d);
    box-shadow: var(--elevation-1);
  }
  .assure li { display: flex; gap: 12px; align-items: flex-start; }
  .assure svg.i { color: var(--gold-d); margin-top: 2px; }
  .related { padding-top: 68px; border-top: 1px solid var(--md-sys-color-outline-variant); }

  /* -------------------------------------------------------------
   * MATERIAL 3 INPUTS & FORM SYSTEM
   * ------------------------------------------------------------- */
  .field { display: grid; align-content: start; gap: 8px; margin-bottom: 20px; }
  .field > label {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4C4438;
  }
  .field > label small {
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--mut-d);
    font-size: 12.5px;
  }
  .field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

  .input {
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-md);
    background: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15.5px;
    color: #1E1B16;
    transition: border-color var(--duration-short), box-shadow var(--duration-short);
  }
  .input::placeholder { color: #847969; }
  .input:focus {
    outline: none;
    border-color: var(--gold-d);
    box-shadow: 0 0 0 3px rgba(133, 92, 14, 0.2);
  }
  .input[aria-invalid="true"] { border-color: var(--err); }
  .input[readonly] { background: var(--md-sys-color-surface-container-low); color: var(--mut-d); }

  select.input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23855C0E' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center;
  }
  textarea.input { min-height: 100px; resize: vertical; border-radius: var(--shape-lg); }

  .f-err { margin: 0; color: var(--err); font-size: 13.5px; font-weight: 600; }
  .f-note { margin: 0; color: var(--mut-d); font-size: 13px; }
  .f-note a { color: var(--gold-d); text-decoration: underline; font-weight: 600; }

  .tel { display: flex; }
  .tel > span {
    display: grid;
    place-items: center;
    padding: 0 18px;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-right: 0;
    border-radius: var(--shape-md) 0 0 var(--shape-md);
    background: var(--md-sys-color-surface-container);
    font-weight: 700;
    color: var(--mut-d);
  }
  .tel .input { flex: 1; min-width: 0; border-radius: 0 var(--shape-md) var(--shape-md) 0; }

  .otp {
    max-width: 320px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.45em;
    text-align: center;
    padding-left: calc(18px + 0.45em);
    border-radius: var(--shape-lg);
  }

  .alert {
    margin: 0 0 22px;
    padding: 16px 20px;
    border-left: 4px solid var(--err);
    border-radius: var(--shape-md);
    background: #FDF2F2;
    color: #8C1D1D;
    font-size: 15px;
    box-shadow: var(--elevation-1);
  }
  .alert a { font-weight: 700; text-decoration: underline; }

  .panel {
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    padding: 36px;
    box-shadow: var(--elevation-1);
  }
  .panel h2 {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 AUTHENTICATION (TRADE LOGIN & REGISTER)
   * ------------------------------------------------------------- */
  .auth {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    width: calc(100% - 2 * var(--gut));
    max-width: 1100px;
    margin: 56px auto 88px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    overflow: hidden;
    box-shadow: var(--elevation-3);
  }
  .auth-side,
  .auth-side.dark {
    padding: 52px 48px;
    background: linear-gradient(145deg, #F5ECE0 0%, #EFE5D6 100%);
    border-right: 1px solid var(--md-sys-color-outline-variant);
  }
  .auth-side > img {
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--md-sys-color-primary), 0 0 0 6px #FFFFFF, 0 0 16px rgba(201, 151, 56, 0.35);
    margin-bottom: 32px;
  }
  .auth-side h2 {
    margin: 14px 0 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 3.6vw, 44px);
    color: #1E1B16;
  }
  .ticks {
    list-style: none;
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    color: #2E2820;
    font-size: 15px;
    line-height: 1.6;
  }
  .ticks li { display: flex; gap: 14px; align-items: flex-start; }
  .ticks svg.i { color: var(--md-sys-color-primary); margin-top: 3px; }
  .ticks b {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--md-sys-color-primary);
    border-radius: 50%;
    color: var(--md-sys-color-primary);
    font-size: 12px;
  }

  .auth-main { padding: 52px 52px 48px; background: #FFFFFF; }
  .auth-main h1 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 3.8vw, 46px);
  }
  .auth-main .lede a { color: var(--gold-d); font-weight: 700; text-decoration: underline; }
  .auth-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
  }
  .auth-foot { margin: 26px 0 0; color: var(--mut-d); font-size: 14.5px; }
  .auth-foot a { color: var(--gold-d); font-weight: 700; text-decoration: underline; }
  .recap {
    margin: 0 0 22px;
    padding: 16px 20px;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-lg);
    font-size: 14.5px;
  }
  .recap div { display: flex; gap: 12px; }
  .recap dt { width: 60px; color: var(--mut-d); }
  .recap dd { margin: 0; font-weight: 700; color: #1E1B16; }

  /* -------------------------------------------------------------
   * MATERIAL 3 CART & CHECKOUT (LIGHT LUXURY)
   * ------------------------------------------------------------- */
  .cartp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
    padding: 36px 0 88px;
  }
  .lines ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    overflow: hidden;
    box-shadow: var(--elevation-1);
  }
  .line {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 22px;
    padding: 22px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }
  .line:last-child { border-bottom: 0; }
  .l-ph, .co-ph {
    position: relative;
    display: block;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: var(--shape-lg);
    background: var(--md-sys-color-surface-container);
    flex: none;
  }
  .l-ph > img, .co-ph > img { width: 100%; height: 100%; object-fit: cover; }
  .l-ph .ph-none img { width: 40px; height: 40px; }

  .l-main h2 {
    margin: 4px 0 6px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
  }
  .l-main h2 a:hover { color: var(--gold-d); }
  .l-wt { margin: 0 0 12px; font-size: 13.5px; color: var(--mut-d); }
  .l-wt b { color: var(--gold-d); }
  .warn { margin: 0 0 12px; color: var(--err); font-size: 13.5px; font-weight: 700; }
  .l-fields { display: flex; gap: 12px; }
  .l-fields .input { min-height: 44px; padding: 10px 14px; font-size: 14px; border-radius: var(--shape-md); }
  .l-fields .l-size { max-width: 130px; }

  .l-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
  }
  .l-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--shape-full);
    background: transparent;
    border: 0;
    color: var(--mut-d);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--duration-short);
  }
  .l-remove:hover {
    color: var(--err);
    background: #FDF2F2;
  }
  .l-remove svg.i { width: 16px; height: 16px; }
  .save-row { display: flex; align-items: center; gap: 16px; margin: 18px 0 0; font-size: 13.5px; color: var(--mut-d); }
  .save-row span, .js .save-row .btn { display: none; }
  .js .save-row span { display: inline; }

  /* Tonal Summary Card in Light Luxury Theme */
  .summary,
  .summary.dark {
    position: sticky;
    top: 104px;
    padding: 32px;
    background: #FFFFFF;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    color: #1E1B16;
    box-shadow: var(--elevation-2);
  }
  .summary h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: #1E1B16;
  }
  .summary dl { margin: 0 0 22px; }
  .summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    font-size: 15px;
  }
  .summary dt { color: var(--mut-d); }
  .summary dd { margin: 0; font-weight: 700; text-align: right; }
  .summary .big dd {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    color: var(--md-sys-color-primary);
  }
  .summary p { color: var(--mut-d); font-size: 14.5px; }
  .summary .btn { width: 100%; margin-top: 12px; }
  .summary .hold {
    padding: 14px 18px;
    border-radius: var(--shape-lg);
    border: 1px solid var(--md-sys-color-outline-variant);
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
  }
  .summary .hold a { color: var(--md-sys-color-primary); text-decoration: underline; }
  .o-remark { margin: 0 0 10px; padding-top: 6px; font-size: 14.5px; color: #1E1B16 !important; }
  .o-remark span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mut-d);
  }

  /* Checkout Flow */
  .checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 36px;
    align-items: start;
    padding: 36px 0 88px;
  }
  .choice { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
  .choice legend {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: #1E1B16;
  }
  .step {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    margin-right: 14px;
    border-radius: 50%;
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-primary);
    border: 1.5px solid rgba(133, 92, 14, 0.4);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0;
  }
  .co-main .field > label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0;
    text-transform: none;
    color: #1E1B16;
    margin-bottom: 6px;
  }
  .co-main .field > label small { font-family: var(--font-body); font-weight: 500; font-size: 13px; }

  /* Segmented Material 3 Radio Cards */
  .opts { display: flex; flex-wrap: wrap; gap: 12px; }
  .opt { position: relative; }
  .opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .opt span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 124px;
    min-height: 60px;
    padding: 12px 22px;
    border: 1.5px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-lg);
    background: #FFFFFF;
    font-weight: 700;
    color: #1E1B16;
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short) var(--easing-standard);
  }
  .opt b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
  .opt small { margin-top: 4px; font-weight: 500; font-size: 12px; color: var(--mut-d); }
  .opt input:checked + span {
    border-color: var(--gold-d);
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    box-shadow: 0 0 0 2px var(--gold-d), var(--elevation-2);
  }
  .opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

  .co-who {
    margin: 8px 0 26px;
    padding: 18px 0 0;
    border-top: 1px solid var(--md-sys-color-outline-variant);
    font-size: 14.5px;
  }
  .co-who h2 {
    margin: 0 0 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .co-who p { margin: 0 0 10px; line-height: 1.6; }

  .co-lines {
    position: sticky;
    top: 104px;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    box-shadow: var(--elevation-1);
  }
  .co-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
  .co-h h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
  .co-lines ul, .o-lines { list-style: none; margin: 0; padding: 0; }
  .co-lines ul { max-height: 54vh; overflow: auto; }
  .co-lines li, .o-lines li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--md-sys-color-outline-variant);
  }
  .co-lines .co-ph { width: 62px; height: 62px; border-radius: var(--shape-md); }
  .o-lines .co-ph { width: 78px; height: 78px; border-radius: var(--shape-md); }
  .co-ph .ph-none img { width: 28px; height: 28px; }
  
  .co-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14.5px; color: var(--ink-d); }
  .co-t b { color: var(--gold-d); font-size: 12.5px; letter-spacing: 0.08em; }
  .co-t a:hover { color: var(--gold-d); }
  .co-t small { color: var(--mut-d); font-size: 13px; }
  .co-rm { font-style: italic; overflow-wrap: anywhere; }

  .co-tot { margin: 12px 0 0; border-top: 1px solid var(--md-sys-color-outline-variant); }
  .co-tot div { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 15px; }
  .co-tot dt { color: var(--mut-d); }
  .co-tot dd { margin: 0; font-weight: 800; color: var(--ink-d); }

  /* -------------------------------------------------------------
   * MATERIAL 3 ACCOUNT & ORDERS TABLE
   * ------------------------------------------------------------- */
  .acctp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    padding-top: 36px;
    padding-bottom: 88px;
  }
  .acct-side h2 { font-size: 24px; margin-bottom: 12px; }
  .acct-side h2 + p { margin-top: 0; }
  .acct-side p { font-size: 15px; color: var(--mut-d); }
  .ok-line { display: flex; align-items: center; gap: 10px; color: var(--ok) !important; font-weight: 700; }
  .links { list-style: none; margin: 0; padding: 0; }
  .links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    font-weight: 700;
    color: #1E1B16;
    transition: color var(--duration-short);
  }
  .links a:hover { color: var(--gold-d); }

  /* Tactile Modern Data Table */
  .otable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-2xl);
    overflow: hidden;
    box-shadow: var(--elevation-1);
  }
  .otable th, .otable td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    text-align: left;
    font-size: 15px;
  }
  .otable thead th {
    background: var(--md-sys-color-surface-container);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .otable tbody th a { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #1E1B16; }
  .otable tbody th a:hover { color: var(--gold-d); }
  .otable tr:last-child > * { border-bottom: 0; }

  /* M3 Status Pill Chip */
  .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 10px;
    border-radius: var(--shape-full);
    border: 1px solid var(--md-sys-color-outline-variant);
    background: var(--md-sys-color-surface-container-low);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E1B16;
    white-space: nowrap;
  }
  .status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c, #607d8b);
    box-shadow: 0 0 6px var(--c, #607d8b);
  }

  .placed {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 32px 0 0;
    padding: 24px 28px;
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
    border-radius: var(--shape-xl);
    box-shadow: var(--elevation-1);
  }
  .placed > svg.i { width: 32px; height: 32px; color: var(--ok); flex: none; }
  .placed h2 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    color: #1B5E20;
  }
  .placed p { margin: 0; color: #2E7D32; font-size: 15px; }

  .order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
    padding: 32px 0 88px;
  }
  .o-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 8px; }
  .o-head h2 { margin: 0; }

  /* -------------------------------------------------------------
   * MATERIAL 3 EDITORIAL & CONTENT PAGES (ABOUT, BLOG, BANK)
   * ------------------------------------------------------------- */
  .prose {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--body-d);
  }
  .prose h1, .prose h2, .prose h3, .prose h4 {
    margin: 1.5em 0 0.5em;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: #1E1B16;
  }
  .prose > :first-child, .prose > :first-child > :first-child { margin-top: 0; }
  .prose h1, .prose h2 { font-size: 34px; }
  .prose h3, .prose h4 { font-size: 26px; }
  .prose a { color: var(--gold-d); text-decoration: underline; font-weight: 600; }
  .prose ul, .prose ol { padding-left: 1.4em; }

  .doc { padding: 48px 0 96px; }
  .about {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
    align-items: center;
    padding: 68px 0 76px;
  }
  .about-art { margin: 0; }
  .about-art img {
    width: 100%;
    height: auto;
    border-radius: 999px 999px var(--shape-xl) var(--shape-xl);
    box-shadow: var(--elevation-3);
  }
  .about-art .mark {
    max-width: 380px;
    margin-left: auto;
    padding: 38px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
  }

  .howto {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .howto li {
    counter-increment: s;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    box-shadow: var(--elevation-1);
    transition: transform var(--duration-medium) var(--easing-spring);
  }
  .howto li:hover { transform: translateY(-4px); }
  .howto b {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #1E1B16;
  }
  .howto p { margin: 0; font-size: 14.5px; color: var(--mut-d); line-height: 1.6; }

  /* Contact Page */
  .contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: start;
    padding: 48px 0 88px;
  }
  .contact.solo { grid-template-columns: minmax(0, 800px); justify-content: center; }

  .reach {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
  }
  .reach li {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--shape-xl);
    box-shadow: var(--elevation-1);
    transition: transform var(--duration-short);
  }
  .reach li:hover { transform: translateY(-2px); }
  .reach svg.i { width: 26px; height: 26px; color: var(--gold-d); margin-top: 4px; flex: none; }
  .reach span {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mut-d);
  }
  .reach a, .reach p {
    display: block;
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: #1E1B16;
    overflow-wrap: anywhere;
  }
  .reach a:hover { color: var(--gold-d); }

  .sent { text-align: center; padding: 32px 0 16px; }
  .sent .big-i { margin: 0 auto; color: var(--ok); }
  .sent h2 { margin: 16px 0 10px; font-family: var(--font-display); font-weight: 700; }
  .sent p { color: var(--mut-d); font-size: 15.5px; }

  /* Blog Grid */
  .bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .post-ph {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: var(--shape-xl);
    background: var(--md-sys-color-surface-container);
    box-shadow: var(--elevation-1);
  }
  .post-ph > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-long) var(--easing-emphasized); }
  .post:hover .post-ph > img { transform: scale(1.06); }
  .post h3 {
    margin: 8px 0 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
  }
  .post h3 a:hover { color: var(--gold-d); }
  .post p { margin: 0; font-size: 15px; color: var(--mut-d); line-height: 1.6; }
  .post-body { padding-top: 44px; padding-bottom: 96px; }
  .post-hero { width: 100%; height: auto; border-radius: var(--shape-2xl); margin-bottom: 36px; }
  .post-body .chips { margin-top: 32px; }

  /* Bank Details Request in Light Theme */
  .bank {
    max-width: 660px;
    margin: 0 auto;
    padding: 80px 0 104px;
    text-align: center;
  }
  .bank .big-i { margin: 0 auto; color: var(--md-sys-color-primary); }
  .bank h2 {
    margin: 20px 0 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
  }
  .bank > p { color: var(--mut-d); font-size: 16px; }
  .bank .cta { justify-content: center; }

  /* 404 Not Found Page */
  .nf {
    padding: 96px 0 120px;
    text-align: center;
    background: radial-gradient(70% 100% at 50% 0%, #F5EDE1 0%, #FAF8F5 75%);
  }
  .nf-code {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(100px, 18vw, 180px);
    line-height: 1;
    color: rgba(133, 92, 14, 0.14);
    -webkit-text-stroke: 1.5px rgba(133, 92, 14, 0.45);
  }
  .nf h1 {
    margin: 8px 0 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(38px, 5vw, 56px);
    color: #1E1B16;
  }
  .nf .lead { margin: 0 auto; }
  .nf-search {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 36px auto 0;
  }
  .nf-search .input {
    background: #FFFFFF;
    border-color: var(--md-sys-color-outline-variant);
    color: #1E1B16;
    border-radius: var(--shape-full);
  }
  .nf-search .input::placeholder { color: #847969; }
  .nf .cta { justify-content: center; }

  /* -------------------------------------------------------------
   * MATERIAL 3 LIGHT FOOTER
   * ------------------------------------------------------------- */
  .ft,
  .ft.dark {
    background: #F4EDE2;
    padding: 68px 0 32px;
    color: var(--mut-d);
    font-size: 14.5px;
    border-top: 1px solid var(--md-sys-color-outline-variant);
  }
  .ftg {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
  }
  .ft .fh {
    margin: 8px 0 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary);
  }
  .ft ul { list-style: none; margin: 0; padding: 0; }
  .ft li { margin: 11px 0; }
  .ft li a { color: #2E2820; font-weight: 500; transition: color var(--duration-short); }
  .ft li a:hover { color: var(--md-sys-color-primary); }
  .fb p { max-width: 320px; margin: 18px 0 0; line-height: 1.7; color: var(--mut-d); }
  .ft-contact { margin-top: 20px !important; }
  .ft-contact li { display: flex; gap: 12px; align-items: flex-start; }
  .ft-contact svg.i { width: 18px; height: 18px; margin-top: 3px; color: var(--md-sys-color-primary); }
  
  .socials { display: flex; gap: 12px; margin-top: 22px !important; }
  .socials li { margin: 0; }
  .socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--md-sys-color-outline-variant);
    background: #FFFFFF;
    color: var(--md-sys-color-primary);
    box-shadow: var(--elevation-1);
    transition: all var(--duration-short);
  }
  .socials a:hover {
    border-color: var(--md-sys-color-primary);
    background: var(--md-sys-color-primary-container);
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
  }
  .bot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
    padding-top: 26px;
    font-size: 13px;
    color: var(--mut-d);
  }

  /* -------------------------------------------------------------
   * MATERIAL 3 FLOATING ACTION BUTTON (EXTENDED FAB & TOAST)
   * ------------------------------------------------------------- */
  /* WhatsApp Floating Action Button (FAB) */
  .wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 95;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: var(--shape-full);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform var(--duration-short) var(--easing-spring),
                box-shadow var(--duration-short);
  }
  .wa-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6), 0 3px 8px rgba(0, 0, 0, 0.2);
  }
  .wa-float:active { transform: scale(0.95); }
  .wa-float svg.i { width: 28px; height: 28px; }

  /* Floating Toast / Snackbar in Light Mode (High Contrast for Instant Visibility) */
  .toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 120;
    max-width: calc(100% - 36px);
    padding: 16px 26px;
    border-radius: var(--shape-full);
    background: rgba(30, 27, 22, 0.96);
    backdrop-filter: blur(20px);
    color: #FFFFFF;
    border: 1px solid rgba(230, 188, 98, 0.5);
    box-shadow: var(--elevation-4);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    transform: translate(-50%, 180%);
    transition: transform var(--duration-medium) var(--easing-spring);
    pointer-events: none;
  }
  .toast.show {
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
  .toast:empty { display: none; }
  .toast a {
    margin-left: 10px;
    color: #ECC26B;
    font-weight: 700;
    text-decoration: underline;
  }
}

@layer responsive {
  /* -------------------------------------------------------------
   * RESPONSIVE BREAKPOINTS (PRESERVING ALL SELECTORS)
   * ------------------------------------------------------------- */
  @media (max-width: 1180px) {
    .nav > ul:first-child { gap: 18px; }
    .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (max-width: 1100px) {
    .shop { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  }

  @media (max-width: 960px) {
    .hd-in { grid-template-columns: 1fr auto; min-height: 72px; }
    .burger { display: grid; }
    .hide-m { display: none !important; }

    /* Mobile Drawer Navigation (Light Theme) */
    .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      max-height: calc(100vh - 72px);
      overflow-y: auto;
      padding: 12px var(--gut) 28px;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(28px);
      border-bottom: 1px solid var(--md-sys-color-outline-variant);
      box-shadow: var(--elevation-4);
    }
    .nav.open { display: block; }
    .nav > ul:first-child { display: block; }
    .nav li { border-bottom: 1px solid var(--md-sys-color-outline-variant); }
    .nav > ul > li > a {
      display: flex;
      padding: 16px 0;
      font-size: 14.5px;
      border: 0;
      border-radius: 0;
      color: #1E1B16;
    }
    .nav a[aria-current="page"] {
      background: transparent !important;
      color: var(--md-sys-color-primary) !important;
      box-shadow: none;
      font-weight: 700;
    }
    
    .has-menu { flex-wrap: wrap; justify-content: space-between; }
    .menu-btn { width: 44px; height: 44px; }
    .has-menu:hover > .menu { display: none; }
    .menu, .has-menu:hover > .menu.open {
      position: static;
      transform: none;
      width: 100%;
      padding: 0 0 16px;
      border: 0;
      box-shadow: none;
      background: transparent;
      opacity: 1;
      pointer-events: auto;
    }
    .menu.open { display: block; }
    .menu::before { display: none; }
    .menu-coll ul { columns: 1; min-width: 0; }
    .menu a { padding: 10px 0 10px 18px; border-radius: var(--shape-md); }
    
    .nav-acct { display: block; margin-top: 14px !important; }
    .nav-acct a { display: block; padding: 15px 0; font-weight: 700; color: var(--md-sys-color-primary); }

    .hero, .hero.dark { padding: 56px 0 68px; }
    .hero-in { grid-template-columns: 1fr; }
    .art { height: 400px; max-width: 380px; margin: 24px auto 0; }
    .frameline { width: 270px; height: 380px; }
    .arch.big { width: 270px; height: 370px; }
    .arch.small { width: 140px; height: 185px; }

    .cgrid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .shop { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }

    /* Mobile Filters Modal Drawer in Light Mode */
    .filters {
      display: none;
      position: fixed;
      inset: 0 auto 0 0;
      z-index: 150;
      width: min(380px, 92vw);
      max-height: none;
      padding: 0 24px 32px;
      border-radius: 0 var(--shape-2xl) var(--shape-2xl) 0;
      background: var(--md-sys-color-surface);
      box-shadow: 0 0 0 100vmax rgba(30, 27, 22, 0.45), var(--elevation-5);
    }
    .filters.open { display: block; }
    .f-head {
      display: flex;
      position: sticky;
      top: 0;
      z-index: 2;
      justify-content: space-between;
      align-items: center;
      margin: 0 -24px 20px;
      padding: 16px 24px;
      background: #F4EDE2;
      color: #1E1B16;
      border-bottom: 1px solid var(--md-sys-color-outline-variant);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 24px;
    }
    .f-head .icon-btn { color: #1E1B16; }
    .f-toggle { display: inline-flex; }

    .gate { grid-template-columns: 1fr; }
    .pdp { grid-template-columns: 1fr; gap: 36px; }
    .cartp, .checkout, .order, .acctp { grid-template-columns: 1fr; }
    .summary, .co-lines { position: static; }

    .auth { grid-template-columns: 1fr; }
    .auth-side, .auth-side.dark { order: 2; padding: 36px var(--gut); }

    .about, .contact { grid-template-columns: 1fr; gap: 36px; }
    .about-art .mark { margin: 0 auto; }
    .howto { grid-template-columns: 1fr 1fr; }
    .bgrid { grid-template-columns: 1fr 1fr; }
    .ftg { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 720px) {
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bd { padding: 14px 14px 16px; }
    .card h3 { font-size: 16px; }
    .code { font-size: 10px; letter-spacing: 0.12em; }
    .act { flex-direction: column; gap: 10px; }
    .card .qty { width: 100%; justify-content: space-between; }
    .card .qty input { flex: 1; }
    .card .qty button { width: 36px; height: 36px; }
    .add { width: 100%; min-height: 42px; }
    .heart { width: 36px; height: 36px; top: 10px; right: 10px; }
    .badge { top: 10px; left: 10px; padding: 4px 10px; font-size: 9px; }

    .field-2 { grid-template-columns: 1fr; }
    .panel { padding: 24px 20px; }

    .auth { width: 100%; margin: 0; border: 0; border-radius: 0; }
    .auth-main { padding: 36px var(--gut) 40px; }

    .line { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 16px; }
    .l-ph { width: 80px; height: 80px; }
    .l-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .l-fields { flex-direction: column; }
    .l-fields .l-size { max-width: none; }

    .otable thead { display: none; }
    .otable, .otable tbody, .otable tr, .otable th, .otable td { display: block; }
    .otable tr {
      margin-bottom: 12px;
      padding: 16px;
      border: 1px solid var(--md-sys-color-outline-variant);
      border-radius: var(--shape-xl);
      background: #FFFFFF;
    }
    .otable th, .otable td { padding: 6px 0; border: 0; }
    .otable td[data-label]::before {
      content: attr(data-label);
      display: inline-block;
      width: 96px;
      color: var(--mut-d);
      font-weight: 700;
      font-size: 13px;
    }

    .sg-list { grid-template-columns: 1fr; }
    .search-in .btn { display: none; }
    .tbtn { margin-left: 4px; padding: 8px 14px; font-size: 11px; }
    .hide-s { display: none !important; }

    .sec-h { margin-bottom: 26px; }
    .cats, .cats.dark, .prods { padding: 60px 0 64px; }
    .ftg { grid-template-columns: 1fr; gap: 32px; }
    .bgrid { grid-template-columns: 1fr; }
    .howto { grid-template-columns: 1fr; }
    .nf-search { flex-direction: column; }
  }

  @media (max-width: 560px) {
    .cgrid { grid-template-columns: 1fr; }
    .cgrid a { padding: 20px 22px; }
    .stats dd { font-size: 30px; }
    .stats div + div { padding-left: 14px; }
    .art { height: 340px; max-width: 310px; }
    .frameline { width: 220px; height: 320px; right: 8px; }
    .arch.big { width: 220px; height: 310px; right: 24px; }
    .arch.small { width: 120px; height: 160px; }
    .brand b { font-size: 22px; }
    .brand img { width: 40px; height: 40px; }
    .ann { letter-spacing: 0.16em; font-size: 10px; }
    .toolbar .sort span { display: none; }
    .tabs { gap: 10px; }
    .tabs a { letter-spacing: 0.08em; font-size: 11.5px; padding: 10px 18px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      transition: none !important;
      animation: none !important;
    }
  }
}
