/* ==========================================================================
   THE SACRED CODE — Shared Theme & Layout CSS
   Ancient Wisdom. Modern Living.
   ========================================================================== */

:root {
  --background: #ffffff;
  --foreground: #11301a;
  --border: #00000014;
  --input: #ffffff;
  --primary: #b8864b;
  --primary-hover: #a0733c;
  --primary-foreground: #ffffff;
  --secondary: #efe4d9;
  --secondary-hover: #e3d2c1;
  --secondary-foreground: #11301a;
  --muted: #f6ede7;
  --muted-foreground: #7a6a5f;
  --success: #dff3e6;
  --success-foreground: #0b5f2e;
  --accent: #c28b4b;
  --accent-hover: #a87439;
  --accent-foreground: #ffffff;
  --destructive: #d9534f;
  --destructive-foreground: #ffffff;
  --warning: #f4e1c9;
  --warning-foreground: #7a5a2e;
  --card: #ffffff;
  --card-foreground: #11301a;
  --sidebar: #f8f3ef;
  --sidebar-foreground: #11301a;
  --sidebar-primary: #e9d6c0;
  --sidebar-primary-foreground: #11301a;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --font-family-body: 'Poppins', sans-serif;

  /* 50-900 Primary Brand Color Scale (Gold & Warm Sacred Palette) */
  --color-primary-50:  #fbf7f1;
  --color-primary-100: #f5e9d7;
  --color-primary-200: #e9d0ae;
  --color-primary-300: #dbb380;
  --color-primary-400: #cb9b59;
  --color-primary-500: #b8864b;
  --color-primary-600: #a0733c;
  --color-primary-700: #845d2e;
  --color-primary-800: #6a4925;
  --color-primary-900: #4e3519;

  /* 50-900 Secondary Color Scale */
  --color-secondary-50:  #fdfbf8;
  --color-secondary-100: #f9f3eb;
  --color-secondary-200: #f4e7d7;
  --color-secondary-300: #efe4d9;
  --color-secondary-400: #e3d2c1;
  --color-secondary-500: #d5bfa8;
  --color-secondary-600: #c2aa91;
  --color-secondary-700: #a88e76;
  --color-secondary-800: #88705b;
  --color-secondary-900: #624f3f;

  /* 50-900 Neutral Scale */
  --color-neutral-50:  #fbf6f2;
  --color-neutral-100: #f4ede6;
  --color-neutral-200: #e5dacd;
  --color-neutral-300: #cdbdb0;
  --color-neutral-400: #a69486;
  --color-neutral-500: #7a6a5f;
  --color-neutral-600: #5c4e44;
  --color-neutral-700: #3e332c;
  --color-neutral-800: #241d18;
  --color-neutral-900: #11301a;

  /* Legacy & Brand Mapped Tokens to maintain compatibility */
  --tsc-cream: var(--background);
  --tsc-cream-deep: var(--muted);
  --tsc-paper: var(--card);
  --tsc-gold: var(--primary);
  --tsc-gold-deep: var(--accent);
  --tsc-gold-line: var(--warning);
  --tsc-green: var(--success-foreground);
  --tsc-green-deep: var(--foreground);
  --tsc-maroon: var(--primary);
  --tsc-ink: var(--foreground);
  --tsc-ink-soft: var(--muted-foreground);
  --tsc-white: #ffffff;

  --font-family-heading: 'Playfair Display', serif;
  --font-family-sans: var(--font-family-body);
  --font-display: 'Playfair Display', serif;

  --shadow-card: 0 4px 20px rgba(184, 134, 75, 0.05);
  --shadow-card-hover: 0 12px 36px rgba(184, 134, 75, 0.12);
  --shadow-glow: 0 0 20px rgba(184, 134, 75, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  background: var(--background);
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

.export-wrapper {
  overflow-x: clip;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TOPBAR & HEADER STYLES
   ========================================================================== */

#site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--background);
  box-shadow: 0 4px 20px rgba(17, 48, 26, 0.08);
  transition: box-shadow 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100%;
}

#gold-bar {
  background: var(--primary);
  height: 4px;
  width: 100%;
}

#top-nav {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
}

/* ========== Desktop Nav ========== */
#desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

#top-nav-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 10;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-nav-links a {
  font-size: 15px;
  color: var(--accent);
  font-family: var(--font-family-sans);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.top-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6E8D56;
  transition: width 0.3s ease;
}

.top-nav-links a:hover {
  color: #6E8D56;
}

.top-nav-links a:hover::after {
  width: 100%;
}

/* Hover dropdown (Shop / Collections) */
.tsc-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tsc-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
}

.tsc-dropdown-menu.dropdown-menu-end {
  left: auto;
  right: -10px; /* Aligns with the right edge with a tiny offset */
}

.tsc-dropdown:hover .tsc-dropdown-menu,
.tsc-dropdown:focus-within .tsc-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tsc-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--foreground) !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}

.tsc-dropdown-menu a::after {
  display: none;
}

.tsc-dropdown-menu a:hover {
  background: rgba(110, 141, 86, 0.08);
  color: #6E8D56 !important;
}

.tsc-dropdown-menu .tsc-dropdown-heading {
  padding: 8px 18px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.tsc-sub-dropdown {
  position: relative;
}

.tsc-sub-dropdown-menu {
  position: absolute;
  top: -9px;
  left: 100%;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s ease;
  z-index: 200;
}

.tsc-sub-dropdown:hover .tsc-sub-dropdown-menu,
.tsc-sub-dropdown:focus-within .tsc-sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  gap: 8px;
  background: var(--card);
  width: 100%;
  max-width: 280px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

#search-box:focus-within {
  border-color: #6E8D56;
  max-width: 310px;
  box-shadow: 0 4px 16px rgba(110, 141, 86, 0.2);
}

#search-box input {
  font-size: 13px;
  color: var(--foreground);
  font-family: var(--font-family-sans);
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}

#search-box input::placeholder {
  color: var(--muted-foreground);
}

#search-box button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

#search-box button:hover {
  color: var(--primary);
}

#logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  z-index: 1;
  pointer-events: auto;
}

#logo-center img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  max-height: 105px;
  transition: all 0.2s ease;
}

#logo-center:hover img {
  transform: scale(1.03);
}

#top-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  position: relative;
  z-index: 10;
}

.nav-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-action iconify-icon,
.nav-action i {
  font-size: 20px;
  color: var(--accent);
  transition: all 0.2s ease;
}

.nav-action:hover {
  color: #6E8D56;
  background: rgba(110, 141, 86, 0.12);
}

.nav-action:hover iconify-icon,
.nav-action:hover i {
  color: #6E8D56;
  transform: scale(1.08);
}

.nav-action span:not(.badge-count):not(.tsc-notif-count):not(.tsc-wishlist-count):not(.tsc-cart-count) {
  display: none;
}

.nav-action .badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  min-width: 17px;
  text-align: center;
  line-height: 1;
  border-radius: 12px;
}

/* Compact desktop layout */
@media (min-width: 992px) and (max-width: 1280px) {
  #desktop-nav {
    padding: 14px 24px;
    gap: 16px;
  }
  .top-nav-links {
    gap: 12px;
  }
  .top-nav-links a {
    font-size: 13px;
    letter-spacing: 0.3px;
  }
  #search-box {
    max-width: 200px;
  }
  #search-box:focus-within {
    max-width: 230px;
  }
  #logo-center img {
    max-height: 70px;
  }
  #top-nav-right {
    gap: 4px;
  }
}

/* Form Checkbox Theming */
.form-check-input:checked {
  background-color: #6E8D56;
  border-color: #6E8D56;
}

.form-check-input:focus {
  border-color: #6E8D56;
  box-shadow: 0 0 0 0.25rem rgba(110, 141, 86, 0.25);
}

.badge-count {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 2px;
  line-height: 1;
}

/* ========== Mobile Nav ========== */
#mobile-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative;
  width: 100%;
  gap: 8px;
}

#hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
  width: 36px;
  flex-shrink: 0;
  transition: transform 0.3s;
  z-index: 3;
}

#hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
}

#hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

#hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
  min-width: 0;
  padding: 0 4px;
  overflow: hidden;
}

#mobile-logo img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

#mobile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  z-index: 3;
}

.mobile-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  font-size: 18px;
  position: relative;
  text-decoration: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.mobile-action-icon:hover {
  color: var(--primary);
  background: rgba(184, 134, 75, 0.1);
}

.mobile-action-icon .badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 10px;
  padding: 2px 5px;
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

#mobile-search-box {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  background: var(--background);
  max-height: 60px;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease, border-color 0.25s ease, visibility 0.35s ease;
}

#mobile-search-box input {
  flex: 1;
  font-size: 13px;
  color: var(--foreground);
  font-family: var(--font-family-sans);
  border: none;
  outline: none;
  background: transparent;
}

#mobile-search-box input::placeholder {
  color: var(--muted-foreground);
}

/* ========== Mobile Menu Drawer (Redesigned Compact & Accordion) ========== */
#mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17, 48, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: var(--card, #ffffff);
  z-index: 1000;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mobile-menu.open {
  transform: translateX(0);
}

#mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border, #00000014);
  background: var(--card, #ffffff);
  flex-shrink: 0;
}

#mobile-menu-close {
  background: rgba(0, 0, 0, 0.04);
  border: none;
  font-size: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--foreground, #11301a);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

#mobile-menu-close:hover {
  background: rgba(184, 134, 75, 0.15);
  color: var(--primary, #b8864b);
}

#mobile-menu-links {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 134, 75, 0.3) transparent;
}

#mobile-menu-links::-webkit-scrollbar {
  width: 4px;
}

#mobile-menu-links::-webkit-scrollbar-thumb {
  background: rgba(184, 134, 75, 0.25);
  border-radius: 4px;
}

/* User Profile & Auth Box */
.mobile-user-box {
  background: linear-gradient(135deg, rgba(184, 134, 75, 0.08) 0%, rgba(239, 228, 217, 0.25) 100%);
  border: 1px solid rgba(184, 134, 75, 0.16);
  border-radius: var(--radius-lg, 10px);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary, #b8864b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.mobile-user-meta {
  min-width: 0;
  flex: 1;
}

.mobile-user-name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--foreground, #11301a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.mobile-user-email {
  font-size: 11.5px;
  color: var(--muted-foreground, #7a6a5f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mobile-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 4px;
  background: #ffffff;
  border: 1px solid rgba(184, 134, 75, 0.15);
  border-radius: 6px;
  color: var(--foreground, #11301a);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  gap: 3px;
  position: relative;
  transition: all 0.2s ease;
}

.mobile-quick-btn:hover {
  background: var(--primary, #b8864b);
  color: #ffffff;
  border-color: var(--primary, #b8864b);
}

.mobile-quick-btn iconify-icon {
  font-size: 16px;
  color: var(--primary, #b8864b);
}

.mobile-quick-btn:hover iconify-icon {
  color: #ffffff;
}

.mobile-guest-card {
  background: linear-gradient(135deg, rgba(184, 134, 75, 0.08) 0%, rgba(239, 228, 217, 0.2) 100%);
  border: 1px solid rgba(184, 134, 75, 0.16);
  border-radius: var(--radius-lg, 10px);
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: center;
}

.mobile-guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  background: var(--primary, #b8864b);
  color: #ffffff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-guest-btn:hover {
  background: var(--primary-hover, #a0733c);
  color: #ffffff;
}

/* Section Labels & Headings */
.mobile-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary, #b8864b);
  font-family: var(--font-family-sans);
  font-weight: 700;
}

/* Primary Store Links Grid */
.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--sidebar, #f8f3ef);
  border-radius: 6px;
  color: var(--foreground, #11301a);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav-card:hover {
  background: rgba(184, 134, 75, 0.12);
  color: var(--primary, #b8864b);
}

.mobile-nav-card iconify-icon {
  font-size: 16px;
  color: var(--primary, #b8864b);
  flex-shrink: 0;
}

/* Accordion Categories */
.mobile-cat-group {
  margin-bottom: 3px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mobile-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mobile-cat-header:hover {
  background: var(--sidebar, #f8f3ef);
}

.mobile-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  flex: 1;
  color: var(--foreground, #11301a);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}

.mobile-cat-link:hover {
  color: var(--primary, #b8864b);
}

.mobile-cat-icon {
  font-size: 15px;
  color: var(--primary, #b8864b);
  flex-shrink: 0;
}

.mobile-cat-toggle {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--muted-foreground, #7a6a5f);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.mobile-cat-toggle:hover {
  color: var(--primary, #b8864b);
}

.mobile-toggle-arrow {
  font-size: 14px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cat-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  opacity: 0;
  background: rgba(184, 134, 75, 0.04);
  border-left: 2px solid var(--primary, #b8864b);
  margin: 2px 6px 4px 18px;
  border-radius: 0 6px 6px 0;
}

.mobile-cat-group.expanded .mobile-cat-children {
  max-height: 400px;
  opacity: 1;
  padding: 4px 0 6px;
}

.mobile-cat-group.expanded .mobile-toggle-arrow {
  transform: rotate(180deg);
  color: var(--primary, #b8864b);
}

.mobile-subcat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--foreground, #11301a);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s ease;
}

.mobile-subcat-link:hover {
  color: var(--primary, #b8864b);
  padding-left: 16px;
}

.mobile-subcat-icon {
  font-size: 11px;
  color: var(--primary, #b8864b);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Support & Info Grid */
.mobile-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.mobile-support-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  font-size: 12px;
  color: var(--muted-foreground, #7a6a5f);
  text-decoration: none;
  border-radius: 4px;
  background: var(--sidebar, #f8f3ef);
  transition: all 0.2s ease;
}

.mobile-support-link:hover {
  background: rgba(184, 134, 75, 0.12);
  color: var(--foreground, #11301a);
}

.mobile-support-link iconify-icon {
  font-size: 13px;
  color: var(--primary, #b8864b);
  flex-shrink: 0;
}

/* Drawer Footer */
.mobile-drawer-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(184, 134, 75, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted-foreground, #7a6a5f);
  text-decoration: none;
  padding: 6px 10px;
  background: var(--sidebar, #f8f3ef);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-contact-pill:hover {
  color: var(--primary, #b8864b);
}

.mobile-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--destructive, #d9534f);
  background: rgba(217, 83, 79, 0.08);
  border: 1px solid rgba(217, 83, 79, 0.2);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-logout-btn:hover {
  background: var(--destructive, #d9534f);
  color: #ffffff;
}

/* ==========================================================================
   CATEGORY NAVIGATION (Responsive Smooth Track & Auto-Scroll)
   ========================================================================== */

#category-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 90;
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Hide category navbar on page scroll (PC & Mobile) */
#site-header-wrapper.header-scrolled #category-nav {
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  border-bottom-color: transparent !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.category-nav-wrapper {
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#category-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 45px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  margin: 0 auto;
}

#category-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav-item {
  font-size: 12px;
  font-family: var(--font-family-sans);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--foreground);
  padding: 12px 10px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cat-nav-item:hover,
.cat-nav-item.active {
  color: #6E8D56;
  border-bottom-color: #6E8D56;
}

/* Dropdown Styles */
.cat-nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.cat-nav-dropdown {
  position: fixed;
  min-width: 220px;
  background: var(--card, #ffffff);
  border: 1px solid var(--border, #e0d6c8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
  border-radius: var(--radius-md, 8px);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99999;
  pointer-events: none;
}

.cat-nav-dropdown-wrapper:hover .cat-nav-dropdown,
.cat-nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cat-nav-dropdown-item {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  text-transform: none;
  letter-spacing: 0.2px;
}

.cat-nav-dropdown-item:hover {
  background: rgba(110, 141, 86, 0.08);
  color: #6E8D56;
}

/* Manual Navigation Scroll Buttons */
.cat-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: #ffffff;
  border: 1.5px solid var(--primary, #b8860b);
  color: var(--primary, #b8860b);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.cat-scroll-btn:hover {
  background: var(--primary, #b8860b);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}

.cat-scroll-btn.left-arrow {
  left: 8px;
}

.cat-scroll-btn.right-arrow {
  right: 8px;
}

/* Edge Gradient Masks */
.cat-nav-gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cat-nav-gradient.left {
  left: 0;
  background: linear-gradient(to right, var(--card, #ffffff) 25%, transparent 100%);
}
.cat-nav-gradient.right {
  right: 0;
  background: linear-gradient(to left, var(--card, #ffffff) 25%, transparent 100%);
}

@media (max-width: 768px) {
  #category-nav-inner {
    padding: 0 16px;
    gap: 8px;
  }
  .cat-scroll-btn {
    display: none !important;
  }
  .cat-nav-gradient {
    display: none !important;
  }
  .cat-nav-item {
    font-size: 11.5px;
    padding: 10px 8px;
  }
}

@media (min-width: 769px) {
  #category-nav {
    max-height: 500px;
  }
  .cat-nav-item {
    font-size: 12px;
    padding: 12px 10px;
    letter-spacing: 0.6px;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

#footer {
  background: var(--card);
  padding: 60px 40px 0;
  border-top: 1px solid var(--border);
}

#footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  max-width: 1360px;
  margin: 0 auto;
}

#footer-logo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 992px) {
  #footer-logo-link img {
    height: auto !important;
    max-height: 150px !important;
  }
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 13px;
  font-family: var(--font-family-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--foreground);
  font-family: var(--font-family-sans);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #6E8D56;
  transform: translateX(3px);
}

#newsletter-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  font-family: var(--font-family-sans);
  line-height: 1.6;
  margin-bottom: 16px;
}

#newsletter-desc span {
  color: var(--primary);
  font-weight: 600;
}

#newsletter-input-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--background);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

#newsletter-input-row:focus-within {
  border-color: #6E8D56;
  box-shadow: 0 4px 12px rgba(110, 141, 86, 0.15);
}

#newsletter-input-row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--foreground);
  font-family: var(--font-family-sans);
  border: none;
  outline: none;
  background: transparent;
}

#newsletter-input-row input::placeholder {
  color: var(--muted-foreground);
}

#newsletter-btn {
  background: var(--accent);
  color: #ffffff;
  height: 46px;
  padding: 0 18px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

#newsletter-btn:hover {
  background: var(--primary);
}

/* Newsletter Component Responsive Styles */
.newsletter-responsive-form {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.newsletter-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-solid, #ECE3D1);
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  background: var(--card, #ffffff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.newsletter-input-wrapper:focus-within {
  border-color: var(--accent, #6E8D56);
  box-shadow: 0 4px 12px rgba(110, 141, 86, 0.15);
}

.newsletter-email-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--foreground);
  font-family: var(--font-family-sans);
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.newsletter-email-input::placeholder {
  color: var(--muted-foreground, #8e8e8e);
  opacity: 0.85;
}

.newsletter-submit-btn {
  height: 48px;
  padding: 0 24px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

@media (max-width: 480px) {
  .newsletter-input-wrapper {
    flex-direction: column;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 10px;
    overflow: visible;
  }

  .newsletter-email-input {
    border: 1px solid var(--border-solid, #ECE3D1) !important;
    border-radius: var(--radius-sm, 6px) !important;
    background: var(--card, #ffffff) !important;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  }

  .newsletter-submit-btn {
    width: 100%;
    border-radius: var(--radius-sm, 6px) !important;
    height: 46px;
  }
}

#footer-bottom {
  padding: 24px 0;
  text-align: center;
}

#footer-tagline {
  font-size: 12px;
  font-family: var(--font-family-sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 8px;
}

#footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-family-sans);
  color: var(--muted-foreground);
  margin-top: 4px;
}

.footer-divider-dot {
  opacity: 0.45;
  font-size: 14px;
}

#footer-copyright {
  font-weight: 500;
}

#footer-powered-by {
  font-size: 12px;
  font-family: var(--font-family-sans);
  letter-spacing: 0.5px;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#footer-powered-by a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

#footer-powered-by a:hover {
  color: #6E8D56;
}

#footer-powered-by img {
  height: 16px;
  width: 16px;
  object-fit: contain;
  vertical-align: middle;
}

#footer-gold-bar {
  background: var(--primary);
  height: 6px;
  width: 100%;
}

/* Crossed-out MRP price (shared: cards, best sellers) */
.price-compare {
  text-decoration: line-through;
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.85em;
  margin-left: 6px;
}

/* Common Section Title Wrappers */
.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-wrap h2 {
  font-size: 32px;
  color: #3F5B2B;
  font-family: var(--font-family-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.section-title {
  color: #3F5B2B;
}

.section-title-wrap h2::before,
.section-title-wrap h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--primary);
  opacity: 0.8;
}

.section-title-wrap p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 6px;
  font-family: var(--font-family-sans);
}

/* ==========================================================================
   BUTTON & COMPONENT SYSTEM (50-900 BRAND COLOR RULES)
   ========================================================================== */

.btn-primary,
.btn-tsc-gold,
.btn-admin-gold,
.btn-gold {
  background: var(--color-primary-500, #b8864b);
  color: #ffffff;
  border: 1px solid var(--color-primary-500, #b8864b);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md, 6px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(184, 134, 75, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover,
.btn-tsc-gold:hover,
.btn-admin-gold:hover,
.btn-gold:hover {
  background: var(--color-primary-600, #a0733c);
  border-color: var(--color-primary-600, #a0733c);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 134, 75, 0.35);
}

.btn-primary:active,
.btn-tsc-gold:active,
.btn-admin-gold:active,
.btn-gold:active {
  background: var(--color-primary-700, #845d2e) !important;
  border-color: var(--color-primary-700, #845d2e) !important;
  color: #ffffff !important;
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-secondary-300, #efe4d9) !important;
  color: var(--foreground, #11301a) !important;
  border: 1px solid var(--color-secondary-400, #e3d2c1) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md, 6px);
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(110, 141, 86, 0.1) !important;
  color: #6E8D56 !important;
  border-color: #6E8D56 !important;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px #6E8D56, 0 4px 12px rgba(110, 141, 86, 0.25);
}

.btn-secondary:active {
  background: var(--color-secondary-500, #d5bfa8) !important;
  transform: translateY(0);
}

.btn-tsc-outline,
.btn-outline-primary,
.btn-outline-gold {
  background: transparent;
  color: var(--color-primary-500, #b8864b);
  border: 1.5px solid var(--color-primary-500, #b8864b);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md, 6px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-tsc-outline:hover,
.btn-outline-primary:hover,
.btn-outline-gold:hover {
  background: var(--color-primary-600, #a0733c);
  color: #ffffff;
  border-color: var(--color-primary-600, #a0733c);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(184, 134, 75, 0.35);
}

.btn-tsc-outline:active,
.btn-outline-primary:active,
.btn-outline-gold:active {
  background: var(--color-primary-700, #845d2e) !important;
  border-color: var(--color-primary-700, #845d2e) !important;
}



.btn-clear-all {
  background: #6E8D56 !important;
  color: #ffffff !important;
  border: 1.5px solid #6E8D56 !important;
  box-shadow: 0 4px 14px rgba(110, 141, 86, 0.3) !important;
}

.btn-clear-all:hover {
  background: #5c7747 !important;
  color: #ffffff !important;
  border-color: #5c7747 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(110, 141, 86, 0.4) !important;
}

/* Side Action Buttons on Cards */
.tsc-product-card .card-icons button {
  color: var(--foreground, #11301a);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tsc-product-card .card-icons button iconify-icon,
.tsc-product-card .card-icons button i {
  color: inherit;
  font-size: 16px;
}

.tsc-product-card .card-icons button:hover,
.tsc-product-card .card-icons button.active {
  background: rgba(110, 141, 86, 0.1) !important;
  color: #6E8D56 !important;
  border-color: #6E8D56 !important;
}

/* Side Pagination Navigation Buttons */
.tsc-pagination-btn,
.tsc-pagination button {
  background: var(--card, #ffffff);
  color: var(--foreground, #11301a);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.tsc-pagination-btn:hover:not(.active),
.tsc-pagination button:hover:not(.active) {
  border-color: #6E8D56;
  color: #6E8D56;
  background: rgba(110, 141, 86, 0.1);
}

.tsc-pagination-btn.active,
.tsc-pagination button.active {
  background: var(--color-primary-500, #b8864b) !important;
  color: #ffffff !important;
  border-color: var(--color-primary-500, #b8864b) !important;
}

/* Status Component Colors */
.badge-success, .alert-success {
  background-color: var(--color-primary-50, #fbf7f1);
  color: var(--color-primary-700, #845d2e);
  border: 1px solid var(--color-primary-200, #e9d0ae);
}

.badge-warning, .alert-warning {
  background-color: var(--color-secondary-50, #fdfbf8);
  color: var(--color-secondary-900, #624f3f);
  border: 1px solid var(--color-secondary-200, #f4e7d7);
}

/* Back to top button */
#back-to-top {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}

#back-to-top:hover {
  background: var(--accent) !important;
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (min-width: 1201px) and (max-width: 1399px) {
  #desktop-nav {
    padding: 16px 30px;
  }
  .top-nav-links {
    gap: 16px;
  }
  #search-box {
    max-width: 240px;
  }
  #search-box:focus-within {
    max-width: 270px;
  }
}

@media (max-width: 991px) {
  #desktop-nav {
    display: none;
  }
  #mobile-nav {
    display: flex;
  }
  #mobile-search-box {
    display: flex;
  }
  #site-header-wrapper.header-scrolled #mobile-search-box {
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top-color: transparent !important;
    pointer-events: none !important;
  }
  #category-nav {
    display: none !important;
  }
  #category-nav-inner {
    justify-content: flex-start;
    padding: 0 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #category-nav-inner::-webkit-scrollbar {
    display: none;
  }
  .cat-nav-item {
    padding: 10px 14px;
    font-size: 12px;
  }
  .cat-nav-dropdown-wrapper {
    position: static;
  }
  .cat-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    min-width: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .cat-nav-dropdown::before {
    display: none;
  }
  .cat-nav-dropdown-wrapper:hover .cat-nav-dropdown {
    transform: none;
  }
  #footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  #footer-logo-col {
    grid-column: 1 / -1;
    align-items: center;
  }
  #footer-logo-link {
    align-items: center;
    text-align: center;
  }
  #footer {
    padding: 44px 24px 0;
  }
}

@media (max-width: 768px) {
  .section-title-wrap h2 {
    font-size: 28px;
    gap: 12px;
  }
  .section-title-wrap h2::before,
  .section-title-wrap h2::after {
    width: 28px;
  }
  #footer {
    padding: 40px 20px 0;
    text-align: center;
  }
  #footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  #footer-logo-link {
    align-items: center;
  }
  .footer-brand-desc {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
  }
  .footer-col-title {
    text-align: center;
    margin-bottom: 14px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    justify-items: center;
    text-align: center;
  }
  .footer-links a {
    text-align: center;
  }
  .footer-links a:hover {
    transform: translateY(-2px);
  }
  #newsletter-desc {
    text-align: center;
    max-width: 340px;
    margin: 0 auto 16px;
  }
  #newsletter-input-row {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  #footer {
    padding: 36px 16px 0;
  }
  #footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }
  .footer-links a {
    font-size: 12px;
  }
  #mobile-logo img {
    max-height: 44px;
  }
  .section-title-wrap h2 {
    font-size: 24px;
  }
  .section-title-wrap p {
    font-size: 12px;
  }
}

/* ==========================================================================
   DYNAMIC PAGE CONTENT STYLING (Admin Pages CMS)
   ========================================================================== */
.dynamic-page-content {
  font-family: var(--font-family-body, 'Poppins', sans-serif);
  color: var(--foreground, #11301a);
  font-size: 15px;
  line-height: 1.8;
}

.dynamic-page-content h1,
.dynamic-page-content h2,
.dynamic-page-content h3,
.dynamic-page-content h4,
.dynamic-page-content h5,
.dynamic-page-content h6 {
  font-family: var(--font-family-heading, 'Playfair Display', serif);
  color: var(--accent, #b8864b);
  font-weight: 600;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.dynamic-page-content h1 { font-size: clamp(26px, 4vw, 36px); border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.dynamic-page-content h2 { font-size: clamp(22px, 3vw, 28px); }
.dynamic-page-content h3 { font-size: clamp(18px, 2.5vw, 24px); }
.dynamic-page-content h4 { font-size: clamp(16px, 2vw, 20px); color: var(--foreground); }
.dynamic-page-content h5 { font-size: 17px; }
.dynamic-page-content h6 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }

.dynamic-page-content p {
  margin-bottom: 1.2em;
}

.dynamic-page-content a {
  color: var(--primary, #b8864b);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.dynamic-page-content a:hover {
  color: var(--primary-hover, #a0733c);
}

.dynamic-page-content ul,
.dynamic-page-content ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.dynamic-page-content li {
  margin-bottom: 0.5em;
}

.dynamic-page-content blockquote {
  border-left: 3px solid var(--primary, #b8864b);
  padding: 14px 20px;
  background: var(--muted, #f6ede7);
  border-radius: var(--radius-sm, 4px);
  margin: 1.5em 0;
  color: var(--muted-foreground, #7a6a5f);
  font-style: italic;
}

.dynamic-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.dynamic-page-content th,
.dynamic-page-content td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.dynamic-page-content th {
  background: var(--muted);
  color: var(--accent);
  font-family: var(--font-family-heading);
}

.dynamic-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1em 0;
}

/* Container matching Header Width (1440px max-width with responsive side gutters) */
.tsc-header-container {
  max-width: 1440px !important;
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================================================
   PAGE HERO BANNER & SLIDER RESPONSIVE OPACITY RULES
   - Desktop (PC): Full opacity (1.0) for rich, crisp visual aesthetics.
   - Tablet (768px - 1024px+): Full opacity (1.0) preserved without changes.
   - Mobile Only (<768px): Softened opacity (0.25 - 0.35) for crystal-clear readability over background art.
   ========================================================================== */

.tsc-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  /* Mobile devices ONLY (<768px): Soft opacity overlay to keep typography sharp & clear */
  .tsc-page-hero-bg {
    opacity: 0.25 !important;
  }
  .tsc-category-hero .category-hero-bg {
    opacity: 0.3 !important;
  }
  .about-hero-bg {
    opacity: 0.3 !important;
  }
  #hero-bg {
    opacity: 0.35 !important;
  }
  #gift-bg {
    opacity: 0.35 !important;
  }
}

@media (min-width: 768px) {
  /* Tablet devices (768px+) & All PC / Desktop Screens: 100% full rich opacity */
  .tsc-page-hero-bg {
    opacity: 1 !important;
  }
  .tsc-category-hero .category-hero-bg {
    opacity: 1 !important;
  }
  .about-hero-bg {
    opacity: 1 !important;
  }
}

