/* ==========================================================================
   Cavén — mağaza stilleri
   Krem + toz pembe, el yazısı (Playwrite IT Moderna) ve logodaki aralıklı büyük harfler (Jost)
   ========================================================================== */

:root {
  --bg: #FBF6F0;
  --bg-2: #F5EDE5;
  --paper: #FFFCF9;
  --blush: #F6E4E0;
  --blush-2: #EBCFC9;
  --rose: #C48F83;
  --rose-ink: #93594D;
  --ink: #4A3430;
  --ink-2: #7A625D;
  --line: #EBDDD5;
  --danger: #A3453A;

  --hand: 'Playwrite IT Moderna', 'Segoe Print', 'Bradley Hand', cursive;
  --caps: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --container: 1240px;
  --gutter: 28px;
  --header-h: 78px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 15px;
  line-height: 1.75;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.35; margin: 0; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush-2); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 16px; height: 16px; }
.eyebrow {
  font-family: var(--caps);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-ink);
}

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 28px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--hand); font-size: 15px; font-weight: 400;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--rose-ink); border-color: var(--rose-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn .i { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-ink); white-space: nowrap; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--blush); }

/* ---------------- Anons şeridi ---------------- */
.announce {
  --announce-bg: #EBCFC9; --announce-color: #5B3C37;
  background: var(--announce-bg); color: var(--announce-color);
  font-size: 13px; height: 36px; overflow: hidden; position: relative;
}
.announce a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.announce-rotate { position: relative; height: 100%; max-width: var(--container); margin: 0 auto; }
.announce-rotate .msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.announce-rotate .msg.is-on { opacity: 1; transform: none; }
.announce-rotate .msg.is-out { opacity: 0; transform: translateY(-8px); }
.announce-marquee { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee var(--marquee-duration, 30s) linear infinite; }
.announce-marquee:hover { animation-play-state: paused; }
.announce-marquee .msg { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.announce-marquee .msg .i { width: 10px; height: 10px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Üst bölüm ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 240, .94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 8px; }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 56px; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  font-size: 15.5px; padding: 6px 0; color: var(--ink);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after, .nav-item.is-open .nav-link::after { transform: scaleX(1); }
.nav-link .chev { transition: transform .3s var(--ease); color: var(--ink-2); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-link.is-sale span { color: var(--rose-ink); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.action-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; transition: background .2s;
}
.action-btn:hover { background: var(--blush); }
.action-btn .badge { position: absolute; top: 2px; left: 26px; }
.badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--rose-ink); color: #fff;
  font-family: var(--caps); font-size: 11px; font-weight: 500; line-height: 18px; text-align: center;
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Koleksiyonlar açılır paneli */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(74, 52, 48, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 48px; padding-block: 36px 40px; }
.mega-intro h2 { font-size: 23px; margin: 8px 0 10px; }
.mega-intro p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 18px; }
.mega-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 150px); gap: 22px; justify-content: start; }
.arch-tile { display: block; text-align: center; }
.arch {
  aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px; overflow: hidden;
  background: var(--blush); border: 1px solid var(--line);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.arch-tile:hover .arch img { transform: scale(1.05); }
.arch-tile .name { display: block; margin-top: 10px; font-size: 15px; }
.arch-tile .count { display: block; font-family: var(--caps); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }

/* ---------------- Banner ---------------- */
.hero { position: relative; height: clamp(440px, 64vh, 640px); overflow: hidden; background: var(--blush); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.hero-slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content .container { display: flex; }
.hero-copy { max-width: 540px; }
.hero-slide[data-align="center"] .hero-content .container { justify-content: center; text-align: center; }
.hero-slide[data-align="right"] .hero-content .container { justify-content: flex-end; }
.hero-copy .eyebrow { display: block; margin-bottom: 14px; }
.hero-copy .hero-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.3; margin-bottom: 16px; }
.hero-copy p { font-size: 16px; color: var(--ink-2); margin-bottom: 30px; max-width: 420px; }
.hero-slide[data-align="center"] .hero-copy p { margin-inline: auto; }
.hero-slide.is-on .hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-slide.is-on .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-on .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-on .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero-slide[data-theme="light"] .hero-copy, .hero-slide[data-theme="light"] .hero-copy p, .hero-slide[data-theme="light"] .eyebrow { color: #fff; }
.hero-slide[data-theme="light"] .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero-slide[data-theme="light"] .btn:hover { background: var(--blush); }
.hero-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; }
.hero-hit { position: absolute; inset: 0; z-index: 1; }
.hero-content { z-index: 2; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 18px; position: relative; }
.hero-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: currentColor; opacity: .25; transition: opacity .3s; }
.hero-dots button.is-on::before { opacity: .85; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(74, 52, 48, .25); background: rgba(255, 252, 249, .55); transition: background .2s;
}
.hero-arrows button:hover { background: var(--paper); }

/* ---------------- Bölümler ---------------- */
.section { padding-block: 64px 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); display: flex; align-items: center; gap: 12px; }
.section-head h2 .i { width: 14px; height: 14px; color: var(--rose); }
.section-head p { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }

.cat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat-strip .arch { aspect-ratio: 4 / 5; }
.cat-strip .name { font-size: 16px; }

/* ---------------- Ürün kartı ---------------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 8px; background: var(--blush);
}
.card-img-link { position: absolute; inset: 0; display: block; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media img:not(.alt) { transform: scale(1.03); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--rose-ink);
  font-family: var(--caps); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.card-badge.muted { color: var(--ink-2); }
.quick-add {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px;
  min-height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 252, 249, .94); color: var(--ink); font-size: 14px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.quick-add .i { width: 18px; height: 18px; }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--ink); color: var(--paper); }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.card-cat { font-family: var(--caps); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.card-title { font-size: 15px; font-weight: 400; line-height: 1.55; }
.card-title a:hover { color: var(--rose-ink); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .now { color: var(--ink); }
.price .was { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; font-size: .86em; opacity: .8; }
.price.on-sale .now { color: var(--rose-ink); }

/* ---------------- Liste sayfaları ---------------- */
.page-head { padding-block: 56px 32px; text-align: center; }
.page-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 10px 0 10px; }
.page-head p { color: var(--ink-2); max-width: 560px; margin-inline: auto; }
.crumbs { display: flex; gap: 8px; justify-content: center; font-size: 13px; color: var(--ink-2); }
.crumbs a:hover { color: var(--rose-ink); }
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 14px; margin-bottom: 30px; border-block: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 13.5px; transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--rose); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select-wrap { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-left: auto; }
.select {
  appearance: none; padding: 8px 36px 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A3430' stroke-width='1.4'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font-family: var(--hand); font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.count-note { font-size: 13.5px; color: var(--ink-2); }
.empty { text-align: center; padding: 72px 16px; color: var(--ink-2); }
.empty .i { width: 22px; height: 22px; color: var(--rose); margin: 0 auto 14px; }
.empty h2 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 22px; }

/* ---------------- Ürün detay ---------------- */
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; padding-block: 36px 24px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--blush); grid-column: 2; grid-row: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track { display: contents; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .gallery-main { grid-column: 1; }
.thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
.thumbs button { aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); opacity: .7; transition: opacity .2s, border-color .2s; background: var(--blush); }
.thumbs button.is-on, .thumbs button:hover { opacity: 1; border-color: var(--rose); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { display: none; }
.product-info { padding-top: 8px; }
.product-info .crumbs { justify-content: flex-start; margin-bottom: 18px; }
.product-info h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 12px; }
.product-info .price { font-size: 19px; margin-bottom: 22px; }
.product-info .save { font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-ink); background: var(--blush); padding: 3px 10px; border-radius: 999px; align-self: center; }
.product-desc { color: var(--ink-2); margin-bottom: 28px; white-space: pre-line; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.buy-row .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { color: var(--ink); }
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-weight: 400; }
.stepper.sm button { width: 32px; height: 32px; }
.stepper.sm .i { width: 16px; height: 16px; }
.stock-note { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.stock-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #9DB59A; }
.stock-note.low::before { background: #D9A35F; }
.stock-note.out::before { background: var(--danger); }
.details { margin-top: 30px; border-top: 1px solid var(--line); }
.details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.details dt { color: var(--ink-2); }
.details dd { margin: 0; }

/* ---------------- Giriş / Hesap ---------------- */
.auth { max-width: 440px; margin: 0 auto; padding-block: 56px 72px; }
.auth-mark { width: 84px; height: auto; margin: 0 auto 12px; }
.auth h1 { text-align: center; font-size: 25px; margin-bottom: 6px; }
.auth .lead { text-align: center; color: var(--ink-2); margin-bottom: 28px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs button { padding: 12px 0; font-size: 15.5px; color: var(--ink-2); position: relative; }
.tabs button.is-on { color: var(--ink); }
.tabs button.is-on::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--rose-ink); border-radius: 2px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.input {
  width: 100%; height: 50px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper);
  font-family: var(--caps); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(196, 143, 131, .18); }
.form-error { color: var(--danger); font-size: 13.5px; min-height: 22px; margin: 4px 0 10px; }
.auth .switch { text-align: center; margin-top: 18px; color: var(--ink-2); font-size: 13.5px; }
.auth .switch button { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.account-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; }
.account-card .email { color: var(--ink-2); margin-bottom: 22px; font-family: var(--caps); font-size: 15px; }
.account-card .actions { display: grid; gap: 10px; }

/* ---------------- Alt bilgi ---------------- */
.site-footer { margin-top: 88px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 56px 40px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-2); font-size: 13.5px; max-width: 280px; }
.footer-col h3 { font-family: var(--caps); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--rose-ink); }
.footer-col .i { width: 18px; height: 18px; color: var(--ink-2); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 18px; font-size: 12.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------------- Sepet çekmecesi ---------------- */
.drawer, .sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open, .sheet.is-open { visibility: visible; }
.drawer-backdrop, .sheet-backdrop { position: absolute; inset: 0; background: rgba(74, 52, 48, .28); opacity: 0; transition: opacity .35s var(--ease); }
.is-open > .drawer-backdrop, .is-open > .sheet-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 40px -30px rgba(74, 52, 48, .5);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-head h2 small { font-family: var(--caps); font-size: 13px; color: var(--ink-2); font-weight: 400; margin-left: 6px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 26px calc(20px + env(safe-area-inset-bottom)); background: var(--paper); }
.drawer-foot:empty { display: none; }
.line-item { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .thumb { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--blush); }
.line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item .top { display: flex; justify-content: space-between; gap: 8px; }
.line-item h3 { font-size: 14.5px; font-weight: 400; }
.line-item .price { font-size: 14px; margin: 2px 0 10px; }
.line-item .bottom { display: flex; align-items: center; justify-content: space-between; }
.line-item .remove { color: var(--ink-2); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.line-item .remove:hover { color: var(--danger); }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 4px; }
.subtotal strong { font-size: 18px; font-weight: 400; }
.foot-note { font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; }
.foot-note a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.drawer-foot .btn + .btn { margin-top: 10px; }
.cart-empty { text-align: center; padding: 60px 8px; color: var(--ink-2); }
.cart-empty .i { width: 30px; height: 30px; margin: 0 auto 14px; color: var(--rose); }
.cart-empty h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.cart-empty .btn { margin-top: 20px; }

/* ---------------- Mobil panel (koleksiyonlar) ---------------- */
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh;
  background: var(--bg); border-radius: 22px 22px 0 0; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .4s var(--ease);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
.sheet.is-open .sheet-panel { transform: none; }
.sheet-handle { width: 42px; height: 4px; border-radius: 4px; background: var(--line); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 6px 22px; }
.sheet-head h2 { font-size: 20px; }
.sheet-body { overflow-y: auto; padding: 4px 22px 16px; }
.sheet-row { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; }
.sheet-row .name { font-size: 15.5px; }
.sheet-row .count { font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: block; }
.sheet-row .i { color: var(--ink-2); width: 18px; height: 18px; }
.sheet-row.plain { grid-template-columns: 1fr auto; padding: 14px 0; }

/* ---------------- Mobil alt menü ---------------- */
.tabbar { display: none; }

/* ---------------- Bildirim ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 95;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 11px 22px; border-radius: 999px; font-size: 13.5px;
  box-shadow: 0 12px 30px -12px rgba(74, 52, 48, .5); transition: opacity .3s var(--ease), transform .3s var(--ease);
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

/* ---------------- Yükleniyor ---------------- */
.skeleton { background: linear-gradient(90deg, var(--blush) 0%, #f9ece8 50%, var(--blush) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
.sk-card .skeleton:first-child { aspect-ratio: 4 / 5; }
.sk-card .skeleton + .skeleton { height: 14px; margin-top: 14px; width: 70%; }
.sk-card .skeleton + .skeleton + .skeleton { width: 40%; margin-top: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.page-enter { animation: fade .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ==========================================================================
   Duyarlı tasarım
   ========================================================================== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product { gap: 40px; }
  .main-nav { margin-left: 36px; gap: 26px; }
  .grid-row > :nth-child(n+4) { display: none; }
  .mega-inner { gap: 32px; }
  .mega-grid { gap: 14px; }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; --header-h: 60px; }
  body { font-size: 14.5px; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }

  .header-inner { justify-content: center; }
  .brand img { height: 28px; }
  .main-nav, .header-actions, .mega { display: none; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 252, 249, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: 10.5px; line-height: 1.5; color: var(--ink-2); -webkit-tap-highlight-color: transparent; white-space: nowrap;
  }
  .tab .i { width: 23px; height: 23px; }
  .tab.is-active { color: var(--rose-ink); }
  .tab.is-active span:not(.badge) { font-weight: 400; }
  .tab .badge { position: absolute; top: 7px; left: calc(50% + 4px); }

  .announce { font-size: 12px; height: 32px; }

  /* width: 100% — yükseklik sınırına takılınca tarayıcı oranı korumak için genişliği daraltmasın */
  .hero { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 78vh; }
  .hero-content { align-items: flex-start; padding-top: 34px; }
  .hero-content .container { justify-content: center !important; text-align: center; }
  .hero-copy p { margin-inline: auto; font-size: 14px; margin-bottom: 18px; max-width: 300px; }
  .hero-copy .hero-title { font-size: 1.6rem; margin-bottom: 10px; }
  .hero-copy .eyebrow { margin-bottom: 10px; }
  .hero-copy .btn { min-height: 44px; padding: 8px 22px; font-size: 14px; }
  .hero-controls { bottom: 16px; }
  .hero-controls .container { justify-content: center; }
  .hero-arrows { display: none; }

  .section { padding-block: 44px 0; }
  .section-head { margin-bottom: 18px; }
  .cat-strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-strip .arch-tile { flex: 0 0 31%; scroll-snap-align: start; }
  .cat-strip .name { font-size: 14px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .grid-row > :nth-child(n+4) { display: flex; }
  .card-title { font-size: 13.5px; }
  .card .price { font-size: 13.5px; }
  .quick-add {
    opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px;
    width: 38px; min-height: 38px; height: 38px; padding: 0; border-radius: 50%;
  }
  .quick-add span { display: none; }
  .card-badge { top: 8px; left: 8px; }

  .page-head { padding-block: 34px 22px; }
  .toolbar { margin-bottom: 22px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }

  .product { grid-template-columns: 1fr; gap: 22px; padding-top: 0; }
  .product-wrap { padding-inline: 0; }
  .gallery { display: block; position: relative; top: 0; margin-inline: calc(var(--gutter) * -1); }
  .gallery-main { display: none; }
  .thumbs { display: none; }
  .gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-track img { flex: 0 0 100%; aspect-ratio: 1 / 1; object-fit: cover; scroll-snap-align: center; background: var(--blush); }
  .gallery-dots { display: flex; justify-content: center; gap: 6px; position: absolute; left: 0; right: 0; bottom: 14px; }
  .gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .25; transition: opacity .2s; }
  .gallery-dots span.is-on { opacity: .8; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 28px; }
  .site-footer { margin-top: 64px; }

  .drawer-panel { width: 100%; }
  .toast { bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); }
}

@media (min-width: 861px) {
  .gallery-track { display: none; }
}

@media (max-width: 380px) {
  .tab { font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .announce-marquee { animation: none; }
}

/* ==========================================================================
   Sepeti onayla (ödeme), sipariş sonucu, siparişlerim
   ========================================================================== */
.text-link { display: block; margin: 12px auto 0; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

.page-head.compact { padding-block: 40px 26px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; padding-bottom: 8px; }
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 10px; margin-bottom: 18px; }
.co-card h2 { font-size: 17px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-card h2 .step {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--rose-ink);
  font-family: var(--caps); font-size: 12.5px; font-weight: 500; display: grid; place-items: center; flex: none;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full, .form-grid .field:has(textarea) { grid-column: 1 / -1; }
.field em { font-style: normal; color: var(--ink-2); opacity: .8; }
.field-hint { display: block; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
select.input {
  appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A3430' stroke-width='1.4'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
textarea.input { height: auto; min-height: 84px; padding: 12px 18px; line-height: 1.55; resize: vertical; }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163, 69, 58, .12); }
.co-hint { font-size: 12.5px; color: var(--ink-2); }
.co-hint a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.co-login { margin: 0 0 16px; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px; margin: 0 0 16px; }
.check input {
  appearance: none; width: 20px; height: 20px; margin: 2px 0 0; flex: none; cursor: pointer;
  border: 1px solid var(--rose); border-radius: 6px; background: var(--paper);
}
.check input:checked {
  background: var(--rose-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 14px;
  border-color: var(--rose-ink);
}
.check a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.seg { display: inline-flex; gap: 6px; margin-bottom: 16px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; background: var(--paper); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--rose-ink); outline-offset: 2px; }

.pay-option {
  display: flex; gap: 14px; padding: 16px 18px; margin-bottom: 18px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
.pay-option:has(input:checked) { border-color: var(--rose); background: #FDF5F3; }
.pay-option input { appearance: none; width: 18px; height: 18px; margin: 3px 0 0; flex: none; border: 1px solid var(--rose); border-radius: 50%; background: var(--paper); }
.pay-option input:checked { border: 5px solid var(--rose-ink); }
.pay-option strong { display: block; font-weight: 400; font-size: 15px; }
.pay-option small { display: block; color: var(--ink-2); font-size: 12.5px; line-height: 1.65; margin-top: 2px; }

.co-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.co-summary h2 { font-size: 17px; margin-bottom: 16px; }
.co-items { list-style: none; margin: 0 0 14px; padding: 6px 6px 0 0; display: grid; gap: 14px; max-height: 330px; overflow-y: auto; }
.co-items li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.co-items .thumb { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; background: var(--blush); }
.co-items .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.co-items .qty {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: #fff; font-family: var(--caps); font-size: 11px; display: grid; place-items: center;
}
.co-items .nm { line-height: 1.5; }
.co-items .nm a:hover { color: var(--rose-ink); }
.co-items small { display: block; color: var(--ink-2); font-size: 12px; }
.co-items .amt { white-space: nowrap; }
.co-rows { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: 13.5px; }
.co-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.co-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 15.5px; }
.co-total strong { font-weight: 400; font-size: 20px; }
.co-actions { margin-top: 20px; }
.co-actions .form-error { margin: 0 0 8px; min-height: 0; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.secure-note .i { width: 11px; height: 11px; color: var(--rose); }

.order-page { max-width: 820px; margin: 0 auto; padding-block: 48px 8px; }
.order-hero { text-align: center; margin-bottom: 30px; }
.order-hero .mark { width: 58px; height: 58px; border-radius: 50%; background: var(--blush); color: var(--rose-ink); display: grid; place-items: center; margin: 0 auto 16px; }
.order-hero .mark .i { width: 20px; height: 20px; }
.order-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.order-hero p { color: var(--ink-2); }
.order-code { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 6px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--caps); font-size: 13.5px; letter-spacing: .06em; }
.order-code strong { font-weight: 500; }
.pay-box { background: #FDF3F0; border: 1px solid var(--blush-2); border-radius: 20px; padding: 24px; margin-bottom: 22px; }
.pay-box h2 { font-size: 19px; margin-bottom: 6px; }
.pay-box > p { font-size: 14px; color: var(--ink-2); }
.pay-box > p strong { color: var(--ink); font-weight: 400; }
.bank { margin: 16px 0 0; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); }
.bank div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bank div:last-child { border-bottom: 0; }
.bank dt { color: var(--ink-2); font-size: 12.5px; }
.bank dd { margin: 0; font-family: var(--caps); font-size: 15px; letter-spacing: .02em; overflow-wrap: anywhere; }
.copy-btn { font-family: var(--caps); font-size: 11.5px; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); white-space: nowrap; transition: border-color .2s; }
.copy-btn:hover { border-color: var(--rose); }
.bank-note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.steps { list-style: none; margin: 0 0 22px; padding: 18px 12px 16px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.steps li { position: relative; text-align: center; font-size: 12.5px; color: var(--ink-2); padding: 26px 4px 0; line-height: 1.4; }
.steps li::before { content: ''; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--blush-2); background: var(--paper); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 1.5px; background: var(--blush-2); }
.steps li:first-child::after { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--rose-ink); border-color: var(--rose-ink); }
.steps li.done::after { background: var(--rose-ink); }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; font-size: 13.5px; }
.info-card h3 { font-family: var(--caps); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 10px; }
.info-card p { white-space: pre-line; line-height: 1.75; }
.muted { color: var(--ink-2); }
.items-card, .ship-card { margin-bottom: 18px; }
.items-card .co-items { max-height: none; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.save-link { text-align: center; margin-top: 22px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.order-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.terms { max-width: 760px; margin: 0 auto; padding-block: 48px 8px; }
.terms h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 22px; }
.terms-body { white-space: pre-line; font-size: 14px; line-height: 1.85; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }

.account-orders { margin-top: 26px; }
.account-orders h2 { font-size: 19px; margin-bottom: 12px; text-align: center; }
.my-orders { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.my-orders li + li { border-top: 1px solid var(--line); }
.my-orders a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 18px; align-items: center; transition: background .2s; }
.my-orders a:hover { background: var(--bg); }
.my-orders .mo-main { grid-row: span 2; }
.my-orders .mo-main strong { display: block; font-family: var(--caps); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.my-orders .mo-main small { font-size: 12px; color: var(--ink-2); }
.my-orders .mo-total { grid-column: 2; grid-row: 1; font-size: 14px; text-align: right; }
.my-orders .st { grid-column: 2; grid-row: 2; justify-self: end; }
.st { display: inline-block; padding: 2px 10px; border-radius: 999px; font-family: var(--caps); font-size: 11px; letter-spacing: .04em; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.st-awaiting_payment { background: #F8EEDC; color: #8A6122; }
.st-paid { background: var(--blush); color: var(--rose-ink); }
.st-shipped { background: #E6EEF3; color: #3E6479; }
.st-delivered { background: #E8F1E6; color: #4E7A52; }
.small-center { text-align: center; font-size: 13.5px; }

/* İndirim kodu */
.co-discount { margin: 2px 0 14px; }
.co-discount-form { display: flex; gap: 8px; }
.co-discount-form .input { height: 44px; padding: 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.co-discount-form .input::placeholder { text-transform: none; letter-spacing: 0; }
.co-discount-form .btn { min-height: 44px; padding: 6px 18px; font-size: 14px; flex: none; }
.co-discount-msg { font-size: 12.5px; color: var(--danger); margin-top: 6px; }
.co-discount-msg:empty { display: none; }
.co-discount-note {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: #FDF3F0; border: 1px dashed var(--blush-2); font-size: 13px; line-height: 1.55;
}
.co-discount-note .i { width: 18px; height: 18px; color: var(--rose-ink); }
.co-discount-note > span { flex: 1; }
.co-discount-note a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.co-discount-note strong { font-family: var(--caps); font-weight: 500; letter-spacing: .06em; }
.co-discount-note .text-link { margin: 0; }
.co-discount-row { color: var(--rose-ink); }

/* Kayıtlı adresler */
.co-addresses h2 { margin-bottom: 14px; }
.addr-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.addr-pick { position: relative; cursor: pointer; min-width: 0; }
.addr-pick input { position: absolute; opacity: 0; }
.addr-pick span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .2s, background .2s; }
.addr-pick strong { display: block; font-weight: 400; font-size: 15px; }
.addr-pick small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-pick input:checked + span { border-color: var(--rose-ink); background: #FDF5F3; box-shadow: inset 0 0 0 1px var(--rose-ink); }
.addr-pick input:focus-visible + span { outline: 2px solid var(--rose-ink); outline-offset: 2px; }
.addr-pick.new strong { color: var(--rose-ink); }
.co-save { padding-bottom: 14px; }
.co-save .check { margin-bottom: 12px; }
.co-save .field { margin-bottom: 6px; max-width: 340px; }
.co-save .co-hint:empty { display: none; }
.my-addresses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.my-addresses li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.ma-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-height: 26px; }
.ma-head strong { font-weight: 400; font-size: 16px; }
.my-addresses p { white-space: pre-line; font-size: 13px; line-height: 1.7; }
.ma-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.ma-actions button { font-size: 12.5px; color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.ma-actions button.danger { color: var(--danger); }
.ma-rename { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; }
.ma-rename .input { height: 40px; flex: 1; min-width: 140px; }
.ma-rename .btn { min-height: 40px; padding: 4px 16px; font-size: 13.5px; }
.ma-rename .text-link { margin: 0; }

/* ==========================================================================
   Değerlendirmeler
   ========================================================================== */
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; flex: none; }
.stars > span { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.stars-off svg { fill: var(--blush-2); }
.stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }
.stars-on svg { fill: #BD8474; flex: none; }
.stars.xs svg { width: 11px; height: 11px; }
.stars.xs > span { gap: 1px; }
.stars.sm svg { width: 14px; height: 14px; }
.stars.lg svg { width: 20px; height: 20px; }
.card-rating { display: flex; align-items: center; gap: 6px; font-family: var(--caps); font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; margin: -10px 0 20px; font-size: 13px; color: var(--ink-2); }
.rating-link:hover span { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }

.reviews { scroll-margin-top: calc(var(--header-h) + 16px); }
.rv-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.rv-avg { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rv-avg strong { font-size: 40px; font-weight: 400; line-height: 1; }
.rv-avg span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.rv-dist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.rv-dist li { display: grid; grid-template-columns: 12px 12px minmax(0, 1fr) 24px; gap: 8px; align-items: center; font-family: var(--caps); font-size: 12px; color: var(--ink-2); }
.rv-dist li > svg { width: 12px; height: 12px; fill: #BD8474; }
.rv-dist .bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.rv-dist .bar i { display: block; height: 100%; background: #BD8474; border-radius: 6px; }
.rv-dist small { text-align: right; }
.rv-empty { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.rv-main { display: grid; gap: 16px; }
.rv-list { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.rv { padding: 18px 0; }
.rv-list .rv + .rv { border-top: 1px solid var(--line); }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blush); color: var(--rose-ink); font-family: var(--caps); font-size: 15px; font-weight: 500;
}
.rv-avatar.sm { width: 32px; height: 32px; font-size: 13px; }
.rv-who { flex: 1; min-width: 0; }
.rv-who strong { display: block; font-weight: 400; font-size: 14.5px; font-family: var(--caps); letter-spacing: .04em; }
.rv-who small { font-size: 12px; color: var(--ink-2); }
.rv-verified { color: #4E7A52; }
.rv-body { font-size: 14px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.rv-reply { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; margin: 14px 0 0 20px; padding: 14px 16px; background: var(--bg); border-radius: 14px; border-left: 2px solid var(--blush-2); }
.rv-admin { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--blush); border: 1px solid var(--line); }
.rv-reply-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rv-reply-head strong { font-weight: 400; font-size: 14px; }
.rv-reply-head small { font-size: 11.5px; color: var(--ink-2); }
.rv-tag { font-family: var(--caps); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); background: var(--blush); padding: 1px 8px; border-radius: 999px; }
.rv-reply p { font-size: 13.5px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.rv-mine { background: var(--paper); border: 1px solid var(--blush-2); border-radius: 18px; padding: 14px 22px 4px; }
.rv-mine-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.rv-mine-head > span:first-child { font-family: var(--caps); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--rose-ink); }
.rv-mine-head .spacer { flex: 1; }
.rv-mine-head button { font-size: 12.5px; color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.rv-mine-head button.danger { color: var(--danger); }
.rv-hidden-note { font-size: 12px; color: var(--danger); }
.rv-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.rv-form h3 { font-size: 17px; margin-bottom: 12px; }
.rv-label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 16px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; line-height: 0; padding: 2px; border-radius: 6px; }
.star-input label svg { width: 30px; height: 30px; fill: var(--blush-2); transition: fill .15s, transform .15s; }
.star-input input:checked ~ label svg { fill: #BD8474; }
.star-input:hover label svg { fill: var(--blush-2); }
.star-input label:hover svg, .star-input label:hover ~ label svg { fill: #BD8474; }
.star-input label:hover svg { transform: scale(1.1); }
.star-input input:focus-visible + label { outline: 2px solid var(--rose-ink); outline-offset: 2px; }
.rv-form .co-hint { margin: -4px 0 8px; }
.rv-form-actions { display: flex; align-items: center; gap: 16px; }
.rv-form-actions .text-link { margin: 0; }

/* Footer üstü değerlendirme vitrini */
.reviews-strip { margin-top: 88px; padding-block: 56px 60px; background: linear-gradient(180deg, var(--bg) 0%, #F7EAE5 100%); border-top: 1px solid var(--line); }
.reviews-strip.is-off { display: none; }
.reviews-strip:not([hidden]):not(.is-off) + .site-footer { margin-top: 0; }
.rs-head { align-items: flex-end; }
.rs-head h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 6px; }
.rs-summary { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.rs-arrows { display: flex; gap: 8px; }
.rs-arrows button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s; }
.rs-arrows button:hover { border-color: var(--rose); }
.rs-arrows .i { width: 18px; height: 18px; }
.rs-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.rs-track::-webkit-scrollbar { display: none; }
.rs-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.rs-body { flex: 1; font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rs-replied { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); }
.rs-replied img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.rs-foot { display: flex; align-items: center; gap: 10px; }
.rs-foot strong { display: block; font-weight: 400; font-family: var(--caps); font-size: 13px; letter-spacing: .04em; }
.rs-foot small { font-size: 11px; color: #4E7A52; }
.rs-product { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.rs-product img { width: 34px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--blush); flex: none; }
.rs-product span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-product .i { width: 14px; height: 14px; }
.rs-product:hover span { color: var(--rose-ink); }

@media (max-width: 1080px) {
  .rs-track { grid-auto-columns: calc((100% - 36px) / 3); }
}

@media (max-width: 860px) {
  /* Sepet çekmecesi alttaki menünün üstünde açılır; buton artık menünün altında kalmaz. */
  .drawer { z-index: 80; }
  .drawer-panel { bottom: auto; height: 100%; height: 100dvh; }

  .page-head.compact { padding-block: 26px 18px; }
  .checkout { grid-template-columns: 1fr; gap: 0; }
  .co-card { padding: 20px 16px 6px; border-radius: 16px; margin-bottom: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; padding: 20px 16px; }
  .co-items { max-height: none; }
  .order-page, .terms { padding-top: 32px; }
  .order-grid { grid-template-columns: 1fr; gap: 14px; }
  .pay-box { padding: 20px 16px; }
  .bank div { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; padding: 12px 14px; }
  .bank dt { grid-column: 1; grid-row: 1; align-self: center; }
  .bank div > :nth-child(3) { grid-column: 2; grid-row: 1; }
  .bank dd { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; }
  .steps li { font-size: 10.5px; }
  .terms-body { padding: 20px 16px; }
  .addr-picks { grid-template-columns: 1fr 1fr; }
  .rv-layout { grid-template-columns: 1fr; gap: 16px; }
  .rv-summary { position: static; padding: 18px 16px; }
  .rv-list { padding: 2px 16px; }
  .rv-mine, .rv-form { padding-inline: 16px; }
  .rv-reply { margin-left: 0; padding: 12px; }
  .reviews-strip { margin-top: 64px; padding-block: 40px 44px; }
  .rs-arrows { display: none; }
  .rs-track { grid-auto-columns: 82%; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rs-card { padding: 18px 16px; }
}
