/**
 * NJ CRAFTS - SAGE GREEN + WHITE + CHARCOAL DESIGN SYSTEM
 * Mandatory Brand Palette:
 * --color-primary: #788A70 (Sage Green - Primary Brand CTA)
 * --color-primary-soft: #EAF0E7 (Soft Sage - Secondary Background)
 * --color-background: #FFFFFF (Pure White - Primary Background)
 * --color-heading: #292D2A (Charcoal - Dark Headings & Primary Text)
 * --color-text: #686D68 (Muted Grey - Secondary Text)
 * --color-border: #E5E8E3 (Light Grey - Borders & Dividers)
 * --color-sale: #C76B4A (Muted Terracotta - Sale & Promo Accents)
 * --color-accent-soft: #F8E8EB (Pale Blush - Jewellery & Beauty Accents)
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Master Palette Tokens */
  --color-primary: #788A70;
  --color-primary-hover: #65755E;
  --color-primary-soft: #EAF0E7;
  --color-background: #FFFFFF;
  --color-heading: #292D2A;
  --color-text: #686D68;
  --color-border: #E5E8E3;
  --color-sale: #C76B4A;
  --color-accent-soft: #F8E8EB;

  /* Backward Compatibility Variables */
  --color-aubergine: #292D2A;
  --color-aubergine-dark: #1E211F;
  --color-aubergine-light: #788A70;
  --color-ivory: #FFFFFF;
  --warm-ivory: #EAF0E7;
  --color-terracotta: #788A70;
  --color-terracotta-hover: #65755E;
  --color-sale-accent: #C76B4A;
  --color-sage: #788A70;
  --color-black: #292D2A;
  --color-rose: #F8E8EB;
  --color-rose-light: #F8E8EB;
  --color-white: #FFFFFF;
  --color-grey: #686D68;
  --color-grey-light: #E5E8E3;
  --primary: #788A70;
  --primary-hover: #65755E;
  --ink-black: #292D2A;
  --warm-grey: #686D68;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(41, 45, 42, 0.04);
  --shadow-md: 0 6px 24px rgba(41, 45, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(41, 45, 42, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= Global Reset & Typography ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.nj-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ================= Announcement Bar ================= */
.announcement-bar {
  background-color: var(--color-aubergine);
  color: var(--color-ivory);
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
}
.announcement-bar a {
  color: var(--color-rose);
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 600;
}

/* ================= Header Navigation (Fixed Single-Line Layout) ================= */
.site-header {
  background-color: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  flex-wrap: nowrap !important;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo img {
  height: 42px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-aubergine);
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-terracotta);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-badge-pill {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--color-terracotta);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 3px;
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 16px);
  flex-shrink: 0;
  flex-wrap: nowrap !important;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  color: var(--color-aubergine);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(53, 34, 56, 0.06);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--color-terracotta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
}

/* ================= Buttons & Form Controls ================= */
.btn-nj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary,
.btn-sage {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover,
.btn-sage:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(120, 138, 112, 0.35);
}

.btn-terracotta {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn-terracotta:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(120, 138, 112, 0.35);
}

.btn-aubergine {
  background-color: var(--color-heading);
  color: var(--color-white);
}
.btn-aubergine:hover {
  background-color: #1E211F;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(41, 45, 42, 0.35);
}

.btn-outline-sage,
.btn-outline-aubergine {
  background: transparent;
  border-color: var(--color-heading);
  color: var(--color-heading);
}
.btn-outline-sage:hover,
.btn-outline-aubergine:hover {
  background-color: var(--color-heading);
  color: var(--color-white);
}

.btn-outline-terracotta {
  background: transparent;
  border-color: var(--color-sale);
  color: var(--color-sale);
}
.btn-outline-terracotta:hover {
  background-color: var(--color-sale);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.form-control-nj {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-black);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control-nj:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(199, 107, 74, 0.15);
}

.form-label-nj {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-aubergine);
}

/* ================= Luxury Customer Authentication & Form Controls ================= */
.auth-page {
  padding: 60px 20px;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ivory);
}

.auth-container,
.max-w-md {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-card,
.nj-card {
  background: var(--color-white);
  border: 1px solid rgba(53, 34, 56, 0.1);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  box-shadow: 0 12px 36px rgba(53, 34, 56, 0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .brand-badge {
  display: inline-block;
  background: rgba(199, 107, 74, 0.12);
  color: var(--color-terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.auth-title,
.font-editorial {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-aubergine);
  line-height: 1.2;
  margin-bottom: 6px;
}

.auth-subtitle,
.text-warm-grey {
  font-size: 0.9rem;
  color: var(--color-grey);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-aubergine);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(53, 34, 56, 0.18);
  border-radius: var(--radius-sm);
  color: var(--color-black);
  box-sizing: border-box;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-terracotta);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(199, 107, 74, 0.16);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 6px;
  font-weight: 500;
}

.nj-btn,
.nj-btn-primary,
.btn-auth-submit {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(199, 107, 74, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

.nj-btn:hover,
.nj-btn-primary:hover,
.btn-auth-submit:hover {
  background-color: var(--color-terracotta-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199, 107, 74, 0.45);
}

.auth-demo-box {
  margin-top: 24px;
  padding: 16px;
  background: #FFFDF9;
  border: 1px dashed rgba(199, 107, 74, 0.35);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #5C4B3A;
}

.auth-demo-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(53, 34, 56, 0.08);
  font-family: monospace;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-aubergine);
}

.auth-quick-fill-btn {
  background: none;
  border: 1px solid rgba(199, 107, 74, 0.4);
  color: var(--color-terracotta);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 6px;
}

.auth-quick-fill-btn:hover {
  background: var(--color-terracotta);
  color: #fff;
}

/* ================= Hero Slider Section ================= */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-aubergine-dark);
}

.hero-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 21, 38, 0.9) 0%, rgba(35, 21, 38, 0.6) 60%, rgba(35, 21, 38, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(251, 247, 240, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= Category Tiles Grid ================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  color: var(--color-aubergine);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--color-aubergine);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.category-tile:hover img {
  transform: scale(1.05);
}

.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(53, 34, 56, 0.1) 0%, rgba(35, 21, 38, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--color-white);
}

.category-tile-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.category-tile-action {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= Product Card ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 28px;
  align-items: stretch;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(199, 107, 74, 0.3);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-ivory);
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.product-media a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.product-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-tag.sale {
  background: var(--color-terracotta);
  color: #fff;
}
.badge-tag.custom {
  background: var(--color-aubergine);
  color: var(--color-rose);
}
.badge-tag.new {
  background: var(--color-sage);
  color: #fff;
}

.wishlist-btn-card {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-aubergine);
  transition: all var(--transition-fast);
  z-index: 5;
}
.wishlist-btn-card:hover, .wishlist-btn-card.active {
  background: var(--color-terracotta);
  color: #fff;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-grey);
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-name:hover {
  color: var(--color-terracotta);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #F59E0B;
  margin-bottom: 12px;
}
.product-rating span {
  color: var(--color-grey);
  font-size: 0.75rem;
  margin-left: 2px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-grey-light);
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-aubergine);
}

.regular-price-struck {
  font-size: 0.9rem;
  color: var(--color-grey);
  text-decoration: line-through;
}

.discount-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

/* ================= Benefits Ribbon ================= */
.benefits-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-icon-wrapper {
  width: 52px;
  height: 52px;
  background-color: var(--color-rose-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.benefit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-aubergine);
  margin-bottom: 2px;
}

.benefit-sub {
  font-size: 0.8rem;
  color: var(--color-grey);
}

/* ================= Footer ================= */
.site-footer {
  background-color: var(--color-aubergine-dark);
  color: var(--color-ivory);
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 3px solid var(--color-terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(251, 247, 240, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(251, 247, 240, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}

/* ================= Customise T-Shirt Studio ================= */
.customizer-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.customizer-preview-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
  text-align: center;
}

.preview-canvas-container {
  position: relative;
  max-width: 420px;
  margin: 0 auto 24px;
  aspect-ratio: 1/1;
  background-color: #F3EFEA;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed rgba(53, 34, 56, 0.15);
}

.tshirt-base-svg {
  width: 90%;
  height: 90%;
  transition: all var(--transition-fast);
}

.live-print-overlay {
  position: absolute;
  top: 32%;
  left: 28%;
  width: 44%;
  height: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.live-print-text {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  word-break: break-word;
}

.option-group {
  margin-bottom: 28px;
}

.option-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-aubergine);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.swatch-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-swatch-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.color-swatch-btn.active {
  box-shadow: 0 0 0 2px var(--color-terracotta);
  transform: scale(1.1);
}

.pill-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
}

.pill-select-btn {
  padding: 10px;
  text-align: center;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.pill-select-btn.active, .pill-select-btn:hover {
  background: var(--color-aubergine);
  color: #fff;
  border-color: var(--color-aubergine);
}

/* ================= Cart & Checkout Drawer ================= */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-grey);
}
.cart-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.order-summary-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--color-grey);
}
.summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-aubergine);
  border-top: 1px solid var(--color-grey-light);
  padding-top: 16px;
  margin-top: 16px;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .customizer-layout {
    grid-template-columns: 1fr !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .desktop-nav,
  .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card .product-info {
    padding: 10px 8px;
  }
}

/* ================= Hero Panoramic Carousel Styles (Full-Screen Edge-to-Edge) ================= */
.hero-panoramic-section {
  background-color: #FDF9F3;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ECE3D5;
}
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-panoramic-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 0 24px;
  box-sizing: border-box;
  transition: opacity 0.4s ease;
}
.hero-stage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
  box-sizing: border-box;
}
.hero-stage-graphic {
  position: relative;
  width: 100%;
  min-height: 480px;
  max-height: 720px;
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 0 !important;
  border: none !important;
}
.hero-stage-graphic img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
.hero-model-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  max-width: 850px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transition: opacity 0.3s;
}
.hero-model-backdrop img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 15%, black 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 15%, black 45%);
}
.hero-panoramic-left {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #77716F;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}
.hero-headline {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  color: #292D2A;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero-description {
  font-size: 1.02rem;
  color: #686D68;
  line-height: 1.6;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background-color: #788A70;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(120, 138, 112, 0.25);
  border: none;
}
.btn-hero-primary:hover {
  background-color: #65755E;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(120, 138, 112, 0.35);
}
.btn-hero-secondary {
  background-color: #FFFFFF;
  border: 1.5px solid #E5E8E3;
  color: #292D2A !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background-color: #EAF0E7;
  border-color: #788A70;
  color: #788A70 !important;
  transform: translateY(-2px);
}
.hero-script-panoramic {
  position: absolute;
  right: 50px;
  top: 40px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.3rem;
  color: #292D2A;
  line-height: 1.05;
  text-align: left;
  z-index: 2;
  pointer-events: none;
}
.hero-arrow-panoramic {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #292D2A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(41, 45, 42, 0.12);
  transition: all 0.2s ease;
}
.hero-arrow-panoramic:hover {
  background: #788A70;
  color: #FFFFFF;
  border-color: #788A70;
}
.hero-arrow-left { left: 16px; }
.hero-arrow-right { right: 16px; }
.hero-panoramic-dots {
  position: absolute;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(41, 45, 42, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-dot.active {
  background: #292D2A;
  width: 22px;
  border-radius: 9999px;
}
.hero-panoramic-benefits {
  position: relative;
  z-index: 3;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #E5E8E3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-benefit-item svg {
  color: #788A70;
  flex-shrink: 0;
}
.hero-benefit-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #292D2A;
  line-height: 1.25;
}
.hero-benefit-sub {
  font-size: 0.76rem;
  color: #686D68;
  margin-top: 2px;
}

