/* ==========================================================================
   Smyrnovias Wedding — atelier theme
   Fonts: Cinzel (logo caps) / Playfair Display (headings) / Inter (body)
   Palette: ivory, ink, champagne, blush, muted
   ========================================================================== */

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

:root {
  --ivory:      #fdfaf7;
  --ivory-2:    #f7f1ec;
  --paper:      #ffffff;
  --ink:        #1a1512;
  --ink-2:      #3a3128;
  --muted:      #8a7f78;
  --champagne:  #c9a37e;
  --champagne-d:#a8825e;
  --blush:      #f5e6dd;
  --blush-2:    #eed3c4;
  --line:       rgba(26,21,18,.08);
  --line-2:     rgba(26,21,18,.15);
  --danger:     #a02b3a;
  --success:    #4b6b4a;

  --radius:     2px;
  --radius-lg:  6px;
  --container:  1320px;
  --shadow:     0 1px 2px rgba(26,21,18,.04), 0 8px 24px rgba(26,21,18,.06);
  --shadow-lg:  0 24px 48px rgba(26,21,18,.10);

  --font-logo:  'Cinzel', 'Times New Roman', serif;
  --font-head:  'Playfair Display', 'Georgia', serif;
  --font-body:  'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Eski koddan gelen değişkenler için uyumluluk */
  --primary: var(--ink);
  --accent: var(--champagne);
  --accent-light: var(--blush);
  --border: var(--line);
  --border-strong: var(--line-2);
  --text: var(--ink);
  --text-muted: var(--muted);
  --gray-light: var(--ivory-2);
  --gray-dark: var(--ink-2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--champagne-d); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .01em;
  line-height: 1.15;
}
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 11px;
  font-weight: 500;
  color: var(--champagne-d);
}
.script { font-family: var(--font-head); font-style: italic; font-weight: 400; color: var(--muted); }
.rule { display: inline-block; width: 48px; height: 1px; background: var(--champagne); vertical-align: middle; margin: 0 12px; }

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

.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-ivory { background: var(--ivory); }
.section-blush { background: var(--blush); }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--ivory); }

.announcement {
  background: var(--blush);
  color: var(--ink);
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0;
  gap: 24px;
}
.navbar-logo {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: .35em;
  color: var(--ink);
  text-align: center;
  grid-column: 2;
  line-height: 1;
}
.navbar-logo small {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--champagne-d);
  margin-top: 4px;
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: all .3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink);
  font-size: 16px;
}
.nav-actions a { position: relative; display: inline-flex; align-items: center; }
.cart-count {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 9px;
  font-family: var(--font-body);
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0 4px;
}

@media (max-width: 960px) {
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
}

.marquee {
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 400;
}
.marquee-track { display: inline-block; animation: marquee 40s linear infinite; padding-left: 100%; }
.marquee-track span { margin: 0 32px; }
.marquee-track span::before { content: '✦'; margin-right: 32px; color: var(--champagne); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn-gold { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.btn-gold:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 10px 22px; font-size: 10px; }
.btn-lg { padding: 18px 44px; font-size: 12px; }
.btn-primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-outline-white { background: transparent; color: var(--ivory); border-color: var(--ivory); }

.link-underline {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-weight: 500;
}

/* Hero (split) */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: calc(100vh - 140px);
  background: var(--ivory);
}
.hero-image {
  background: var(--blush) center/cover no-repeat;
  min-height: 480px;
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,0,0,.08));
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 8vw;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--champagne-d);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--champagne-d); }
.hero-desc { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat .num { font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.hero-stat .lbl { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--champagne-d); font-style: italic; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 380px; order: -1; }
  .hero-content { padding: 60px 24px; }
}

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head .sub { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 auto; }
.sec-head::after {
  content: '';
  display: block;
  width: 44px; height: 1px;
  background: var(--champagne);
  margin: 24px auto 0;
}

/* Product grid */
.products-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px 24px;
}
.product-card { background: transparent; transition: transform .3s ease; }
.product-card a { display: block; color: inherit; }
.product-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--blush);
  overflow: hidden;
  margin-bottom: 16px;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 6px 12px;
  font-weight: 500;
}
.badge-new { background: var(--ink); color: var(--ivory); }
.badge-gold, .badge-toptan { background: var(--champagne); color: var(--ink); }

.product-card-body { padding: 4px 2px; }
.product-card-cat, .product-cat {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.product-card-name, .product-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.product-price {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: .02em;
}
.product-card-variants, .product-swatches { display: flex; gap: 6px; margin-top: 8px; }
.variant-dot, .swatch {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-block;
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Tiles (koleksiyon karesi) */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--blush);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55));
  z-index: 1;
}
.tile > * { position: relative; z-index: 2; }
.tile-inner { display: flex; flex-direction: column; gap: 12px; }
.tile-eyebrow { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.tile-title { font-family: var(--font-head); font-size: 30px; line-height: 1; font-weight: 400; }
.tile a.tile-cta {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory);
  border-bottom: 1px solid var(--ivory);
  padding-bottom: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-image { aspect-ratio: 4 / 5; background: var(--blush) center/cover no-repeat; }
.story-body h2 { margin-bottom: 20px; }
.story-body p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
.story-body .btn { margin-top: 20px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 40px; } }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--ivory);
  padding: 96px 32px;
  text-align: center;
}
.cta-banner .eyebrow { color: var(--champagne); }
.cta-banner h2 { color: var(--ivory); margin: 14px 0 18px; }
.cta-banner p { color: rgba(253,250,247,.7); max-width: 560px; margin: 0 auto 32px; }

/* Features strip */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature { text-align: center; padding: 0 20px; }
.feature-icon { font-family: var(--font-head); font-style: italic; font-size: 28px; color: var(--champagne-d); margin-bottom: 8px; }
.feature-title { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.feature-desc { color: var(--muted); font-size: 12px; }

/* Newsletter */
.newsletter { background: var(--blush); padding: 72px 32px; text-align: center; }
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { color: var(--muted); margin-bottom: 24px; }
.newsletter form { display: flex; max-width: 460px; margin: 0 auto; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 13px;
  outline: none;
  border-radius: 0;
  transition: border-color .2s;
}
.newsletter input:focus { border-color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: var(--ivory); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .navbar-logo { text-align: left; color: var(--ivory); margin-bottom: 20px; }
.footer-brand p { color: rgba(253,250,247,.6); font-size: 13px; line-height: 1.8; max-width: 320px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: rgba(253,250,247,.75); font-size: 13px; }
.footer ul li a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid rgba(253,250,247,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(253,250,247,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 20px; font-size: 15px; }
.footer-social a { color: rgba(253,250,247,.6); }
.footer-social a:hover { color: var(--champagne); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding: 56px 0;
}
.pd-gallery { display: flex; flex-direction: column; gap: 8px; }
.pd-main-img { aspect-ratio: 3/4; background: var(--blush); overflow: hidden; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pd-thumb { aspect-ratio: 1; background: var(--blush); cursor: pointer; opacity: .55; transition: opacity .2s; overflow: hidden; }
.pd-thumb.active, .pd-thumb:hover { opacity: 1; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info { padding: 20px 0; }
.pd-cat { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pd-name { font-family: var(--font-head); font-size: 34px; font-weight: 400; line-height: 1.15; margin-bottom: 12px; }
.pd-code { font-size: 12px; color: var(--muted); letter-spacing: .2em; margin-bottom: 24px; }
.pd-price { font-size: 20px; color: var(--ink); font-family: var(--font-head); font-weight: 400; margin-bottom: 28px; }
.pd-desc { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.pd-option-label { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 12px; display: block; }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pd-size {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 12px;
  cursor: pointer;
  transition: all .18s;
}
.pd-size:hover, .pd-size.active { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.pd-actions { display: grid; gap: 10px; margin: 32px 0; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; color: var(--muted); display: grid; gap: 8px; }
.pd-meta strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: 32px; } }

/* Forms */
.auth-page, .form-page {
  min-height: calc(100vh - 200px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  background: var(--ivory);
}
.card-form {
  width: 100%; max-width: 460px;
  background: var(--paper);
  padding: 48px 40px;
  border: 1px solid var(--line);
}
.card-form h1 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.card-form .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink); font-weight: 500;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 14px;
  outline: none;
  transition: border-color .18s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 100px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-2);
  background: var(--paper); font-size: 14px;
  outline: none; border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ink); }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.form-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; gap: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }

.alert { padding: 12px 16px; font-size: 13px; margin-bottom: 20px; border-left: 3px solid; }
.alert-danger  { background: #fbf0f2; color: var(--danger);  border-color: var(--danger); }
.alert-success { background: #f0f5f0; color: var(--success); border-color: var(--success); }
.alert-info    { background: var(--blush); color: var(--ink-2); border-color: var(--champagne); }

.pagination ul { display: flex; gap: 6px; justify-content: center; margin: 48px 0; }
.pagination a {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  font-size: 13px; padding: 0 8px;
}
.pagination .active a, .pagination a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }

/* Shop layout (ürünler.php) */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0; }
.shop-filters h4 { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; color: var(--ink); }
.shop-filters ul { margin-bottom: 32px; }
.shop-filters li a { display: block; font-size: 13px; color: var(--muted); padding: 6px 0; }
.shop-filters li a:hover, .shop-filters li a.active { color: var(--ink); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .15em; }
.shop-toolbar select { border: none; background: transparent; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); cursor: pointer; outline: none; }
@media (max-width: 800px) { .shop-layout { grid-template-columns: 1fr; } }

.wholesale-bar {
  background: var(--ivory-2);
  color: var(--ink);
  text-align: center;
  padding: 8px;
  font-size: 11px;
  letter-spacing: .2em;
}

/* Radius helpers (eski koddan gelen --radius-lg kullanımı) */
.card, .card-body { border-radius: 0; }

/* ═══ HAMBURGER + MOBİL MENÜ ══════════════════════════════ */
.nav-hamburger {
  display: none;
  width: 34px; height: 34px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all .2s;
}

.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
}
.mob-menu.open { visibility: visible; pointer-events: auto; }
.mob-menu-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.5);
  opacity: 0;
  transition: opacity .3s;
}
.mob-menu.open .mob-menu-overlay { opacity: 1; }
.mob-menu-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.2,.9,.3,1.05);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
.mob-menu.open .mob-menu-panel { transform: translateX(0); }
.mob-menu-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mob-menu-brand {
  font-family: var(--font-logo);
  font-size: 18px; letter-spacing: .3em; font-weight: 500;
  color: var(--ink);
}
.mob-menu-close {
  background: none; border: none;
  font-size: 32px; line-height: 1;
  color: var(--ink); cursor: pointer;
  padding: 0 4px;
}
.mob-menu-nav {
  padding: 20px 0;
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mob-menu-nav a {
  padding: 14px 24px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s;
}
.mob-menu-nav a:hover, .mob-menu-nav a.active {
  background: var(--blush);
  color: var(--champagne-d);
}
.mob-menu-nav hr {
  border: none;
  height: 8px;
  background: var(--ivory-2);
  margin: 0;
}
.mob-menu-nav .mob-cta {
  background: var(--ink);
  color: var(--ivory);
  border: none;
  margin: 12px 24px;
  padding: 14px 20px;
  text-align: center;
  letter-spacing: .3em;
}
.mob-menu-nav .mob-cta:hover { background: var(--champagne-d); color: var(--ivory); }

/* ═══ MOBİL UYUM — geniş rev ═══════════════════════════════ */
@media (max-width: 720px) {
  /* Genel padding küçült */
  .section         { padding: 56px 0; }
  .section-tight   { padding: 32px 0; }
  .container       { padding: 0 16px; }

  /* Hero */
  .hero            { min-height: auto; }
  .hero-content    { padding: 48px 20px; }
  .hero-title      { font-size: 34px; }
  .hero-image      { min-height: 300px; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Navbar */
  .navbar-inner    { grid-template-columns: auto 1fr auto; padding: 14px 0; gap: 10px; }
  .navbar-logo     { font-size: 18px; letter-spacing: .2em; grid-column: 2; text-align: center; }
  .navbar-logo small { font-size: 8px; }
  .navbar-logo img { height: 36px !important; margin: 0 auto; }
  .nav-actions     { gap: 12px; }
  .nav-actions .btn-sm { display: none; }  /* Termin butonu mobil menüde */
  .announcement    { font-size: 10px; letter-spacing: .15em; padding: 8px 12px; }
  .nav-hamburger   { display: flex; }
  .nav-links       { display: none !important; }

  /* Marquee daha ince */
  .marquee         { font-size: 10px; padding: 8px 0; letter-spacing: .2em; }

  /* Section head */
  .sec-head        { margin-bottom: 32px; }
  h1               { font-size: 30px; }
  h2               { font-size: 24px; }

  /* Tiles — mobilde tek sütun */
  .tiles           { grid-template-columns: 1fr; gap: 6px; }
  .tile            { aspect-ratio: 4 / 3; padding: 20px; }
  .tile-title      { font-size: 24px; }

  /* Story */
  .story           { gap: 24px; }
  .story-image     { aspect-ratio: 4 / 3; }

  /* Product grid */
  .products-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .product-card-name { font-size: 14px; }

  /* Newsletter */
  .newsletter      { padding: 48px 16px; }
  .newsletter h2   { font-size: 22px; }
  .newsletter form { flex-direction: column; gap: 10px; }
  .newsletter form input,
  .newsletter form .btn { width: 100%; }

  /* Footer */
  .footer          { padding: 48px 0 24px; }
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-bottom   {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
    font-size: 11px;
  }
  .footer-bottom > div {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center;
  }
  .footer-social   { justify-content: center; }

  /* Form */
  .card-form       { padding: 32px 20px; }

  /* Uzun kelimeler (email, link, url) taşmasın */
  body, p, a       { word-wrap: break-word; overflow-wrap: break-word; }

  /* CTA banner */
  .cta-banner      { padding: 64px 16px; }
  .cta-banner h2   { font-size: 22px; }

  /* Popup */
  .site-popup-body h3 { font-size: 20px; }
}

/* Çok küçük ekranlar */
@media (max-width: 400px) {
  .products-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-title    { font-size: 28px; }
  .tile-title    { font-size: 20px; }
}

/* ═══ MOBİL EVRENSEL — HER SAYFA taşmasın ═══════════════════ */
@media (max-width: 720px) {
  /* Universal box-sizing + max-width */
  *, *::before, *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Tüm inline grid tanımlarını mobilde block yap */
  [style*="display:grid"],
  [style*="display: grid"] {
    display: block !important;
  }
  [style*="display:flex"][style*="grid-template"],
  [style*="grid-template-columns"] {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  /* Flex container'ları da mobilde alt alta */
  [style*="display:flex;grid"],
  [style*="display:flex"][style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
  }

  /* Section'lar mobil padding */
  section, .section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Butonlar mobilde kesinlikle görünür kalsın (word-break etkilemesin) */
  .btn, .btn-add-cart, .btn-primary, .btn-outline, .btn-gold, .btn-dark,
  .btn-ghost-light, .btn-outline-white, .tile-cta, .mob-cta, button, .link-underline {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: nowrap !important;
    hyphens: none !important;
  }
  .btn-add-cart {
    padding: 10px 14px !important;
    font-size: 11px !important;
    background: var(--ink) !important;
    color: var(--ivory) !important;
    min-width: 90px;
    justify-content: center;
  }
  /* Grid template olarak columns:1fr veya çok sütun içeren tüm inline stiller */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    display: block !important;
  }
  /* Hamburger'ı zorla göster */
  .nav-hamburger { display: flex !important; }
  .nav-links     { display: none !important; }
  /* Uzun kelimeler (başlıklar dahil) kesinlikle kırılsın */
  h1, h2, h3, h4, p, a, span, div, td, th, li {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }
  /* Container/section overflow yok */
  body, html, .container, section, main { max-width: 100vw; overflow-x: hidden; }
  /* Sabit büyük width'ler taşmasın */
  [style*="width:"]:not([style*="width:100%"]):not([style*="width: 100%"]):not([style*="width:auto"]) {
    max-width: 100% !important;
  }
  /* Padding küçült */
  [style*="padding:60px"]  { padding: 32px 20px !important; }
  [style*="padding: 60px"] { padding: 32px 20px !important; }
  [style*="padding:40px"]  { padding: 24px 16px !important; }
  [style*="padding: 40px"] { padding: 24px 16px !important; }
  [style*="padding:32px"]  { padding: 20px 16px !important; }
  [style*="padding: 32px"] { padding: 20px 16px !important; }
  /* Sticky elementler mobilde akıcı */
  [style*="position:sticky"], [style*="position: sticky"] {
    position: static !important;
  }
  /* Görsel + tablo overflow */
  img, video, iframe { max-width: 100% !important; height: auto; }
  table              { display: block; overflow-x: auto; max-width: 100%; }
  pre                { white-space: pre-wrap; word-wrap: break-word; max-width: 100%; }
}

/* ═══ MOBİL GLOBAL OVERRIDE — inline style'lı sayfalar için ═══════ */
@media (max-width: 720px) {
  /* Tüm çok sütunlu inline grid'leri tek sütuna zorla */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns:1.15fr 1fr"],
  [style*="grid-template-columns: 1.15fr 1fr"],
  [style*="grid-template-columns:1fr 360px"],
  [style*="grid-template-columns: 1fr 360px"],
  [style*="grid-template-columns:250px 1fr"],
  [style*="grid-template-columns: 250px 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns:88px 1fr auto"],
  [style*="grid-template-columns: 88px 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Sabit büyük padding'leri küçült */
  [style*="padding:60px 40px"],
  [style*="padding: 60px 40px"] { padding: 40px 20px !important; }
  [style*="padding:40px"]:not([style*="padding:40px 40px"]) { padding: 24px !important; }
  [style*="padding:32px"]:not(.tile) { padding: 20px !important; }

  /* Sabit width'ler taşmasın */
  [style*="width:640px"], [style*="width: 640px"],
  [style*="width:600px"], [style*="width: 600px"],
  [style*="width:520px"], [style*="width: 520px"],
  [style*="width:460px"], [style*="width: 460px"],
  [style*="width:440px"], [style*="width: 440px"],
  [style*="width:420px"], [style*="width: 420px"] {
    max-width: 100% !important;
    width: 100% !important;
  }
  [style*="max-width:640px"], [style*="max-width: 640px"],
  [style*="max-width:600px"], [style*="max-width: 600px"] {
    max-width: 100% !important;
  }

  /* Form ve input mobilde tam genişlik */
  input, textarea, select {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="password"] {
    width: 100% !important;
  }

  /* Görseller taşmasın */
  img, video, iframe, table, pre { max-width: 100% !important; height: auto; }
  table { display: block; overflow-x: auto; }

  /* Sepet, sipariş kalemleri */
  .cart-item[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  /* Ürün detay galeri */
  .pd-thumbs { grid-template-columns: repeat(4, 1fr) !important; }
  .pd-name   { font-size: 24px !important; }
  .pd-price  { font-size: 18px !important; }

  /* Breadcrumbs */
  nav[style*="display:flex"][style*="gap:8px"] { flex-wrap: wrap; font-size: 12px !important; }

  /* Sipariş özet kartı (sağdaki 340px sabit) */
  [style*="position:sticky"],
  [style*="position: sticky"] { position: static !important; }

  /* Büyük başlıklar */
  h1[style*="font-size:42px"], h1[style*="font-size: 42px"],
  h1[style*="font-size:38px"], h1[style*="font-size: 38px"] { font-size: 26px !important; }
  h2[style*="font-size:32px"], h2[style*="font-size: 32px"],
  h2[style*="font-size:28px"], h2[style*="font-size: 28px"] { font-size: 22px !important; }
  h3[style*="font-size:24px"], h3[style*="font-size: 24px"] { font-size: 18px !important; }
}

/* ── Popup ─────────────────────────────────────────────── */
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.site-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .65);
  backdrop-filter: blur(2px);
  animation: sp-fade .3s ease;
}
.site-popup-box {
  position: relative;
  background: var(--paper);
  max-width: 780px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  animation: sp-up .35s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.site-popup-image {
  background: var(--blush) center/cover no-repeat;
  min-height: 320px;
}
.site-popup-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.site-popup-body .eyebrow { margin-bottom: 4px; }
.site-popup-body h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.site-popup-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.site-popup-body .btn { align-self: flex-start; margin-top: 10px; }
.site-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: all .2s;
}
.site-popup-close:hover { background: var(--ink); color: var(--ivory); }
@keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sp-up   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .site-popup-box { grid-template-columns: 1fr; max-width: 420px; }
  .site-popup-image { min-height: 200px; }
  .site-popup-body { padding: 28px 24px; }
  .site-popup-body h3 { font-size: 22px; }
}
