/* Typography & reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1d1d1f;
  background: #faf8f5; /* warm off-white to match gold */
  line-height: 1.6;
}

:root{
  --container: 1200px;
  --gold: #c8a45d;
  --gold-dark: #a88a4f;
  --ink: #1d1d1f;
  --muted: #6b7280;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

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

/* Header */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: #faf8f5; 
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.header-inner { 
  display: grid; 
  grid-template-columns: 1fr auto 1fr; 
  align-items: center; 
  gap: 30px; 
  padding: 24px 0; 
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80px;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  text-decoration: none; 
  color: inherit; 
  transition: opacity .2s ease; 
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.brand:hover { opacity: 0.8; }
.logo { 
  height: 80px; 
  width: 80px; 
  border-radius: 50%; 
  border: 3px solid var(--gold); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 600; 
  color: #8b7355; 
  letter-spacing: .5px; 
  background: #f5f3f0; 
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(200,164,93,0.2);
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.logo.small{ 
  height: 60px; 
  width: 60px; 
  font-size: 12px; 
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.logo.small img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { 
  font-family: 'Playfair Display', serif; 
  font-weight: 700; 
  font-size: 28px; 
  letter-spacing: .2px; 
  margin: 0; 
  color: #2c2c2c; 
  line-height: 1.1;
}
.brand-tagline { 
  font-size: 14px; 
  color: #666; 
  margin: 0; 
  font-weight: 500;
  margin-top: 2px;
}

/* --- SUBNAV (YATAY İNCE MENÜ) --- */
.subnav {
  background: transparent;   /* header ile aynı görünüm */
  border: 0;
  box-shadow: none;
}

.subnav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.subnav-list {
  list-style: none;
  display: flex;
  justify-content: center;     /* ortala */
  align-items: center;
  gap: 32px;
  margin: 8px 0;               /* toplam yükseklik ~32-40px */
  padding: 6px 0;
}

.subnav-list a {
  text-decoration: none;
  font-weight: 600;
  color: #6b4e2e;
  padding: 6px 10px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.subnav-list a:hover {
  color: #a37a49;
  background-color: #f5efe6;   /* çok açık sıcak ton */
}

/* Mobil davranış */
@media (max-width: 768px) {
  .subnav-list {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }
}

/* --- BAŞLIK ŞERİDİ / GEREKSİZ BOŞLUKLARI SÖNÜMLE --- */
/* Sayfa başlığını büyük bir bar gibi gösteren şablonları kapat */
.page-title, .page-header, .title-bar, .section-title-bar {
  display: none;          /* varsa o kalın boşluğu kaldır */
}

/* İçerikte ilk h2 üst boşluğunu sıfırla (Ürünler başlığı için) */
main h1:first-child,
main h2:first-child {
  margin-top: 0;
}

/* Subnav'ın header'ın altında görünmesi için body'ye üst boşluk */
body {
  padding-top: 0;  /* header sticky olduğu için body padding'e gerek yok */
}

/* Hero ve diğer içeriklerin subnav'dan sonra başlaması için */
.hero,
.customizable,
.featured,
.categories {
  margin-top: 0;
}

/* Hero'nun üst padding'ini azalt */
.hero {
  padding-top: 10px !important;
}

.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 40px; 
  justify-content: center;
  grid-column: 2;
}
.search { 
  display: flex; 
  align-items: center; 
  background: #fff; 
  border: 1px solid #e5e5e5; 
  border-radius: 30px;        /* daha yuvarlat */
  padding: 4px;              /* kutuyu incelt */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); 
  min-width: 280px;          /* çok uzun olmasın */
  max-width: 340px;
  height: 40px;              /* daha kompakt */
}

.search input { 
  border: none; 
  outline: none; 
  flex: 1;
  font-size: 14px; 
  color: #2c2c2c;
  font-weight: 500;
  padding: 8px 12px; 
  border-radius: 30px 0 0 30px;  /* soldan yuvarlat */
  background: transparent;
}

.search{
  display:flex; align-items:center; gap:0;           /* aradaki boşluğu kaldır */
  background:#fff; border:1px solid #ece7df;
  border-radius:999px;                               /* tam pill */
  padding:2px;                                       /* incelt */
  height:44px; min-width:340px; max-width:420px;
  box-shadow: 0 4px 18px rgba(32,24,12,.06),         /* yumuşak dış gölge */
              inset 0 1px 0 rgba(255,255,255,.65);   /* hafif iç parlama */
  overflow:hidden;                                   /* butonla birleşik görünüm */
}

.search input{
  flex:1; border:none; outline:none; background:transparent;
  padding:10px 14px; font-size:14px; font-weight:500; color:#2c2c2c;
  border-radius:999px 0 0 999px;                     /* soldan yuvarlat */
}

/* Buton tek parça, aynı yükseklikte */
.btn-search{
  height:100%; padding:0 18px; white-space:nowrap;
  border:none; cursor:pointer; font-weight:700; font-size:14px; color:#fff;
  border-radius:0 999px 999px 0;
  background: linear-gradient(180deg, var(--gold) 0%, #b8954e 100%);
  box-shadow: 0 3px 10px rgba(200,164,93,.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* HOVER & ACTIVE — atlanan kısım */
.btn-search:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 14px rgba(200,164,93,.42);
}
.btn-search:active{
  transform: translateY(0);
  filter: brightness(.98);
  box-shadow: 0 2px 6px rgba(200,164,93,.28);
}

/* Kutuyu focus'ta altın halka ile vurgula */
.search:focus-within{
  border-color:#d8bf86;
  box-shadow: 0 6px 20px rgba(32,24,12,.08),
               0 0 0 3px rgba(200,164,93,.15) inset;
}

.main-nav { 
  display: flex; 
  align-items: center; 
  gap: 0;
  height: 100%;
}
.main-nav a{
  color: #2c2c2c; 
  text-decoration: none !important; 
  margin-left: 24px; 
  position: relative; 
  font-weight: 600; 
  font-size: 16px;
  transition: color .3s ease;
  padding: 8px 0;
  display: inline-block;
}
.main-nav a:hover{ 
  color: var(--gold-dark); 
  text-decoration: none !important;
}
.main-nav a::after{ 
  content:""; 
  position:absolute; 
  left:0; 
  bottom:-6px; 
  width:0; 
  height:3px; 
  background: var(--gold); 
  transition: width .3s ease; 
  border-radius: 2px;
}
.main-nav a:hover::after{ 
  width:100%; 
}

.header-icons { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  flex-shrink: 0;
  height: 100%;
  grid-column: 3;
  justify-self: end;
}
.icon-btn { 
  background: none; 
  border: none; 
  padding: 10px; 
  border-radius: 10px; 
  cursor: pointer; 
  color: #2c2c2c; 
  transition: all .3s ease; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative; 
  width: 44px;
  height: 44px;
}
.icon-btn:hover { 
  background: rgba(200,164,93,0.1); 
  color: var(--gold-dark); 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(200,164,93,0.2);
}
.cart-count, .favorite-count{ position: absolute; top: -2px; right: -2px; background: #e74c3c; color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.cart-count:empty, .favorite-count:empty{ display: none; }
.btn-login { 
  padding: 14px 24px; 
  font-size: 15px; 
  font-weight: 600; 
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  color: #2c2c2c;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.btn-login::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.8) 20%, transparent 40%);
  transition: left 0.6s ease;
}
.btn-login:hover::before{
  left: 100%;
}
.btn-login:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
  color: white;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200,164,93,0.4);
}

/* Hero */
.hero{ padding: 20px 0 26px; }
.hero-inner{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero-copy h1{ font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); line-height: 1.2; margin: 0 0 8px; }
.hero-copy p{ color: var(--muted); margin: 0 0 18px; }
.hero-cta{ display:flex; gap: 12px; }
.btn{ display:inline-block; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); text-decoration:none; color: var(--ink); background:#fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.btn-primary{ background: linear-gradient(135deg, #e8d3a1, var(--gold)); color: #1a1508; border: none; }

.hero-media{ height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(135deg, #f3ece0 0%, #e9dcc8 100%); border: 1px solid rgba(200,164,93,.35); }

/* Collection Navigation */
.collection-nav {
  padding: 50px 0;
  background: #faf8f5;
}
.collection-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 40px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.collection-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.collection-item:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}
.collection-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}
.collection-item:hover .collection-image {
  box-shadow: 0 6px 20px rgba(200, 164, 93, 0.25);
}
.collection-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5ede0 0%, #e8dcc8 50%, #ddd4c0 100%);
  border: 1px solid rgba(200, 164, 93, 0.2);
}
.collection-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Featured section */
.featured{ padding: 26px 0 10px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card{ background: var(--card); border-radius: var(--radius); overflow:hidden; border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow); display:grid; grid-template-columns: 1.2fr 1fr; }
.feature-media{ min-height: 240px; background: linear-gradient(135deg, #efe9df, #e3d9c7); }
.feature-content{ padding: 20px; }
.feature-content h3{ font-family: 'Playfair Display', serif; margin: 0 0 6px; }
.feature-content p{ color: var(--muted); margin: 0 0 12px; }
.link{ color: var(--gold-dark); text-decoration: none; font-weight: 600; }
.link:hover{ text-decoration: underline; }

/* Customizable Designs */
.customizable{ padding: 24px 0 20px; }
.customizable h2{ font-family: 'Playfair Display', serif; margin: 0 0 14px; }

/* Categories */
.categories{ padding: 24px 0 50px; }
.categories h2{ font-family: 'Playfair Display', serif; margin: 0 0 14px; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card{ display:flex; flex-direction: column; gap: 10px; background: var(--card); padding: 14px; border-radius: 14px; border: 1px solid rgba(0,0,0,.06); text-decoration:none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.category-media{ aspect-ratio: 1 / 1; border-radius: 10px; background: linear-gradient(135deg, #efe6d6, #e2d2b4); border: 1px solid rgba(200,164,93,.35); }
.category-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.category-card span{ font-weight: 600; letter-spacing: .2px; }

/* Breadcrumb */
.breadcrumb{ background: #f8f9fa; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.breadcrumb a{ color: var(--muted); text-decoration: none; }
.breadcrumb a:hover{ color: var(--gold-dark); }
.breadcrumb span{ color: var(--muted); margin: 0 8px; }

/* Product Detail */
.product-detail{ padding: 40px 0 60px; background: #faf8f5; }
.product-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }

/* Product Images */
.main-image{ position: relative; margin-bottom: 20px; }
.image-placeholder{ 
  width: 100%; 
  height: 450px; 
  background: linear-gradient(135deg, #f3ece0 0%, #e9dcc8 100%); 
  border-radius: 12px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.1); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  border: 1px solid rgba(200,164,93,.35);
  position: relative;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.8) 20%, transparent 40%);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
  z-index: 2;
  pointer-events: none;
  border-radius: 12px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.placeholder-text{ 
  font-family: 'Playfair Display', serif; 
  font-size: 24px; 
  font-weight: 600; 
  color: #8b7355; 
  text-align: center;
  z-index: 1;
}
.product-badges{ position: absolute; top: 16px; left: 16px; z-index: 2; }
.badge{ 
  background: linear-gradient(135deg, #ffd700, #ffed4e); 
  color: #1a1508; 
  padding: 8px 16px; 
  border-radius: 25px; 
  font-size: 13px; 
  font-weight: 700; 
  display: inline-block; 
  box-shadow: 0 2px 8px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.5);
}
.favorite-btn{ 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.95); 
  border: 1px solid rgba(0,0,0,0.1); 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all .3s ease; 
  z-index: 3; 
  color: #666; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.favorite-btn:hover{ 
  background: white; 
  color: #e74c3c; 
  transform: scale(1.05); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}
.favorite-btn.active{ 
  color: #e74c3c; 
  background: rgba(231,76,60,0.1); 
}
.thumbnail-images{ display: flex; gap: 16px; }
.thumbnail{ 
  width: 90px; 
  height: 90px; 
  border-radius: 10px; 
  border: 2px solid transparent; 
  cursor: pointer; 
  transition: all .3s ease; 
  background: linear-gradient(135deg, #f3ece0, #e9dcc8);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.thumbnail:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0,0,0,0.12); 
}
.thumbnail.active{ 
  border-color: var(--gold); 
  box-shadow: 0 0 0 2px rgba(200,164,93,0.3); 
}

.additional-images{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.additional-thumbnail{
  width: 70%;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
  margin: 0 auto;
}

.additional-thumbnail:hover{
  border-color: var(--gold);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Modern Inline Validation */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group .error-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
  z-index: 10;
}

.form-group .error-message::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fca5a5;
}

.form-group .error-message::after {
  content: '⚠';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #dc2626;
}

.form-group .error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-group.error input {
  border-color: #fca5a5 !important;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  animation: inputShake 0.6s ease-in-out;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.form-group.error input:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Success state */
.form-group.success input {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.form-group.success .success-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #6ee7b7;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 12px;
  color: #059669;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  z-index: 10;
}

.form-group.success .success-message::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #6ee7b7;
}

.form-group.success .success-message::after {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #059669;
}

.form-group.success .success-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Auth Page (Login/Register shared) */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(1200px 600px at top right, rgba(212, 175, 55, 0.06), transparent),
              radial-gradient(1200px 600px at bottom left, rgba(0, 0, 0, 0.06), transparent),
              var(--bg, #f7f7f7);
}

.auth-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  padding: 28px;
  backdrop-filter: blur(4px);
}

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

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}

.auth-header p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.6px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: all .25s ease;
  background: #fff;
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.btn.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--gold, #d4af37), #e0c45a);
  color: #222;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}

.btn.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
}

.auth-back {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  color: #666;
  text-decoration: none;
  transition: color .2s ease;
}

.auth-back:hover { color: #111; }

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.strength-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
  background: #f0f0f0;
  transition: all 0.3s ease;
}

.strength-text {
  color: #999;
  transition: all 0.3s ease;
}

.strength-item.valid .strength-icon {
  background: #10b981;
  color: white;
  content: '✓';
}

.strength-item.valid .strength-text {
  color: #10b981;
  font-weight: 500;
}

.strength-item.valid .strength-icon::before {
  content: '✓';
}

/* Password Match Indicator */
.password-match {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.match-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
  background: #f0f0f0;
  transition: all 0.3s ease;
}

.match-text {
  color: #999;
  transition: all 0.3s ease;
}

.password-match.valid .match-icon {
  background: #10b981;
  color: white;
}

.password-match.valid .match-text {
  color: #10b981;
  font-weight: 500;
}

.password-match.valid .match-icon::before {
  content: '✓';
}

.password-match.invalid .match-icon {
  background: #ef4444;
  color: white;
}

.password-match.invalid .match-text {
  color: #ef4444;
  font-weight: 500;
}

.password-match.invalid .match-icon::before {
  content: '✗';
}

/* Gmail Verification Modal */
.gmail-verification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gmail-verification-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal açıkken arka planı gizle */
body.modal-open {
  overflow: hidden;
}

body.modal-open * {
  pointer-events: none;
}

body.modal-open .gmail-verification-modal,
body.modal-open .gmail-verification-modal * {
  pointer-events: auto;
}

.gmail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.gmail-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.gmail-verification-modal.active .gmail-content {
  transform: scale(1) translateY(0);
}

.gmail-header {
  text-align: center;
  padding: 32px 32px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.gmail-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.gmail-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.gmail-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.gmail-body {
  padding: 24px 32px;
}

.gmail-email {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.gmail-steps {
  margin-bottom: 24px;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37, #e0c45a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-right: 16px;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.gmail-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #856404;
}

.gmail-note p {
  margin: 0;
}

.gmail-footer {
  padding: 24px 32px 32px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.gmail-footer .btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.gmail-footer .btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
}

.gmail-footer .btn-secondary:hover {
  background: #e9ecef;
  color: #333;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-left: 4px solid;
  min-width: 300px;
  max-width: 400px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.toast.error {
  border-left-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
}

.toast.warning {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.toast.info {
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.toast.error .toast-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast.warning .toast-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.toast.info .toast-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1f2937;
}

.toast-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(0,0,0,0.1);
  color: #374151;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .additional-images {
    max-height: 300px;
    gap: 8px;
  }
  
  .additional-thumbnail {
    border-radius: 8px;
  }
  
  .toast-container {
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .additional-images {
    max-height: 250px;
    gap: 6px;
  }
  
  .additional-thumbnail {
    border-radius: 6px;
  }
}

/* Product Info */
.product-info{ background: white; padding: 40px; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.product-title{ 
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 38px;
  background: linear-gradient(45deg, #c8a45d, #d4af37, #ffd700, #d4af37, #c8a45d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(200,164,93,0.3);
  letter-spacing: 1px;
  margin: 0 0 12px;
  line-height: 1.2;
  position: relative;
}

/* Glow effect for product title */
.glow-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 38px;
  background: linear-gradient(45deg, #c8a45d, #d4af37, #ffd700, #d4af37, #c8a45d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(200,164,93,0.3);
  letter-spacing: 1px;
}

@keyframes glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.rating{ display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.stars{ color: #ffd700; font-size: 18px; }
.review-count{ color: #666; font-size: 15px; font-weight: 500; }
.product-price{ font-size: 32px; font-weight: 800; color: #2c2c2c; margin-bottom: 32px; }

.price-section{ margin-bottom: 32px; }
.price{ display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.original-price{ text-decoration: line-through; color: #999; font-size: 20px; font-weight: 500; }
.current-price{ font-size: 32px; font-weight: 800; color: #2c2c2c; }
.discount-badge{ background: #dc2626; color: white; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; margin-left: 12px; }
.price-note{ color: #666; font-size: 14px; margin: 0; }

.product-options{ margin-bottom: 40px; }
.option-group{ margin-bottom: 28px; }
.option-group label{ display: block; font-weight: 700; margin-bottom: 12px; color: #2c2c2c; font-size: 15px; }
.color-options{ display: flex; gap: 16px; }
.color-option{ display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid #e5e5e5; border-radius: 12px; background: white; cursor: pointer; transition: all .3s ease; }
.color-option:hover{ border-color: #d4d4d4; transform: translateY(-1px); }
.color-option.active{ border-color: var(--gold); background: rgba(200,164,93,0.08); box-shadow: 0 4px 12px rgba(200,164,93,0.2); }
.color-circle{ width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.color-circle.gold{ background: #ffd700; }
.color-circle.silver{ background: #c0c0c0; }
.color-circle.rose{ background: #e8b4b8; }

.material-options{ display: flex; gap: 12px; }
.material-option{ 
  padding: 14px 20px; 
  border: 2px solid #e5e5e5; 
  border-radius: 12px; 
  background: white; 
  cursor: pointer; 
  transition: all .3s ease; 
  position: relative; 
  overflow: hidden;
}
.material-option::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.8) 20%, transparent 40%);
  transition: left 0.6s ease;
}
.material-option:hover::before{
  left: 100%;
}
.material-option:hover{ 
  border-color: #d4d4d4; 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.material-option.active{ 
  border-color: var(--gold); 
  background: rgba(200,164,93,0.08); 
  box-shadow: 0 4px 12px rgba(200,164,93,0.2); 
}

/* Seçili altın malzeme - hover animasyonunda kalır */
.material-option[for="material-gold"].active{
  border-color: #8b6914;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 30%, #fff8dc 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(139,105,20,0.6);
  transform: translateY(-3px) scale(1.02);
}
.material-option[for="material-gold"].active .material-name{
  color: #5d4e37;
  text-shadow: 0 0 15px rgba(255,215,0,1), 0 0 25px rgba(255,215,0,0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Seçili gümüş malzeme - hover animasyonunda kalır */
.material-option[for="material-silver"].active{
  border-color: #808080;
  background: linear-gradient(135deg, #c0c0c0 0%, #d3d3d3 30%, #e6e6fa 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(128,128,128,0.6);
  transform: translateY(-3px) scale(1.02);
}
.material-option[for="material-silver"].active .material-name{
  color: #2c2c2c;
  text-shadow: 0 0 15px rgba(192,192,192,1), 0 0 25px rgba(192,192,192,0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.material-option input{ 
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.material-name{ 
  font-size: 15px; 
  font-weight: 600; 
  color: #2c2c2c; 
  position: relative;
  z-index: 1;
}

/* Altın malzeme hover efekti */
.material-option[for="material-gold"]:hover{
  border-color: #8b6914;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 30%, #fff8dc 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(139,105,20,0.6);
  transform: translateY(-3px) scale(1.02);
}
.material-option[for="material-gold"]:hover .material-name{
  color: #5d4e37;
  text-shadow: 0 0 15px rgba(255,215,0,1), 0 0 25px rgba(255,215,0,0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Gümüş malzeme hover efekti */
.material-option[for="material-silver"]:hover{
  border-color: #808080;
  background: linear-gradient(135deg, #c0c0c0 0%, #d3d3d3 30%, #e6e6fa 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(128,128,128,0.6);
  transform: translateY(-3px) scale(1.02);
}
.material-option[for="material-silver"]:hover .material-name{
  color: #2c2c2c;
  text-shadow: 0 0 15px rgba(192,192,192,1), 0 0 25px rgba(192,192,192,0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.chain-select, .font-select{ 
  width: 100%; 
  padding: 18px 24px; 
  border: 2px solid #d4d4d4; 
  border-radius: 16px; 
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); 
  font-size: 16px; 
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 50px;
}
.gift-select{ 
  width: 100%; 
  padding: 14px 20px; 
  border: 2px solid #d4d4d4; 
  border-radius: 14px; 
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); 
  font-size: 15px; 
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  position: relative;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 45px;
}
.chain-select:focus, .font-select:focus, .gift-select:focus{ 
  outline: none; 
  border-color: var(--gold); 
  box-shadow: 0 8px 25px rgba(200,164,93,0.2), 0 0 0 3px rgba(200,164,93,0.15); 
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}
.chain-select:hover, .font-select:hover, .gift-select:hover{ 
  border-color: var(--gold); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(200,164,93,0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

/* Note Section Styles */
.note-toggle{
  margin-bottom: 16px;
}
.note-checkbox-label{
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  transition: all 0.3s ease;
}
.note-checkbox-label:hover{
  color: var(--gold);
}
.note-checkbox-label:hover .note-checkmark{
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200,164,93,0.2);
  transform: scale(1.05);
}
.note-checkbox{
  display: none;
}
.note-checkbox-label .note-checkmark{
  width: 24px;
  height: 24px;
  border: 2px solid #d4d4d4;
  border-radius: 6px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.note-checkbox:checked + .note-checkmark{
  background: var(--gold);
  border-color: var(--gold);
}
.note-checkbox:checked + .note-checkmark::after{
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}
.note-label-text{
  user-select: none;
}
.note-input-container{
  margin-top: 12px;
  animation: slideDown 0.3s ease;
}
.note-textarea{
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.note-textarea:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,93,0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}
.note-textarea::placeholder{
  color: #999;
  font-style: italic;
}
@keyframes slideDown{
  from{
    opacity: 0;
    transform: translateY(-10px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* Font preview in select options */
.font-select option[value="elegant"]{ font-family: 'Playfair Display', serif; font-style: italic; }
.font-select option[value="modern"]{ font-family: 'Inter', sans-serif; font-weight: 500; }
.font-select option[value="classic"]{ font-family: 'Times New Roman', serif; }
.font-select option[value="handwritten"]{ font-family: 'Brush Script MT', cursive; }
.font-select option[value="brush"]{ font-family: 'Brush Script MT', cursive; font-weight: bold; }
.font-select option[value="calligraphy"]{ font-family: 'Dancing Script', cursive; }
.font-select option[value="gothic"]{ font-family: 'Old English Text MT', serif; }
.font-select option[value="cursive"]{ font-family: 'Lucida Handwriting', cursive; }
.personalization-preview{ background: #f8f9fa; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; padding: 12px; margin-bottom: 8px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.preview-text{ font-size: 18px; color: var(--gold-dark); font-weight: 600; }
.preview-text.elegant{ font-family: 'Playfair Display', serif; font-style: italic; }
.preview-text.modern{ font-family: 'Inter', sans-serif; font-weight: 500; }
.preview-text.classic{ font-family: 'Times New Roman', serif; }
.preview-text.handwritten{ font-family: 'Brush Script MT', cursive; }
.preview-text.brush{ font-family: 'Brush Script MT', cursive; font-weight: bold; }
.preview-text.calligraphy{ font-family: 'Dancing Script', cursive; }
.preview-text.gothic{ font-family: 'Old English Text MT', serif; }
.preview-text.cursive{ font-family: 'Lucida Handwriting', cursive; }
.personalization-input{ 
  width: 100%; 
  padding: 18px 24px; 
  border: 2px solid #d4d4d4; 
  border-radius: 16px; 
  font-size: 16px; 
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease; 
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}
.personalization-input:focus{ 
  outline: none; 
  border-color: var(--gold); 
  box-shadow: 0 8px 25px rgba(200,164,93,0.2), 0 0 0 3px rgba(200,164,93,0.15); 
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}
.personalization-input:hover{ 
  border-color: var(--gold); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(200,164,93,0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}
.char-counter{ margin-bottom: 8px; font-size: 10px; color: #999; font-weight: 400; }
.char-count{ font-size: 10px; color: #999; font-weight: 400; }
.char-left{ font-size: 10px; color: #999; font-weight: 400; }
.required{ color: #e74c3c; font-weight: 600; }

/* Zorunlu alan yıldızları - sadece kırmızı */
label:has(+ select[required])::after,
label:has(+ input[required])::after,
label:has(+ textarea[required])::after {
  content: " *";
  color: #e74c3c;
  font-weight: 700;
  font-size: 16px;
  margin-left: 2px;
}
.preview-text{ 
  background: linear-gradient(135deg, #f8f6f0 0%, #f0ede4 100%); 
  border: 2px solid #d4d4d4; 
  border-radius: 16px; 
  padding: 20px 24px; 
  margin-bottom: 16px; 
  min-height: 60px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.preview-label{ 
  font-size: 14px; 
  color: #8b7355; 
  margin-right: 12px; 
  font-weight: 600; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.preview-content{ 
  font-size: 20px; 
  color: var(--gold-dark); 
  font-weight: 700; 
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.product-actions{ margin-bottom: 40px; }
.product-actions .btn{ 
  width: 100%; 
  margin-bottom: 12px; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-large{ 
  padding: 18px 32px; 
  font-size: 18px; 
  font-weight: 700; 
  border-radius: 12px;
  width: 100%;
  color: white;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary{ 
  background: linear-gradient(135deg, var(--gold), #d4af37);
  box-shadow: 0 6px 20px rgba(200,164,93,0.3);
}
.btn-primary:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(200,164,93,0.4); 
}
.btn-secondary{ 
  background: linear-gradient(135deg, #6b7280, #4b5563);
  box-shadow: 0 6px 20px rgba(107,114,128,0.3);
}
.btn-secondary:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(107,114,128,0.4); 
}
.btn-paypal{ 
  background: linear-gradient(135deg, #0070ba, #005ea6);
  box-shadow: 0 6px 20px rgba(0,112,186,0.3);
}
.btn-paypal:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(0,112,186,0.4); 
}
.payment-options-link{ 
  color: var(--gold-dark); 
  text-decoration: none; 
  font-size: 14px; 
  font-weight: 500; 
  text-align: center; 
  margin-top: 8px; 
  display: block;
  transition: color .3s ease;
}
.payment-options-link:hover{ 
  color: var(--gold); 
  text-decoration: underline;
}

.product-info-box{ 
  background: white; 
  border: 1px solid #e5e5e5; 
  border-radius: 12px; 
  padding: 20px; 
  margin-bottom: 32px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.delivery-info{ 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  margin-bottom: 16px; 
  padding: 12px 16px; 
  background: #f8f9fa; 
  border-radius: 8px; 
  font-size: 14px; 
  font-weight: 500; 
  color: #2c2c2c;
}
.delivery-info svg{ 
  color: var(--gold); 
  width: 16px; 
  height: 16px; 
}

  .info-features{ 
    display: grid; 
    grid-template-columns: 1fr; 
  gap: 12px; 
  }
.info-feature{ 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-size: 14px; 
  font-weight: 500;
  color: #2c2c2c; 
  padding: 8px 0;
}
.info-feature svg{ 
  color: var(--gold); 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0;
}

@media (max-width: 800px){
  .info-features{ 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
}
.delivery-info{ background: #e8f5e8; padding: 12px 16px; border-radius: 8px; border-left: 4px solid #22c55e; }
.delivery-info p{ margin: 0; color: #166534; font-size: 14px; }

/* Product Description Section */
.product-description-section{ 
  margin-top: 40px; 
  margin-bottom: 40px; 
}

.description-box{ 
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%); 
  border: 2px solid var(--gold); 
  border-radius: 16px; 
  padding: 32px; 
  box-shadow: 0 8px 32px rgba(200,164,93,0.15);
  position: relative;
  overflow: hidden;
}

.description-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #d4af37, var(--gold));
}

.description-box h3{ 
  font-family: 'Playfair Display', serif; 
  font-size: 28px; 
  margin: 0 0 20px; 
  color: var(--gold-dark);
  font-weight: 700;
}

.description-box p{ 
  font-size: 16px; 
  line-height: 1.7; 
  color: #2c2c2c; 
  margin-bottom: 20px;
}

.description-box ul{ 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.description-box li{ 
  position: relative; 
  padding-left: 24px; 
  margin-bottom: 12px; 
  font-size: 15px; 
  color: #2c2c2c;
  line-height: 1.6;
}

.description-box li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 16px;
}

.description-box li:nth-child(1)::before {
  content: "🥇";
}

.description-box li:nth-child(2)::before {
  content: "✍️";
}

.description-box li:nth-child(3)::before {
  content: "⛓️";
}

.description-box li:nth-child(4)::before {
  content: "🎁";
}

/* Reviews Section */
.reviews-section{ 
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%); 
  padding: 32px; 
  border-radius: 16px; 
  box-shadow: 0 8px 32px rgba(200,164,93,0.15);
  margin-top: 40px; 
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #d4af37, var(--gold));
}

.reviews-header{ 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 24px; 
  padding-bottom: 16px; 
  border-bottom: 2px solid var(--gold);
  position: relative;
}

.reviews-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold-dark);
  font-weight: 700;
  margin: 0;
}

.reviews-summary{ 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}
.stars-large{ color: #ffd700; font-size: 20px; }
.review-count-large{ font-size: 16px; font-weight: 600; color: var(--ink); }
.reviews-actions{ display: flex; align-items: center; gap: 12px; }
.btn-outline{ background: transparent; border: 1px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover{ background: var(--gold); color: white; }
.filter-btn{ background: none; border: 1px solid rgba(0,0,0,.1); padding: 8px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.filter-btn:hover{ background: rgba(0,0,0,.05); }

.reviews-list{ 
  margin-top: 24px; 
  max-height: 400px; 
  overflow-y: auto; 
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reviews-list::-webkit-scrollbar{ 
  width: 8px; 
}

.reviews-list::-webkit-scrollbar-track{ 
  background: #f8f6f0; 
  border-radius: 4px; 
  margin: 4px 0;
}

.reviews-list::-webkit-scrollbar-thumb{ 
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); 
  border-radius: 4px; 
  border: 1px solid rgba(255,255,255,.2);
}

.reviews-list::-webkit-scrollbar-thumb:hover{ 
  background: linear-gradient(135deg, var(--gold-dark), #8b6f47); 
}

.reviews-list::-webkit-scrollbar-thumb:active{ 
  background: linear-gradient(135deg, #8b6f47, #6b5b3a); 
}

.review{ 
  background: white; 
  padding: 24px; 
  border-radius: 12px; 
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200,164,93,0.15);
  border-color: var(--gold);
}

.review::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), #d4af37);
  border-radius: 0 4px 4px 0;
}

.review-header{ 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: 16px; 
}

.reviewer-info{ 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.reviewer-name{ 
  font-weight: 600; 
  color: var(--gold-dark); 
  font-size: 16px; 
}

.review-stars{ 
  color: #ffd700; 
  font-size: 16px; 
}

.review-date{ 
  color: #999; 
  font-size: 13px; 
  font-weight: 500;
}

.review-text{ 
  color: #2c2c2c; 
  line-height: 1.7; 
  margin: 0; 
  font-size: 15px;
}
.review-header{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.reviewer-info{ display: flex; align-items: center; gap: 8px; }
.reviewer-name{ font-weight: 600; color: var(--ink); }
.verified-badge{ background: #22c55e; color: white; padding: 2px 6px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.review-meta{ display: flex; align-items: center; gap: 8px; }
.review-date{ color: var(--muted); font-size: 14px; }
.review-text{ color: var(--ink); line-height: 1.6; margin: 8px 0; }
.review-product-info{ color: var(--muted); font-size: 13px; font-style: italic; }

.reviews-footer{ text-align: center; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.06); }

/* Cart Modal */
.cart-modal{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: none; }
.cart-modal.active{ display: flex; }
.cart-overlay{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.cart-content{ position: absolute; top: 0; right: 0; width: 400px; height: 100%; background: white; box-shadow: -4px 0 20px rgba(0,0,0,.15); display: flex; flex-direction: column; }

.cart-header{ display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(0,0,0,.1); }
.cart-title{ display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cart-title svg{ flex-shrink: 0; }
.cart-close{ background: none; border: none; cursor: pointer; padding: 4px; border-radius: 4px; }
.cart-close:hover{ background: rgba(0,0,0,.1); }

.cart-promo{ background: #1a1508; color: white; padding: 8px 20px; text-align: center; font-size: 12px; }

.cart-items{ flex: 1; overflow-y: auto; padding: 20px; }
.cart-item{ display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.cart-item:last-child{ border-bottom: none; }
.cart-item-image{ width: 80px; height: 80px; border-radius: 8px; background: linear-gradient(135deg, #f3ece0, #e9dcc8); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gold-dark); text-align: center; }
.cart-item-details{ flex: 1; }
.cart-item-details h3{ margin: 0 0 4px; font-size: 14px; }
.cart-item-price{ font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cart-item-options{ font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.cart-item-options div{ margin-bottom: 2px; }
.personalized-text{ font-weight: 600; color: var(--gold-dark); }

.cart-item-controls{ display: flex; justify-content: space-between; align-items: center; }

/* Cart Empty State */
.cart-empty{ text-align: center; color: var(--muted); padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cart-empty svg{ color: var(--gold); margin: 0 auto 16px; display: block; }
.cart-empty p:first-of-type{ font-weight: 600; margin-bottom: 8px; font-size: 18px; }
.cart-empty p:last-of-type{ font-size: 14px; }

/* Login Modal */
.login-modal{ 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 2000; 
  display: none; 
}
.login-modal.active{ display: flex; }
.login-overlay{ 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,.6); 
  backdrop-filter: blur(8px); 
}
.login-content{ 
  position: relative; 
  width: 100%; 
  max-width: 420px; 
  margin: auto; 
  background: white; 
  border-radius: 16px; 
  box-shadow: 0 20px 60px rgba(0,0,0,.3); 
  overflow: hidden; 
  animation: loginSlideIn 0.3s ease-out;
}

@keyframes loginSlideIn {
  from { 
    opacity: 0; 
    transform: translateY(-20px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.login-header{ 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 24px 24px 0; 
  border-bottom: 1px solid var(--border); 
  margin-bottom: 24px; 
  position: relative;
}
.login-header h2{ 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 28px; 
  font-weight: 600; 
  color: #2c2c2c; 
  margin: 0; 
  text-align: center;
  width: 100%;
  letter-spacing: 1px;
  position: relative;
  padding: 20px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.login-header h2::before{
  content: '👤';
  font-size: 24px;
  margin-right: 12px;
  color: var(--gold);
}
.login-close{ 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 8px; 
  border-radius: 8px; 
  color: var(--muted); 
  transition: all .2s ease; 
  position: absolute;
  top: 16px;
  right: 16px;
}
.login-close:hover{ 
  background: rgba(0,0,0,.1); 
  color: var(--ink); 
}

.login-form{ 
  padding: 0 24px 24px; 
}
.form-group{ 
  margin-bottom: 20px; 
}
.form-group label{ 
  display: block; 
  font-weight: 600; 
  color: var(--ink); 
  margin-bottom: 8px; 
  font-size: 14px; 
}
.form-group input{ 
  width: 100%; 
  padding: 18px 20px; 
  border: 2px solid #e5e5e5; 
  border-radius: 16px; 
  font-size: 16px; 
  font-weight: 500;
  transition: all .3s ease; 
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.form-group input:focus{ 
  outline: none; 
  border-color: var(--gold); 
  box-shadow: 0 0 0 3px rgba(200,164,93,.15), 0 6px 20px rgba(200,164,93,0.2); 
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
  transform: translateY(-2px);
}
.form-group input::placeholder{ 
  color: var(--muted); 
}

.form-options{ 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 24px; 
}
.remember-me{ 
  display: flex; 
  align-items: center; 
  cursor: pointer; 
  font-size: 14px; 
  color: var(--ink); 
}
.remember-me input{ 
  margin-right: 8px; 
  width: auto; 
}
.forgot-password{ 
  color: var(--gold-dark); 
  text-decoration: none; 
  font-size: 14px; 
  font-weight: 500; 
  transition: color .2s ease; 
}
.forgot-password:hover{ 
  color: var(--gold); 
}

.login-submit{ 
  width: 100%; 
  margin-bottom: 8px; 
}

.login-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 24px 8px;
  position: relative;
}
.login-divider::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
  z-index: 1;
}
.divider-text{
  padding: 0 20px;
  font-size: 14px;
  color: #999;
  font-weight: 500;
  background: white;
  position: relative;
  z-index: 2;
}
.register-btn{
  margin: 4px 24px 16px;
  width: calc(100% - 48px);
}

.login-footer{ 
  text-align: center; 
  padding: 20px 24px; 
  background: var(--bg-light); 
  border-top: 1px solid var(--border); 
}
.login-footer p{ 
  margin: 0; 
  color: var(--muted); 
  font-size: 14px; 
}
.register-link{ 
  color: var(--gold-dark); 
  text-decoration: none; 
  font-weight: 600; 
  transition: color .2s ease; 
}
.register-link:hover{ 
  color: var(--gold); 
}
.quantity-controls{ display: flex; align-items: center; gap: 8px; }
.qty-btn{ width: 24px; height: 24px; border: 1px solid rgba(0,0,0,.2); background: white; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover{ background: rgba(0,0,0,.05); }
.quantity{ font-weight: 600; min-width: 20px; text-align: center; }
.remove-btn{ background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.remove-btn:hover{ color: #e74c3c; }

.cart-summary{ padding: 20px; border-top: 1px solid rgba(0,0,0,.1); }
.cart-total{ display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 600; }
.cart-checkout{ width: 100%; margin-bottom: 12px; }
.payment-methods{ text-align: center; }
.payment-logos{ display: flex; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }

/* Favorites Modal */
.favorites-modal{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: none; }
.favorites-modal.active{ display: flex; }
.favorites-overlay{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.favorites-content{ position: absolute; top: 0; right: 0; width: 400px; height: 100%; background: white; box-shadow: -4px 0 20px rgba(0,0,0,.15); display: flex; flex-direction: column; }

.favorites-header{ display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(0,0,0,.1); }
.favorites-title{ display: flex; align-items: center; gap: 10px; font-weight: 600; color: #e74c3c; }
.favorites-title svg{ flex-shrink: 0; }
.favorites-close{ background: none; border: none; cursor: pointer; padding: 4px; border-radius: 4px; }
.favorites-close:hover{ background: rgba(0,0,0,.1); }

.favorites-items{ flex: 1; overflow-y: auto; padding: 20px; }
.favorites-items:empty{ display: flex; align-items: center; justify-content: center; }
.favorites-empty{ text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.favorites-empty svg{ color: #e74c3c; margin: 0 auto 16px; display: block; }
.favorites-empty p:first-of-type{ font-weight: 600; margin-bottom: 8px; }
.favorites-empty p:last-of-type{ font-size: 14px; }

/* Favorite Items */
.favorite-item{ display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid var(--border); }
.favorite-item:last-child{ border-bottom: none; }
.favorite-item-image{ width: 60px; height: 60px; border-radius: 8px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.favorite-image-placeholder{ font-size: 10px; color: var(--muted); text-align: center; }
.favorite-item-details{ flex: 1; }
.favorite-item-details h3{ font-size: 16px; margin: 0 0 8px 0; color: var(--ink); }
.favorite-item-price{ font-size: 18px; font-weight: 600; color: var(--gold-dark); margin-bottom: 12px; }
.remove-favorite-btn{ padding: 6px 12px; background: #e74c3c; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 12px; transition: background .2s ease; }
.remove-favorite-btn:hover{ background: #c0392b; }

/* Error Animation */
.error-shake{ 
  animation: shake 0.6s ease-in-out; 
  border-color: #e74c3c !important; 
  box-shadow: 0 0 0 2px rgba(231,76,60,.3) !important; 
  background-color: rgba(231,76,60,.05) !important;
}
@keyframes shake{ 0%, 100%{ transform: translateX(0); } 10%, 30%, 50%, 70%, 90%{ transform: translateX(-5px); } 20%, 40%, 60%, 80%{ transform: translateX(5px); } }

/* Scroll to Top Button */
.scroll-top{ position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(200,164,93,.4); transition: all .3s ease; opacity: 0; visibility: hidden; z-index: 100; }
.scroll-top.visible{ opacity: 1; visibility: visible; }
.scroll-top:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(200,164,93,.5); }

/* Footer */
.site-footer{ background: linear-gradient(135deg, #696969, #5a5a5a); color: #ffffff; padding: 26px 0; border-top: 1px solid rgba(105,105,105,.3); }
.footer-inner{ display:flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links a{ color: #ffffff; text-decoration:none; margin-left: 14px; font-weight: 500; }
.footer-links a:hover{ text-decoration:underline; color: #f0f0f0; }

/* Section Tabs */
.section-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.section-tabs .tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-tabs .tab-btn:hover {
  color: var(--gold);
  background: rgba(200, 164, 93, 0.05);
}

.section-tabs .tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(200, 164, 93, 0.05);
}

.section-tabs .tab-btn svg {
  width: 16px;
  height: 16px;
}

.tab-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.section-tabs .tab-btn.active .tab-count {
  background: var(--gold);
  color: white;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Q&A Actions */
.qa-actions {
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-end;
}

.ask-question-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ask-question-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.3);
}

/* Q&A List */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qa-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qa-question {
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.qa-answer {
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid var(--gold);
}

.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.qa-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.qa-avatar.store {
  background: #6366f1;
}

.qa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qa-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.qa-date {
  font-size: 12px;
  color: #6b7280;
}

.qa-text {
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.qa-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  min-height: 28px;
  line-height: 1;
  white-space: nowrap;
}

.qa-verified svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.qa-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #6366f1;
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  min-height: 28px;
  line-height: 1;
  white-space: nowrap;
}

.qa-store-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Ask Question Modal */
.ask-question-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ask-question-modal.active {
  display: flex;
}

.ask-question-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.ask-question-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ask-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
}

.ask-question-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.ask-question-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ask-question-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.ask-question-form {
  padding: 0 24px 24px;
}

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

.ask-question-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.question-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.question-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.ask-question-form input[type="text"],
.ask-question-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.ask-question-form input[type="text"]:focus,
.ask-question-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.ask-question-form .char-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

.char-count {
  font-weight: 600;
}

.form-options {
  margin-bottom: 24px;
}

.email-notification {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  min-height: 36px;
}

.email-notification input[type="checkbox"] {
  display: none;
}

.email-notification .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.email-notification input[type="checkbox"]:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.email-notification input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cancel-question,
.submit-question {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-question {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.cancel-question:hover {
  background: #e5e7eb;
}

.submit-question {
  background: var(--gold);
  color: white;
  border: none;
}

.submit-question:hover {
  background: var(--gold-dark);
}

.ask-question-footer {
  padding: 0 24px 24px;
  border-top: 1px solid #f3f4f6;
  margin-top: 24px;
  padding-top: 16px;
}

.ask-question-footer p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* === GLOBAL ICON & TEXT NORMALIZE === */
svg, img, .icon {
  display: block;               /* baseline boşluğunu kaldır */
  line-height: 1;
}

/* Metin render kalitesi */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* === CHIP / ROZET / BADGE === */
.status-badge,
.badge,
.tag,
.label-chip {
  display: inline-flex;         /* baseline yerine güvenli hizalama */
  align-items: center;
  gap: 6px;
  min-height: 28px;             /* 28–32px arası güvenli yükseklik */
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;               /* metin + ikon tam ortalansın */
  white-space: nowrap;          /* chip taşmasın */
}

/* Rozet içindeki ikonlar metni ezmesin */
.status-badge > svg,
.badge > svg,
.tag > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* "Doğrulanmış Alışveriş" gibi uzun metinlere küçük alan tanımı */
.badge.badge--success,
.status-badge.status--success {
  padding-inline: 12px;
}

/* === BUTTONS (SM) === */
.btn-sm,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;             /* minimum tıklama yüksekliği */
  min-width: 36px;
  line-height: 1;
  padding: 6px 10px;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* === CHECKBOX + LABEL HIT AREA === */
input[type="checkbox"] {
  /* native checkbox çok küçükse */
  width: 16px;
  height: 16px;
  inline-size: 16px;
  block-size: 16px;
}

/* checkbox ile metni sar: <label class="check"> <input ...> <span>Metin</span> </label> */
.check,
.checkbox,
.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;             /* erişilebilirlik: 36px hit area */
  cursor: pointer;
}

.check input[type="checkbox"],
.checkbox input[type="checkbox"],
.form-check input[type="checkbox"] {
  flex: 0 0 auto;
}

/* küçük inputların dikey ortalanması için güvence */
.input-text,
.input-select {
  line-height: 1.2;
}

/* === FORM CHIP'LERİNDE METİN KESİLME ÖNLEMİ === */
.status-badge,
.badge,
.tag {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* (Opsiyonel) dar container'larda rozetlerin büzüşmesini engelle */
.table-content .status-badge { max-width: 100%; }

/* ==== HIZALAMA & BASELINE KİLİDİ ==== */
.status-badge, .badge, .tag, .label-chip, .qa-verified, .qa-store-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}

/* ikonlar her yerde blok ve sabit boy */
.status-badge svg,
.badge svg,
.tag svg,
.qa-verified svg,
.qa-store-badge svg,
.status-badge img,
.badge img,
.tag img,
.qa-verified img,
.qa-store-badge img {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
}

/* iç içe rozet oluştuysa: içtekini sök/normalize */
.status-badge .status-badge,
.badge .badge,
.tag .tag,
.qa-verified .qa-verified,
.qa-store-badge .qa-store-badge {
  all: unset !important;
}

/* küçük buton/ikon butonları erişilebilir boyuta çek */
.btn-sm, .icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  min-width: 36px !important;
  line-height: 1 !important;
  padding: 6px 10px !important;
}
.icon-btn svg { width: 18px !important; height: 18px !important; }

/* checkbox + label hit area */
.check, .checkbox, .form-check, .email-notification {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
}
.check input[type="checkbox"],
.checkbox input[type="checkbox"],
.form-check input[type="checkbox"],
.email-notification input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
}

/* metin rendering */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 1) Listelerdeki gereksiz nokta/disklerini kapat */
.form-options,
.form-options ul,
.form-options li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) E-posta bildirimi satırı: tamamı tıklanabilir, ölçüler erişilebilir */
.email-notification {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 36px !important;
  line-height: 1 !important;
  cursor: pointer;
}
.email-notification input[type="checkbox"] {
  /* input'u gizlemek yerine ekrandan uzaklaştır: erişilebilirlik bozulmasın */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.email-notification .checkmark {
  box-sizing: content-box;              /* sınır (border) kalınlığı içeriği daraltmasın */
  width: 22px;                          /* biraz büyüt */
  height: 22px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  position: relative;
  background: #fff;
  display: block;                       /* baseline boşluğu olmasın */
}
.email-notification input[type="checkbox"]:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}
.email-notification input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px; top: 3px;
  width: 7px; height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 3) Rozet/etiketlerin kesin hizası – metin taşması ve ikon baseline bitti */
.status-badge, .badge, .tag, .label-chip, .qa-verified, .qa-store-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.status-badge svg, .badge svg, .tag svg, .qa-verified svg, .qa-store-badge svg,
.status-badge img, .badge img, .tag img, .qa-verified img, .qa-store-badge img {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
}

/* Doğrulanmış alışveriş rozetindeki emoji ikonların hizalaması */
.qa-verified span:first-child {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Mağaza rozetindeki SVG ikonların hizalaması */
.qa-store-badge svg {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Küçük butonlar ve ikon butonları için net hit-area */
.btn-sm, .icon-btn, .filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  min-width: 36px !important;
  line-height: 1 !important;
}

/* 5) Arama kutusu çakışmasını önle – ikinci tanım baskın olsun istiyorsan bunu bırak,
   ilk .search tanımını kaldır ya da scoping ekle (örn: .site-header .search) */
.site-header .search { /* scoping */
  display:flex; align-items:center; gap:0;
  background:#fff; border:1px solid #ece7df;
  border-radius:999px; padding:2px; height:44px;
  min-width:340px; max-width:420px;
  box-shadow: 0 4px 18px rgba(32,24,12,.06), inset 0 1px 0 rgba(255,255,255,.65);
  overflow:hidden;
}
.site-header .search input { line-height:1; }

/* 6) Aynı isimli animasyon çakışmasını önle */
@keyframes shimmer-toast { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }
.toast::before { animation: shimmer-toast 2s infinite; }

/* Helpers */
.placeholder{ position: relative; overflow:hidden; }
.shimmer::after{ content:""; position:absolute; inset:0; background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.7) 20%, transparent 40%); transform: translateX(-100%); animation: shimmer 2s infinite; }
@keyframes shimmer{ 100%{ transform: translateX(100%); } }

.lift{ will-change: transform; }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(14px); animation: reveal .8s ease forwards; }
.reveal.delay{ animation-delay: .15s; }
@keyframes reveal{ to { opacity:1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 800px){
  .grid-2{ grid-template-columns: 1fr; }
  .feature-card{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .search{ min-width: 240px; max-width: 300px; height: 44px; }
  .search input{ min-width: 120px; }
  .header-actions{ gap: 20px; }
  .main-nav{ display: none; }
  .product-grid{ grid-template-columns: 1fr; gap: 30px; }
  .image-placeholder{ height: 300px; }
  .reviews-header{ flex-direction: column; align-items: flex-start; gap: 16px; }
  .reviews-actions{ align-self: flex-end; }
}
@media (max-width: 640px) {
  .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .brand, .logo, .brand-text, .brand-name {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .search { min-width: unset; max-width: 100%; width: 100%; height: 38px; box-sizing: border-box; }
  .header-icons, .header-icons .icon-btn { width: 100%; justify-content: center; gap: 8px; box-sizing: border-box; }
  .btn-login, .btn-admin {
    display: block;
    width: 100%;
    margin: 3px auto 0 auto;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 480px){
  .header-inner {
    gap: 6px !important;
    padding: 6px 0 !important;
  }
  .logo{ height:46px; width:46px; }
  .brand-name{ font-size:15px !important; }
  .search { height:36px; font-size:13px; }
  .header-icons{ gap: 8px; }
  .icon-btn{ padding: 6px; }
  .btn-login{ padding: 6px 12px; font-size: 13px; }
  .product-header h1{ font-size: 24px; }
  .current-price{ font-size: 24px; }
  .color-options{ flex-wrap: wrap; }
  .material-options{ flex-direction: column; }
  .scroll-top{ bottom: 20px; right: 20px; width: 45px; height: 45px; }
  .reviews-section{ padding: 20px; }
  .review-header{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .review-meta{ align-self: flex-end; }
  .cart-content{ width: 100%; }
  .favorite-btn{ width: 36px; height: 36px; top: 12px; right: 12px; }
  .container{ padding: 0 15px; }
  .product-detail{ padding: 20px 0 30px; }
  .product-actions .btn{ padding: 12px 20px; font-size: 14px; }
  .preview-text{ font-size: 16px; }
  .personalization-preview{ min-height: 35px; padding: 10px; }
  .collection-grid{ 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px; 
  }
  .collection-nav{ padding: 32px 0; }
  .collection-nav-title{ font-size: 22px; margin-bottom: 28px; }
  .collection-name{ font-size: 14px; }
}

/* Admin Panel Button */
.btn-admin {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
  margin-left: 0.5rem;
}

.btn-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .btn-admin {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .site-header {
    background: linear-gradient(120deg, #f9f6f2 80%, #ede5d6 100%);
    border-bottom: none;
    box-shadow: 0 4px 14px 0 #f6d6891c;
    min-height: 72px;
    padding-bottom: 0;
  }
  .header-inner {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 4px 0 2px 0 !important;
    align-items: center !important;
    min-height: unset !important;
    width: 100% !important;
    margin: 0 auto;
  }
  .brand {
    width: 100%; max-width: 190px; margin: 0 auto; flex-direction: column; align-items: center; justify-content: center;
  }
  .logo {
    margin: 0 auto 3px auto; display: flex; align-items: center; justify-content: center;
    border-radius: 47% 47% 39% 55% / 50% 50% 54% 54%;
    border: 3px solid #e3c08b; background: #fffdfa;
    box-shadow: 0 3px 11px #dab97c29;
    width: 110px; height: 70px; padding: 0; overflow: hidden;
  }
  .logo img {
    max-width: 90px; max-height:65px; object-fit: contain; display:block; margin:0 auto;
  }
  .brand-text {
    text-align: center; margin: 0 auto; margin-bottom:0; padding:0;
  }
  .brand-name {
    font-family: 'Playfair Display',serif; font-weight: 700; letter-spacing: 0.4px; font-size: 20px; color: #2e2320; line-height:1.1;
    margin-top: 4px; margin-bottom: 0;
  }
  .brand-tagline {
    font-size: 12.5px; color: #b69a76; line-height: 1.1; font-family: 'Inter',sans-serif; margin: 0 0 2px 0; font-weight: 500; text-align:center;
  }
  .brand-name::after {
    content:''; display: block; margin: 8px auto 0 auto; width: 35px; height: 2.5px;
    border-radius: 2.5px; background: linear-gradient(90deg,#e2b975 5%, #fef6e3 60%, #e2b975 95%); opacity:.50;
  }
  .search, .header-actions, .header-icons {margin-bottom:0;}
  .search { margin-top: 4px; }
}

/* WhatsApp Chatbox Styles */
.whatsapp-chatbox {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.whatsapp-chatbox-header {
  background: linear-gradient(120deg, #22c55e 0%, #0f9e5e 100%);
  color: white;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.whatsapp-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
}

.whatsapp-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  object-position: center;
}

.whatsapp-header-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.whatsapp-status {
  font-size: 12px;
  opacity: 0.9;
}

.whatsapp-toggle {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: opacity 0.2s, background 0.2s ease;
}

.whatsapp-toggle:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.08);
}

.whatsapp-chatbox-body {
  display: flex;
  flex-direction: column;
  height: 400px;
  background: #f0f0f0;
}

.whatsapp-chatbox:not(.open) .whatsapp-chatbox-body {
  display: none;
}

.whatsapp-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-message {
  display: flex;
  max-width: 80%;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-message-received {
  align-self: flex-start;
}

.whatsapp-message-sent {
  align-self: flex-end;
}

.whatsapp-message-content {
  padding: 10px 14px;
  border-radius: 12px;
  position: relative;
}

.whatsapp-message-received .whatsapp-message-content {
  background: white;
  border-bottom-left-radius: 4px;
}

.whatsapp-message-sent .whatsapp-message-content {
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

.whatsapp-message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #1d1d1f;
}

.whatsapp-message-time {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  display: block;
  text-align: right;
}

.whatsapp-input-container {
  display: flex;
  padding: 12px;
  background: white;
  border-top: 1px solid #e0e0e0;
  gap: 8px;
}

.whatsapp-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.whatsapp-input:focus {
  border-color: #25D366;
}

.whatsapp-send-btn {
  background: #25D366;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.whatsapp-send-btn:hover {
  background: #128C7E;
}

.whatsapp-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-chatbox {
    width: calc(100vw - 20px);
    left: 10px;
    bottom: 10px;
    max-width: none;
  }
  
  .whatsapp-chatbox-body {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .whatsapp-chatbox {
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .whatsapp-chatbox-body {
    height: calc(100vh - 80px);
  }
}
