    /* CSS Custom Variables for curated premium theme */
    :root {
  --gf-badge-color: #34d399;

      --bg-color: #0c0c0e;
      --card-bg: #151519;
      --card-border: rgba(255, 255, 255, 0.06);
      --card-border-hover: rgba(251, 191, 36, 0.2);
      --gold-primary: #fbbf24;
      --gold-dark: #d97706;
      --gold-light: #fef08a;
      --text-primary: #f3f4f6;
      --text-secondary: #a1a1aa;
      --text-muted: #a1a1aa; /* A11y contrast fix (Dark) */
      --danger: #ef4444;
      --danger-bg: rgba(239, 68, 68, 0.1);
      --success: #10b981;
      --max-width: 1200px;
      --heading-color: #ffffff;
      --header-bg: rgba(21, 21, 25, 0.7);
      --glass-bg: rgba(255, 255, 255, 0.02);
      --glass-bg-hover: rgba(255, 255, 255, 0.04);
      --glass-accent-bg: rgba(184, 151, 88, 0.08);
      --brand-red: #be1622;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --nutrition-bg: #111114;
      --footer-bg: #08080a;
      --popover-bg: rgba(21, 21, 25, 0.85);
      --image-wrapper-bg: radial-gradient(circle at 50% 45%, #ffffff 55%, #f1f3f6 100%);
      --thumb-bg: #ffffff;
      --catalog-img-bg: radial-gradient(circle at 50% 45%, #ffffff 60%, #f1f3f6 100%);
      --related-thumb-bg: #ffffff;
    }

    /* Light Theme - Brand Owner Charter (Brasserie Dupont) */
    .light-theme {
      --bg-color: #fdfcf9;
      --card-bg: #ffffff;
      --card-border: rgba(140, 108, 29, 0.15);
      --card-border-hover: rgba(190, 22, 34, 0.35);
      --gold-primary: #7a5d19; /* A11y contrast fix (Light) */
      --gold-dark: #6e5414;
      --gold-light: #ab8836;
      --text-primary: #242220;
      --text-secondary: #59534e;
      --text-muted: #5b6270; /* A11y contrast fix (Light) */
      --danger: #be1622;
      --danger-bg: rgba(190, 22, 34, 0.05);
      --success: #0d8a5f;
      --heading-color: #1a1817;
      --header-bg: rgba(253, 252, 249, 0.85);
      --glass-bg: rgba(140, 108, 29, 0.04);
      --glass-bg-hover: rgba(140, 108, 29, 0.08);
      --glass-accent-bg: rgba(190, 22, 34, 0.05);
      --brand-red: #be1622;
      --shadow-sm: 0 1px 3px rgba(140, 108, 29, 0.03);
      --shadow-md: 0 4px 6px rgba(140, 108, 29, 0.06);
      --shadow-lg: 0 10px 15px rgba(140, 108, 29, 0.08);
      --nutrition-bg: #FAF8F5;
      --footer-bg: #F5F2EC;
      --popover-bg: rgba(253, 252, 249, 0.96);
      --image-wrapper-bg: radial-gradient(circle at 50% 45%, #ffffff 55%, #f7f5f0 100%);
      --thumb-bg: #ffffff;
      --catalog-img-bg: radial-gradient(circle at 50% 45%, #ffffff 60%, #faf8f5 100%);
      --related-thumb-bg: #ffffff;
    }

    /* Base Reset */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      overflow-x: clip;
      max-width: 100%;
    }

    body {
      font-family: 'Inter', -apple-system, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-primary);
      line-height: 1.6;
      padding-bottom: 84px;
      -webkit-font-smoothing: antialiased;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    h1, h2, h3, h4 {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.2;
      transition: color 0.3s ease;
    }

    /* Skip link for keyboard users */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 16px;
      background: var(--gold-primary);
      color: #000000;
      padding: 12px 24px;
      font-weight: bold;
      text-decoration: none;
      border-radius: 8px;
      z-index: 100;
      transition: top 0.2s;
    }

    .light-theme .skip-link {
      background: #1a1817;
      color: #ffffff;
      outline: 2px solid #7a5d19;
    }

    .skip-link:focus {
      top: 16px;
      outline: 3px solid #ffffff;
    }

    /* Accessibility Focus styling */
    :focus-visible {
      outline: 3px solid var(--gold-primary);
      outline-offset: 4px;
    }

    /* Container Utility */
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    @media (max-width: 639px) {
      .container {
        padding: 0 16px;
      }
    }

    /* Visually Hidden Utility */
    .visually-hidden {
      position: absolute !important;
      clip-path: inset(50%) !important;
      overflow: hidden !important;
      width: 1px !important;
      height: 1px !important;
      margin: -1px !important;
      padding: 0 !important;
      border: 0 !important;
      white-space: nowrap !important;
    }

    /* Header styling with glassmorphism */
    header {
      background: var(--header-bg);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--card-border);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 14px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
      min-width: 0;
    }

    .brand-logo img {
      height: 40px;
      width: auto;
      flex-shrink: 0;
    }

    .brand-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--heading-color);
      letter-spacing: -0.01em;
      transition: color 0.3s ease;
      white-space: nowrap;
    }

    @media (max-width: 639px) {
      .brand-logo {
        gap: 8px;
      }
      .brand-logo img {
        height: 32px;
      }
      .brand-title {
        font-size: 1.05rem;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .brand-title span {
        display: none;
      }
      .header-actions {
        gap: 8px;
      }
      .theme-toggle-btn {
        width: 36px;
        height: 36px;
      }
      .flag-picker-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        gap: 4px;
      }
    }

    /* Navigation styling */
    .nav-menu {
      display: none;
    }

    @media (min-width: 1024px) {
      .nav-menu {
        display: block;
      }
      .nav-list {
        display: flex;
        list-style: none;
        gap: 8px;
      }
      .nav-link {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s;
        padding: 6px 14px;
        border-radius: 99px;
        border: 1px solid transparent;
        white-space: nowrap;
      }
      .nav-link:hover {
        color: var(--text-primary);
        background: var(--glass-bg-hover);
        border-color: var(--card-border);
      }
      .nav-link.active {
        color: var(--gold-primary);
        font-weight: 600;
        background: var(--glass-accent-bg);
        border-color: var(--card-border);
      }
    }

    /* Actions (Theme + Language) */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* Theme Toggle Button */
    .theme-toggle-btn {
      background-color: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-primary);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      padding: 0;
    }

    .theme-toggle-btn:hover {
      border-color: var(--gold-primary);
      background-color: var(--glass-bg-hover);
      transform: translateY(-1px);
    }

    .theme-toggle-btn:active {
      transform: translateY(0);
    }

    .theme-toggle-btn svg {
      transition: transform 0.3s ease;
    }

    .theme-toggle-btn:hover svg {
      transform: rotate(15deg);
    }

    /* Hide sun icon in dark mode (default) and moon icon in light mode */
    html.light-theme .theme-toggle-btn .sun-icon {
      display: none;
    }
    html:not(.light-theme) .theme-toggle-btn .moon-icon {
      display: none;
    }

    /* Interactive Flag Button for Dropdown replacement */
    .flag-picker-btn {
      background-color: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-primary);
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }

    .flag-picker-btn:hover {
      border-color: var(--gold-primary);
      background-color: var(--glass-bg-hover);
      transform: translateY(-1px);
    }

    .flag-picker-btn:active {
      transform: translateY(0);
    }

    .active-flag {
      font-size: 1.25rem;
      line-height: 1;
    }

    .active-lang-code {
      text-transform: uppercase;
      font-weight: 600;
      letter-spacing: 0.05em;
    }

    /* Hero Section */
    .hero {
      padding-top: 48px;
      padding-bottom: 48px;
    }

    .hero-grid {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .hero-gallery {
      order: 1;
    }

    .hero-header-section {
      order: 2;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .hero-details-section {
      order: 3;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    @media (min-width: 768px) {
      .hero-grid {
        display: grid;
        grid-template-columns: 2fr 3fr;
        grid-template-rows: auto auto;
        gap: 48px;
        align-items: start;
      }
      .hero-gallery {
        grid-column: 1;
        grid-row: 1 / span 2;
        order: unset;
        align-self: center;
      }
      .hero-header-section {
        grid-column: 2;
        grid-row: 1;
        order: unset;
      }
      .hero-details-section {
        grid-column: 2;
        grid-row: 2;
        order: unset;
      }
    }

    .hero-gallery {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .main-image-wrapper {
      background: var(--image-wrapper-bg);
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      border-radius: 24px;
      padding: 40px;
      width: 100%;
      max-width: 380px;
      aspect-ratio: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
      transition: border-color 0.3s, background-color 0.3s;
    }

    .light-theme .main-image-wrapper {
      border: 1.5px solid rgba(140, 108, 29, 0.18);
      box-shadow: 0 10px 30px rgba(140, 108, 29, 0.08);
    }

    .main-image-wrapper:hover {
      border-color: var(--gold-primary);
    }

    .main-image-wrapper img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
      filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-image-wrapper:hover img {
      transform: scale(1.05);
    }

    .gallery-thumbnails {
      display: flex;
      gap: 12px;
      justify-content: center;
      width: 100%;
    }

    .thumb-btn {
      background-color: var(--thumb-bg);
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      padding: 8px;
      width: 72px;
      height: 72px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      transition: all 0.2s;
      overflow: hidden;
    }

    .light-theme .thumb-btn {
      border-color: rgba(140, 108, 29, 0.18);
      box-shadow: 0 2px 8px rgba(140, 108, 29, 0.08);
    }

    .thumb-btn img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      opacity: 1;
      filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
      transition: transform 0.2s ease;
    }

    .thumb-btn:hover img,
    .thumb-btn.active img {
      transform: scale(1.06);
    }

    .thumb-btn:hover,
    .thumb-btn.active {
      border-color: var(--gold-primary);
    }

    .thumb-btn:hover img,
    .thumb-btn.active img {
      opacity: 1;
    }

    @media (max-width: 639px) {
      .main-image-wrapper {
        max-width: 290px;
        padding: 24px;
        border-radius: 20px;
      }
      .thumb-btn {
        width: 58px;
        height: 58px;
        padding: 6px;
      }
      .gallery-thumbnails {
        gap: 8px;
      }
    }

    /* hero-info styling replaced by hero-header-section and hero-details-section */

    .brand-tag {
      display: inline-block;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--gold-primary);
      font-weight: 600;
    }

    .product-title {
      font-size: clamp(1.65rem, 5vw, 2.2rem);
      letter-spacing: -0.02em;
      font-family: 'Outfit', sans-serif;
    }

    @media (min-width: 768px) {
      .product-title {
        font-size: 2.75rem;
      }
    }

    @media (min-width: 1024px) {
      .product-title {
        font-size: 3.5rem;
      }
    }

    .category-badge {
      align-self: flex-start;
      background-color: var(--glass-bg);
      border: 1px solid var(--card-border);
      padding: 4px 12px;
      border-radius: 100px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-secondary);
    }

    .product-desc {
      font-size: 1.125rem;
      color: var(--text-secondary);
      max-width: 65ch;
    }

    .marketing-message {
      font-size: 1rem;
      font-style: italic;
      color: var(--text-primary);
      background: var(--glass-accent-bg);
      border-left: 3px solid var(--gold-primary);
      padding: 14px 20px;
      margin: 20px 0;
      border-radius: 4px 12px 12px 4px;
      max-width: 65ch;
      line-height: 1.6;
      border-top: 1px solid var(--card-border);
      border-right: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .meta-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 10px;
    }

    .meta-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 8px 16px;
      border-radius: 12px;
      font-size: 0.875rem;
    }

    .meta-badge-value {
      font-weight: 700;
      color: var(--gold-primary);
    }

    /* Main Sections Grid */
    .main-sections {
      display: flex;
      flex-direction: column;
      gap: 32px;
      padding-top: 32px;
      padding-bottom: 32px;
    }

    .main-col-left,
    .main-col-right {
      display: contents;
    }

    /* Mobile ordering: Sensory -> Ingredients -> Nutrition -> Serving -> Tech Char -> Related */
    #ui-sensory-section { order: 1; }
    #ui-ingredients-section { order: 2; }
    #ui-nutrition-section { order: 3; }
    #ui-serving-section { order: 4; }
    #ui-tech-char-section { order: 5; }
    #ui-related-section { order: 6; }

    @media (min-width: 1024px) {
      .main-sections {
        display: grid;
        grid-template-columns: 3fr 2fr;
      }
      .main-col-left,
      .main-col-right {
        display: flex;
        flex-direction: column;
        gap: 32px;
      }
    }

    /* Cards Utilities */
    .card {
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 32px;
      box-shadow: var(--shadow-md);
      transition: all 0.3s;
      position: relative;
    }

    @media (max-width: 639px) {
      .card {
        padding: 20px 16px;
        border-radius: 16px;
      }
    }

    .card:hover {
      border-color: var(--card-border-hover);
    }

    .card-title {
      font-size: 1.5rem;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      border-left: 4px solid var(--gold-primary);
      padding-left: 12px;
    }

    @media (max-width: 639px) {
      .card-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
      }
    }

    /* Characteristics Table/Grid */
    .char-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    @media (max-width: 500px) {
      .char-grid {
        gap: 8px;
      }
    }

    /* Serving & Storage Grid */
    .serving-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    @media (min-width: 600px) {
      .serving-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .serving-grid > :nth-child(1),
      .serving-grid > :nth-child(3) {
        grid-column: span 2;
      }
    }

    .char-item {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 14px 8px;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      min-height: 110px;
      transition: all 0.2s ease;
    }

    .char-item:hover {
      background: var(--glass-bg-hover);
      transform: translateY(-2px);
      border-color: rgba(245, 158, 11, 0.4);
    }

    .char-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-muted);
      line-height: 1.35;
      min-height: 2.7em; /* Exactly 2 lines height across all cards for perfect baseline alignment */
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 100%;
      margin-bottom: 6px;
      word-break: break-word;
    }

    .char-value {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(0.92rem, 2.2vw, 1.15rem);
      font-weight: 700;
      color: var(--heading-color);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      flex: 1;
      width: 100%;
      line-height: 1.2;
      white-space: normal;
    }

    /* FAQ Section & Accordion Styling */
    .faq-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 12px;
    }

    .faq-item {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      border-radius: 14px;
      padding: 14px 16px;
      transition: all 0.25s ease;
    }

    .faq-item:hover {
      border-color: rgba(255, 255, 255, 0.25);
    }

    .faq-item[open] {
      background: var(--glass-bg-hover);
      border-color: rgba(245, 158, 11, 0.35);
    }

    summary.faq-summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      list-style: none !important;
      user-select: none;
      font-weight: 600;
      font-size: 0.98rem;
      color: var(--heading-color);
      gap: 12px;
    }

    /* Suppress default disclosure triangle in ALL browsers */
    summary.faq-summary::-webkit-details-marker,
    summary.faq-summary::marker {
      display: none !important;
      content: "" !important;
    }

    .faq-summary span:first-child {
      flex: 1;
      line-height: 1.45;
    }

    .faq-chevron {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      stroke: var(--accent, #f59e0b);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    details[open] .faq-chevron {
      transform: rotate(180deg);
    }

    .faq-body {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-secondary, #cbd5e1);
      font-size: 0.92rem;
      line-height: 1.6;
    }

    .light-theme .faq-body {
      border-top-color: rgba(0, 0, 0, 0.08);
      color: #4b5563;
    }

    /* Ingredients & Allergens Box */
    .ingredients-box {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .ingredients-list {
      font-size: 1rem;
      color: var(--text-secondary);
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      padding: 20px;
      border-radius: 12px;
      position: relative;
    }

    .allergen-alert {
      display: flex;
      gap: 16px;
      background-color: var(--danger-bg);
      border: 1px solid rgba(190, 22, 34, 0.3);
      padding: 20px;
      border-radius: 16px;
      align-items: flex-start;
    }

    .allergen-icon {
      font-size: 1.5rem;
      line-height: 1;
    }

    .allergen-text h3 {
      font-size: 1rem;
      color: var(--heading-color);
      margin-bottom: 4px;
    }

    .allergen-text p {
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    /* Nutrition Table Card styling (premium design) */
    .nutrition-card {
      background: var(--nutrition-bg);
      border: 2px solid var(--text-primary);
      padding: 24px;
      border-radius: 12px;
      font-family: 'Inter', sans-serif;
      color: var(--text-primary);
      transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    }

    @media (max-width: 639px) {
      .nutrition-card {
        padding: 16px;
      }
    }

    .nutrition-header {
      border-bottom: 10px solid var(--text-primary);
      padding-bottom: 6px;
      margin-bottom: 8px;
    }

    .nutrition-header h2 {
      font-size: clamp(1.4rem, 5vw, 2.25rem);
      font-family: 'Outfit', sans-serif;
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-primary);
      word-break: break-word;
    }

    .nutrition-header p {
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    .nutrition-row {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid var(--card-border);
      padding: 8px 0;
      font-size: 0.875rem;
    }

    .nutrition-row.bold {
      font-weight: 700;
      border-bottom-width: 4px;
    }

    .nutrition-row.sub {
      padding-left: 20px;
      border-bottom-color: var(--card-border);
    }

    .nutrition-value {
      font-weight: 700;
    }

    /* Accordion Recipe card */
    .accordion-trigger {
      width: 100%;
      background: none;
      border: none;
      color: var(--heading-color);
      text-align: left;
      font-size: 1.5rem;
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      padding: 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.2s;
    }

    .accordion-trigger:hover {
      color: var(--gold-primary);
    }

    .accordion-icon {
      font-size: 1.25rem;
      transition: transform 0.3s;
    }

    .accordion-trigger[aria-expanded="true"] .accordion-icon {
      transform: rotate(180deg);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }

    /* Sensory Profile Card styles */
    .sensory-profile-card {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .sensory-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .sensory-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .sensory-bar-bg {
      background-color: var(--glass-bg-hover);
      border: 1px solid var(--card-border);
      height: 8px;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }

    .sensory-bar-fill {
      background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
      height: 100%;
      border-radius: 4px;
      width: 0%;
      transition: width 1.2s cubic-bezier(0.1, 0.8, 0.3, 1);
    }

    .sensory-value {
      color: var(--gold-primary);
      font-size: 0.85rem;
      font-family: monospace;
    }

    /* Related Products Card styles */
    .related-subtitle {
      font-size: 1.1rem;
      color: var(--gold-primary);
      margin-top: 24px;
      margin-bottom: 12px;
      font-family: 'Outfit', sans-serif;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 8px;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      margin-bottom: 20px;
    }

    .related-product-card {
      background-color: var(--glass-bg);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 12px 14px;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 14px;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      color: inherit;
    }

    .related-product-card:hover {
      border-color: var(--gold-primary);
      background-color: var(--glass-bg-hover);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .related-thumb-box {
      width: 52px;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--related-thumb-bg);
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      border-radius: 10px;
      padding: 4px;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .light-theme .related-thumb-box {
      border-color: rgba(140, 108, 29, 0.18);
      box-shadow: 0 2px 8px rgba(140, 108, 29, 0.08);
    }

    .related-product-card:hover .related-thumb-box {
      transform: scale(1.08);
      border-color: var(--gold-primary);
      box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
    }

    .related-thumb-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    }

    .related-info-box {
      display: flex;
      flex-direction: column;
      gap: 3px;
      flex: 1;
      min-width: 0;
    }

    .related-product-name {
      font-family: 'Outfit', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .related-product-format {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .related-product-gtin {
      font-family: monospace;
      font-size: 0.68rem;
      color: var(--text-muted);
      background: var(--glass-bg);
      padding: 1px 5px;
      border-radius: 4px;
      align-self: flex-start;
      margin-top: 2px;
    }

    .related-product-link {
      font-size: 0.78rem;
      color: var(--gold-primary);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 2px;
      transition: transform 0.15s ease;
    }

    .related-product-card:hover .related-product-link {
      transform: translateX(3px);
    }

    .payment-delivery-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    @media (min-width: 600px) {
      .payment-delivery-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .pd-item h3 {
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .pd-item p {
      font-size: 0.95rem;
      color: var(--text-secondary);
    }

    /* Ambient Images Slider Section */
    .ambient-gallery {
      padding: 48px 0;
      background-color: var(--glass-bg);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 24px;
    }

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

    .gallery-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      overflow: hidden;
      aspect-ratio: 16/10;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gallery-card:hover img {
      transform: scale(1.05);
    }

    .gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
      padding: 24px;
      color: #ffffff;
      font-weight: 600;
    }

    /* Footer styling */
    footer {
      margin-top: 64px;
      padding: 48px 0;
      border-top: 1px solid var(--card-border);
      background-color: var(--footer-bg);
      color: var(--text-secondary);
      transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
    }

    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: 2fr 1fr;
      }
    }

    .footer-left {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .footer-left .footer-org-name {
      font-size: 1.25rem;
      color: var(--heading-color);
    }
    .footer-left h3 {
      font-size: 1.25rem;
      color: var(--heading-color);
    }

    .address-block {
      font-style: normal;
      font-size: 0.9rem;
      line-height: 1.6;
    }

    .footer-brand-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--gold);
      font-size: 0.85rem;
      font-weight: 500;
      text-decoration: none;
      margin-top: 6px;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .footer-brand-link:hover {
      color: var(--gold-light);
      text-decoration: underline;
      transform: translateX(2px);
    }

    .footer-social-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 14px;
    }

    .footer-social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--card-border);
      color: var(--gold);
      text-decoration: none;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-social-btn:hover {
      background: var(--gold);
      color: #1a1a1a;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    }

    .footer-social-btn svg {
      width: 17px;
      height: 17px;
      display: block;
    }

    .warning-box {
      background-color: var(--danger-bg);
      border: 1px solid rgba(239, 68, 68, 0.2);
      border-radius: 12px;
      padding: 16px 20px;
      font-size: 0.85rem;
      color: var(--gold-light);
      margin-top: 24px;
      max-width: 65ch;
      font-weight: 500;
    }

    .footer-right {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      gap: 16px;
    }

    @media (min-width: 768px) {
      .footer-right {
        align-items: flex-end;
      }
    }

    .serial-tag {
      background-color: rgba(255,255,255,0.03);
      border: 1px solid var(--card-border);
      padding: 6px 12px;
      border-radius: 6px;
      font-family: monospace;
      font-size: 0.75rem;
    }

    .copyright {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Native Accessible <dialog> Modal Design (Glassmorphic) */
    dialog#lang-dialog {
      border: 1px solid var(--card-border);
      border-radius: 20px;
      background-color: var(--popover-bg);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      padding: 20px 14px 14px;
      max-width: min(640px, calc(100vw - 24px));
      width: calc(100% - 24px);
      max-height: min(85vh, 640px);
      margin: auto;
      color: var(--text-primary);
      box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
      overflow: hidden !important;
      box-sizing: border-box;
    }

    /* CRITICAL: Guarantee modal is strictly hidden when not open */
    dialog#lang-dialog:not([open]) {
      display: none !important;
    }

    /* Only display flex when explicitly opened via showModal() */
    dialog#lang-dialog[open] {
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 640px) {
      dialog#lang-dialog {
        padding: 26px 24px 22px;
        border-radius: 24px;
        width: calc(100% - 32px);
      }
    }

    dialog#lang-dialog::backdrop {
      background-color: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 12px;
      flex-shrink: 0;
      width: 100%;
      box-sizing: border-box;
    }

    .modal-title-wrap {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
      flex: 1;
    }

    .modal-title {
      font-size: 1.2rem;
      font-weight: 700;
      font-family: 'Outfit', sans-serif;
      letter-spacing: -0.01em;
      margin: 0;
      line-height: 1.2;
    }

    .modal-subtitle {
      font-size: 0.72rem;
      color: var(--text-muted);
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    @media (min-width: 640px) {
      .modal-title {
        font-size: 1.35rem;
      }
      .modal-subtitle {
        font-size: 0.75rem;
      }
    }

    .modal-close-btn {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-secondary);
      border-radius: 9999px;
      padding: 6px 12px;
      cursor: pointer;
      font-size: 0.8125rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      flex-shrink: 0;
      white-space: nowrap;
    }

    .modal-close-btn:hover {
      border-color: var(--gold-primary);
      color: var(--gold-primary);
      background-color: var(--glass-bg-hover);
      transform: translateY(-1px);
    }

    .modal-close-btn:focus-visible {
      outline: 2px solid var(--gold-primary);
      outline-offset: 2px;
    }

    /* Scrollable Container for Flag Sections */
    .lang-modal-body {
      overflow-y: auto;
      overflow-x: hidden !important;
      padding: 2px 4px 8px 2px;
      flex: 1 1 auto;
      overscroll-behavior: contain;
      min-height: 0;
    }

    /* Custom scrollbar for flags modal */
    .lang-modal-body::-webkit-scrollbar {
      width: 5px;
    }
    .lang-modal-body::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 4px;
    }
    .lang-modal-body::-webkit-scrollbar-thumb {
      background: var(--card-border);
      border-radius: 4px;
    }
    .lang-modal-body::-webkit-scrollbar-thumb:hover {
      background: var(--gold-primary);
    }

    /* Categorized Language Section Headers */
    .lang-section-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 14px 0 8px;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--gold-primary);
    }

    .lang-section-header:first-child {
      margin-top: 2px;
    }

    .lang-section-header::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--card-border);
      opacity: 0.6;
    }

    /* Grid of Flags */
    .lang-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    @media (min-width: 580px) {
      .lang-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
    }

    .grid-lang-btn {
      background-color: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-primary);
      padding: 8px 10px;
      border-radius: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      text-align: left;
      text-decoration: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @media (min-width: 640px) {
      .grid-lang-btn {
        padding: 10px 12px;
        gap: 10px;
      }
    }

    .grid-lang-btn:hover {
      border-color: var(--gold-primary);
      background-color: var(--glass-bg-hover);
      transform: translateY(-1px);
    }

    .grid-lang-btn.active {
      border-color: var(--gold-primary);
      background-color: var(--glass-accent-bg);
      box-shadow: 0 0 0 1px var(--gold-primary);
    }

    .grid-lang-btn.active .grid-lang-name {
      color: var(--gold-primary);
      font-weight: 700;
    }

    .grid-lang-flag {
      font-size: 1.25rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .grid-lang-name {
      font-size: 0.8rem;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
      flex: 1;
    }

    /* ==========================================================================
       Catalogue Page Styles (Bio & Non-Bio Grand Catalog)
       ========================================================================== */
    .catalog-hero {
      text-align: center;
      padding: 36px 16px 24px;
      margin-bottom: 24px;
      position: relative;
    }

    .catalog-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(251, 191, 36, 0.12);
      border: 1px solid rgba(251, 191, 36, 0.35);
      color: var(--gold-primary);
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 16px;
    }

    .catalog-hero-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(1.75rem, 5vw, 3.2rem);
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 14px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      word-break: break-word;
    }

    .catalog-hero-subtitle {
      max-width: 720px;
      margin: 0 auto 28px;
      color: var(--text-muted);
      font-size: clamp(0.95rem, 2.5vw, 1.1rem);
      line-height: 1.6;
    }

    .catalog-filter-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-bottom: 40px;
    }

    .catalog-filter-btn {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-primary);
      padding: 8px 18px;
      border-radius: 999px;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 0.88rem;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .catalog-filter-btn:hover,
    .catalog-filter-btn.active {
      background: var(--gold-primary);
      color: #0b0d11;
      border-color: var(--gold-primary);
      box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35);
      transform: translateY(-2px);
    }

    .light-theme .catalog-filter-btn:hover,
    .light-theme .catalog-filter-btn.active {
      background: #7a5d19;
      color: #ffffff;
      border-color: #6e5414;
      box-shadow: 0 4px 15px rgba(122, 93, 25, 0.25);
    }

    .catalog-section {
      margin-bottom: 60px;
    }

    .catalog-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 14px;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 14px;
    }

    .catalog-section-title-box {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .catalog-section-icon {
      font-size: 1.8rem;
    }

    .catalog-section-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.65rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .catalog-section-count {
      font-size: 0.85rem;
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      padding: 4px 12px;
      border-radius: 999px;
      font-weight: 600;
    }

    .catalog-section-desc {
      color: var(--text-muted);
      font-size: 0.98rem;
      line-height: 1.6;
      margin-bottom: 28px;
      max-width: 820px;
    }

    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 22px;
    }

    .catalog-card {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-decoration: none;
      color: inherit;
      position: relative;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      overflow: hidden;
    }

    .catalog-card:hover {
      border-color: var(--gold-primary);
      background: var(--glass-bg-hover);
      transform: translateY(-5px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    }

    .catalog-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 8px;
      z-index: 2;
    }

    .catalog-badge-bio {
      background: rgba(16, 185, 129, 0.16);
      border: 1px solid rgba(16, 185, 129, 0.45);
      color: #34d399;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .light-theme .catalog-badge-bio {
      background: rgba(6, 95, 70, 0.12);
      border: 1px solid rgba(6, 95, 70, 0.35);
      color: #065f46;
    }

    .catalog-badge-trad {
      background: rgba(251, 191, 36, 0.14);
      border: 1px solid rgba(251, 191, 36, 0.35);
      color: var(--gold-primary);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .catalog-badge-format {
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 3px 9px;
      border-radius: 6px;
    }

    .catalog-card-image-box {
      width: 100%;
      height: 195px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 10px 0 14px;
      position: relative;
      background: var(--catalog-img-bg);
      border-radius: 14px;
      padding: 12px;
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }

    .light-theme .catalog-card-image-box {
      border-color: rgba(140, 108, 29, 0.18);
      box-shadow: 0 4px 14px rgba(140, 108, 29, 0.08);
    }

    .catalog-card-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .catalog-card:hover .catalog-card-img {
      transform: scale(1.08) translateY(-4px);
    }

    .catalog-card-body {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 14px;
      z-index: 2;
    }

    .catalog-card-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.25;
    }

    .catalog-card-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .catalog-spec-pill {
      font-size: 0.75rem;
      background: var(--glass-bg);
      border: 1px solid var(--card-border);
      padding: 2px 8px;
      border-radius: 4px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    .catalog-card-footer {
      border-top: 1px solid var(--card-border);
      padding-top: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 2;
    }

    .catalog-card-gtin {
      font-family: monospace;
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .catalog-card-cta {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--gold-primary);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s ease;
    }

    .catalog-card:hover .catalog-card-cta {
      gap: 8px;
    }

    /* ==========================================================================
       Mobile Bottom Action App Bar (Native App Style)
       ========================================================================== */
    .mobile-bottom-bar {
      display: none;
    }

    @media (max-width: 1023px) {
      body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 12px));
      }

      .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--card-border);
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.45);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
        transition: background-color 0.3s ease, border-color 0.3s ease;
      }

      .bottom-tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        color: var(--text-secondary);
        padding: 6px 10px;
        border-radius: 12px;
        flex: 1;
        max-width: 90px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        cursor: pointer;
        position: relative;
      }

      .bottom-tab-item:active {
        transform: scale(0.92);
      }

      .bottom-tab-item:hover,
      .bottom-tab-item.active {
        color: var(--gold-primary);
      }

      .bottom-tab-item.active::before {
        content: '';
        position: absolute;
        top: -8px;
        width: 24px;
        height: 3px;
        background: var(--gold-primary);
        border-radius: 2px;
        box-shadow: 0 0 10px var(--gold-primary);
      }

      .tab-icon {
        width: 22px;
        height: 22px;
        transition: transform 0.2s ease, stroke 0.2s ease;
      }

      .bottom-tab-item.active .tab-icon {
        stroke: var(--gold-primary);
        transform: translateY(-1px);
      }

      .tab-emoji {
        font-size: 1.25rem;
        line-height: 1.1;
      }

      .tab-label {
        font-family: 'Outfit', sans-serif;
        font-size: 0.68rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        white-space: nowrap;
      }
    }

    /* Age Gate Modal 18+ Styling */
    .age-gate-modal {
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 0;
      background: var(--card-bg);
      color: var(--text-primary);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
      max-width: 520px;
      width: 90vw;
      margin: auto;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 10000;
    }

    .age-gate-modal::backdrop {
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .age-gate-card {
      padding: 36px 28px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .age-gate-logo-wrap {
      margin-bottom: 20px;
    }

    .age-gate-logo {
      width: 72px;
      height: 72px;
      object-fit: contain;
      filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.2));
    }

    .age-gate-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--gold-primary);
      margin-bottom: 12px;
    }

    .age-gate-question {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 10px;
    }

    .age-gate-desc {
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .age-gate-buttons {
      display: flex;
      gap: 14px;
      width: 100%;
      justify-content: center;
      margin-bottom: 20px;
    }

    .age-btn {
      flex: 1;
      padding: 12px 18px;
      border-radius: 999px;
      font-family: 'Outfit', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      text-align: center;
      transition: all 0.25s ease;
    }

    .age-btn-yes {
      background: var(--gold-primary);
      color: #0b0d11;
      border: 1px solid var(--gold-primary);
      box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
    }

    .light-theme .age-btn-yes {
      background: #7a5d19;
      color: #ffffff;
      border-color: #6e5414;
    }

    .age-btn-yes:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
    }

    .age-btn-no {
      background: transparent;
      color: var(--text-secondary);
      border: 1px solid var(--card-border);
    }

    .age-btn-no:hover {
      background: var(--glass-bg-hover);
      color: var(--danger);
      border-color: var(--danger);
    }

    .age-gate-legal {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.4;
      font-style: italic;
    }

    /* Gluten Free Alert card */
    .gluten-free-alert {
      border: 1px solid #10b981 !important;
      background: rgba(16, 185, 129, 0.08) !important;
    }

    .gluten-free-alert .allergen-icon {
      color: #10b981 !important;
    }

    /* Accessibility: Prefers reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .sensory-bar-fill {
        transition: none !important;
      }
    }




/* A11y fix: warning box high-contrast on light mode */
.light-theme .warning-box,
html.light-theme .warning-box,
[data-theme="light"] .warning-box {
  color: #991b1b !important;
  background-color: #fef2f2 !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}
