/* ============================================
   LOKUMCU — Design System
   Heritage Turkish Delight E-Commerce
   ============================================ */

:root {
  /* Brand palette — warm heritage */
  --burgundy: #6B1A2F;
  --burgundy-dark: #4A1220;
  --burgundy-light: #8B2A45;
  --gold: #C9A961;
  --gold-dark: #A8893F;
  --gold-light: #E0C788;
  --cream: #FAF4ED;
  --cream-2: #F5EBE0;
  --cream-3: #EFE2D0;
  --rose: #E8B4B8;
  --ink: #2A1810;
  --ink-2: #4A3328;
  --muted: #8B7968;
  --line: #E5D9C7;
  --success: #4A7C3F;
  --danger: #B33A3A;
  --info: #3A6FB3;

  /* Typography */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1280px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(42, 24, 16, 0.08);
  --shadow: 0 4px 16px rgba(42, 24, 16, 0.10);
  --shadow-lg: 0 12px 40px rgba(42, 24, 16, 0.16);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--burgundy-dark); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #25D366;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 220ms ease;
  cursor: pointer;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: white;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float .wa-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--ink);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.wa-float:hover .wa-label { opacity: 1; }
@media (max-width: 640px) {
  .wa-float { width: 56px; height: 56px; bottom: 16px; right: 16px; }
  .wa-float .wa-label { display: none; }
}

/* ============ WHOLESALE BANNER ============ */
.wholesale-banner {
  background:
    linear-gradient(135deg, rgba(74, 18, 32, 0.95), rgba(31, 15, 10, 0.92)),
    linear-gradient(45deg, var(--gold-dark), var(--burgundy));
  color: white;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.wholesale-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.2), transparent 50%);
  pointer-events: none;
}
.wholesale-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.wholesale-text h3 {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  font-style: italic;
}
.wholesale-text p {
  opacity: 0.9;
  margin-bottom: 16px;
  max-width: 520px;
}
.wholesale-text strong { color: var(--gold-light); }
.wholesale-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-wa {
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-wa:hover { background: #1FB855; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.4); }
.btn-wa svg { width: 20px; height: 20px; }
.btn-call {
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-call:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); }
@media (max-width: 768px) {
  .wholesale-grid { grid-template-columns: 1fr; text-align: center; }
  .wholesale-cta { justify-content: center; }
}

/* ============ TOP STRIP ============ */
.top-strip {
  background: var(--burgundy-dark);
  color: var(--gold-light);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.4px;
}
.top-strip strong { color: white; }

/* ============ HEADER ============ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 0;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  justify-self: center;
  grid-column: 2;
}
.logo .logo-text { display: none; } /* Logo görselinde zaten yazıyor */
.logo-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 400ms ease;
}
@media (max-width: 640px) {
  .logo-img { width: 110px; height: 110px; }
}
.logo:hover .logo-img { transform: scale(1.06); }

.header-search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  max-width: 360px;
  width: 100%;
  grid-column: 1;
  transition: var(--transition);
}
.header-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15); }
.header-search input { border: none; outline: none; width: 100%; background: transparent; }
.header-search svg { color: var(--muted); flex-shrink: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  grid-column: 3;
}
.icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--cream-2); color: var(--burgundy); }
.icon-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--burgundy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ============ NAV ============ */
.site-nav {
  background: var(--burgundy);
  color: white;
  border-bottom: 3px solid var(--gold);
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-list a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: white;
  transition: var(--transition);
  position: relative;
}
.nav-list a:hover, .nav-list a.active {
  background: var(--burgundy-dark);
  color: var(--gold-light);
}
.nav-list .nav-item-has-children { position: relative; }
.nav-list .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--gold);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 110;
}
.nav-list .nav-item-has-children:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  color: var(--ink) !important;
  padding: 10px 18px !important;
  text-transform: none !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
}
.submenu a:hover { background: var(--cream-2) !important; color: var(--burgundy) !important; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: white;
}
.btn-primary:hover { background: var(--burgundy-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-dark); color: white; }
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: white; }
.btn-ghost {
  background: var(--cream-2);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--cream-3); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(74, 18, 32, 0.85), rgba(107, 26, 47, 0.65)),
    radial-gradient(ellipse at top right, var(--gold) 0%, var(--burgundy) 60%);
  color: white;
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  filter: blur(1px) brightness(0.8);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(232, 180, 184, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(201, 169, 97, 0.18) 0%, transparent 35%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero-logo {
  width: 260px;
  height: 260px;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.4));
  animation: heroLogoIn 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 640px) {
  .hero-logo { width: 180px; height: 180px; }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}
.hero h1 {
  color: white;
  font-style: italic;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 17px;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ SECTION ============ */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: inline-block;
}
.section-head h2 { margin-bottom: 12px; }
.section-head h2 em { color: var(--gold-dark); font-family: var(--font-display); }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ============ FEATURE STRIP ============ */
.features {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-2);
  color: var(--burgundy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-text strong { display: block; font-size: 14px; color: var(--ink); }
.feature-text span { font-size: 12px; color: var(--muted); }

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line);
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.category-art {
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.category-art img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  z-index: 1;
}
.category-card:hover .category-art img.real-img { transform: scale(1.08); }
.category-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(107, 26, 47, 0.55), rgba(107, 26, 47, 0.10) 60%, transparent);
  z-index: 2;
}
.category-emoji {
  font-size: 56px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  position: relative;
  z-index: 3;
  color: white;
}
.category-card h4 { padding: 18px 12px 8px; color: var(--burgundy); }
.category-card p { padding: 0 12px 18px; font-size: 12px; color: var(--muted); }

/* Category color variants */
.cat-lokum { background: linear-gradient(135deg, #F8D7DA, #E8B4B8); }
.cat-cikolata { background: linear-gradient(135deg, #C9A176, #8B6F47); }
.cat-baklava { background: linear-gradient(135deg, #E8D08F, #C9A961); }
.cat-helva { background: linear-gradient(135deg, #F2E2C8, #D4B888); }
.cat-akide { background: linear-gradient(135deg, #FAB4D5, #E891B8); }
.cat-draje { background: linear-gradient(135deg, #B8D8E8, #88B8D4); }
.cat-kahve { background: linear-gradient(135deg, #8B5A3C, #5C3A24); }
.cat-hediye { background: linear-gradient(135deg, #C9A961, #8B1E3F); }
.cat-pestil { background: linear-gradient(135deg, #D4A574, #A8753F); }

/* ============ PRODUCTS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.product-art {
  height: 240px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.product-art img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.product-card:hover .product-art img.real-img { transform: scale(1.06); }
.product-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.10));
  z-index: 2;
  pointer-events: none;
}
.product-emoji {
  font-size: 88px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--burgundy);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 3;
}
.product-badge.gold { background: var(--gold); color: var(--ink); }
.product-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  z-index: 3;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-fav:hover, .product-fav.active { color: var(--burgundy); }
.product-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat-label {
  font-size: 11px;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 600;
  min-height: 44px;
}
.product-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; min-height: 38px; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.product-rating .stars { color: var(--gold); letter-spacing: 1px; }
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
}
.product-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.product-actions { display: flex; gap: 8px; margin-top: 12px; }
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 12px; }

/* ============ TABS ============ */
.tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  padding: 12px 22px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--burgundy); border-bottom-color: var(--burgundy); font-weight: 600; }

/* ============ STORY ============ */
.story {
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.story::before {
  content: 'لقم';
  position: absolute;
  font-size: 22rem;
  color: var(--gold);
  opacity: 0.06;
  top: -40px;
  right: -20px;
  font-family: serif;
  pointer-events: none;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-image {
  background: linear-gradient(135deg, var(--gold-light), var(--burgundy));
  height: 460px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 200px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-image img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.story-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  pointer-events: none;
}
.story-text .section-eyebrow { margin-bottom: 16px; }
.story-text h2 { margin-bottom: 24px; }
.story-text p { color: var(--ink-2); margin-bottom: 18px; font-size: 15px; line-height: 1.8; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--burgundy);
  display: block;
}
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--burgundy-dark);
  color: white;
}
.testimonials .section-head h2 { color: white; }
.testimonials .section-head h2 em { color: var(--gold-light); }
.testimonials .section-head p { color: rgba(255,255,255,0.7); }
.testimonials .section-eyebrow { color: var(--gold); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}
.testimonial .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-style: italic; line-height: 1.7; margin-bottom: 16px; opacity: 0.9; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--burgundy));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.author-info strong { display: block; font-size: 14px; }
.author-info span { font-size: 12px; opacity: 0.6; }

/* ============ NEWSLETTER ============ */
.newsletter {
  background:
    linear-gradient(135deg, rgba(74, 18, 32, 0.92), rgba(107, 26, 47, 0.92)),
    radial-gradient(ellipse at center, var(--gold), var(--burgundy));
  color: white;
  text-align: center;
  padding: 64px 0;
}
.newsletter h2 { color: white; margin-bottom: 12px; }
.newsletter p { max-width: 520px; margin: 0 auto 28px; opacity: 0.92; }
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  outline: none;
  color: var(--ink);
}
.newsletter-form button {
  padding: 0 28px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.newsletter-form button:hover { background: var(--gold-dark); color: white; }

/* ============ INSTAGRAM ============ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 32px;
}
.insta-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 48px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  background: var(--cream-2);
}
.insta-tile img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.insta-tile:hover { transform: scale(1.05); box-shadow: var(--shadow); }
.insta-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(107, 26, 47, 0);
  transition: var(--transition);
}
.insta-tile:hover::after { background: rgba(107, 26, 47, 0.4); }

/* ============ FOOTER ============ */
.site-footer {
  background: #1F0F0A;
  color: #C9B7A0;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { color: var(--gold-light); justify-self: flex-start; grid-column: auto; }
.footer-brand .logo-img { width: 110px; height: 110px; filter: drop-shadow(0 4px 12px rgba(201,169,97,0.4)); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; opacity: 0.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--ink); }

.footer-col h5 {
  color: white;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: #A89880;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item strong { display: block; color: white; font-weight: 600; margin-bottom: 2px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-payments { display: flex; gap: 8px; }
.footer-payments span {
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============ PAGE HEADER (subpages) ============ */
.page-header {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: white;
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.2), transparent 70%);
}
.page-header h1 { color: white; position: relative; }
.page-header .breadcrumb { position: relative; margin-top: 12px; font-size: 13px; opacity: 0.8; }
.page-header .breadcrumb a:hover { color: var(--gold-light); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ AUTH PAGE ============ */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  background: var(--cream-2);
}
.auth-art {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.auth-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(232,180,184,0.15), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(201,169,97,0.2), transparent 50%);
}
.auth-art-inner { position: relative; z-index: 2; }
.auth-art h2 { color: white; font-style: italic; margin-bottom: 16px; }
.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 60px 40px;
}
.auth-form { max-width: 420px; width: 100%; }
.auth-form h3 { margin-bottom: 8px; }
.auth-form > p { color: var(--muted); margin-bottom: 28px; }

/* ============ PRODUCT DETAIL ============ */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.pd-gallery {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pd-main-image {
  height: 480px;
  display: grid;
  place-items: center;
  font-size: 200px;
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.pd-main-image img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.pd-thumbs {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.pd-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  background: var(--cream-2);
}
.pd-thumb img.real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }

.pd-info .product-cat-label { margin-bottom: 8px; }
.pd-info h1 { font-size: 2.2rem; margin-bottom: 12px; }
.pd-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pd-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.pd-rating-num { color: var(--muted); font-size: 14px; }
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.pd-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--burgundy);
}
.pd-price-old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.pd-discount {
  background: var(--burgundy);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.pd-desc { color: var(--ink-2); line-height: 1.8; margin-bottom: 24px; }
.pd-options { margin-bottom: 24px; }
.pd-option-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: block; }
.pd-option-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-option {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  background: white;
}
.pd-option:hover { border-color: var(--gold-light); }
.pd-option.active { border-color: var(--burgundy); background: var(--burgundy); color: white; }
.pd-actions { display: flex; gap: 12px; align-items: stretch; margin-bottom: 24px; }
.qty-control {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button { width: 44px; height: 100%; font-size: 18px; font-weight: 700; color: var(--burgundy); transition: var(--transition); }
.qty-control button:hover { background: var(--cream-2); }
.qty-control input { width: 50px; text-align: center; border: none; outline: none; background: transparent; font-weight: 600; }
.pd-meta { padding-top: 24px; border-top: 1px solid var(--line); }
.pd-meta-row { display: flex; gap: 12px; padding: 10px 0; font-size: 14px; }
.pd-meta-row strong { min-width: 120px; color: var(--ink); }
.pd-meta-row span { color: var(--muted); }

.pd-tabs { margin-top: 56px; }

/* ============ CART ============ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.cart-items {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--cream-2);
  display: grid;
  place-items: center;
  font-size: 48px;
  overflow: hidden;
  position: relative;
}
.cart-item-image img.real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info h4 { color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.cart-item-info .meta { font-size: 12px; color: var(--muted); }
.cart-item-price { font-family: var(--font-display); font-weight: 700; color: var(--burgundy); font-size: 18px; }
.cart-remove { color: var(--muted); padding: 8px; }
.cart-remove:hover { color: var(--danger); }

.cart-summary {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 200px;
}
.cart-summary h3 { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary-row.total {
  border-top: 1px dashed var(--line);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
}
.cart-summary-row.total span:last-child { color: var(--burgundy); font-family: var(--font-display); font-size: 24px; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.cart-empty .icon { font-size: 80px; margin-bottom: 20px; opacity: 0.5; }
.cart-empty h3 { margin-bottom: 12px; }
.cart-empty p { color: var(--muted); margin-bottom: 24px; }

/* ============ CHECKOUT ============ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-section {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-section h3 .step-num {
  width: 32px;
  height: 32px;
  background: var(--burgundy);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.payment-option {
  padding: 18px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
}
.payment-option:hover { border-color: var(--gold-light); }
.payment-option.active { border-color: var(--burgundy); background: var(--cream-2); }
.payment-option .icon { font-size: 28px; margin-bottom: 6px; display: block; }

/* ============ ACCOUNT ============ */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.account-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 8px;
}
.account-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}
.account-sidebar a:hover { background: var(--cream-2); }
.account-sidebar a.active { background: var(--burgundy); color: white; }
.account-content {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 32px;
}
.account-content h2 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.order-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.order-head strong { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.order-head span { font-weight: 600; color: var(--ink); }
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pending { background: #FFF4E0; color: #B07000; }
.status-processing { background: #E0F0FF; color: #1E6BB8; }
.status-shipped { background: #E0F4E8; color: #2E7A3F; }
.status-delivered { background: #D9F0D9; color: #1E5C1E; }
.status-cancelled { background: #FFE0E0; color: #B33A3A; }

/* ============ TOASTS ============ */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn 320ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--info); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 24, 16, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal h3 { margin-bottom: 16px; }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; justify-content: flex-end; }

/* ============ FILTERS / LISTING ============ */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 20px;
  position: sticky;
  top: 200px;
}
.filter-group { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h5 {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.filter-option input { accent-color: var(--burgundy); }
.filter-option .count { margin-left: auto; color: var(--muted); font-size: 12px; }

.listing-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.listing-count { color: var(--muted); font-size: 14px; }
.sort-select { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: white; font-size: 13px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .header-main { grid-template-columns: 1fr auto auto; gap: 16px; }
  .header-search { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-main-image { height: 380px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { padding: 60px 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 48px 0; }
  .hero { padding: 64px 0; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-list a { padding: 12px 12px; font-size: 12px; }
  .cart-item { grid-template-columns: 70px 1fr; gap: 12px; }
  .cart-item-image { width: 70px; height: 70px; font-size: 32px; }
  .cart-item-price, .cart-item .qty-control, .cart-remove { grid-column: 2; justify-self: start; }
  .payment-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
