/* ============================================================
   AYANER MÜCEVHERAT — Tema temel stilleri
   Marcellus (başlık) + Jost (gövde) · 2 palet: gold / rose
   NOT: Fontlar tema içinde yerel woff2 olarak paketlenir (theme.json
   fontFace → wp-fonts-local). Harici Google Fonts import'u KALDIRILDI;
   aksi halde başlıklar Marcellus yerine Bodoni Moda görünüyordu + FOUC.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Yön A — Altın & Şampanya (varsayılan) */
  --bg:          #FBF8F1;
  --bg-2:        #F4ECDD;
  --surface:     #FFFFFF;
  --surface-2:   #FCF8EF;
  --ink:         #241D14;
  --ink-2:       #4A3F30;
  --muted:       #8C7C63;
  --line:        #E8DDC7;
  --line-2:      #D8C8A8;
  --accent:      #A9863F;   /* altın */
  --accent-2:    #C7A45E;   /* şampanya */
  --accent-deep: #856326;
  --accent-soft: #F3E8CF;
  --gold-grad:   linear-gradient(135deg, #C7A45E 0%, #A9863F 45%, #856326 100%);
  --on-accent:   #FFFDF7;
  --up:          #2E7D55;
  --down:        #B4452F;

  --shadow-sm: 0 1px 2px rgba(60,45,20,.05), 0 2px 8px rgba(60,45,20,.04);
  --shadow-md: 0 8px 30px rgba(60,45,20,.08), 0 2px 8px rgba(60,45,20,.05);
  --shadow-lg: 0 24px 60px rgba(60,45,20,.12), 0 6px 18px rgba(60,45,20,.07);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --font-display: 'Cardo', 'Times New Roman', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --topbar-h: 38px;
  --header-h: 76px;
}

[data-theme="rose"] {
  --bg:          #FCF5F1;
  --bg-2:        #F6E6DE;
  --surface:     #FFFFFF;
  --surface-2:   #FDF6F2;
  --ink:         #2E2024;
  --ink-2:       #54393E;
  --muted:       #9C8079;
  --line:        #F0DDD4;
  --line-2:      #E6C9BC;
  --accent:      #C0826F;   /* rose-gold */
  --accent-2:    #D8A292;   /* pudra */
  --accent-deep: #A66856;
  --accent-soft: #F8E6DE;
  --gold-grad:   linear-gradient(135deg, #E0AE9C 0%, #C0826F 48%, #A66856 100%);
  --on-accent:   #FFFAF7;
  --up:          #2E7D55;
  --down:        #C24A38;
}

/* ---------- FONT ŞEMALARI (canlı geçiş) ---------- */
/* bodoni = :root varsayılanı (yüksek kontrast didone) */
[data-font="cormorant"] { --font-display: 'Cormorant Garamond', Georgia, serif; --font-body: 'Jost', system-ui, sans-serif; }
[data-font="cormorant"] h1, [data-font="cormorant"] h2, [data-font="cormorant"] h3, [data-font="cormorant"] h4,
[data-font="cormorant"] .brand__mark { font-weight: 600; letter-spacing: 0; }
[data-font="cormorant"] .display-xl { font-size: clamp(52px, 8vw, 120px); line-height: .98; }

[data-font="marcellus"] { --font-display: 'Marcellus', Georgia, serif; --font-body: 'Mulish', system-ui, sans-serif; }
[data-font="marcellus"] h1, [data-font="marcellus"] h2, [data-font="marcellus"] h3, [data-font="marcellus"] h4,
[data-font="marcellus"] .brand__mark { font-weight: 400; letter-spacing: .005em; }

[data-font="playfair"] { --font-display: 'Playfair Display', Georgia, serif; --font-body: 'Manrope', system-ui, sans-serif; }
[data-font="playfair"] h1, [data-font="playfair"] h2, [data-font="playfair"] h3, [data-font="playfair"] h4 { font-weight: 600; letter-spacing: -.005em; }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.18; letter-spacing: -.005em; }

/* ---------- INLINE SVG GÜVENLİK ----------
   ayaner_icon() çıktısı width/height'sız <svg viewBox="0 0 24 24"> üretir.
   Sınırlamazsak SVG kapsayıcısının tam genişliğine yayılır (dev ikon bug'ı).
   Düşük specificity (0,1,1) — alttaki .icon-btn svg / .trust__item svg vb. ezer. */
svg:not([width]) { width: 24px; height: 24px; vertical-align: middle; flex-shrink: 0; }

/* ---------- TYPE UTILITIES ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-deep);
}
.display-xl { font-size: clamp(44px, 7vw, 104px); font-weight: 600; }
.display-lg { font-size: clamp(36px, 5vw, 68px); font-weight: 600; }
.display-md { font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; }
.display-sm { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; }
.serif-italic { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.center { text-align: center; }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }
.section-head .display-md { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--r-sm);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-deep); color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-grad); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: saturate(1.08); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { padding-inline: 0; color: var(--accent-deep); }
.btn--ghost .arrow { transition: transform .35s; }
.btn--ghost:hover .arrow { transform: translateX(6px); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 38px; font-size: 14px; }

.link-underline { position: relative; }
.link-underline::after {
  content:''; position:absolute; left:0; bottom:-3px; height:1px; width:100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s;
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- HEADER ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }

/* WP admin bar (32px) açık olduğunda header onun altına kayar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    /* Mobilde admin bar 46px */
    .admin-bar .site-header { top: 46px; }
}

/* Sticky header yüksekliği kadar scroll boşluğu — form hata scrollu başlığın altına düşmesin */
html {
    scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 16px);
}
.admin-bar {
    scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 32px + 16px);
}

/* Canlı fiyat şeridi */
.ticker {
  background: var(--ink); color: var(--bg);
  height: var(--topbar-h); overflow: hidden; position: relative;
  font-size: 12.5px; letter-spacing: .02em;
}
.ticker__track { display: flex; align-items: center; gap: 0; height: 100%; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 9px; padding-inline: 26px; border-right: 1px solid rgba(255,255,255,.12); height: 16px; }
.ticker__label { color: rgba(255,255,255,.6); text-transform: uppercase; font-size: 10.5px; letter-spacing: .16em; }
.ticker__val { font-weight: 500; font-variant-numeric: tabular-nums; }
.ticker__chg { font-size: 11px; font-variant-numeric: tabular-nums; }
.ticker__chg.up { color: #7FE0A8; } .ticker__chg.down { color: #F0A18E; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ana header */
.nav {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s;
}
.nav__inner { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); width: 100%; }
.nav__menu { display: flex; gap: 30px; }
.nav__menu a { font-size: 13px; font-weight: 400; letter-spacing: .06em; padding-block: 6px; position: relative; color: var(--ink-2); }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--ink); }
.brand { text-align: left; line-height: 1; }
.brand__mark { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .14em; }
.brand__mark .amp { color: var(--accent); }
.brand__sub { display:block; font-size: 8.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: all .25s; position: relative; }
.icon-btn:hover { background: var(--accent-soft); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: var(--on-accent); border-radius: 9px;
  font-size: 10px; font-weight: 600; display: grid; place-items: center; font-family: var(--font-body);
}
.nav__burger { display: none; }

/* ---------- TRUST STRIP ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 26px var(--gutter); }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.trust__item b { font-size: 13.5px; font-weight: 600; display: block; }
.trust__item span { font-size: 12px; color: var(--muted); }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; min-height: min(82vh, 760px); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,6vw,90px) var(--gutter); background: var(--bg); }
.hero__copy .display-xl { margin-top: 22px; }
.hero__copy .lead { margin-top: 26px; max-width: 44ch; }
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media image-slot { width: 100%; height: 100%; min-height: 360px; }
.hero__badge {
  position: absolute; left: -52px; bottom: 56px; z-index: 5;
  background: var(--surface); box-shadow: var(--shadow-lg); border-radius: var(--r-md);
  padding: 18px 22px; min-width: 210px; border: 1px solid var(--line);
}
.hero__badge .eyebrow { font-size: 10px; }
.hero__badge .price { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-top: 6px; }
.hero__badge .delta { font-size: 12px; color: var(--up); font-variant-numeric: tabular-nums; }

/* ---------- LIVE PRICE CARDS ---------- */
.prices { background: var(--surface); border-block: 1px solid var(--line); }
.prices__grid { display: grid; grid-template-columns: repeat(5,1fr); }
.price-card { padding: 28px 26px; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.price-card:last-child { border-right: none; }
.price-card:hover { background: var(--surface-2); }
.price-card__name { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-card__val { font-family: var(--font-display); font-size: clamp(24px,2.2vw,30px); font-weight: 600; margin-top: 10px; font-variant-numeric: tabular-nums; }
.price-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price-card__chg { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 4px; }
.price-card__chg.up { color: var(--up); } .price-card__chg.down { color: var(--down); }
.spark { width: 64px; height: 24px; }
.prices__note { text-align: center; font-size: 11.5px; color: var(--muted); padding: 12px; border-top: 1px solid var(--line); background: var(--surface-2); }
.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background: var(--up); margin-right:7px; box-shadow: 0 0 0 0 rgba(46,125,85,.5); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(46,125,85,.45);} 70%{box-shadow:0 0 0 7px rgba(46,125,85,0);} 100%{box-shadow:0 0 0 0 rgba(46,125,85,0);} }

/* ---------- PRODUCT CARD ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2vw,30px); }
.product-grid--3 { grid-template-columns: repeat(3,1fr); }
.product-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.product-card__media { position: relative; aspect-ratio: 4/5; background: var(--surface-2); overflow: hidden; }
.product-card__media image-slot { width: 100%; height: 100%; }
.product-card__tag { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--ink); color: var(--bg); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.product-card__tag.gold { background: var(--gold-grad); color: var(--on-accent); }
.product-card__fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 90%, transparent); display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: all .3s; color: var(--ink-2); }
.product-card:hover .product-card__fav { opacity: 1; transform: translateY(0); }
.product-card__fav:hover { color: var(--accent-deep); }
.product-card__fav svg { width: 18px; height: 18px; }
.product-card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; transform: translateY(14px); opacity: 0; transition: all .35s; }
.product-card:hover .product-card__quick { transform: translateY(0); opacity: 1; }
.product-card__body { padding: 18px 18px 20px; }
.product-card__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-card__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 6px; line-height: 1.15; }
.product-card__meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
.product-card__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.product-card__price { font-family: var(--font-display); font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-card__price small { font-size: 12px; color: var(--muted); font-family: var(--font-body); font-weight: 400; }

/* stars */
.stars { display: inline-flex; gap: 1px; color: var(--accent-2); }
.stars svg { width: 13px; height: 13px; }

/* ---------- EDITORIAL SPLIT ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px,5vw,90px); }
.editorial--reverse .editorial__media { order: 2; }
.editorial__media { position: relative; }
.editorial__media image-slot { width: 100%; aspect-ratio: 5/6; }
.editorial__media .stack { position: absolute; width: 46%; aspect-ratio: 4/5; bottom: -40px; right: -28px; border: 8px solid var(--bg); box-shadow: var(--shadow-lg); }
.editorial__media .stack image-slot { width: 100%; height: 100%; }
.editorial__copy .lead { margin-top: 20px; }
.editorial__list { margin-top: 30px; display: grid; gap: 18px; }
.editorial__list li { display: flex; gap: 14px; align-items: flex-start; }
.editorial__list .num { font-family: var(--font-display); font-size: 22px; color: var(--accent); line-height: 1; width: 34px; flex-shrink: 0; }
.editorial__list b { display: block; font-size: 15px; font-weight: 600; }
.editorial__list span { font-size: 13.5px; color: var(--muted); }
.editorial__copy .btn { margin-top: 36px; }

/* ---------- CATEGORY BLOCKS ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: clamp(208px, 23vw, 296px); gap: 20px; }
.cat-card { position: relative; border-radius: var(--r-md); overflow: hidden; }
.cat-card.tall { grid-row: span 2; }
.cat-card image-slot { width: 100%; height: 100%; }
.cat-card__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(20,15,8,.62) 0%, rgba(20,15,8,.05) 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; transition: background .4s; }
.cat-card:hover .cat-card__overlay { background: linear-gradient(to top, rgba(20,15,8,.72) 0%, rgba(20,15,8,.18) 60%); }
.cat-card__overlay .eyebrow { color: var(--accent-2); }
.cat-card__overlay h3 { font-size: 26px; color: #fff; margin-top: 6px; }
.cat-card__overlay .go { margin-top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; opacity: .9; }

/* ---------- TESTIMONIAL ---------- */
.quote { background: var(--bg-2); }
.quote__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.quote__mark { font-family: var(--font-display); font-size: 90px; line-height: .6; color: var(--accent); opacity: .5; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(24px,2.8vw,38px); font-weight: 500; font-style: italic; line-height: 1.32; margin: 18px 0 0; }
.quote__author { margin-top: 30px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.quote__author span { color: var(--muted); }

/* ---------- FOUNDER ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,80px); align-items: center; }
.founder__media image-slot { width: 100%; aspect-ratio: 4/5; }
.founder__sign { font-family: var(--font-display); font-style: italic; font-size: 30px; margin-top: 26px; }
.founder__name { margin-top: 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- NEWSLETTER ---------- */
.newsletter { background: var(--ink); color: var(--bg); }
.newsletter__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.newsletter h2 { color: var(--bg); }
.newsletter p { color: rgba(255,255,255,.62); margin-top: 14px; }
.newsletter__form { margin-top: 32px; display: flex; gap: 10px; max-width: 460px; margin-inline: auto; }
.newsletter__form input { flex: 1; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm); padding: 15px 18px; color: var(--bg); font-family: var(--font-body); font-size: 14px; }
.newsletter__form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter__form input:focus { outline: none; border-color: var(--accent-2); }

/* ---------- FOOTER ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(50px,6vw,80px); }
.footer__brand .brand__mark { font-size: 30px; }
.footer__brand p { margin-top: 18px; max-width: 30ch; color: var(--muted); font-size: 14px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: all .25s; }
.footer__social a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__col ul { margin-top: 18px; display: grid; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--ink-2); }
.footer__col a:hover { color: var(--accent-deep); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.footer__pay { display: flex; gap: 8px; align-items: center; }
.footer__pay span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; font-size: 10px; letter-spacing: .08em; }

/* ---------- REVEAL ANIM ----------
   JS aktifse gizle-ve-belir; JS yoksa içerik DAİMA görünür (beyaz ekran koruması) */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity:1; transform:none; transition:none; } .ticker__track { animation:none; } }
