:root {
  --bg: #faf8f5;
  --bg-soft: #f4efe6;
  --card: #ffffff;
  --ink: #1c1917;
  --ink-light: #44403c;
  --muted: #78716c;
  --line: #e7e2d8;
  --line-light: #f0ebe1;
  --brand: #801438;
  --brand-dark: #5c0b25;
  --brand-light: #9f1847;
  --gold: #b45309;
  --gold-primary: #d97706;
  --gold-light: #f59e0b;
  --gold-bg: #fffbeb;
  --gold-border: #fcd34d;
  --ok: #15803d;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.05);
  --shadow: 0 12px 32px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(128, 20, 56, 0.12);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

[hidden] { display: none !important; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
}

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Top Announcement */
.top-announcement {
  background: var(--brand-dark);
  color: #fef3c7;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 0;
  text-align: center;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.announcement-sep { opacity: 0.4; }

/* Site Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(28, 25, 23, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}
.logo span {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--brand);
  font-weight: 700;
}
.logo span span {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s;
  padding: 6px 0;
}
.nav a:hover, .nav a.active {
  color: var(--brand);
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-action-btn {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-action-btn:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.cart-btn {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.cart-btn:hover {
  background: var(--brand-dark);
}
.cart-text { font-size: 0.9rem; }
.cart-count {
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(750px 400px at 90% 15%, rgba(180, 83, 9, 0.18), transparent 60%),
    radial-gradient(600px 350px at 10% 85%, rgba(128, 20, 56, 0.25), transparent 60%),
    linear-gradient(135deg, #2a0814 0%, #4a0d22 50%, #6b1130 100%);
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}
.hero-copy {
  max-width: 580px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(254, 243, 199, 0.28);
  color: #fde68a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p {
  color: #fce7f3;
  opacity: 0.92;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-gold-btn {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}
.hero-gold-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
}
.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-chips span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fef08a;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
}

/* Hero Visual Deck */
.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 160px);
  gap: 16px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  aspect-ratio: 5 / 7;
  position: relative;
}
.hero-card:nth-child(1) { transform: translateY(16px) rotate(-3deg); }
.hero-card:nth-child(2) { transform: translateY(-10px) rotate(2deg); }
.hero-card:nth-child(3) { transform: translateY(10px) rotate(3deg); }
.hero-card:nth-child(4) { transform: translateY(-14px) rotate(-2deg); }
.hero-card:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: #fde68a;
  z-index: 2;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(128, 20, 56, 0.25);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
}
.btn-gold:hover:not(:disabled) {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Section Headings */
.section-head {
  margin-bottom: 32px;
}
.section-head.text-center { text-align: center; }
.sub-title {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.2;
}
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 6px;
  max-width: 600px;
}
.section-head.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Products Section */
.products {
  background: #ffffff;
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.product-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-photo-wrap {
  position: relative;
  background: #fdfaf6;
  overflow: hidden;
  aspect-ratio: 5 / 7;
}
.product-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-photo-wrap img {
  transform: scale(1.04);
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(42, 8, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #fef08a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.card-quick-try {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  color: var(--brand);
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  z-index: 2;
}
.card-quick-try:hover {
  background: var(--gold-bg);
  transform: scale(1.05);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.product-card-body h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-rating-stars span {
  color: var(--muted);
  font-size: 0.78rem;
}
.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.product-pricing .current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
}
.product-pricing .mrp-price {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-pricing .discount-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ok);
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-actions-bar {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.btn-card-details {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.btn-card-details:hover {
  background: #f0ebe1;
}
.btn-card-try {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.btn-card-try:hover {
  background: #fde68a;
}

.asset-check {
  margin-top: 24px;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.asset-check.warn {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* How It Works Section */
.how {
  background: var(--bg-soft);
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.how-step {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.how-card strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.how-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Reviews Section */
.reviews-section {
  background: #ffffff;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars {
  color: #f59e0b;
  font-size: 1rem;
}
.review-text {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-border);
}
.avatar-initials {
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.review-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.review-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===================================================
   PRODUCT DETAILS PAGE (PDP)
   =================================================== */
.pdp {
  padding: 20px 0 70px;
}
.pdp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.back-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.back-link:hover {
  text-decoration: underline;
}
.pdp-breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
}
.pdp-breadcrumbs strong {
  color: var(--ink);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: start;
}

/* PDP Gallery */
.pdp-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.pdp-main-photo-card {
  background: #fdfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main-photo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(42, 8, 20, 0.9);
  backdrop-filter: blur(6px);
  color: #fef08a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}
.pdp-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.pdp-zoom-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

/* Gallery Thumbnails */
.pdp-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pdp-thumb-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pdp-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  letter-spacing: 0.02em;
}
.pdp-thumb-card:hover {
  border-color: var(--brand);
}
.pdp-thumb-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(128, 20, 56, 0.25);
}
.pdp-thumb-card.thumb-ai .pdp-thumb-label {
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fff;
}
.pdp-thumb-hint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* PDP Info Column */
.pdp-info {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pdp-brand-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.pdp-header h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-top: 4px;
  margin-bottom: 12px;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.pdp-price-row .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}
.pdp-price-row .mrp-price {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
}
.pdp-price-row .discount-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ok);
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.rating-row .stars { color: #f59e0b; }
.rating-row .rating-score { font-weight: 700; color: var(--ink); }
.rating-row .reviews-count { color: var(--muted); }
.rating-row .stock-badge {
  color: var(--ok);
  font-weight: 700;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Virtual Try-On Highlight Card */
.tryon-callout-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.1);
}
.tryon-callout-icon {
  font-size: 2rem;
  line-height: 1;
}
.tryon-callout-body strong {
  display: block;
  font-size: 0.98rem;
  color: #78350f;
  margin-bottom: 2px;
}
.tryon-callout-body p {
  font-size: 0.82rem;
  color: #92400e;
  line-height: 1.4;
}
.btn-tryon-highlight {
  white-space: nowrap;
  font-size: 0.88rem;
  padding: 10px 18px;
}

.pdp-desc {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Controls */
.control-block { display: grid; gap: 10px; }
.label-with-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.control-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.control-label .active-val {
  color: var(--brand);
}
.size-chart-link {
  background: transparent;
  border: 0;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.swatch-row { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand);
}

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.qty-total-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 16px 0;
}
.qty-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.qty-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.qty-btn:hover { border-color: var(--brand); color: var(--brand); }
.qty-input {
  width: 65px;
  height: 42px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.total-box { text-align: right; }
.total-label { display: block; font-size: 0.85rem; color: var(--muted); }
.total-val { font-size: 1.6rem; font-weight: 800; color: var(--brand); }

.pdp-action-buttons {
  display: grid;
  gap: 12px;
}

/* Perks List */
.perks-list {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.perk-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.perk-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}
.perk-item span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* PDP Accordions */
.pdp-accordions {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.pdp-accordion {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.pdp-accordion summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  background: var(--bg);
  user-select: none;
}
.pdp-accordion[open] summary {
  border-bottom: 1px solid var(--line);
}
.accordion-content {
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--ink-light);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th, .specs-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.85rem;
}
.specs-table th {
  color: var(--muted);
  font-weight: 600;
  width: 30%;
}
.specs-table td {
  color: var(--ink);
  font-weight: 500;
}

/* ===================================================
   MODAL 1: AI VIRTUAL TRY-ON (DRESSING ROOM)
   =================================================== */
.modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  z-index: 70;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}
.modal-card.modal-lg { width: min(640px, 100%); }
.modal-card.modal-xl { width: min(1080px, 100%); }

.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 5;
}
.modal-head-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sparkle-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.modal-head h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

.modal-body {
  padding: 24px;
}

/* Try-On 2-Column Body */
.try-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* Left Column: Result / Showcase */
.try-preview-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
}
.try-preview-card {
  background: linear-gradient(180deg, #f8f6f0, #eae4d8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Result View */
.try-result-view {
  width: 100%;
  max-width: 440px;
  height: 580px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  background: #fdfaf6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.try-result-view img, .try-result-view canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.try-result-view canvas {
  cursor: grab;
  touch-action: none;
}
.try-result-view canvas.dragging {
  cursor: grabbing;
}
.try-result-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* AI Processing Overlay */
.ai-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #fff;
  text-align: center;
  gap: 16px;
}
.ai-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(254, 240, 138, 0.2);
  border-top-color: #fde68a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ai-processing-overlay h4 {
  color: #fef08a;
  font-size: 1.3rem;
}
.ai-status-steps {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  text-align: left;
  max-width: 320px;
}
.ai-step {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.ai-step.active {
  color: #fef08a;
  font-weight: 700;
  transform: translateX(4px);
}
.ai-step.done {
  color: #86efac;
}

/* Before / After Bar */
.before-after-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.compare-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.compare-btn:hover {
  border-color: var(--brand);
}
.compare-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Caption Box */
.try-caption-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.caption-icon { font-size: 1.3rem; line-height: 1; }
.try-caption-box p {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* Right Column: Controls */
.try-controls-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.try-panel-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.try-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Product Mini Card */
.try-product-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.try-product-mini img {
  width: 60px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
.try-product-mini-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}
.try-product-mini-info span {
  font-size: 0.78rem;
  color: var(--muted);
}
.try-mini-meta {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.mini-tag {
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--brand);
}

/* Sample Profiles Row */
.sample-profiles-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sample-profiles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sample-profile-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  position: relative;
}
.sample-profile-btn:hover {
  border-color: var(--gold);
}
.sample-profile-btn.active {
  border-color: var(--brand);
  background: #fffdfa;
  box-shadow: 0 0 0 2px rgba(128, 20, 56, 0.2);
}
.sample-profile-btn img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.sample-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
}
.sample-info span {
  font-size: 0.72rem;
  color: var(--muted);
}
.sample-check {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}
.sample-profile-btn.active .sample-check {
  display: block;
}

.or-divider {
  text-align: center;
  position: relative;
  margin: 6px 0;
}
.or-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.or-divider span {
  position: relative;
  background: var(--bg);
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--brand);
  background: #fffdfa;
}
.upload-icon {
  color: var(--gold);
  margin-bottom: 6px;
}
.upload-idle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.upload-idle strong { color: var(--ink); }

.upload-done {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.upload-done img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.upload-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}
.upload-meta span {
  font-size: 0.78rem;
  color: var(--muted);
}
.link-btn {
  background: transparent;
  border: 0;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}

/* Face Adjustment Panel */
.face-adjust-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.face-adjust-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-row {
  display: grid;
  grid-template-columns: 85px 1fr 45px;
  gap: 10px;
  align-items: center;
}
.slider-row label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.slider-row input[type="range"] {
  accent-color: var(--brand);
  cursor: pointer;
  width: 100%;
}
.slider-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  text-align: right;
}
.adjust-hint {
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 2px;
}

.try-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.try-actions-row .btn { width: 100%; font-size: 0.88rem; padding: 12px 14px; }

/* Flow Tracker Bar */
.try-flow-tracker {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
  overflow-x: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.flow-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s;
}
.flow-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.flow-pill.success {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}
.flow-arrow {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Consent Group & Status Bar */
.consent-group {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.45;
  user-select: none;
}
.consent-label input[type="checkbox"] {
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
  margin-top: 1px;
  cursor: pointer;
  flex-shrink: 0;
}
.tryon-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.82rem;
  color: #334155;
  transition: all 0.2s ease;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.status-dot.ready {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.status-dot.busy {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  animation: pulse-dot 1.2s infinite ease-in-out;
}
.status-dot.error {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Architecture Flow: Dotted Generation Status Card */
.generation-status-card {
  border: 2px dashed #93c5fd;
  background: #f0f7ff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
}
.generation-status-card.processing {
  border-color: #3b82f6;
  background: #eff6ff;
}
.generation-status-card.success {
  border-color: #22c55e;
  border-style: solid;
  background: #f0fdf4;
}
.generation-status-card.failed {
  border-color: #ef4444;
  border-style: solid;
  background: #fef2f2;
}
.gen-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gen-status-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e40af;
}
.gen-status-body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gen-branch-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
}
.generation-status-card.success .gen-branch-badge {
  background: #dcfce7;
  color: #166534;
}
.generation-status-card.failed .gen-branch-badge {
  background: #fee2e2;
  color: #991b1b;
}
.gen-error-retry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
}
.gen-error-retry .error-msg {
  font-size: 0.8rem;
  color: #b91c1c;
  margin: 0;
  line-height: 1.4;
}
.retry-actions-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gen-retry-btn {
  background: #ef4444;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.gen-retry-btn:hover {
  background: #dc2626;
}
.gen-fallback-btn {
  background: #f59e0b;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.gen-fallback-btn:hover {
  background: #d97706;
}
.ai-engine-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fefce8, #fef08a);
  border: 1px solid #fde047;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #854d0e;
}

/* Size Table Modal */
.size-table {
  margin: 16px 0;
}
.size-table th {
  background: var(--bg);
  color: var(--ink);
  font-weight: 700;
}
.highlight-row {
  background: var(--gold-bg);
  font-weight: 700;
}
.fit-tips {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
  display: grid;
  gap: 6px;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.2rem; }
.cart-body {
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  gap: 12px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
}
.cart-total strong { color: var(--brand); }
.cart-shipping-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.cart-item img {
  width: 80px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-details h4 {
  font-size: 0.92rem;
  line-height: 1.3;
}
.cart-item-details p {
  font-size: 0.8rem;
  color: var(--muted);
}
.cart-wearing-tag {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin-top: 4px;
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
}
.remove-item {
  background: transparent;
  border: 0;
  color: #dc2626;
  font-size: 0.78rem;
  cursor: pointer;
}
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
}

/* Overlay */
.overlay {
  position: fixed; inset: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  z-index: 60;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* Success Box */
.success-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

/* Inputs */
.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--ink);
}
.input:focus {
  outline: 2px solid rgba(128, 20, 56, 0.25);
  border-color: var(--brand);
}

.icon-btn {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.icon-btn:hover { background: var(--bg); }

/* Site Footer */
.site-footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 60px 0 30px;
  border-top: 1px solid #292524;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-logo img {
  height: 52px;
  filter: invert(1);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a8a29e;
  max-width: 320px;
}
.footer-col h4 {
  color: #fef08a;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul a {
  color: #d6d3d1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; color: #a8a29e; }
.copyright { margin-top: 8px; font-size: 0.8rem; opacity: 0.7; }

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.toast {
  background: #1c1917;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: pop 0.2s ease;
}
.toast.ok { background: #14532d; border: 1px solid #22c55e; }
.toast.err { background: #7f1d1d; border: 1px solid #ef4444; }

@keyframes pop { from { transform: translateY(12px); opacity: 0; } }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery-wrap { position: static; }
  .try-body { grid-template-columns: 1fr; }
  .try-preview-col { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero-inner { flex-direction: column; gap: 36px; }
  .hero-visual { grid-template-columns: repeat(2, 130px); }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .sample-profiles-row { grid-template-columns: 1fr; }
  .try-actions-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; justify-content: center; }
  .pdp-thumbnails { grid-template-columns: repeat(2, 1fr); }
  .tryon-callout-card { grid-template-columns: 1fr; text-align: center; }
  .btn-tryon-highlight { width: 100%; }
}

/* FASHN VTON v1.5 Quality Settings & Verification Card */
.quality-settings-card {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.quality-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: var(--brand);
}
.quality-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.quality-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 0.76rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.setting-item {
  display: flex;
  flex-direction: column;
}
.setting-label {
  color: var(--muted);
  font-size: 0.7rem;
}
.setting-val {
  color: var(--ink);
  font-weight: 600;
}
.verification-checklist {
  margin-top: 10px;
}
.checklist-title {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-light);
  line-height: 1.35;
}
.check-item .check-icon {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.7rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
