:root {
  --bg-dark: #071E17;
  --bg-dark-2: #0B2B22;
  --surface: #0F3326;
  --surface-2: #143d2d;
  --surface-border: #1f5b41;
  --cream: #FBF7EC;
  --cream-2: #F3ECD8;
  --text-light: #F5F1E4;
  --text-muted: #B9CBBF;
  --primary: #0F3D2E;
  --primary-light: #1C5C42;
  --gold: #CBA135;
  --gold-light: #E7C766;
  --gold-dark: #9c7c1f;
  --red: #E11D48;
  --text-dark: #16231C;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.topbar {
  background: var(--gold);
  color: var(--text-dark);
  font-size: 13px;
  text-align: center;
  padding: 6px 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .5px;
  white-space: nowrap;
}
.logo span { color: var(--text-light); }
@media (max-width: 1100px) { .logo { font-size: 21px; } }

.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.88;
  transition: opacity .15s, color .15s;
  position: relative;
}
.main-nav a:hover { opacity: 1; color: var(--gold-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-icon-btn {
  position: relative;
  color: var(--text-light);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 14px;
  gap: 8px;
  flex: 1;
  max-width: 320px;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 14px;
  width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .search-box { display: none; }
}

@media (max-width: 480px) {
  .header-main { padding: 12px 16px; gap: 10px; }
  .header-actions { gap: 10px; }
  .header-icon-btn .label { display: none; }
  .logo { font-size: 17px; letter-spacing: 0; }
  .topbar { font-size: 11.5px; padding: 6px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241a02;
  box-shadow: 0 6px 18px rgba(203, 161, 53, 0.45);
}
.btn-cta:hover { box-shadow: 0 8px 22px rgba(203, 161, 53, 0.6); transform: translateY(-1px); }

.btn-primary {
  background: var(--primary-light);
  color: #fff;
}
.btn-primary:hover { background: var(--primary); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
}
.btn-outline.on-dark { color: var(--gold-light); border-color: var(--gold-light); }
.btn-outline:hover { background: rgba(203,161,53,0.1); }

.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(203,161,53,0.18), transparent 55%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 55%, var(--bg-dark-2) 100%);
  color: var(--text-light);
  padding: 72px 24px 90px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; min-width: 0; }
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.hero-title em { color: var(--gold-light); font-style: normal; }
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 320px;
}

/* Gem shape (CSS-only, no external images) */
.gem {
  --gc: #7C3AED;
  position: relative;
  clip-path: polygon(50% 0%, 90% 20%, 100% 55%, 74% 100%, 26% 100%, 0% 55%, 10% 20%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gc) 55%, white) 0%, var(--gc) 45%, color-mix(in srgb, var(--gc) 70%, black) 100%);
  box-shadow: 0 0 60px color-mix(in srgb, var(--gc) 55%, transparent), inset 0 0 30px rgba(255,255,255,0.25);
}
.gem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(255,255,255,0.25) 100%);
  clip-path: inherit;
}
.gem-hero { width: 260px; height: 260px; animation: float 5s ease-in-out infinite; }
.gem-thumb { width: 100%; aspect-ratio: 1/1; }
.gem-thumb-sm { width: 46px; height: 46px; flex-shrink: 0; }
.gem-cat { width: 72px; height: 72px; margin: 0 auto 12px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.trust-item .ic { color: var(--gold-light); font-size: 18px; }

/* ---------- Section ---------- */
.section { padding: 64px 24px; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  margin: 0;
}
.section-sub { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
.section-dark .section-sub { color: var(--text-muted); }
.section:not(.section-dark) .section-sub { color: #6b7c72; }
.link-more { color: var(--gold-dark); font-weight: 700; font-size: 14px; }
.section-dark .link-more { color: var(--gold-light); }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.category-card {
  background: #fff;
  /* Koyu bölüm içinde de kullanıldığı için yazı rengi açıkça verilir;
     yoksa .section-dark'ın beyaz rengini miras alıp okunmaz hale gelir. */
  color: var(--text-dark);
  border: 1px solid #ece4cf;
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card h3 { margin: 0; font-size: 15px; }
.category-card .step-no {
  width: 36px; height: 36px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--gold-light);
  font-family: var(--font-heading); font-size: 17px; font-weight: 700;
  border-radius: 50%;
}
.category-card p { margin: 4px 0 0; font-size: 12px; color: #8a7c60; }

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ece4cf;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  background: linear-gradient(160deg, #f4efe0, #ece2c8);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.3px;
}
.badge-gold {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #241a02;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
}
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold-dark); font-weight: 700; }
.product-name { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.35; }
.product-name a { color: inherit; }
.product-desc { font-size: 13px; color: #7a7361; line-height: 1.5; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-final { font-size: 19px; font-weight: 800; color: var(--primary); }
.price-original { font-size: 13.5px; color: #a99; text-decoration: line-through; }
.vat-note { font-size: 11px; color: #9a8c68; margin-top: -2px; }
.product-actions { display: flex; gap: 8px; margin-top: 6px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  max-width: 460px;
  margin: 60px auto;
  box-shadow: var(--shadow);
  border: 1px solid #ece4cf;
}
.form-card h1 { font-family: var(--font-heading); font-size: 26px; margin-top: 0; }
.form-card .form-sub { color: #7a7361; font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #3a3325; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ded4b7;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fffdf7;
  outline: none;
  transition: border-color .12s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.form-error {
  background: #fdeaea;
  color: #a11;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}
.form-error.show { display: block; }
.form-success {
  background: #e7f6ec;
  color: #197a3a;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }
.form-foot { text-align: center; font-size: 13.5px; margin-top: 18px; color: #7a7361; }
.form-foot a { color: var(--gold-dark); font-weight: 700; }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #ece4cf;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 15px; }
.cart-item-cat { font-size: 12px; color: #9a8c68; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #ded4b7;
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  background: #fbf7ec;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.qty-control span { width: 32px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item-price { font-weight: 800; color: var(--primary); min-width: 90px; text-align: right; }
.cart-remove { color: var(--red); font-size: 13px; font-weight: 700; background: none; border: none; }

.summary-card {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.summary-card h3 { font-family: var(--font-heading); margin-top: 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--text-muted); }
.summary-row.total { color: var(--gold-light); font-size: 19px; font-weight: 800; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 8px; padding-top: 14px; }

/* ---------- Checkout / Steps ---------- */
.steps { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.step-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #efe9d6;
  color: #8a7c60;
  font-size: 13px;
  font-weight: 700;
}
.step-pill.active { background: var(--primary); color: #fff; }
.address-option {
  border: 1.5px solid #ded4b7;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.address-option.selected { border-color: var(--gold); background: #fdf9ec; }
.address-option strong { font-size: 14px; }
.address-option p { margin: 4px 0 0; font-size: 13px; color: #7a7361; }

/* ---------- Payment mock page ---------- */
.paytr-box {
  max-width: 460px;
  margin: 60px auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.paytr-header {
  background: linear-gradient(135deg, #002e5b, #0057a3);
  color: #fff;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paytr-header b { font-size: 20px; letter-spacing: 0.5px; }
.paytr-body { padding: 26px; }
.paytr-notice {
  background: #fff6df;
  border: 1px solid #f0d98a;
  color: #7a5c00;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.card-mock {
  border: 1.5px solid #ded4b7;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  background: #fbf7ec;
}

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 24px 16px;
  flex-shrink: 0;
}
.admin-sidebar .logo { display: block; margin-bottom: 30px; }
.admin-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.admin-nav button.active, .admin-nav button:hover { background: rgba(203,161,53,0.15); color: var(--gold-light); }
.admin-main { flex: 1; padding: 32px 36px; background: #f6f3e9; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-topbar h1 { font-family: var(--font-heading); margin: 0; font-size: 24px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; font-size: 13.5px; border-bottom: 1px solid #eee; }
.data-table th { background: #f0ead6; font-weight: 700; color: #5b5236; text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.4px; }
.data-table tr:hover td { background: #fbf9f2; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill-green { background: #e2f4e6; color: #197a3a; }
.pill-red { background: #fde3e6; color: #b3261e; }
.pill-gray { background: #eee; color: #666; }
.pill-gold { background: #fbeec0; color: #7a5c00; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat-card .lbl { font-size: 12.5px; color: #8a7c60; font-weight: 600; margin-top: 4px; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(7,30,23,0.55);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius); padding: 28px; width: 100%; max-width: 520px;
  max-height: 88vh; overflow-y: auto;
}
.modal-box h2 { font-family: var(--font-heading); margin-top: 0; }
.modal-close { position: absolute; }

.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }

/* Admin image upload */
.upload-row { display: flex; gap: 16px; align-items: flex-start; }
.upload-preview {
  width: 92px; height: 92px; flex-shrink: 0;
  border: 1.5px dashed #ded4b7; border-radius: var(--radius-sm);
  background: #fbf7ec; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #b3a582; text-align: center; padding: 6px;
}
.upload-preview.wide { width: 150px; height: 92px; }
.upload-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-row input[type=file] { font-size: 13px; width: 100%; }
.admin-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; position: relative; background: #f0ead6; }
.admin-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  transform: translateY(120%);
  transition: transform .25s ease;
}
.toast.show { transform: translateY(0); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark-2);
  color: var(--text-muted);
  padding: 56px 24px 26px;
  margin-top: 60px;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--gold-light); font-size: 14px; margin: 0 0 14px; letter-spacing: 0.4px; }
.footer-grid ul li { margin-bottom: 9px; font-size: 13.5px; }
.footer-grid ul li a:hover { color: var(--gold-light); }
.footer-desc { font-size: 13.5px; line-height: 1.7; max-width: 320px; margin-top: 12px; }
.footer-bottom {
  max-width: 1240px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.trust-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.trust-badges span { font-size: 11.5px; background: rgba(255,255,255,0.06); padding: 5px 10px; border-radius: 6px; }

/* ---------- Misc pages ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  color: var(--text-light);
  padding: 50px 24px;
  text-align: center;
}
.page-hero h1 { font-family: var(--font-heading); font-size: 34px; margin: 0 0 8px; }
.faq-item { border-bottom: 1px solid #ece4cf; padding: 18px 0; }
.faq-q { font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; cursor: pointer; }
.faq-a { font-size: 14px; color: #6b6249; margin-top: 10px; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.chev { transition: transform .15s; color: var(--gold-dark); }

.about-block { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-bottom: 50px; }
.about-block .gem { width: 220px; height: 220px; flex-shrink: 0; }
.about-block .txt { flex: 1 1 340px; }
.about-block h2 { font-family: var(--font-heading); font-size: 26px; }
.about-block p { color: #6b6249; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--bg-dark); color: var(--text-light); border-radius: var(--radius); padding: 30px; }
.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.contact-info-card .ic { color: var(--gold-light); }

.empty-state { text-align: center; padding: 70px 20px; color: #9a8c68; }
.empty-state .gem { width: 90px; height: 90px; margin: 0 auto 18px; opacity: .5; }

.loader { text-align: center; padding: 60px; color: #9a8c68; }

@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .section { padding: 44px 16px; }
}

/* ============ Uploaded images (PNG/JPG) ============ */
/* Görsel her zaman kabına tam sığar: taşma yok, bozulma yok. */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #f4efe0, #ece2c8);
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.media-frame.contain img { object-fit: contain; padding: 8px; }
.media-frame.thumb-sm { width: 46px; height: 46px; aspect-ratio: auto; border-radius: 8px; flex-shrink: 0; }
.media-frame.cat { width: 72px; height: 72px; aspect-ratio: auto; margin: 0 auto 12px; border-radius: 50%; }
.media-frame.detail { aspect-ratio: 1 / 1; max-width: 380px; border-radius: var(--radius); }
/* Yüklenmiş ürün fotoğrafı kutunun tamamını kaplasın (CSS taşında iç boşluk kalır) */
.product-media.has-image { padding: 0; }
.product-media.has-image .media-frame { border-radius: 0; }

.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  position: relative;
}
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover .cover-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============ Blog ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid #ece4cf;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card h3 { font-family: var(--font-heading); font-size: 19px; margin: 0; line-height: 1.35; }
.blog-card h3 a { color: inherit; }
.blog-card .meta { font-size: 12px; color: #9a8c68; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.blog-card p { font-size: 14px; color: #6b6249; line-height: 1.6; margin: 0; flex: 1; }
.blog-card .read-more { color: var(--gold-dark); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.post-article { max-width: 760px; margin: 0 auto; }
.post-article h1 { font-family: var(--font-heading); font-size: 34px; line-height: 1.2; margin: 22px 0 10px; }
.post-article .post-meta { color: #9a8c68; font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.post-article .post-body p { font-size: 16.5px; line-height: 1.85; color: #4b4636; margin: 0 0 20px; }
.post-article .post-body p:first-of-type { font-size: 18px; color: #3a3529; }
.post-article .post-body h2 { font-family: var(--font-heading); font-size: 26px; color: var(--primary); margin: 34px 0 12px; }
.post-article .post-body h3 { font-family: var(--font-heading); font-size: 21px; color: var(--primary); margin: 28px 0 10px; }
.post-article .post-body h4 { font-size: 17.5px; font-weight: 700; color: #3a3529; margin: 22px 0 8px; }
.post-article .post-body ul,
.post-article .post-body ol { margin: 0 0 20px; padding-left: 26px; }
.post-article .post-body li { font-size: 16.5px; line-height: 1.85; color: #4b4636; margin-bottom: 8px; }
.post-article .post-body ul li { list-style: disc; }
.post-article .post-body ol li { list-style: decimal; }
.post-article .post-body a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }
.post-article .post-body blockquote {
  margin: 0 0 22px; padding: 16px 22px;
  border-left: 3px solid var(--gold); background: #faf6ea;
  color: #5b5236; font-style: italic; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-article .post-body blockquote p { margin: 0; font-size: 16px; }
.post-article .post-body strong, .post-article .post-body b { color: #2f2b20; font-weight: 700; }
.post-article .post-body s, .post-article .post-body del, .post-article .post-body strike { opacity: .75; }

/* ============ Legal pages ============ */
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ece4cf;
  color: var(--primary);
}
.legal-page h2:first-child { margin-top: 0; }
.legal-page h3 { font-size: 16px; margin: 22px 0 8px; color: #3a3529; }
.legal-page p { font-size: 15px; line-height: 1.8; color: #4b4636; margin: 0 0 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 16px; padding-left: 20px; }
.legal-page li { font-size: 15px; line-height: 1.8; color: #4b4636; margin-bottom: 7px; list-style: disc; }
.legal-page ol li { list-style: decimal; }
.legal-page a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }
.legal-updated { font-size: 13px; color: #9a8c68; margin-bottom: 26px; font-weight: 600; }

.legal-notice {
  background: #fff6df;
  border: 1px solid #f0d98a;
  border-left: 4px solid var(--gold);
  color: #6b5200;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.info-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid #ece4cf; }
.info-table th, .info-table td { padding: 11px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid #f2ece0; vertical-align: top; }
.info-table th { background: #faf6ea; font-weight: 700; color: #5b5236; width: 38%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* Footer corporate identity */
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.footer-legal-links a { font-size: 12.5px; }
.corporate-info {
  max-width: 1240px;
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-muted);
}
.corporate-info strong { color: var(--gold-light); font-weight: 700; }
.corporate-info .row { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* ============ Cookie consent banner ============ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 940px;
  margin: 0 auto;
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
  padding: 20px 24px;
  z-index: 400;
  display: none;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform .35s cubic-bezier(.16,.8,.24,1);
}
.cookie-banner.show { display: flex; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.65; flex: 1 1 320px; color: var(--text-muted); }
.cookie-banner p a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Consent settings modal */
.consent-category {
  border: 1px solid #ece4cf;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  background: #fdfbf5;
}
.consent-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.consent-category-head strong { font-size: 15px; }
.consent-category p { font-size: 13px; color: #6b6249; line-height: 1.6; margin: 0; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; cursor: pointer;
  background: #cfc6ae; border-radius: 999px; transition: background .2s;
}
.switch .slider::before {
  content: ''; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s;
}
.switch input:checked + .slider { background: var(--primary-light); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ============ Contact messages (admin) ============ */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; padding: 0 6px; margin-left: 6px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 999px;
}

.msg-card {
  background: #fff; border: 1px solid #ece4cf; border-left: 4px solid #d9d1bb;
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.msg-card.is-new { border-left-color: var(--red); background: #fffdf8; }
.msg-card.is-answered { border-left-color: var(--chart-mark); }
.msg-card:hover { box-shadow: 0 3px 14px rgba(0,0,0,.06); }

.msg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.msg-who { font-size: 15.5px; font-weight: 800; color: #2f2b20; }
.msg-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 5px; font-size: 12.5px; color: #7a7361; }
.msg-meta a { color: var(--gold-dark); font-weight: 600; }
.msg-meta .item { display: flex; align-items: center; gap: 5px; }

.msg-subject {
  display: inline-block; background: #f0ead6; color: #5b5236;
  font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; margin-bottom: 10px;
}
.msg-body {
  background: #faf8f1; border: 1px solid #f0ead6; border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 14.5px; line-height: 1.75; color: #3f3a2c;
  white-space: pre-wrap; word-break: break-word;
}
.msg-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.msg-note {
  margin-top: 12px; width: 100%; padding: 10px 13px;
  border: 1.5px solid #ded4b7; border-radius: var(--radius-sm);
  font-size: 13.5px; background: #fffdf7; resize: vertical; min-height: 46px;
}
.msg-note-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #8a7c60; margin-top: 14px; }

/* ============ Rich text editor ============ */
.rich-editor { border: 1.5px solid #ded4b7; border-radius: var(--radius-sm); background: #fff; overflow: visible; }

.editor-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 8px 10px;
  background: #faf6ea;
  border-bottom: 1.5px solid #ded4b7;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
}
.tb-group { display: flex; align-items: center; gap: 3px; padding-right: 8px; margin-right: 4px; border-right: 1px solid #e4dcc6; }
.tb-group:last-child { border-right: none; }

.tb-btn {
  min-width: 32px; height: 32px; padding: 0 7px;
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  font-size: 14px; line-height: 1; color: #3a3529;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s;
}
.tb-btn:hover { background: #fff; border-color: #ded4b7; }
.tb-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tb-btn s, .tb-btn u, .tb-btn i, .tb-btn b { pointer-events: none; }

/* .field select genel kuralı (padding:12px, width:100%) araç çubuğundaki
   seçiciyi bozuyor; burada açıkça geri alınıyor. */
.rich-editor .tb-select {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ded4b7;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  line-height: 30px;
  color: #3a3529;
  width: auto;
  min-width: 124px;
}

.tb-color-ic { position: relative; display: inline-flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 13px; line-height: 1; }
.tb-color-ic .bar { display: block; width: 15px; height: 3px; border-radius: 2px; margin-top: 2px; }

.tb-pop-wrap { position: relative; }
.tb-pop {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid #ded4b7; border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  padding: 12px; z-index: 300; min-width: 216px;
}
.tb-pop.open { display: block; }
.tb-pop-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #8a7c60; margin-bottom: 7px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); cursor: pointer; padding: 0; }
.swatch:hover { transform: scale(1.1); }
.swatch-none { background: #fff; color: #b3a582; font-size: 13px; display: flex; align-items: center; justify-content: center; }

.tb-pop-emoji { min-width: 300px; max-height: 300px; overflow-y: auto; left: auto; right: 0; }
.emoji-group { margin-bottom: 12px; }
.emoji-group:last-child { margin-bottom: 0; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.emoji-btn {
  width: 32px; height: 32px; font-size: 18px; line-height: 1;
  background: transparent; border: none; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.emoji-btn:hover { background: #f2ece0; transform: scale(1.15); }

.editor-area {
  min-height: 320px; max-height: 520px; overflow-y: auto;
  padding: 18px 20px;
  font-size: 15.5px; line-height: 1.8; color: #4b4636;
  outline: none;
}
.editor-area:empty::before { content: attr(data-placeholder); color: #b3a582; }
.editor-area:focus { box-shadow: inset 0 0 0 2px rgba(203,161,53,.25); }
.editor-area p { margin: 0 0 14px; }
.editor-area h2 { font-family: var(--font-heading); font-size: 24px; margin: 20px 0 10px; color: var(--primary); }
.editor-area h3 { font-family: var(--font-heading); font-size: 20px; margin: 18px 0 8px; color: var(--primary); }
.editor-area h4 { font-size: 17px; margin: 16px 0 8px; font-weight: 700; }
.editor-area ul, .editor-area ol { margin: 0 0 14px; padding-left: 26px; }
.editor-area li { margin-bottom: 6px; list-style: inherit; }
.editor-area ul li { list-style: disc; }
.editor-area ol li { list-style: decimal; }
.editor-area blockquote {
  margin: 0 0 14px; padding: 10px 16px;
  border-left: 3px solid var(--gold); background: #faf6ea; color: #5b5236; font-style: italic;
}
.editor-area a { color: var(--gold-dark); text-decoration: underline; }

.editor-status {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 14px; background: #faf6ea; border-top: 1px solid #ece4cf;
  font-size: 11.5px; color: #8a7c60;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ============ Analytics dashboard ============ */
.chart-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
.chart-card h3 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 4px; }
.chart-card .sub { font-size: 12.5px; color: #8a7c60; margin: 0 0 18px; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }

/* Grafik renkleri — validate_palette.js ile doğrulandı (light surface):
   --chart-mark  #0F7A52  lightness/chroma/contrast: PASS
   --chart-accent #9c7c1f contrast: PASS; çiftin CVD ΔE 7.9 → doğrudan etiketle kullanılır */
:root { --chart-mark: #0F7A52; --chart-accent: #9c7c1f; }

.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 170px; }
.bar-chart .bar-col {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  height: 100%; gap: 6px; min-width: 0; position: relative; cursor: default;
}
.bar-chart .bar {
  width: 100%;
  max-width: 30px;
  background: var(--chart-mark);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: height .5s cubic-bezier(.16,.8,.24,1), background .15s;
}
.bar-chart .bar-col:hover .bar { background: #0b5c3e; }
.bar-chart .bar-label { font-size: 10px; color: #9a8c68; white-space: nowrap; }

/* Hover ipucu */
.bar-chart .bar-col .tip {
  position: absolute;
  bottom: calc(100% - 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s;
  z-index: 5;
}
.bar-chart .bar-col:hover .tip { opacity: 1; }

.funnel-step { margin-bottom: 12px; }
.funnel-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.funnel-head strong { color: #3a3529; }
.funnel-head span { color: #8a7c60; }
.funnel-track { height: 26px; background: #f0ead6; border-radius: 6px; overflow: hidden; }
.funnel-fill {
  height: 100%;
  background: var(--chart-mark);
  border-radius: 6px;
  transition: width .6s cubic-bezier(.16,.8,.24,1);
  min-width: 2px;
}
/* Son adım (satın alma) vurgulanır; değer her zaman .funnel-head'de metin olarak
   yazıldığı için kimlik hiçbir zaman yalnızca renkle taşınmaz. */
.funnel-step.is-conversion .funnel-fill { background: var(--chart-accent); }

.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f2ece0; font-size: 13.5px; }
.rank-list li:last-child { border-bottom: none; }
.rank-list .rank-no { width: 22px; height: 22px; border-radius: 50%; background: #f0ead6; color: #5b5236; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-list .rank-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .rank-val { font-weight: 800; color: var(--primary); }

.empty-chart { text-align: center; color: #a99c7d; font-size: 13.5px; padding: 34px 10px; }

/* Ödeme çok yakında bildirimi */
.coming-soon {
  display: none;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff6df, #fdf0d0);
  border: 1px solid #f0d98a;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 16px;
}
.coming-soon.show { display: flex; }
.coming-soon .icon { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.coming-soon strong { display: block; font-size: 15.5px; color: #6b5200; margin-bottom: 5px; }
.coming-soon p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #7a5c00; }
.coming-soon a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }

/* Checkout contract consent */
.consent-box {
  background: #fff;
  border: 1.5px solid #ded4b7;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 18px;
}
.consent-box.error { border-color: var(--red); background: #fdf1f3; }
.consent-box label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b4636;
  cursor: pointer;
}
.consent-box input[type=checkbox] { width: auto; margin-top: 3px; flex-shrink: 0; }
.consent-box a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }

/* ============ Mobil ürün şeridi (yatay kaydırma) ============ */
/* Masaüstünde .product-grid normal ızgara kalır; aşağıdaki kurallar
   yalnızca dar ekranda devreye girer. */
.carousel-dots { display: none; }

@media (max-width: 700px) {
  /* --- Katalog sayfası: kaydırmasız, 2 sütun --- */
  .product-grid:not(.is-carousel) {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-grid:not(.is-carousel) .product-card { min-width: 0; }
  .product-grid:not(.is-carousel) .product-media { padding: 18px; }
  .product-grid:not(.is-carousel) .product-body { padding: 12px 12px 14px; gap: 6px; }
  .product-grid:not(.is-carousel) .product-name {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-grid:not(.is-carousel) .price-final { font-size: 16px; }
  .product-grid:not(.is-carousel) .price-original { font-size: 12px; }
  .product-grid:not(.is-carousel) .vat-note { font-size: 10px; }
  /* Butonlar alt alta ve tam genişlik → karttan taşmaz */
  .product-grid:not(.is-carousel) .product-actions { flex-direction: column; gap: 6px; }
  .product-grid:not(.is-carousel) .product-actions .btn {
    width: 100%;
    flex: none;
    font-size: 12.5px;
    padding: 9px 8px;
  }

  /* Fiyat rakamı ile ₺ ayrı satıra düşmesin */
  .price-final, .price-original { white-space: nowrap; }
  .price-row { flex-wrap: wrap; }

  /* Dar ekranda iki rozet çakışıyor: indirim oranı önceliklidir */
  .badge-gold { display: none; }

  /* --- Anasayfa şeritleri: 3 kart / kaydırma --- */
  .product-grid.is-carousel {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 2px 2px 10px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .product-grid.is-carousel::-webkit-scrollbar { display: none; }

  .product-grid.is-carousel .product-card {
    flex: 0 0 calc((100% - 16px) / 3);
    min-width: 0;
  }
  /* Her 3. kartta duraklar → kaydırma başına 3 ürün */
  .product-grid.is-carousel .product-card:nth-child(3n + 1) {
    scroll-snap-align: start;
  }

  /* Kompakt kart: ~105px genişliğe sığacak şekilde */
  .product-grid.is-carousel .product-media { padding: 10px; }
  .product-grid.is-carousel .product-body { padding: 8px 8px 10px; gap: 4px; }
  .product-grid.is-carousel .product-cat { font-size: 8.5px; letter-spacing: .3px; }
  .product-grid.is-carousel .product-name {
    font-size: 11.5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-grid.is-carousel .price-row { gap: 3px; flex-wrap: wrap; margin-top: 2px; }
  .product-grid.is-carousel .price-final { font-size: 12.5px; }
  .product-grid.is-carousel .price-original { font-size: 9.5px; }
  .product-grid.is-carousel .vat-note { display: none; }
  .product-grid.is-carousel .badge { font-size: 9px; padding: 2px 6px; top: 6px; left: 6px; }
  .product-grid.is-carousel .badge-gold { display: none; }

  /* Butonlar: metin sığmaz, ikon + tam genişlik */
  .product-grid.is-carousel .product-actions { gap: 4px; margin-top: 4px; }
  .product-grid.is-carousel .product-actions .btn-outline { display: none; }
  .product-grid.is-carousel .product-actions .btn-cta {
    flex: 1;
    padding: 7px 4px;
    font-size: 0;            /* metni gizle, ikon kalsın */
    gap: 0;
    min-height: 32px;
  }
  .product-grid.is-carousel .product-actions .btn-cta .icon { font-size: 15px; }

  /* Sayfa noktaları */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
  }
  .carousel-dots button {
    width: 7px; height: 7px; padding: 0;
    border: none; border-radius: 50%;
    background: #d6cdb4;
    transition: width .25s, background .25s;
  }
  .carousel-dots button.active { width: 20px; border-radius: 4px; background: var(--primary); }
  .section-dark .carousel-dots button { background: rgba(255,255,255,.25); }
  .section-dark .carousel-dots button.active { background: var(--gold); }
}

@media (max-width: 380px) {
  /* Çok dar ekranlarda yazıyı bir tık daha küçült */
  .product-grid.is-carousel .product-name { font-size: 10.5px; }
  .product-grid.is-carousel .price-final { font-size: 11.5px; }
}

/* ============ Burç sayfaları ============ */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.zodiac-card {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #ece4cf;
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s;
}
.zodiac-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddd0a8; }
.zodiac-card h2 { font-family: var(--font-heading); font-size: 19px; margin: 8px 0 0; }
.zodiac-symbol { display: block; line-height: 0; }
.zodiac-dates { font-size: 12.5px; color: #8a7c60; font-weight: 600; }
.zodiac-element { font-size: 11.5px; color: #a2957a; }

.zodiac-hero {
  background:
    radial-gradient(ellipse at 15% 20%, color-mix(in srgb, var(--sign-color) 30%, transparent), transparent 60%),
    linear-gradient(135deg, var(--bg-dark), var(--primary));
  color: var(--text-light);
  padding: 52px 24px 46px;
}
.zodiac-hero-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.zodiac-hero-symbol { color: var(--gold-light); line-height: 0; flex-shrink: 0; }
.zodiac-hero h1 { font-family: var(--font-heading); font-size: 38px; margin: 6px 0 4px; }
.zodiac-hero-dates { color: var(--gold-light); font-weight: 700; font-size: 14px; margin: 0 0 10px; letter-spacing: .3px; }
.zodiac-hero-summary { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; max-width: 620px; margin: 0; }

.breadcrumb { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }
.breadcrumb a { color: var(--text-muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 5px; }

.zodiac-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.zodiac-facts > div {
  background: #fff;
  border: 1px solid #ece4cf;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.zodiac-facts .lbl {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  color: #9a8c68; font-weight: 700; margin-bottom: 4px;
}
.zodiac-facts strong { font-size: 15px; color: var(--primary); }

.trait-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 22px 0 30px; }
.trait-box { border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid; }
.trait-box h3 { margin: 0 0 10px; font-size: 15.5px; }
.trait-box ul { margin: 0; padding-left: 20px; }
.trait-box li { margin-bottom: 6px; font-size: 14.5px; }
.trait-plus { background: #eef7f1; border-color: #c6e3d1; }
.trait-plus h3 { color: #14603c; }
.trait-minus { background: #fdf3f0; border-color: #f0d3c8; }
.trait-minus h3 { color: #94402a; }

.stone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.stone-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.stone-card h3 { font-family: var(--font-heading); font-size: 18px; color: var(--gold-light); margin: 0 0 8px; }
.stone-card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.zodiac-disclaimer { font-size: 12.5px; color: var(--text-muted); margin-top: 22px; font-style: italic; }

.zodiac-nav { background: #f2ece0; border-top: 1px solid #e4dcc6; padding: 20px 24px; }
.zodiac-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.zodiac-nav-link { display: flex; flex-direction: column; gap: 2px; }
.zodiac-nav-link .dir { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #9a8c68; font-weight: 700; }
.zodiac-nav-link strong { font-family: var(--font-heading); font-size: 17px; color: var(--primary); }
.zodiac-nav-link.align-right { text-align: right; }
.zodiac-nav-all { font-size: 13px; font-weight: 700; color: var(--gold-dark); text-decoration: underline; }

@media (max-width: 640px) {
  .zodiac-hero h1 { font-size: 29px; }
  .zodiac-hero-inner { gap: 18px; }
  .zodiac-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .zodiac-card { padding: 20px 10px 16px; }
  .zodiac-card h2 { font-size: 16px; }
}

/* ============ Icons ============ */
.icon { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }
.icon-sm { font-size: 16px; }
.icon-md { font-size: 20px; }
.icon-lg { font-size: 28px; }
.icon-xl { font-size: 40px; }

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============ Header shrink on scroll ============ */
.site-header { transition: box-shadow .3s ease; }
.site-header .header-main { transition: padding .3s ease; }
.site-header.is-shrunk .header-main { padding: 10px 24px; }
.site-header.is-shrunk .topbar { margin-top: -40px; opacity: 0; pointer-events: none; }
.topbar { transition: margin-top .3s ease, opacity .3s ease; }

/* ============ Marquee loop ============ */
.marquee {
  overflow: hidden;
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 28px;
}
.marquee-track span .icon { color: var(--gold); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Hero illustration ============ */
.hero-illustration { display: block; width: 100%; max-width: 440px; min-width: 0; height: auto; overflow: visible; }
.hero-illustration .ring { transform-origin: 240px 220px; animation: spin-slow 50s linear infinite; }
.hero-illustration .gem-main { transform-origin: 240px 225px; animation: float-loop 6s ease-in-out infinite; }
.hero-illustration .gem-accent-1 { transform-origin: 100px 120px; animation: float-loop 5s ease-in-out infinite; animation-delay: .3s; }
.hero-illustration .gem-accent-2 { transform-origin: 372px 338px; animation: float-loop 6.5s ease-in-out infinite; animation-delay: .9s; }
.hero-illustration .sparkle { animation: sparkle-pulse 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes float-loop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: .2; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ============ Illustration (generic, used for empty states etc.) ============ */
.illustration { width: 100%; }
.illustration .float-part { animation: float-loop 5.5s ease-in-out infinite; transform-origin: center; }
.illustration .sparkle { animation: sparkle-pulse 2.4s ease-in-out infinite; transform-origin: center; }
