/* =====================================================================
   ESS BUTİK — Editöryel / Asimetrik tema
   Mobil öncelikli. Krem zemin + derin kırmızı, serif başlıklar.
   ===================================================================== */

:root {
  --bg:        #FBF8F3;
  --bg-2:      #F3ECE0;
  --ink:       #1A1513;
  --ink-soft:  #5B524A;
  --muted:     #6E6357;
  --line:      #E7DFD2;
  --line-soft: #EFE9DE;
  --red:       #C8102E;
  --red-deep:  #960C22;
  --red-tint:  #F6DCE0;
  --card:      #FFFFFF;
  --gold:      #B08A52;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow:    0 22px 48px -30px rgba(40, 18, 12, .45);
  --shadow-sm: 0 10px 24px -18px rgba(40, 18, 12, .4);

  --wrap: 1180px;
  --gut: 20px;
}

* { 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(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 72px; /* mobil alt menü payı */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.kicker {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block; }

.ink-soft { color: var(--ink-soft); }

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: saturate(125%) blur(14px);
  backdrop-filter: saturate(125%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.brand__sub { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; letter-spacing: 0; line-height: 1; color: var(--ink-soft); text-transform: none; }

.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: transparent; border: none; color: var(--ink); border-radius: 50%;
}
.icon-btn:active { background: var(--bg-2); }
.icon-btn svg { width: 21px; height: 21px; }

/* off-canvas drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(26, 21, 19, .42);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 60;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--bg); z-index: 70; transform: translateX(100%);
  transition: transform .36s cubic-bezier(.22,.61,.36,1); padding: 22px;
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.5);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer__group-label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }
.drawer a.drawer__link {
  display: flex; align-items: baseline; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: 22px;
}
.drawer a.drawer__link .idx { font-family: var(--sans); font-size: 10px; color: var(--red); letter-spacing: .1em; min-width: 26px; }
.drawer__cta {
  margin-top: auto; padding-top: 24px;
}

/* ---------------------------------------------------------------- HERO */
.hero { position: relative; padding-top: 26px; padding-bottom: 8px; }
.hero__kicker { margin-bottom: 20px; }
.hero__title {
  font-size: clamp(44px, 14vw, 92px);
  line-height: .92; letter-spacing: -.02em;
}
.hero__title .accent { color: var(--red); font-style: italic; }
.hero__sub { margin-top: 22px; max-width: 30ch; color: var(--ink-soft); font-size: 15.5px; }
.hero__row { display: flex; gap: 14px; align-items: center; margin-top: 26px; flex-wrap: wrap; }

.hero__visual {
  margin-top: 30px; position: relative;
}
.hero__visual .frame {
  aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #d9cbbb, #9c8a7b);
  box-shadow: var(--shadow);
}
.hero__visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .tag {
  position: absolute; left: -10px; bottom: 28px; background: var(--red); color: #fff;
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 16px; box-shadow: var(--shadow-sm);
}
.hero__visual .num {
  position: absolute; top: -16px; right: 6px; font-family: var(--serif); font-style: italic;
  font-size: 64px; color: var(--red); opacity: .9; line-height: 1;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 14px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  border-radius: 2px; transition: .2s;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

.arrow-link {
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; color: var(--red);
}
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- SECTION */
.section { padding-block: 46px; }
.section--tight { padding-block: 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head__idx { font-family: var(--sans); font-size: 11px; color: var(--red); letter-spacing: .2em; font-weight: 600; }
.section-head h2 { font-size: clamp(30px, 8vw, 46px); margin-top: 6px; }
.section-head__line { flex: 1; height: 1px; background: var(--line); margin-bottom: 12px; min-width: 24px; }

/* divider with vertical word */
.rule-red { height: 2px; background: var(--red); width: 48px; margin: 0 0 18px; }

/* ---------------------------------------------------------------- CATEGORY STRIP */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; padding: 11px 18px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 13px; letter-spacing: .02em; background: var(--card); white-space: nowrap;
  transition: .2s; color: var(--ink-soft);
  min-height: 44px; display: inline-flex; align-items: center;
}
.cat-chip.active, .cat-chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat-chip.active.red { background: var(--red); border-color: var(--red); }

/* görsel kategori kartları (anasayfa) */
.cat-cards {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none;
}
.cat-cards::-webkit-scrollbar { display: none; }
.cat-card {
  flex: 0 0 43%; scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4;
  border-radius: 2px; overflow: hidden; background: var(--bg-2);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,10,.78), rgba(20,12,10,.04) 58%); }
.cat-card__body { position: absolute; left: 14px; right: 14px; bottom: 13px; color: #fff; }
.cat-card__name { font-family: var(--serif); font-size: 21px; line-height: 1.04; display: block; }
.cat-card__count { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }

/* ---------------------------------------------------------------- PRODUCT GRID (asimetrik) */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.product-grid.staggered > .product-card:nth-child(4n+2) { margin-top: 34px; }
.product-grid.staggered > .product-card:nth-child(4n+3) { margin-top: -10px; }

.product-card { position: relative; }
.product-card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2);
  border-radius: 2px;
}
.product-card--tall .product-card__media { aspect-ratio: 3 / 5; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badges { position: absolute; top: 10px; right: 9px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 8px; border-radius: 2px;
}
.badge--red { background: var(--red); color: #fff; }
.badge--ink { background: var(--ink); color: var(--bg); }
.badge--out { background: rgba(26,21,19,.7); color: #fff; }
.product-card__play {
  position: absolute; bottom: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
}
.product-card__play svg { width: 12px; height: 12px; }

.product-card__info { padding-top: 11px; }
.product-card__cat { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.product-card__name { font-family: var(--serif); font-size: 18px; margin-top: 3px; line-height: 1.12; }
.product-card__price { margin-top: 6px; display: flex; align-items: baseline; gap: 9px; font-size: 14px; }
.price-now { font-weight: 600; }
.price-now.sale { color: var(--red); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }

/* feature card (tam genişlik) */
.feature-card {
  grid-column: 1 / -1; position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 2px;
  background: var(--ink); color: #fff; display: flex; align-items: flex-end;
}
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.feature-card__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,10,.75), transparent 62%); }
.feature-card__body { position: relative; padding: 22px; width: 100%; }
.feature-card__body .kicker { color: #fff; }
.feature-card__body .kicker::before { background: #fff; }
.feature-card__body h3 { font-size: clamp(28px, 9vw, 42px); margin-top: 10px; }

/* ---------------------------------------------------------------- EDITORIAL BANNER */
.editorial {
  background: var(--ink); color: var(--bg); border-radius: 2px; padding: 40px 24px; position: relative; overflow: hidden;
}
.editorial::before {
  content: "ESS"; position: absolute; right: -8px; bottom: -34px; font-family: var(--serif);
  font-size: 170px; color: rgba(255,255,255,.05); font-style: italic; line-height: 1;
}
.editorial .kicker { color: var(--red); }
.editorial h2 { font-size: clamp(28px, 8vw, 44px); margin: 16px 0; max-width: 16ch; }
.editorial p { color: rgba(251,248,243,.7); max-width: 42ch; }

/* ---------------------------------------------------------------- PRODUCT DETAIL */
.pd-gallery { position: relative; margin-inline: calc(var(--gut) * -1); }
.pd-gallery__main {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); cursor: zoom-in;
}
.pd-gallery__main img, .pd-gallery__main video { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__count { position: absolute; bottom: 12px; right: 14px; background: rgba(26,21,19,.62); color:#fff; font-size: 11px; letter-spacing: .12em; padding: 5px 10px; border-radius: 30px; }
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gut) 2px; scrollbar-width: none; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb { flex: 0 0 64px; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); opacity: .6; transition: .2s; position: relative; }
.pd-thumb.active { opacity: 1; border-color: var(--red); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb--video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 11px; background: rgba(0,0,0,.3); }

.pd-info { padding-top: 22px; }
.pd-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.pd-title { font-size: clamp(30px, 9vw, 44px); margin: 10px 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price .now { font-family: var(--serif); font-size: 30px; }
.pd-price .now.sale { color: var(--red); }
.pd-price .was { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.pd-desc { color: var(--ink-soft); white-space: pre-line; line-height: 1.7; }

.pd-attrs { margin: 24px 0; border-top: 1px solid var(--line); }
.pd-attr { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.pd-attr dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pd-attr dd { margin: 0; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chip-sm { border: 1px solid var(--line); padding: 3px 11px; border-radius: 20px; font-size: 12.5px; }

.pd-cta { position: sticky; bottom: 72px; background: var(--bg); padding: 14px 0 4px; }
.pd-stock { font-size: 12px; letter-spacing: .04em; }
.pd-stock.in { color: #2f7a3f; }
.pd-stock.out { color: var(--red); }

/* ---------------------------------------------------------------- LISTING HEADER */
.list-head { padding-top: 26px; }
.list-head h1 { font-size: clamp(36px, 11vw, 60px); }
.list-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }
.list-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sort-select {
  font-family: var(--sans); font-size: 12px; letter-spacing: .04em; font-weight: 500;
  color: var(--ink); background-color: var(--card);
  border: 1px solid var(--line); border-radius: 40px;
  padding: 11px 38px 11px 18px; min-height: 44px; cursor: pointer; transition: .2s;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px;
}
.sort-select:hover { border-color: var(--ink); }
.sort-select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }

.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
}
.empty h3 { font-size: 26px; color: var(--ink); margin-bottom: 8px; }

/* ---------------------------------------------------------------- PAGE (about/contact) */
.page-hero { padding-top: 30px; }
.page-hero h1 { font-size: clamp(40px, 13vw, 76px); }
.prose { color: var(--ink-soft); line-height: 1.8; max-width: 60ch; white-space: pre-line; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 22px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex: 0 0 auto; }
.contact-row .ic svg { width: 19px; height: 19px; }
.contact-row b { display: block; font-weight: 600; }
.contact-row small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------------- SKIP LINK */
.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 200;
  background: var(--red); color: #fff; padding: 11px 18px; border-radius: 4px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- PAGER */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; }
.pager__btn {
  font-family: var(--sans); font-size: 13px; letter-spacing: .04em; font-weight: 600;
  padding: 12px 20px; border: 1px solid var(--ink); border-radius: 2px; min-height: 44px;
  display: inline-flex; align-items: center; transition: .2s; color: var(--ink);
}
.pager__btn:hover { background: var(--ink); color: var(--bg); }
.pager__btn.is-disabled { opacity: .35; border-color: var(--line); color: var(--muted); pointer-events: none; }
.pager__info { font-size: 13px; letter-spacing: .1em; color: var(--ink-soft); }

/* ---------------------------------------------------------------- BREADCRUMB */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb li { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb li[aria-current] { color: var(--muted); max-width: 55vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- LIGHTBOX (yakınlaştırma) */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(18,12,12,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-img { max-width: 94vw; max-height: 88vh; object-fit: contain; transition: transform .25s ease; cursor: zoom-in; touch-action: none; user-select: none; }
.lb-img.zoomed { transform: scale(2.6); cursor: zoom-out; }
.lb-close, .lb-nav {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.65); }
.lb-close { top: 14px; right: 14px; }
.lb-nav { top: 50%; transform: translateY(-50%); display: none; }
.lightbox.lb-multi .lb-nav { display: grid; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 12px; letter-spacing: .06em; background: rgba(0,0,0,.35); padding: 7px 14px; border-radius: 30px; }
.lightbox.is-zoomed .lb-hint, .lightbox.is-zoomed .lb-nav { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- FOOTER */
.site-footer { background: var(--ink); color: var(--bg); margin-top: 40px; padding: 44px 0 26px; }
.site-footer .brand__name { color: var(--bg); }
.site-footer .brand__sub { color: rgba(251,248,243,.62); }
.site-footer a { color: rgba(251,248,243,.72); }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.7); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- MOBILE TAB BAR */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; height: 64px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: flex; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.active { color: var(--red); }

/* ---------------------------------------------------------------- FLASH */
.flash { padding: 12px 16px; border-radius: 2px; margin: 14px 0; font-size: 14px; }
.flash--ok { background: #e7f3ea; color: #1f6b34; border: 1px solid #bcdcc5; }
.flash--err { background: var(--red-tint); color: var(--red-deep); border: 1px solid #ecc3c9; }

/* ---------------------------------------------------------------- DESKTOP */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  :root { --gut: 40px; }

  .nav-desktop { display: flex; align-items: center; gap: 30px; }
  .nav-desktop a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: 4px 0; }
  .nav-desktop a:hover, .nav-desktop a.active { color: var(--ink); }
  .nav-desktop a.active::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--red); }
  .menu-toggle { display: none; }

  .hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 30px; }
  .hero__visual { margin-top: 0; }
  .hero__visual .frame { aspect-ratio: 4 / 5; }
  .hero__visual .num { font-size: 90px; }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
  .product-grid.staggered > .product-card:nth-child(4n+2) { margin-top: 50px; }
  .product-grid.staggered > .product-card:nth-child(6n+4) { margin-top: 26px; }
  .feature-card { aspect-ratio: 21 / 9; }
  .product-card__name { font-size: 20px; }
  .cat-card { flex-basis: 200px; }
  .cat-card__name { font-size: 23px; }

  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .pd-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; padding-top: 36px; }
  .pd-gallery { margin-inline: 0; position: sticky; top: 80px; }
  .pd-info { padding-top: 0; }
  .pd-cta { position: static; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------- CART */
.cart-toggle { position: relative; }
.cart-badge {
  position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 10px; font-family: var(--sans);
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(90vw, 400px);
  background: var(--bg); z-index: 70; transform: translateX(100%);
  transition: transform .36s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .drawer__head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer__title { font-family: var(--serif); font-size: 24px; }
.cart-items { flex: 1; overflow-y: auto; padding: 0 20px; }
.cart-empty { text-align: center; padding: 54px 10px; color: var(--muted); }
.cart-empty p { margin-bottom: 16px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item__img { flex: 0 0 64px; }
.cart-item__img img { width: 64px; height: 80px; object-fit: cover; border-radius: 2px; background: var(--bg-2); }
.cart-item__main { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--serif); font-size: 16px; display: block; line-height: 1.15; }
.cart-item__meta { font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }
.cart-item__price { font-size: 14px; font-weight: 600; margin-top: 4px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.qty-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 50%; font-size: 18px; line-height: 1; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.qty-btn:active { background: var(--bg-2); }
.qty-btn:focus-visible, .cart-remove:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--red-tint); border-radius: 6px; }
.qty-val { min-width: 22px; text-align: center; font-size: 14px; }
.cart-remove { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--red); }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); background: var(--bg); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-family: var(--serif); font-size: 20px; }
.cart-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }

/* beden/renk seçici + sepete ekle (ürün detay) */
.pd-pick { margin-bottom: 14px; }
.pd-pick__label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chip { position: relative; cursor: pointer; }
.pick-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; transition: .15s; }
.pick-chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick-chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--red-tint); }
.js-add-cart.added { background: #2f7a3f; border-color: #2f7a3f; }
.pd-ask { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--red); letter-spacing: .02em; }

/* ---------------------------------------------------------------- INSTAGRAM */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile__ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(26,21,19,.35); opacity: 0; transition: .2s; }
.ig-tile__ic svg { width: 28px; height: 28px; }
.ig-tile:hover .ig-tile__ic { opacity: 1; }
.ig-embed { line-height: 0; }
.ig-embed iframe { width: 100% !important; border: 0; }
@media (min-width: 768px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }

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