/* ==========================================================================
   AmyShop — Ev Dekorasyon Ürünleri
   Tasarım sistemi + bileşenler (mobile-first)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Renkler — logodan türetildi */
  --brand: #b58150;          /* karamel (logodaki "Shop") */
  --brand-dark: #96683c;
  --brand-deep: #4a3220;     /* koyu kahve (logodaki "Amy") */
  --brand-tint: #f0e4d5;
  --olive: #6e7b57;          /* logodaki yaprak yeşili */

  --ink: #2a211a;
  --ink-soft: #6b5c50;
  --ink-mute: #7d6a5c;   /* krem zeminde 4.5:1 kontrast */

  --bg: #f6f1e9;
  --bg-alt: #efe7db;
  --surface: #fffdf9;
  --line: #e5dac8;
  --line-soft: #f0e7da;

  --success: #4f7a4c;
  --danger: #b3453b;

  /* Tipografi */
  --font-sans: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --h1: clamp(2.1rem, 5.2vw, 3.9rem);
  --h2: clamp(1.65rem, 3.6vw, 2.6rem);
  --h3: clamp(1.15rem, 2.2vw, 1.5rem);
  --body: 1rem;
  --small: 0.875rem;
  --tiny: 0.78rem;

  /* Boşluk (8px tabanlı) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 72px; --s-8: 104px;

  /* Form & yüzey */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(42, 33, 26, .05);
  --shadow-sm: 0 4px 16px rgba(74, 50, 32, .07);
  --shadow: 0 14px 38px rgba(74, 50, 32, .11);
  --shadow-lg: 0 26px 60px rgba(74, 50, 32, .17);

  --maxw: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-tint); color: var(--brand-deep); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Layout yardımcıları ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.section { padding-block: var(--s-6); }
@media (min-width: 860px) { .section { padding-block: var(--s-7); } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.section-head p { color: var(--ink-soft); max-width: 52ch; margin-top: var(--s-2); }

.eyebrow {
  font-size: var(--tiny);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand-dark);
  display: block;
  margin-bottom: var(--s-2);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand-deep); color: #fff8ef; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #3b2717; box-shadow: var(--shadow); }

.btn-accent { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--brand-dark); box-shadow: var(--shadow); }

.btn-outline { border-color: var(--brand-deep); color: var(--brand-deep); background: transparent; }
.btn-outline:hover { background: var(--brand-deep); color: #fff8ef; }

.btn-ghost { color: var(--brand-deep); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .875rem; }
.btn-lg { padding: 16px 34px; min-height: 54px; font-size: 1.02rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--brand-dark);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--brand-deep); }
@media (max-width: 860px) { .link-arrow { padding-block: 9px 7px; } }

/* ---------- Duyuru çubuğu ---------- */
.announce {
  background: var(--brand-deep);
  color: #f3e6d5;
  font-size: var(--tiny);
  letter-spacing: .06em;
  text-align: center;
  padding: 9px 16px;
}
.announce strong { color: #fff; font-weight: 600; }
@media (max-width: 620px) { .announce-extra { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 241, 233, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; margin-right: auto; }
/* Logodaki ev ikonunu kırparak marka işareti olarak kullanır */
.brand-mark {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background-repeat: no-repeat;
  background-size: 215% auto;
  background-position: 51% 24%;
  box-shadow: inset 0 0 0 1px rgba(74, 50, 32, .1);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -.01em;
}
.brand-name em { font-style: normal; color: var(--brand); }
.brand-sub {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}

.main-nav { display: none; }
@media (min-width: 1000px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: .93rem;
    color: var(--ink-soft);
    transition: color .2s var(--ease), background-color .2s var(--ease);
  }
  .main-nav a:hover { color: var(--brand-deep); background: var(--bg-alt); }
  .main-nav a[aria-current="page"] { color: var(--brand-deep); font-weight: 500; background: var(--brand-tint); }
}

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--brand-deep);
  position: relative;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.cart-count[hidden] { display: none; }
#navToggle { display: grid; }
@media (min-width: 1000px) { #navToggle { display: none; } }

/* Mobil menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: var(--s-4) 0 var(--s-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav ul a {
  display: block;
  padding: 15px 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-deep);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .mobile-contact { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.mobile-nav .mobile-contact a { color: var(--ink-soft); font-size: .95rem; display: flex; gap: 10px; align-items: center; padding-block: 10px; }
.mobile-nav .mobile-contact svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--brand); }

/* Arama katmanı */
.search-panel {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  display: none;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: var(--s-2); padding-block: var(--s-3); }
.search-results { padding-bottom: var(--s-4); display: grid; gap: 6px; }
.search-results a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 8px; border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease);
}
.search-results a:hover { background: var(--bg-alt); }
.search-results img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.search-results .sr-name { font-size: .92rem; }
.search-results .sr-price { font-size: .85rem; color: var(--brand-dark); font-weight: 500; }
.search-empty { color: var(--ink-mute); font-size: .9rem; padding: var(--s-2) 8px var(--s-3); }

/* ---------- Form elemanları ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: var(--small); font-weight: 500; color: var(--ink-soft); }
.field .hint { font-size: var(--tiny); color: var(--ink-mute); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9c8b7c; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(181, 129, 80, .18);
}
.input[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b5c50' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field-error { color: var(--danger); font-size: var(--tiny); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% 55%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(181,129,80,.16), transparent);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: var(--s-5);
  padding-block: var(--s-6) var(--s-6);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; gap: var(--s-7); padding-block: var(--s-7) var(--s-7); }
}
.hero-copy { position: relative; z-index: 1; max-width: 34rem; }
.hero-copy h1 { margin-bottom: var(--s-3); }
.hero-copy h1 em { font-style: italic; color: var(--brand); }
.hero-copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: var(--s-5); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brand-deep);
}
.hero-stats div span { font-size: var(--tiny); color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 620px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
  .hero-stats div strong { font-size: 1.35rem; }
  .hero-stats div span { font-size: .66rem; letter-spacing: .05em; }
}

.hero-media { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.hero-grid figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.hero-grid picture { display: block; height: 100%; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .6s var(--ease); }
.hero-grid figure:hover img { transform: scale(1.04); }
/* Şaşırtmalı hizalama yalnızca geniş ekranlarda */
@media (min-width: 900px) { .hero-grid figure:first-child { margin-top: var(--s-5); } }

/* Mobil: kartlar eşit yükseklikte, ekran kenarına kadar geniş */
@media (max-width: 620px) {
  .hero-media { margin-inline: calc(clamp(16px, 4vw, 32px) * -1); }
  .hero-grid { gap: 10px; padding-inline: 10px; }
  .hero-grid figure { border-radius: var(--radius); }
  /* Kaynak fotoğraflar 2:3; daha dar bir çerçeve stüdyo boşluklarını kırpar */
  .hero-grid img { aspect-ratio: 4 / 5; }
  .hero-badge { bottom: -14px; font-size: var(--tiny); padding: 9px 16px; }
}
.hero-badge {
  position: absolute;
  left: 50%; bottom: -18px;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow);
  font-size: var(--small);
  font-weight: 500;
  color: var(--brand-deep);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.hero-badge svg { width: 17px; height: 17px; color: var(--olive); }

/* ---------- Güven şeridi ---------- */
.trust-strip { background: var(--surface); border-block: 1px solid var(--line-soft); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s-4);
  padding-block: var(--s-5);
}
.trust-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .95rem; font-weight: 600; color: var(--brand-deep); }
.trust-item span { font-size: var(--small); color: var(--ink-soft); }

/* ---------- Kategori kartları ---------- */
.cat-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
/* Mobil: iki sütun, dikey ürün fotoğraflarına uygun portre kırpım */
@media (max-width: 700px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .cat-grid .cat-card:last-child:nth-child(odd) { grid-column: span 2; }
  .cat-grid .cat-card:last-child:nth-child(odd) img { aspect-ratio: 16 / 10; }
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: block;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card picture { display: block; }
/* Kaynak fotoğraflar dikey (2:3); portre kırpım daha az kesiyor */
.cat-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cat-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-5) var(--s-3) var(--s-3);
  background: linear-gradient(to top, rgba(42,33,26,.85), rgba(42,33,26,.15) 65%, transparent);
  color: #fff;
}
.cat-card figcaption strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; display: block; }
.cat-card figcaption span { font-size: var(--tiny); opacity: .85; }

/* ---------- Ürün kartı ---------- */
.product-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
@media (min-width: 620px) { .product-grid { gap: var(--s-4); } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.product-card .thumb { position: relative; display: block; background: var(--bg-alt); overflow: hidden; }
.product-card .thumb picture { display: block; }
.product-card .thumb .alt-pic { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.product-card .thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card:hover .thumb .alt-pic { opacity: 1; }

.badge-row { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.badge {
  font-size: .66rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-deep);
  box-shadow: var(--shadow-xs);
}
.badge.sale { background: var(--brand-deep); color: #fff; }
.badge.olive { background: var(--olive); color: #fff; }

.product-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: var(--tiny); color: var(--ink-mute); letter-spacing: .05em; }
.product-card h3 {
  font-family: var(--font-sans);
  font-size: .97rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0;
}
.product-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card .short { font-size: var(--small); color: var(--ink-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: var(--s-2); }
.price { font-size: 1.12rem; font-weight: 600; color: var(--brand-deep); }
.price-old { font-size: .85rem; color: var(--ink-mute); text-decoration: line-through; }
.price-off { font-size: .7rem; font-weight: 600; color: var(--success); background: rgba(79,122,76,.1); padding: 2px 7px; border-radius: 999px; }
.product-card .add-btn { position: relative; z-index: 2; margin-top: var(--s-3); }

/* ---------- Ürün detay ---------- */
.breadcrumb { padding-block: var(--s-3); font-size: var(--small); color: var(--ink-mute); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumb [aria-current] { color: var(--ink); }

.pdp { display: grid; gap: var(--s-5); padding-bottom: var(--s-6); }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: var(--s-6); align-items: start; } }

.gallery { display: grid; gap: var(--s-3); }
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.gallery-main picture { display: block; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-thumbs { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button {
  flex: 0 0 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface);
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
  opacity: .68;
}
.gallery-thumbs button[aria-selected="true"] { border-color: var(--brand); opacity: 1; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs picture { display: block; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

@media (min-width: 900px) { .pdp-info { position: sticky; top: calc(var(--header-h) + 24px); } }
.pdp-info h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: var(--s-3); }
.pdp-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; font-size: var(--small); color: var(--ink-mute); margin-bottom: var(--s-3); }
.success-mark {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin: 0 auto var(--s-4);
}
.success-mark svg { width: 34px; height: 34px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-2); }
.pdp-price .price { font-size: 2rem; font-family: var(--font-display); }
.pdp-lead { color: var(--ink-soft); margin-bottom: var(--s-4); }
.pdp-buy { display: grid; gap: var(--s-3); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s-4); }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); overflow: hidden;
}
.qty button { width: 42px; height: 44px; display: grid; place-items: center; color: var(--brand-deep); font-size: 1.15rem; transition: background-color .2s var(--ease); }
.qty button:hover { background: var(--bg-alt); }
.qty input { width: 46px; height: 44px; text-align: center; border: 0; background: transparent; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 190px; }
.stock-line { font-size: var(--small); color: var(--success); display: flex; align-items: center; gap: 7px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

.pdp-perks { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: var(--s-4); }
.pdp-perks li { display: flex; gap: 10px; font-size: var(--small); color: var(--ink-soft); align-items: flex-start; }
.pdp-perks svg { width: 19px; height: 19px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0; cursor: pointer; font-weight: 500; color: var(--brand-deep);
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '';
  width: 11px; height: 11px;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion .acc-body { padding-bottom: var(--s-4); color: var(--ink-soft); display: grid; gap: var(--s-3); }
.accordion .acc-body p + p { margin-top: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--small); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink-mute); width: 45%; }
.spec-table td { color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.feature-list { display: grid; gap: 9px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.feature-list li::before {
  content: '';
  width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: var(--brand);
  flex-shrink: 0;
}

/* ---------- Filtre çubuğu ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  align-items: center; justify-content: space-between;
  padding: var(--s-3) 0 var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--s-4);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .875rem;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip[aria-pressed="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff8ef; }
.toolbar-right { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; flex-wrap: wrap; }
.result-count { font-size: var(--small); color: var(--ink-mute); white-space: nowrap; }
@media (max-width: 620px) {
  .toolbar { gap: var(--s-2); }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .toolbar-right .select { flex: 1; max-width: 220px; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding-inline: clamp(16px, 4vw, 32px); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}
.empty-state { text-align: center; padding: var(--s-7) var(--s-3); color: var(--ink-mute); }
.empty-state h3 { margin-bottom: var(--s-2); }

/* ---------- Sepet çekmecesi ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(42, 33, 26, .48);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  z-index: 95;
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s-3) var(--s-4); }
.drawer-foot { border-top: 1px solid var(--line); padding: var(--s-4); background: var(--surface); display: grid; gap: var(--s-3); }
.ship-progress { font-size: var(--tiny); color: var(--ink-soft); }
.ship-bar { height: 6px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; margin-top: 6px; }
.ship-bar span { display: block; height: 100%; background: var(--olive); border-radius: 999px; transition: width .4s var(--ease); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--small); color: var(--ink-soft); }
.sum-row.total { font-size: 1.08rem; font-weight: 600; color: var(--brand-deep); padding-top: var(--s-2); border-top: 1px solid var(--line-soft); }

.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line-soft); }
.cart-line img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; background: var(--bg-alt); }
.cart-line .cl-name { font-size: .9rem; line-height: 1.35; }
.cart-line .cl-note { font-size: var(--tiny); color: var(--ink-mute); margin-top: 3px; }
.cart-line .cl-price { font-size: .92rem; font-weight: 600; color: var(--brand-deep); margin-top: 5px; }
.cart-line .cl-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: var(--s-2); }
.qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty-mini button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--brand-deep); }
.qty-mini span { min-width: 24px; text-align: center; font-size: .85rem; font-weight: 500; }
.remove-btn { color: var(--ink-mute); font-size: var(--tiny); text-decoration: underline; transition: color .2s var(--ease); }
.remove-btn:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: var(--s-6) 0; color: var(--ink-mute); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto var(--s-3); color: var(--line); }

/* ---------- Sepet & ödeme sayfası ---------- */
.checkout-grid { display: grid; gap: var(--s-5); padding-bottom: var(--s-7); }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.25fr .75fr; gap: var(--s-6); align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.panel + .panel { margin-top: var(--s-4); }
.panel h2 { font-size: 1.22rem; margin-bottom: var(--s-4); }
.form-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-lines { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); max-height: 320px; overflow-y: auto; }
.summary-line { display: grid; grid-template-columns: 54px 1fr auto; gap: var(--s-3); align-items: center; font-size: var(--small); }
.summary-line img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: var(--small); color: var(--ink-soft); }
.check-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.check-row a { color: var(--brand-dark); text-decoration: underline; }
.notice {
  display: flex; gap: 12px;
  padding: var(--s-3);
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: var(--small);
  border: 1px solid rgba(181,129,80,.28);
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.payment-logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s-3); }
.payment-logos span {
  font-size: var(--tiny);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-mute);
  background: var(--surface);
}

/* ---------- İçerik sayfaları ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); padding-block: var(--s-6); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin-top: var(--s-3); }
.prose { max-width: 74ch; padding-block: var(--s-6); }
.prose h2 { font-size: 1.45rem; margin-top: var(--s-5); margin-bottom: var(--s-3); }
.prose h3 { font-size: 1.12rem; font-family: var(--font-sans); font-weight: 600; margin-top: var(--s-4); margin-bottom: var(--s-2); }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: var(--s-3); }
.prose ul { display: grid; gap: 9px; margin-top: var(--s-3); }
.prose ul li { display: flex; gap: 10px; }
.prose ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 9px; flex-shrink: 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-dark); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-top: var(--s-3); font-size: var(--small); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-alt); font-weight: 600; color: var(--brand-deep); }
.table-wrap { overflow-x: auto; }

/* ---------- Öne çıkan bant / CTA ---------- */
.band {
  background: var(--brand-deep);
  color: #f2e6d7;
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute; inset: -50% 40% 30% -20%;
  background: radial-gradient(closest-side, rgba(181,129,80,.4), transparent);
}
.band > * { position: relative; }
.band h2 { color: #fff; margin-bottom: var(--s-3); }
.band p { max-width: 52ch; margin: 0 auto var(--s-5); opacity: .85; }
.band .btn-accent { background: var(--brand); }

.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s-2); }
.insta-grid a { border-radius: var(--radius-sm); overflow: hidden; position: relative; display: block; }
.insta-grid picture { display: block; }
.insta-grid img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.insta-grid a:hover img { transform: scale(1.07); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; gap: var(--s-5); padding-block: var(--s-6); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s-6); } }
.contact-card { display: grid; gap: var(--s-4); }
.contact-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; color: var(--brand-deep); font-size: .95rem; }
.contact-item a, .contact-item span { color: var(--ink-soft); font-size: var(--small); }
.contact-item a:hover { color: var(--brand-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #d9c9b6; padding-block: var(--s-6) var(--s-4); margin-top: var(--s-6); }
.footer-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-5); } }
.site-footer h3 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s-3); }
.site-footer ul { display: grid; gap: 10px; }
@media (max-width: 700px) {
  .site-footer ul { gap: 2px; }
  .site-footer ul a { display: inline-block; padding-block: 9px; }
}
.site-footer a { color: #d9c9b6; font-size: .9rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: .9rem; opacity: .85; margin-top: var(--s-3); max-width: 34ch; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 42px; height: 42px; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name em { color: var(--brand); }
.footer-brand .brand-sub { color: rgba(255,255,255,.55); }
.social { display: flex; gap: 10px; margin-top: var(--s-4); }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: space-between; align-items: center;
  font-size: var(--tiny); opacity: .8;
}
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-pay span { border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 4px 10px; font-size: .68rem; }

/* ---------- WhatsApp / toast ---------- */
.wa-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 70;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(380px, calc(100% - 32px)); }
.toast {
  background: var(--brand-deep);
  color: #fff8ef;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: var(--small);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in .3s var(--ease);
}
.toast svg { width: 18px; height: 18px; color: #b9d8a8; flex-shrink: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

body.no-scroll { overflow: hidden; }

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .drawer, .overlay, .announce { display: none !important; }
  body { background: #fff; }
}
