/* "babydoll" teması — el yapımı amigurumi oyuncaklar. klasik temadan türetildi; düzen aynıdır,
   görünüm sade ve sıcaktır: krem zemin, tek vurgu rengi (gül kurusu), başlıklarda yumuşak bir
   serif. Müşteriye göre uyarlarken ilk bakılacak yer aşağıdaki değişkenlerdir. Tek dosya, kütüphane yok. */

/* Yazı tipleri — Nunito ve Fraunces (SIL OFL), assets/fonts altında yerel durur. */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #b9604f;
  --accent-dark: #97493b;
  --accent-soft: #f7e6e0;
  --sage: #5f7f6a;
  --sage-soft: #e5eee7;

  --ink: #3b302b;
  --ink-2: #5c504a;
  --muted: #8b7f78;
  --line: #ece2d8;
  --line-strong: #d6c8bb;
  --soft: #f6efe7;
  --bg: #fffcf8;
  --paper: #fff;
  --ok: #4f7a5c;
  --ok-soft: #e5eee7;
  --error: #b3392c;
  --error-soft: #fbe9e6;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(80, 50, 35, .10);
  --wrap: 1200px;
  --gutter: 24px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* --- Temel ------------------------------------------------------------------- */

*, *::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: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }

.icon { flex: none; vertical-align: middle; }

.link { background: none; border: 0; padding: 0; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.page-title { margin: 4px 0 24px; font-family: var(--serif); font-size: 34px; line-height: 1.15; font-weight: 500; }
.page-title small { font-size: 16px; font-weight: 400; color: var(--muted); }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.panel > h2 { margin-bottom: 16px; font-size: 18px; font-weight: 700; }

/* --- Düğmeler ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border: 1px solid var(--accent); border-radius: 23px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled, .btn[disabled] { background: #d6d6db; border-color: #d6d6db; color: #fff; cursor: not-allowed; }
.btn--small { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--large { height: 54px; padding: 0 32px; border-radius: 27px; font-size: 16.5px; }
.btn--block { display: flex; width: 100%; }
.btn--grow { flex: 1; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--ghost { background: none; border-color: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--soft); border-color: transparent; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: var(--radius); background: none; color: var(--ink-2);
}
.icon-btn:hover { background: var(--soft); color: var(--ink); }

.badge {
  display: inline-block; padding: 5px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.badge--sale { background: var(--accent); color: #fff; }
.badge--out { background: var(--ink-2); color: #fff; }
.badge--label { background: var(--ink); color: #fff; }
.badge--low { background: var(--paper); color: var(--accent-dark); }
.badge--ready { background: var(--paper); color: var(--sage); }
.badge--made { background: var(--paper); color: var(--ink-2); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price b { font-size: 17px; font-weight: 800; }
.price s { font-size: 14px; color: var(--muted); }
.price--large b { font-size: 26px; }
.price--large s { font-size: 17px; }

.alert { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius); font-size: 15px; }
.alert--error { background: var(--error-soft); color: var(--error); }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--info { background: var(--soft); color: var(--ink-2); display: block; }
.demo-note { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); color: var(--ink-2); font-size: 15px; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; color: var(--ink-2); }
.empty > .icon { color: var(--line-strong); }
.empty b { font-size: 18px; color: var(--ink); }
.empty .btn { margin-top: 8px; }
.empty--page { padding: 80px 20px 100px; }
.empty--page h1 { font-size: 28px; }
.empty__code { font-size: 72px; font-weight: 800; line-height: 1; color: var(--line-strong); }

.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(59, 48, 43, .45); }

/* --- Üst şerit ve başlık -------------------------------------------------------- */

.topbar { background: var(--accent-soft); color: var(--ink-2); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar__notice { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; gap: 22px; white-space: nowrap; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--accent-dark); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 248, .97); border-bottom: 1px solid var(--line); }
.site-header__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; min-height: 84px; }
.site-header__menu { display: none; }

.logo { display: inline-grid; justify-items: center; flex: none; line-height: 1; color: var(--ink); text-align: center; }
.logo__name { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.01em; }
.logo__tagline { margin-top: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.site-header__main > .logo { grid-column: 2; grid-row: 1; }

.search { position: relative; display: flex; grid-column: 1; grid-row: 1; width: 100%; max-width: 340px; }
.search input {
  flex: 1; min-width: 0; height: 42px; padding: 0 44px 0 16px;
  border: 1px solid var(--line-strong); border-radius: 21px;
  background: var(--paper); font-size: 15px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--accent); }
.search button {
  position: absolute; right: 4px; top: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--ink-2);
}
.search button:hover { color: var(--accent-dark); }

.site-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 22px; grid-column: 3; grid-row: 1; }
.tool { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.tool:hover b, .tool:hover .icon { color: var(--accent-dark); }
.tool__icon { position: relative; display: inline-flex; margin-right: 6px; }
.tool__badge {
  position: absolute; top: -7px; right: -9px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center;
}
.tool__text { display: grid; line-height: 1.2; }
.tool__text small { font-size: 12.5px; color: var(--muted); }
.tool__text b { font-size: 14.5px; font-weight: 700; }

.site-header--bare { position: static; }
.site-header--bare .site-header__main { display: flex; justify-content: space-between; min-height: 72px; }
.site-header__secure { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: 15px; }

/* Kategori menüsü */
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav__head { display: none; }
.cat-nav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 34px; }
.cat-nav__list > li { position: relative; }
.cat-nav__list > li > a {
  display: flex; align-items: center; gap: 4px; padding: 12px 0;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s;
}
.cat-nav__list > li > a:hover, .cat-nav__list > li > a[aria-current] { color: var(--accent-dark); box-shadow: inset 0 -2px 0 var(--accent); }
.cat-nav__sale > a { color: var(--accent-dark) !important; }
.cat-nav__sub {
  position: absolute; left: -16px; top: 100%; z-index: 30; min-width: 220px; padding: 8px 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transition: opacity .12s;
}
.cat-nav__list > li:hover > .cat-nav__sub, .cat-nav__list > li:focus-within > .cat-nav__sub { visibility: visible; opacity: 1; }
.cat-nav__sub a { display: block; padding: 8px 16px; font-size: 15px; }
.cat-nav__sub a:hover { background: var(--soft); color: var(--accent-dark); }

/* --- Sayfa yolu ------------------------------------------------------------------ */

.crumbs { padding: 18px 0; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin: 0 10px; color: var(--line-strong); }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs [aria-current] { color: var(--ink-2); }

/* --- Ana sayfa -------------------------------------------------------------------- */

/* Karşılama: görsel kareyi kaplar (ortası boş çizilir), yazı ortaya basılır. */
.slider { position: relative; overflow: hidden; background: var(--soft); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; display: grid; place-items: center; flex: 0 0 100%; min-height: clamp(420px, 41.6vw, 600px); scroll-snap-align: start; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Yazının arkasındaki yarı saydam krem zemin: görselde figür yazının altına denk gelse de okunur. */
.slide__text { position: relative; display: grid; justify-items: center; gap: 16px; max-width: 580px; margin: 40px 24px 56px; padding: 36px 40px; border-radius: var(--radius-lg); background: rgba(255, 252, 248, .82); text-align: center; }
.slide__text h1, .slide__text h2 { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
.slide__lead { max-width: 30em; font-size: 17.5px; color: var(--ink-2); }
.slide__text .btn { margin-top: 6px; }

.slider__nav {
  position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%;
  background: rgba(255, 252, 248, .85); color: var(--ink);
}
.slider__nav:hover { background: var(--paper); }
.slider__nav--prev { left: 20px; }
.slider__nav--next { right: 20px; }
.slider__dots { position: absolute; left: 50%; bottom: 26px; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(59, 48, 43, .25); transition: width .2s, background-color .2s; }
.slider__dots button[aria-current] { width: 24px; border-radius: 4px; background: var(--accent); }

/* Kategori simgeleri: yuvarlak görsel ve ad. */
.cat-rounds { margin-top: 48px; }
.cat-rounds ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; }
.cat-rounds a { display: grid; justify-items: center; gap: 2px; width: 150px; text-align: center; }
.cat-rounds__media { display: block; width: 132px; height: 132px; margin-bottom: 12px; border-radius: 50%; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.cat-rounds__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-rounds a:hover .cat-rounds__media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.cat-rounds a:hover img { transform: scale(1.05); }
.cat-rounds b { font-size: 16px; font-weight: 700; }
.cat-rounds a:hover b { color: var(--accent-dark); }
.cat-rounds small { font-size: 13.5px; color: var(--muted); }

.section { margin-top: 72px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section__head h2 { font-family: var(--serif); font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.section__head a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.section__head a:hover { color: var(--accent-dark); }
.section__head--center { justify-content: center; text-align: center; }

/* Hikâye */
.story { margin-top: 80px; padding: 72px 0; background: var(--soft); }
.story__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.story__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.story__media img { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; }
.story__text { display: grid; gap: 16px; max-width: 480px; }
.story__text h2 { font-family: var(--serif); font-size: 38px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.story__text p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.story__text .btn { margin-top: 8px; }

/* Hazırlanış adımları */
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps__list li { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.steps__list b { font-size: 18px; font-weight: 700; }
.steps__list p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* İki büyük kutu: görsel zemin, yazı sol yarıda. */
.promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo { position: relative; display: flex; align-items: center; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.promo:hover img { transform: scale(1.03); }
.promo__text { position: relative; display: grid; justify-items: start; gap: 8px; max-width: 55%; padding: 32px; }
.promo__eyebrow { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.promo__text b { font-family: var(--serif); font-size: 30px; line-height: 1.12; font-weight: 500; }
.promo__body { font-size: 15px; color: var(--ink-2); }
.promo__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; }
a.promo:hover .promo__cta { color: var(--accent-dark); }

/* Güven şeridi */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--soft); }
.trust .icon { color: var(--accent); }
.trust span { display: grid; font-size: 14px; line-height: 1.4; color: var(--muted); }
.trust b { font-size: 15.5px; color: var(--ink); }
.trust a { color: var(--accent-dark); }
.trust a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Ürün ızgarası ve kart --------------------------------------------------------- */

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }

.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.card__media > a { display: block; aspect-ratio: 4 / 5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card.is-out .card__media img { opacity: .55; }
.card__badges { position: absolute; left: 12px; top: 12px; display: grid; justify-items: start; gap: 6px; pointer-events: none; }
.card__action { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.card:hover .card__action, .card:focus-within .card__action { opacity: 1; transform: none; }
.card__action--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.card__action--split .btn, .card__action--split form { width: 100%; min-width: 0; }
.card__action--split .btn { padding: 0 8px; }
.card__action .btn.is-busy { opacity: .7; pointer-events: none; }
.card__pick { display: grid; gap: 8px; padding: 10px; border-radius: var(--radius); background: rgba(255, 252, 248, .97); box-shadow: var(--shadow); }
.card__pick form { display: grid; gap: 6px; }
.card__pick-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; line-height: 1.2; }
.card__pick-head b { font-size: 12px; font-weight: 700; }
.card__pick-head span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.card__pick-values { display: flex; flex-wrap: wrap; gap: 4px; }
.card__pick-value { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .12s, color .12s; }
.card__pick-value:hover:not(:disabled), .card__pick-value:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.card__pick-value:disabled { color: var(--muted); background: var(--soft); text-decoration: line-through; cursor: not-allowed; }
.card__pick .btn { height: 36px; gap: 6px; font-size: 13.5px; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 14px 2px 0; }
.card__name { font-size: 16px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a:hover { color: var(--accent-dark); }
.card__meta { font-size: 13.5px; color: var(--muted); }
.card .price { margin-top: auto; padding-top: 6px; }

.dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.dots li { width: 13px; height: 13px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* --- Ürün listesi -------------------------------------------------------------------- */

.listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }

.filters__head { display: none; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:first-of-type { padding-top: 4px; }
.fgroup > h2, .fgroup > summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 15.5px; font-weight: 700; list-style: none; cursor: default; }
.fgroup > summary { cursor: pointer; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .icon { color: var(--muted); transition: transform .15s; }
.fgroup[open] > summary .icon { transform: rotate(180deg); }
.fgroup:not([open]) > summary { margin-bottom: 0; }

.fcats a { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; color: var(--ink-2); }
.fcats a:hover { color: var(--accent-dark); }
.fcats a[aria-current] { font-weight: 700; color: var(--accent-dark); }
.fcats span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.fcats .is-child a { padding-left: 14px; }

.fchecks { display: grid; gap: 2px; max-height: 250px; overflow-y: auto; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.check a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.check.has-error { color: var(--error); }
.check__swatch { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }

.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 14.5px; font-weight: 600; transition: border-color .12s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.is-out { cursor: not-allowed; }
.chip.is-out input { cursor: not-allowed; }
.chip.is-out span { border-color: var(--line); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) calc(50% - .5px), var(--line-strong) calc(50% + .5px), transparent calc(50% + .5px)), var(--soft); color: #a3a3ab; }

.frange { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.frange input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 14.5px; -moz-appearance: textfield; appearance: textfield; }
.frange input::-webkit-outer-spin-button, .frange input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.frange input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.frange__unit { font-size: 14px; white-space: nowrap; }
.frange__go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--ink-2); }
.frange__go:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

.filters__actions { display: grid; gap: 12px; justify-items: start; padding-top: 16px; }
.filters__actions .btn { display: none; }
html:not(.js) .filters__actions .btn { display: flex; }

.listing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.listing__head h1 { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 500; }
.listing__count { margin-top: 2px; font-size: 14px; color: var(--muted); }
.listing__tools { display: flex; align-items: center; gap: 10px; }
.listing__tools form { display: flex; gap: 8px; }
.listing__filter-btn { display: none; }
.listing__intro { margin: -4px 0 16px; max-width: 70ch; font-size: 15px; color: var(--ink-2); }

.select, .field select {
  height: 44px; padding: 0 38px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2374747c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.select:hover { border-color: var(--ink); }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.active-filters a:not(.link) { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; background: var(--soft); font-size: 14px; color: var(--ink-2); }
.active-filters a:not(.link):hover { background: var(--accent-soft); color: var(--accent-dark); }
.active-filters .link { margin-left: 4px; font-size: 14px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pager__num, .pager__step { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.pager__num.is-current { border-color: var(--accent); background: var(--accent); color: #fff; }
.pager__gap { min-width: 24px; text-align: center; color: var(--muted); }

/* --- Ürün sayfası ---------------------------------------------------------------------- */

.product { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
.gallery__thumbs { display: grid; gap: 10px; }
.gallery__thumbs[hidden] + .gallery__main { grid-column: 1 / -1; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery__thumbs button:hover { border-color: var(--line-strong); }
.gallery__thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.pinfo { display: grid; gap: 16px; }
.pinfo__cat { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pinfo__cat a:hover { color: var(--accent-dark); text-decoration: underline; }
.pinfo h1 { font-family: var(--serif); font-size: 38px; line-height: 1.12; font-weight: 500; letter-spacing: -.01em; }
.pinfo__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.pinfo__price b { font-size: 28px; line-height: 1.1; font-weight: 800; }
.pinfo__price s { font-size: 19px; color: var(--muted); }
.pinfo__tax { margin-top: -10px; font-size: 13.5px; color: var(--muted); }
.pinfo__lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.pinfo__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }

/* Ölçü, iplik, göz, yaş: dört küçük kutu. */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.highlights > div { display: grid; align-content: start; gap: 2px; padding: 12px 14px; background: var(--soft); }
.highlights dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.highlights dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

.ready { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.ready--ready { color: var(--sage); }
.ready--made { color: var(--ink-2); }

.ask { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); font-size: 14.5px; color: var(--ink-2); }
.ask .icon { color: var(--sage); }
.ask b { display: block; color: var(--ink); }
.ask:hover { border-color: var(--sage); }

.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--accent-dark); }
.stock--out { color: var(--muted); }

.buy { display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.opt legend { display: flex; align-items: baseline; gap: 6px; width: 100%; margin-bottom: 10px; font-size: 15px; color: var(--ink-2); }
.opt legend b { color: var(--ink); font-weight: 600; }
.opt legend .link { margin-left: auto; font-size: 14px; }
.opt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__chips .chip span { min-width: 52px; height: 44px; font-size: 15px; }
.opt__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch > span { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.swatch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 5px; }

.buy__row { display: flex; gap: 12px; }

.stepper { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--paper); }
.stepper button { width: 36px; height: 100%; padding: 0; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink-2); }
.stepper button:hover:not(:disabled) { color: var(--accent-dark); }
.stepper button:disabled { color: var(--line-strong); cursor: not-allowed; }
.stepper output, .stepper input { width: 34px; padding: 0; border: 0; background: none; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper--input { height: 54px; flex: none; border-radius: 27px; }
.stepper--input button { width: 42px; }
.stepper--input input { width: 40px; font-size: 16.5px; }

.perks { display: grid; gap: 10px; }
.perks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.perks .icon { margin-top: 1px; color: var(--sage); }
.perks b { display: block; color: var(--ink); font-weight: 600; }
.perks a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.inquiry { padding-top: 20px; }
.inquiry form { display: grid; gap: 14px; margin-top: 12px; }

.tabs { margin-top: 64px; }
.tabs__nav { display: none; gap: 32px; border-bottom: 1px solid var(--line); }
.js .tabs__nav { display: flex; }
.tabs__nav button { margin-bottom: -1px; padding: 14px 2px; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.tabs__panel { padding: 24px 0 0; max-width: 860px; }
.tabs__panel > h2 { margin-bottom: 12px; font-size: 20px; }
.js .tabs__panel > h2 { display: none; }

.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { padding: 11px 16px; text-align: left; vertical-align: top; }
.specs th { width: 34%; font-weight: 600; color: var(--ink-2); }
.specs tr { border-bottom: 1px solid var(--line); }
.specs tbody + tbody .specs__group th { padding-top: 22px; }
.specs .specs__group, .specs tr.specs__group:nth-child(odd) { background: none; }
.specs th:first-child, .specs td:first-child { padding-left: 0; }
.specs .specs__group { border-bottom: 0; }
.specs .specs__group th { width: auto; padding-left: 0; padding-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.specs tbody:has(.specs__group) tr:nth-child(odd) { background: none; }

.specs small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

.dialog { width: min(560px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); color: var(--ink); }
.dialog::backdrop { background: rgba(20, 20, 26, .5); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dialog__head h2 { font-size: 20px; }
.dialog .prose { font-size: 15.5px; }

/* Hızlı sepete ekleme penceresi: solda görsel, sağda seçenekler; dar ekranda alt alta. */
.dialog--qadd { position: relative; width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; }
.dialog--qadd__close { position: absolute; top: 10px; right: 10px; z-index: 1; }
.dialog--qadd__close .icon-btn { border-radius: 50%; background: var(--bg); }
.qadd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.qadd__media { display: block; background: var(--soft); }
.qadd__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.qadd__info { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 24px; }
.qadd__cat { color: var(--muted); font-size: 14px; }
.qadd__name { padding-right: 36px; font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.qadd__price b { font-size: 26px; }
.qadd__price s { font-size: 17px; }
.qadd .buy { margin-top: 6px; }
.qadd__more { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin-top: 4px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.qadd__more:hover { color: var(--accent-dark); }
@media (max-width: 640px) {
  .qadd { grid-template-columns: 1fr; }
  .qadd__media img { aspect-ratio: 16 / 11; }
  .qadd__info { padding: 20px 18px 18px; }
}

/* --- Sepet --------------------------------------------------------------------------------- */

.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart__lines { padding: 4px 24px; }

.line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px 40px; align-items: center; gap: 18px; padding: 18px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line__media { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.line__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.line__info h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.line__info h3 a:hover { color: var(--accent-dark); }
.line__variant { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.line__unit { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.line__total { text-align: right; font-size: 17px; font-weight: 700; white-space: nowrap; }
.line__remove .icon-btn:hover { background: var(--error-soft); color: var(--error); }

.lines--compact .line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'media info remove' 'media qty total'; gap: 8px 12px; padding: 14px 0; }
.lines--compact .line__media { grid-area: media; align-self: start; }
.lines--compact .line__info { grid-area: info; }
.lines--compact .line__info h3 { font-size: 15px; }
.lines--compact .line__qty { grid-area: qty; }
.lines--compact .line__total { grid-area: total; align-self: center; font-size: 15.5px; }
.lines--compact .line__remove { grid-area: remove; }
.lines--compact .line__remove .icon-btn { width: 32px; height: 32px; }
.lines--compact .stepper { height: 34px; }
.lines--compact .stepper button { width: 30px; }

.summary { position: sticky; top: 16px; display: grid; gap: 16px; }
.summary > h2 { margin-bottom: 0; }
.summary__back { text-align: center; font-size: 14.5px; }

.totals { display: grid; gap: 10px; font-size: 15.5px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--ink-2); }
.totals dd { font-weight: 600; }
.totals .free { color: var(--ok); }
.totals__grand { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 19px; }
.totals__grand dt { color: var(--ink); font-weight: 700; }
.totals__grand dd { font-weight: 700; }

.ship-note { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); font-size: 14.5px; color: var(--ink-2); }
.ship-note p { display: flex; align-items: center; gap: 8px; }
.ship-note .icon { color: var(--accent); }
.ship-note__bar { display: block; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-note__bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.ship-note.is-free { background: var(--ok-soft); color: var(--ok); }
.ship-note.is-free .icon { color: var(--ok); }
.ship-note.is-free .ship-note__bar span { background: var(--ok); }

/* Yan çekmeceler: sepet (sağdan), dar ekranda menü ve filtre (soldan) */
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 50; display: flex; flex-direction: column;
  width: min(420px, 100vw); background: var(--bg); box-shadow: var(--shadow);
  transform: translateX(100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 19px; font-weight: 700; }
.drawer__body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.drawer__body .lines { flex: 1; padding: 0 20px; }
.drawer__foot { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.drawer__subtotal { display: flex; justify-content: space-between; font-size: 17px; }
.drawer__subtotal b { font-weight: 700; }
body.is-locked { overflow: hidden; }

/* --- Formlar ve ödeme ------------------------------------------------------------------------ */

.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field__optional { font-weight: 400; font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); background-color: var(--bg); font-size: 15.5px;
}
.field input { height: 46px; padding: 0 14px; }
.field select { height: 46px; }
.field textarea { padding: 11px 14px; resize: vertical; min-height: 80px; line-height: 1.45; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field__error { font-size: 13.5px; color: var(--error); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-hint { font-size: 14px; color: var(--muted); }

.checkout { padding-top: 24px; }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.checkout__form { display: grid; gap: 16px; }
.step { display: grid; gap: 14px; }
.step > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.step > h2 span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14.5px; }
.invoice summary { font-size: 15px; font-weight: 600; color: var(--accent-dark); cursor: pointer; }
.invoice[open] { display: grid; gap: 14px; }

.choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.choice b { display: block; color: var(--ink); font-weight: 600; }
.choice--static { justify-content: space-between; cursor: default; }
.choice__price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.checkout__confirm { display: grid; gap: 12px; padding: 4px 0 8px; }

.mini-lines { display: grid; gap: 14px; }
.mini-lines > li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.mini-lines > li > img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); }
.mini-lines > li > span > b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mini-lines__price { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
/* Sipariş satırının altındaki teslimat kutusu: dijital kodlar, teslimat notu, seri numarası */
.delivery { grid-column: 1 / -1; display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); font-size: 14.5px; color: var(--ink-2); }
.delivery__title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.delivery__codes { display: grid; gap: 6px; }
.delivery__codes code { display: block; padding: 9px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg); font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.delivery__note { line-height: 1.55; overflow-wrap: anywhere; }
.delivery__note a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.delivery__wait { display: flex; align-items: center; gap: 8px; }
.delivery__serial b { color: var(--ink); font-weight: 600; }

.track-box { display: grid; gap: 8px; justify-items: center; margin-bottom: 20px; text-align: center; }
.track-box > h2 { margin-bottom: 0; }
.track-box p { max-width: 60ch; color: var(--ink-2); }
.order-head--page { margin-top: 0; }

.summary .mini-lines { padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.order-done { max-width: 920px; padding-top: 40px; }
.order-done__head { display: grid; justify-items: center; gap: 8px; margin-bottom: 28px; text-align: center; }
.order-done__head h1 { font-size: 30px; font-weight: 700; }
.order-done__mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.order-done__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.order-done__grid .mini-lines { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-done__grid address + h2 { margin-top: 20px; }
.order-done__back { margin-top: 28px; text-align: center; }
.bank-box { background: var(--soft); }

/* Satış sonrası: fatura ve iade bağlantıları, iade talepleri, iade formu */
.order-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.order-links small { font-weight: 400; color: var(--muted); }
.account__body .order-links { margin-bottom: 0; }
.returns { margin-top: 20px; }
.account__body .returns { margin-top: 0; }
.returns__list > li { display: grid; gap: 4px; padding: 14px 0; font-size: 15px; color: var(--ink-2); }
.returns__list > li:first-child { padding-top: 0; }
.returns__list > li:last-child { padding-bottom: 0; }
.returns__list > li + li { border-top: 1px solid var(--line); }
.returns__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.returns__head b { color: var(--ink); }
.returns__head small { font-size: 13.5px; color: var(--muted); }
.returns__list b { color: var(--ink); }
.return-form { display: grid; gap: 20px; margin-top: 20px; }
.return-lines { margin-bottom: 0; }
.return-lines + .form-hint { margin-top: 14px; }
.return-form__reason { display: grid; gap: 14px; }
.return-form__reason > h2 { margin-bottom: 2px; }
.return-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.facts { display: grid; gap: 8px; font-size: 15.5px; }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; overflow-wrap: anywhere; }
.facts--boxed { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.facts--boxed > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
.facts--boxed > div + div { border-left: 1px solid var(--line); }

/* --- Giriş / üyelik --------------------------------------------------------------------------- */

.auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 8px auto 0; align-items: start; }
.auth h1 { margin-bottom: 18px; font-size: 26px; font-weight: 700; }
.auth form { display: grid; gap: 14px; }
.auth--single { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
.auth__aside { display: grid; gap: 14px; background: var(--soft); border-color: transparent; }
.auth__aside h2 { margin-bottom: 0; }
.ticks { display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--ok); }

/* --- Hesabım ------------------------------------------------------------------------------------ */

.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.account__nav { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.account__who { display: grid; padding-bottom: 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account__who b { font-size: 16.5px; }
.account__who span { font-size: 14px; color: var(--muted); }
.account__nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: var(--radius); font-size: 15.5px; color: var(--ink-2); }
.account__nav a .icon { color: var(--muted); }
.account__nav a:hover { background: var(--soft); color: var(--ink); }
.account__nav a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.account__nav a[aria-current] .icon { color: var(--accent); }
.account__body { display: grid; gap: 20px; min-width: 0; }
.account__body > .page-title { margin: 0; }
.account__body > .alert { margin-bottom: 0; }
.account__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.panel__head h2 { font-size: 18px; font-weight: 700; }
.panel__head .link { font-size: 14.5px; }
.panel address { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.panel address b { color: var(--ink); }

.orders li + li { border-top: 1px solid var(--line); }
.orders__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 110px 18px; align-items: center; gap: 16px; padding: 14px 0; }
.orders li:first-child .orders__row { padding-top: 0; }
.orders li:last-child .orders__row { padding-bottom: 0; }
.orders__media { display: block; width: 52px; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--soft); }
.orders__media img { width: 100%; height: 100%; object-fit: cover; }
.orders__main { display: grid; }
.orders__main b { font-size: 16px; }
.orders__main small { font-size: 13.5px; color: var(--muted); }
.orders__total { text-align: right; font-weight: 700; white-space: nowrap; }
.orders__row > .icon { color: var(--line-strong); }
.orders__row:hover b { color: var(--accent-dark); }
.orders__row:hover > .icon { color: var(--accent); }

.status { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--soft); color: var(--ink-2); }
.status--wait { background: #fff4d6; color: #8a5a00; }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--done { background: var(--ink); color: #fff; }
.status--off { background: var(--soft); color: var(--muted); }

.order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.order-head .page-title { margin: 0; }
.order-head__date { margin-top: -14px; }
.account__body .order-done__grid { margin-top: 0; }

.address-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.address-cards li { display: grid; gap: 12px; align-content: start; }
.address-cards__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16.5px; }
.address-cards__actions { display: flex; gap: 8px; padding-top: 4px; }

.form-stack { display: grid; gap: 14px; }
.form-stack > h2 { margin-bottom: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.field input:disabled { background: var(--soft); color: var(--muted); }
.auth__help { margin-top: 16px; }

.address-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.address-pick a { display: grid; height: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.address-pick a b { font-size: 15px; color: var(--ink); }
.address-pick a:hover { border-color: var(--ink); }
.address-pick a[aria-current] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

/* --- Bilgi sayfaları --------------------------------------------------------------------------- */

.content { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.content__nav { padding: 22px; border-radius: var(--radius-lg); background: var(--soft); }
.content__nav h2 { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.content__nav ul + h2 { margin-top: 20px; }
.content__nav a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.content__nav a:hover { color: var(--accent-dark); }
.content__nav a[aria-current] { font-weight: 700; color: var(--accent-dark); }
.content__body { max-width: 760px; }
.content__body h1 { margin-bottom: 20px; font-family: var(--serif); font-size: 38px; line-height: 1.15; font-weight: 500; }

.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); }
.prose h2 { margin: 36px 0 10px; font-family: var(--serif); font-size: 26px; line-height: 1.25; font-weight: 500; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { margin: 12px 0; padding-left: 22px; list-style: decimal; }
.prose ol li + li { margin-top: 6px; }
.prose ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.prose ul li + li { margin-top: 6px; }
.prose h3 { margin: 22px 0 6px; font-size: 17.5px; font-weight: 700; }
.prose h4 { margin: 18px 0 4px; font-size: 16.5px; font-weight: 700; }
.prose blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--line-strong); }
.prose hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.prose > :first-child { margin-top: 0; }
.prose table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 15.5px; }
.prose table caption { margin-bottom: 8px; text-align: left; font-size: 14px; color: var(--muted); }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--soft); font-weight: 600; color: var(--ink); }
.prose details { border-bottom: 1px solid var(--line); }
.prose summary { padding: 14px 28px 14px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.prose summary:hover { color: var(--accent-dark); }
.prose details p { padding: 0 0 16px; margin: 0; }
.prose .lead, .lead { font-size: 18px; color: var(--ink-2); }
.prose .facts { margin-top: 12px; }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.contact-cards li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 15.5px; color: var(--ink-2); }
.contact-cards .icon { color: var(--accent); }
.contact-cards span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.contact-cards b { font-size: 14px; color: var(--muted); font-weight: 600; }

/* --- Alt bilgi -------------------------------------------------------------------------------- */

main { padding-bottom: 88px; }

.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 60px; padding-bottom: 48px; }
.site-footer .logo { justify-items: start; text-align: left; }
.site-footer__about p { margin: 16px 0 20px; max-width: 38ch; line-height: 1.65; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { margin-top: 2px; color: var(--accent); }
.site-footer h2 { margin-bottom: 16px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.site-footer nav li + li { margin-top: 10px; }
.site-footer a:hover { color: var(--accent-dark); }
.site-footer__base { border-top: 1px solid var(--line-strong); font-size: 13.5px; color: var(--muted); }
.site-footer__base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.site-footer--bare { background: var(--bg); border-top: 1px solid var(--line); padding: 20px 0; font-size: 13.5px; color: var(--muted); }
.site-footer--bare p { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer--bare a:hover { color: var(--ink); }

/* --- Logo görseli, kupon kutusu, yazı içi görsel ------------------------------------------------ */

.logo__img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }

.coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.coupon input { height: 44px; min-width: 0; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 15px; text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; }
.coupon input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.coupon .field__error { grid-column: 1 / -1; }
.coupon--applied { align-items: center; padding: 10px 12px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); font-size: 14.5px; }
.coupon--applied p { display: flex; align-items: center; gap: 8px; }
.totals small { margin-left: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.totals__discount dd { color: var(--ok); }
.choice .choice__price { margin-left: auto; }
.prose img { margin: 14px 0; border-radius: var(--radius); }

/* --- Dar ekranlar ------------------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { gap: 36px; }
  .story__inner { gap: 48px; }
}

@media (max-width: 980px) {
  .topbar__links li:not(:last-child) { display: none; }

  .site-header { position: relative; }
  .site-header__main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .site-header__menu { display: inline-flex; grid-column: 1; grid-row: 1; margin-left: -8px; }
  .logo__name { font-size: 25px; }
  .logo__tagline { font-size: 10.5px; }
  .site-header__tools { gap: 18px; }
  .tool__text { display: none; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .site-header--bare .site-header__main { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; min-height: 60px; }

  /* Kategori menüsü soldan açılan çekmeceye dönüşür. */
  .cat-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: min(320px, 86vw);
    border-top: 0; background: var(--bg); box-shadow: var(--shadow); overflow-y: auto;
    transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s;
  }
  .cat-nav.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
  .cat-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .cat-nav .wrap { padding: 0; }
  .cat-nav__list { display: block; }
  .cat-nav__list > li > a { justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .cat-nav__list > li > a .icon { display: none; }
  .cat-nav__sub { position: static; visibility: visible; opacity: 1; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--soft); }
  .cat-nav__sub a { padding: 11px 20px 11px 32px; border-bottom: 1px solid var(--line); }

  .cat-nav__list { justify-content: flex-start; }
  .cat-nav__list > li > a { color: var(--ink); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .story { padding: 56px 0; }
  .story__inner { grid-template-columns: 1fr; gap: 32px; }
  .story__media { max-width: 520px; }
  .story__media img { aspect-ratio: 4 / 3; }
  .story__text { max-width: none; }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .promos { grid-template-columns: 1fr; }

  /* Filtreler soldan açılan çekmeceye dönüşür. */
  .listing { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; display: flex; flex-direction: column;
    width: min(340px, 88vw); background: var(--bg); box-shadow: var(--shadow);
    transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .filters form { flex: 1; overflow-y: auto; padding: 8px 20px 0; }
  .filters__actions { position: sticky; bottom: 0; margin: 0 -20px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg); justify-items: stretch; text-align: center; }
  .filters__actions .btn { display: flex; }
  .listing__filter-btn { display: inline-flex; }

  .product { grid-template-columns: 1fr; gap: 24px; }
  .gallery { max-width: 620px; }
  .cart, .checkout__grid, .order-done__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .content { grid-template-columns: 1fr; gap: 24px; }
  .account { grid-template-columns: 1fr; gap: 20px; }
  .content__nav { order: 2; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 14px; }
  .topbar__inner { min-height: 32px; }
  .topbar__notice { font-size: 12.5px; }
  .topbar__links { display: none; }

  .slide { min-height: 440px; }
  .slide__text { margin: 32px 14px 52px; padding: 28px 20px; gap: 12px; }
  .slide__lead { font-size: 16px; }
  .slider__nav { display: none; }
  .cat-rounds { margin-top: 36px; }
  .cat-rounds ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cat-rounds a { width: auto; }
  .cat-rounds__media { width: 72px; height: 72px; margin-bottom: 8px; }
  .cat-rounds b { font-size: 13.5px; line-height: 1.25; }
  .cat-rounds small { font-size: 12px; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { min-height: 240px; }
  .promo__text { max-width: 62%; padding: 24px; }
  .promo__text b { font-size: 25px; }
  .story__text h2 { font-size: 30px; }
  .steps__list { grid-template-columns: 1fr; gap: 20px; }
  .trust { grid-template-columns: 1fr; gap: 10px; }
  .trust li { padding: 14px 16px; gap: 12px; }
  .trust .icon { width: 24px; height: 24px; }
  .trust b { font-size: 14.5px; }
  .trust span { font-size: 13px; }

  .section { margin-top: 52px; }
  .section__head { margin-bottom: 18px; }
  .section__head h2 { font-size: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card__body { padding: 10px 0 0; }
  .card__name { font-size: 15px; }
  .card__meta { font-size: 12.5px; }
  .price b { font-size: 16.5px; }
  .badge { font-size: 11.5px; padding: 3px 6px; }

  .listing__head { flex-direction: column; align-items: stretch; }
  .listing__head h1 { font-size: 28px; }
  .listing__tools > * { flex: 1; }
  .listing__tools form, .listing__tools .select { width: 100%; }

  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 62px; justify-content: start; overflow-x: auto; }
  .pinfo h1 { font-size: 30px; }
  .pinfo__price b { font-size: 26px; }
  .tabs__nav { gap: 22px; overflow-x: auto; }
  .tabs__nav button { font-size: 15.5px; }
  .specs th { width: 42%; }
  .specs th, .specs td { padding: 10px 12px; }

  .panel { padding: 18px 16px; }
  .cart__lines { padding: 2px 16px; }
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: 'media info remove' 'media qty total'; gap: 8px 12px; }
  .line__media { grid-area: media; align-self: start; }
  .line__info { grid-area: info; }
  .line__qty { grid-area: qty; }
  .line__total { grid-area: total; align-self: center; }
  .line__remove { grid-area: remove; }
  .field-row, .field-row--three, .auth, .contact-cards, .account__cols, .address-cards { grid-template-columns: 1fr; }
  .orders__row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 12px; }
  .orders__row .status { grid-column: 2; justify-self: start; }
  .orders__total { grid-column: 3; grid-row: 1; }
  .orders__row > .icon { display: none; }
  .facts > div { grid-template-columns: 110px minmax(0, 1fr); }
  .facts--boxed > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .page-title, .content__body h1 { font-size: 30px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 32px; }
}

/* Dokunmatik ekranda üzerine gelme olmaz; karttaki düğme hiç gösterilmez, kart ürün sayfasına götürür. */
@media (hover: none) {
  .card__action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
