/* ==========================================================================
   NOVA STORE — Stil dosyası
   Modern, erişilebilir, karanlık/aydınlık temalı e-ticaret arayüzü.
   ========================================================================== */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --text: #14161c;
  --text-soft: #5b6472;
  --border: #e6e8ef;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef0ff;
  --accent: #ff5a5f;
  --success: #16a34a;
  --star: #f5a524;
  --shadow-sm: 0 1px 3px rgba(20, 22, 28, .06), 0 1px 2px rgba(20, 22, 28, .04);
  --shadow: 0 6px 24px rgba(20, 22, 28, .08);
  --shadow-lg: 0 18px 50px rgba(20, 22, 28, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 132px;
}

[data-theme="dark"] {
  --bg: #0e1017;
  --surface: #171a24;
  --surface-2: #1f2330;
  --text: #eef0f6;
  --text-soft: #9aa3b5;
  --border: #262a38;
  --primary: #7c74ff;
  --primary-dark: #6a61f5;
  --primary-soft: #23233c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow: 0 6px 24px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; font-size: 1rem; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.4rem; border-radius: 100px; font-weight: 600; font-size: .95rem;
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(79, 70, 229, .35); }
.btn--light { background: #fff; color: #14161c; }
.btn--light:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transform: translateY(-2px); }
.btn--dark { background: #14161c; color: #fff; }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--surface-2); color: var(--text); }
.btn--ghost:hover { background: var(--border); }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff; font-size: .82rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__links { display: flex; gap: 1.2rem; }
.topbar__links a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: center; gap: .3rem; }
.logo__mark { color: var(--primary); }
.logo__accent { color: var(--primary); font-weight: 800; }
.logo--footer { color: #fff; }
.logo--footer .logo__accent { color: var(--primary); }
.logo__image { display:block; width:clamp(170px,16vw,235px); height:52px; object-fit:contain; object-position:left center; }
.logo__image--footer { width:215px; height:58px; padding:5px 10px; border-radius:12px; background:#fff; filter:drop-shadow(0 5px 16px rgba(0,0,0,.25)); }

.search { flex: 1; display: flex; max-width: 620px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; overflow: hidden; transition: border .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search input { flex: 1; border: none; background: transparent; padding: .75rem 1.2rem; color: var(--text); outline: none; }
.search button { padding: 0 1.2rem; color: var(--text-soft); display: grid; place-items: center; }
.search button:hover { color: var(--primary); }

.header__actions { display: flex; align-items: center; gap: .3rem; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: background .2s; font-size: 1.1rem; }
.icon-btn:hover { background: var(--surface-2); }
.badge { position: absolute; top: 4px; right: 2px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 100px; display: grid; place-items: center; }
.badge.hide { display: none; }

/* ---------- Category nav ---------- */
.catnav { border-top: 1px solid var(--border); background: var(--surface); }
.catnav__inner { display: flex; gap: .4rem; overflow-x: auto; padding: .55rem 0; scrollbar-width: none; }
.catnav__inner::-webkit-scrollbar { display: none; }
.cat-chip { display: flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 100px; font-weight: 600; font-size: .9rem; color: var(--text-soft); white-space: nowrap; transition: all .18s; border: 1px solid transparent; }
.cat-chip:hover { background: var(--surface-2); color: var(--text); }
.cat-chip.active { background: var(--primary); color: #fff; }

/* ---------- Hero Carousel ---------- */
.hero-carousel { position: relative; margin-top: 0; overflow: hidden; background: #0b0d16; }
.hero-viewport { overflow: hidden; }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.65,.05,.36,1); will-change: transform; }
.hero-slide {
  position: relative; flex: 0 0 100%; min-height: 480px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; color: #fff;
}
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--tint), .92) 0%, rgba(var(--tint), .72) 42%, rgba(var(--tint), .15) 100%);
}
.hero-slide__content { position: relative; max-width: 620px; padding: 2rem 0; }
.hero-slide__eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: 2px;
  padding: .45rem 1rem; border-radius: 100px; margin-bottom: 1.3rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  transform: translateY(20px); opacity: 0;
}
.hero-slide__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.02; letter-spacing: -1.5px;
  margin-bottom: 1.1rem; font-weight: 800; text-shadow: 0 2px 30px rgba(0,0,0,.35);
  transform: translateY(24px); opacity: 0;
}
.hero-slide__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 500px; opacity: .95; margin-bottom: 1.8rem; line-height: 1.5;
  transform: translateY(28px); opacity: 0;
}
.hero-slide__cta { display: flex; gap: .9rem; flex-wrap: wrap; transform: translateY(32px); opacity: 0; }
/* Aktif slaytta içeriğin sırayla belirmesi */
.hero-slide.is-active .hero-slide__eyebrow { animation: heroIn .6s .15s forwards; }
.hero-slide.is-active .hero-slide__title { animation: heroIn .6s .28s forwards; }
.hero-slide.is-active .hero-slide__subtitle { animation: heroIn .6s .40s forwards; }
.hero-slide.is-active .hero-slide__cta { animation: heroIn .6s .52s forwards; }
@keyframes heroIn { to { transform: translateY(0); opacity: 1; } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow:active { transform: translateY(-50%) scale(.92); }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .55rem; }
.hero-dot { width: 34px; height: 5px; border-radius: 100px; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; position: relative; transition: background .2s; }
.hero-dot:hover { background: rgba(255,255,255,.55); }
.hero-dot.active { background: rgba(255,255,255,.4); }
.hero-dot.active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotFill var(--hero-delay, 6s) linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Marka şeridi ---------- */
.brand-strip { border-bottom: 1px solid var(--border); background: var(--surface); }
.brand-strip__inner { display: flex; align-items: center; gap: 2rem; padding: 1.1rem 0; overflow: hidden; }
.brand-strip__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); white-space: nowrap; }
.brand-strip__logos { display: flex; gap: 2.4rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-strip__track { display: flex; gap: 2.4rem; animation: marquee 22s linear infinite; }
.brand-strip:hover .brand-strip__track { animation-play-state: paused; }
.brand-logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -.5px; color: var(--text-soft); opacity: .7; white-space: nowrap; transition: opacity .2s, color .2s; }
.brand-logo:hover { opacity: 1; color: var(--primary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Features strip ---------- */
.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.8rem auto; }
.feat { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.feat span { font-size: 1.6rem; }
.feat strong { display: block; font-size: .95rem; }
.feat small { color: var(--text-soft); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 2.4rem 0 1.2rem; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.5rem; letter-spacing: -.5px; }
.toolbar { display: flex; align-items: center; gap: 1rem; }
.result-count { color: var(--text-soft); font-size: .88rem; }
#sortSelect { padding: .55rem 1rem; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 100px; color: #fff; }
.card__badge--sale { background: var(--accent); }
.card__badge--new { background: var(--success); }
.card__badge--hot { background: #f59e0b; }
.card__fav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); color: #64748b; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: all .2s; }
.card__fav:hover { transform: scale(1.1); }
.card__fav.active { background: var(--accent); color: #fff; }
.card__compare { position: absolute; top: 54px; right: 8px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: #64748b; display: grid; place-items: center; box-shadow: var(--shadow-sm); font-size: 1rem; font-weight: 800; transition: .18s; }
.card__compare:hover, .card__compare.active { background: var(--primary); color: #fff; transform: scale(1.08); }
.card__quick { position: absolute; bottom: -50px; left: 10px; right: 10px; background: rgba(20,22,28,.88); color: #fff; padding: .6rem; border-radius: 100px; font-weight: 600; font-size: .85rem; opacity: 0; transition: all .25s; backdrop-filter: blur(4px); }
.card:hover .card__quick { bottom: 10px; opacity: 1; }

.card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-soft); font-weight: 600; }
.card__title { font-size: .95rem; font-weight: 600; margin: .25rem 0 .5rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; cursor: pointer; }
.card__title:hover { color: var(--primary); }
.card__rating { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-soft); margin-bottom: .7rem; }
.stars { color: var(--star); letter-spacing: 1px; }
.card__price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.card__price { font-size: 1.25rem; font-weight: 800; letter-spacing: -.5px; }
.card__old { font-size: .85rem; color: var(--text-soft); text-decoration: line-through; }
.card__off { font-size: .72rem; font-weight: 700; color: var(--accent); background: rgba(255,90,95,.12); padding: .1rem .4rem; border-radius: 6px; }
.card__ship { font-size: .74rem; color: var(--success); font-weight: 600; margin-top: .3rem; }
.card__add { margin-top: .8rem; }

/* ---------- Akıllı arama önerileri ---------- */
.search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 80; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .55rem; max-height: 430px; overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.suggest-label { padding: .55rem .7rem .3rem; color: var(--text-soft); font-size: .68rem; font-weight: 800; letter-spacing: .9px; }
.suggest-product, .suggest-category { width: 100%; display: flex; align-items: center; gap: .7rem; border-radius: 10px; padding: .55rem .65rem; text-align: left; }
.suggest-product:hover, .suggest-category:hover { background: var(--surface-2); }
.suggest-product img { width: 44px; height: 44px; object-fit: cover; border-radius: 9px; }
.suggest-product span, .suggest-category b { flex: 1; min-width: 0; }
.suggest-product strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
.suggest-product small, .suggest-category small { display: block; color: var(--text-soft); font-size: .72rem; margin-top: .08rem; }
.suggest-category > span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--primary-soft); border-radius: 9px; }
.suggest-empty { padding: 1.4rem; text-align: center; color: var(--text-soft); }

/* ---------- Son görüntülenenler ---------- */
.section-kicker { display: block; color: var(--primary); font-size: .7rem; font-weight: 800; letter-spacing: 1.2px; margin-bottom: .15rem; }
.text-btn { color: var(--primary); font-size: .82rem; font-weight: 700; }
.recent-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.recent-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .7rem; display: grid; grid-template-columns: 62px 1fr auto; gap: .75rem; align-items: center; text-align: left; transition: .18s; }
.recent-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.recent-card img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.recent-card strong { display: block; font-size: .84rem; line-height: 1.3; }
.recent-card small { display: block; color: var(--text-soft); font-size: .73rem; margin-top: .25rem; }
.recent-card > b { color: var(--primary); }

/* ---------- Karşılaştırma ---------- */
.compare-tray { position: fixed; z-index: 45; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(760px, calc(100% - 24px)); }
.compare-tray[hidden] { display: none; }
.compare-tray__inner { display: flex; align-items: center; gap: 1rem; background: rgba(18,22,36,.94); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: .72rem .9rem; box-shadow: 0 18px 50px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
.compare-tray__inner > div:first-child strong, .compare-tray__inner > div:first-child small { display: block; }
.compare-tray__inner > div:first-child small { color: #aeb7ca; font-size: .72rem; }
.compare-tray__products { display: flex; gap: .45rem; margin-left: auto; }
.compare-tray__products span { position: relative; }
.compare-tray__products img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.compare-tray__products button { position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; }
.modal__box--compare { width: min(1040px, 100%); padding: 1.4rem; }
.compare-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; }
.compare-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.compare-row { display: grid; grid-template-columns: 140px repeat(3, minmax(190px,1fr)); border-bottom: 1px solid var(--border); min-width: 760px; }
.compare-row:last-child { border-bottom: 0; }
.compare-row > * { padding: .85rem; border-right: 1px solid var(--border); }
.compare-row > *:last-child { border-right: 0; }
.compare-row > b { background: var(--surface-2); font-size: .82rem; }
.compare-row > span { font-size: .84rem; }
.compare-products > div { text-align: center; }
.compare-products img { width: 110px; height: 110px; border-radius: 13px; object-fit: cover; margin: 0 auto .55rem; }
.compare-products strong { display: block; font-size: .85rem; min-height: 2.6em; margin-bottom: .55rem; }

/* ---------- Akıllı alışveriş asistanı ---------- */
.shop-assistant { position: fixed; right: 22px; bottom: 22px; z-index: 44; }
.shop-assistant__toggle { width: 56px; height: 56px; border-radius: 18px; color: #fff; font-size: 1.4rem; background: linear-gradient(135deg,var(--primary),#8b5cf6); box-shadow: 0 14px 35px rgba(79,70,229,.4); animation: assistantPulse 2.4s infinite; }
@keyframes assistantPulse { 50% { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(79,70,229,.5); } }
.shop-assistant__panel { position: absolute; right: 0; bottom: 68px; width: min(340px, calc(100vw - 28px)); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow-lg); }
.shop-assistant__panel[hidden] { display: none; }
.shop-assistant__close { position: absolute; right: 12px; top: 12px; color: var(--text-soft); }
.assistant-badge { color: var(--primary); font-size: .68rem; font-weight: 900; letter-spacing: 1px; }
.shop-assistant h3 { font-size: 1.15rem; margin: .25rem 0; }
.shop-assistant p { color: var(--text-soft); font-size: .82rem; }
.assistant-options { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.assistant-options button { border: 1px solid var(--border); background: var(--surface-2); border-radius: 11px; padding: .7rem; text-align: left; font-size: .78rem; font-weight: 700; }
.assistant-options button:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-soft); }
.empty-state span { font-size: 3rem; }
.empty-state h3 { margin: .5rem 0; color: var(--text); }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(120deg, #1e1b4b, #4f46e5); color: #fff; margin-top: 3.5rem; padding: 2.5rem 0; }
.newsletter__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.newsletter h2 { font-size: 1.7rem; }
.newsletter__form { display: flex; gap: .6rem; }
.newsletter__form input { border: none; border-radius: 100px; padding: .8rem 1.3rem; min-width: 260px; outline: none; }

/* ---------- Footer ---------- */
.footer { background: #0d0f16; color: #c3c9d6; margin-top: 4rem; padding-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__grid h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer__grid a { display: block; color: #96a0b5; padding: .28rem 0; font-size: .9rem; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.footer__about { margin: 1rem 0; font-size: .9rem; line-height: 1.6; max-width: 320px; }
.socials { display: flex; gap: .6rem; font-size: 1.3rem; }
.socials a { padding: 0; }
.pay-icons { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-icons span { background: #1a1d28; padding: .35rem .7rem; border-radius: 8px; font-size: .8rem; }
.footer__ssl { margin-top: .9rem; font-size: .82rem; color: var(--success); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #1c1f2b; padding: 1.3rem 0; font-size: .84rem; flex-wrap: wrap; gap: .8rem; }
.footer__bottom a { color: #96a0b5; margin-left: 1.2rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Overlay & Drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(6, 8, 15, .55); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 50; }
.overlay.show { opacity: 1; visibility: visible; }

.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 60; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border); }
.drawer__head h3 { font-size: 1.15rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer__foot { border-top: 1px solid var(--border); padding: 1.2rem 1.4rem; }
.drawer__note { text-align: center; font-size: .78rem; color: var(--text-soft); margin-top: .7rem; }

.cart-item { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-size: .88rem; font-weight: 600; line-height: 1.3; margin-bottom: .3rem; }
.cart-item__price { font-weight: 700; color: var(--primary); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 100px; margin-top: .5rem; overflow: hidden; }
.qty button { width: 30px; height: 30px; font-size: 1rem; color: var(--text); transition: background .15s; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-item__remove { color: var(--text-soft); font-size: .78rem; margin-top: .4rem; display: block; }
.cart-item__remove:hover { color: var(--accent); }

.cart-row { display: flex; justify-content: space-between; padding: .35rem 0; color: var(--text-soft); font-size: .92rem; }
.cart-row--total { color: var(--text); font-weight: 800; font-size: 1.2rem; padding: .7rem 0; margin-top: .3rem; border-top: 1px dashed var(--border); }

.drawer-empty { text-align: center; padding: 3rem 1rem; color: var(--text-soft); }
.drawer-empty span { font-size: 3rem; display: block; margin-bottom: .5rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(6, 8, 15, .6); backdrop-filter: blur(3px); z-index: 70; display: none; place-items: center; padding: 1rem; }
.modal.show { display: grid; }
.modal__box { background: var(--surface); border-radius: 20px; width: min(480px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal__box--wide { width: min(860px, 100%); }
@keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* Checkout steps */
.checkout { padding: 1.6rem 1.8rem 1.8rem; }
.checkout__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.checkout__head h3 { font-size: 1.3rem; }
.steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.step { flex: 1; text-align: center; font-size: .78rem; color: var(--text-soft); position: relative; padding-top: 2rem; }
.step::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; border: 2px solid var(--border); }
.step.active { color: var(--primary); font-weight: 700; }
.step.active::before { background: var(--primary); color: #fff; border-color: var(--primary); }
.step.done::before { content: "✓"; background: var(--success); color: #fff; border-color: var(--success); }

.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--text-soft); }
.field input, .field select { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); outline: none; transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field-row { display: flex; gap: .8rem; }
.field-row .field { flex: 1; }
.pay-methods { display: grid; gap: .6rem; }
.pay-opt { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all .18s; }
.pay-opt:hover { border-color: var(--primary); }
.pay-opt input { accent-color: var(--primary); }
.pay-opt.sel { border-color: var(--primary); background: var(--primary-soft); }
.order-line { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; }
.order-summary { background: var(--surface-2); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1rem 0; }
.success-box { text-align: center; padding: 1rem; }
.success-box .check { width: 74px; height: 74px; border-radius: 50%; background: var(--success); color: #fff; font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto 1rem; animation: pop .4s ease; }

/* Quick view */
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { background: var(--surface-2); }
.qv__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.qv__info { padding: 1.8rem; position: relative; }
.qv__close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); font-size: 1.1rem; }
.qv__brand { color: var(--text-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.qv__title { font-size: 1.5rem; margin: .3rem 0 .6rem; letter-spacing: -.5px; }
.qv__price { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin: .8rem 0; }
.qv__price .old { font-size: 1rem; color: var(--text-soft); text-decoration: line-through; margin-left: .5rem; font-weight: 500; }
.qv__desc { color: var(--text-soft); margin-bottom: 1.2rem; }
.qv__features { list-style: none; margin-bottom: 1.4rem; }
.qv__features li { padding: .35rem 0; padding-left: 1.6rem; position: relative; font-size: .9rem; }
.qv__features li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.qv__actions { display: flex; gap: .7rem; }
.qv__stock { font-size: .85rem; color: var(--success); font-weight: 600; margin-bottom: 1rem; }
.qv__stock.low { color: var(--accent); }

/* ---------- Detail view ---------- */
.detail { padding: 2rem 0 1rem; }
.breadcrumb { color: var(--text-soft); font-size: .85rem; margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--primary); }
.detail__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
.detail__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: sticky; top: calc(var(--header-h) + 12px); }
.detail__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.detail__info h1 { font-size: 2rem; letter-spacing: -.5px; margin: .4rem 0 .6rem; }
.detail__price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
.detail__price .old { font-size: 1.1rem; color: var(--text-soft); text-decoration: line-through; margin-left: .6rem; font-weight: 500; }
.detail__price .off { font-size: .9rem; background: var(--accent); color: #fff; padding: .2rem .6rem; border-radius: 8px; margin-left: .6rem; vertical-align: middle; }
.detail__section { margin: 1.6rem 0; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.detail__section h3 { margin-bottom: .7rem; font-size: 1.05rem; }
.detail__actions { display: flex; gap: .8rem; margin: 1.4rem 0; }
.info-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.info-badges div { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-soft); background: var(--surface-2); padding: .6rem .9rem; border-radius: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: #14161c; color: #fff; padding: .9rem 1.4rem; border-radius: 100px; box-shadow: var(--shadow-lg); z-index: 90; display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; transition: transform .35s cubic-bezier(.2,1.2,.4,1); max-width: 90%; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .tcheck { color: #4ade80; font-size: 1.1rem; }

/* ---------- Günün Fırsatı ---------- */
.deal {
  display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(120deg, #111827, #1e1b4b 70%, #4f46e5);
  border-radius: 20px; overflow: hidden; margin-top: 2.5rem; color: #fff;
}
.deal__media { position: relative; height: 100%; min-height: 280px; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__flag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: .78rem; padding: .35rem .8rem; border-radius: 100px; }
.deal__body { padding: 2rem 2.4rem 2rem 0; }
.deal__label { font-size: .82rem; font-weight: 700; letter-spacing: 2px; color: #a5b4fc; }
.deal__title { font-size: 1.7rem; margin: .5rem 0 .3rem; letter-spacing: -.5px; }
.deal__brand { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 1rem; }
.deal__price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; }
.deal__price .now { font-size: 2.2rem; font-weight: 800; }
.deal__price .was { text-decoration: line-through; opacity: .6; }
.deal__price .off { background: var(--accent); padding: .2rem .6rem; border-radius: 8px; font-weight: 700; font-size: .9rem; }
.countdown { display: flex; gap: .7rem; margin-bottom: 1.4rem; }
.countdown__box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .6rem .9rem; text-align: center; min-width: 62px; }
.countdown__num { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; opacity: .7; margin-top: .3rem; }
.deal__stock { font-size: .85rem; opacity: .85; margin-top: .3rem; }
.deal__bar { height: 6px; background: rgba(255,255,255,.15); border-radius: 100px; overflow: hidden; margin: .5rem 0 1.2rem; max-width: 320px; }
.deal__bar span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, var(--accent)); border-radius: 100px; }

/* ---------- Testimonials (anasayfa) ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.testimonial__stars { color: var(--star); letter-spacing: 2px; margin-bottom: .7rem; }
.testimonial__text { font-size: .95rem; line-height: 1.6; margin-bottom: 1.2rem; }
.testimonial__author { display: flex; align-items: center; gap: .7rem; }
.testimonial__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .9rem; }
.testimonial__name { font-weight: 700; font-size: .9rem; }
.testimonial__role { font-size: .78rem; color: var(--text-soft); }

/* ---------- Ürün Yorumları (detay sayfası) ---------- */
.reviews { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.reviews__summary { display: grid; grid-template-columns: 220px 1fr auto; gap: 2rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.5rem; }
.reviews__score { text-align: center; }
.reviews__score .big { font-size: 3.2rem; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.reviews__score .stars { color: var(--star); font-size: 1.1rem; letter-spacing: 2px; margin: .4rem 0; }
.reviews__score .count { color: var(--text-soft); font-size: .85rem; }
.reviews__bars { display: flex; flex-direction: column; gap: .4rem; }
.rbar { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--text-soft); }
.rbar__label { width: 34px; white-space: nowrap; }
.rbar__track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 100px; overflow: hidden; }
.rbar__fill { height: 100%; background: var(--star); border-radius: 100px; transition: width .8s cubic-bezier(.2,1,.4,1); }
.rbar__pct { width: 40px; text-align: right; }
.reviews__cta { text-align: center; }

.reviews__filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.rfilter { padding: .45rem 1rem; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-weight: 600; font-size: .85rem; transition: all .18s; }
.rfilter:hover { color: var(--text); border-color: var(--text-soft); }
.rfilter.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.review { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.review__avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .95rem; }
.review__main { flex: 1; min-width: 0; }
.review__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .3rem; }
.review__name { font-weight: 700; font-size: .95rem; }
.review__verified { font-size: .74rem; color: var(--success); font-weight: 600; background: rgba(22,163,74,.1); padding: .1rem .5rem; border-radius: 100px; }
.review__date { font-size: .8rem; color: var(--text-soft); margin-left: auto; }
.review__stars { color: var(--star); letter-spacing: 1px; font-size: .9rem; margin-bottom: .35rem; }
.review__title { font-size: .98rem; margin-bottom: .3rem; }
.review__text { color: var(--text-soft); font-size: .92rem; line-height: 1.55; }
.review__helpful { margin-top: .7rem; font-size: .82rem; color: var(--text-soft); border: 1px solid var(--border); padding: .35rem .9rem; border-radius: 100px; transition: all .18s; }
.review__helpful:hover { border-color: var(--primary); color: var(--primary); }
.review__helpful.voted { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }
.reviews__more { margin: 1.5rem auto 0; display: block; }

/* Yorum yazma modalı — yıldız seçici */
.review-form { padding: 1.6rem 1.8rem 1.8rem; }
.review-form h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.review-form .sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 1.2rem; }
.star-input { display: flex; gap: .3rem; font-size: 2rem; margin-bottom: 1.2rem; }
.star-input span { cursor: pointer; color: var(--border); transition: color .12s, transform .12s; }
.star-input span:hover { transform: scale(1.15); }
.star-input span.on { color: var(--star); }
.review-form textarea { width: 100%; min-height: 110px; padding: .8rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); outline: none; resize: vertical; font-size: .95rem; }
.review-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .detail__grid { grid-template-columns: 1fr; }
  .detail__media { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .features-strip { grid-template-columns: 1fr 1fr; }
  .qv { grid-template-columns: 1fr; }
  .qv__media img { min-height: 240px; }
  .deal { grid-template-columns: 1fr; }
  .deal__media { min-height: 220px; }
  .deal__body { padding: 1.6rem; }
  .testimonials { grid-template-columns: 1fr; }
  .reviews__summary { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
  .reviews__score { display: flex; align-items: center; justify-content: center; gap: 1rem; }
  .reviews__score .stars { margin: 0; }
  .recent-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 120px; }
  .topbar__links { display: none; }
  .header__inner { flex-wrap: wrap; height: auto; padding: .7rem 0; gap: .8rem; }
  .search { order: 3; max-width: 100%; flex-basis: 100%; }
  .logo { font-size: 1.2rem; }
  .hero-slide { min-height: 400px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-arrow--prev { left: 10px; }
  .hero-arrow--next { right: 10px; }
  .brand-strip__label { display: none; }
  .newsletter__inner { flex-direction: column; align-items: flex-start; }
  .newsletter__form { width: 100%; }
  .newsletter__form input { min-width: 0; flex: 1; }
  .section-head { align-items: flex-start; }
}
@media (max-width: 480px) {
  .features-strip { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .card__title { font-size: .85rem; }
  .card__price { font-size: 1.05rem; }
  .hero-slide { min-height: 440px; }
  .countdown__box { min-width: 52px; padding: .5rem .6rem; }
  .countdown__num { font-size: 1.3rem; }
  .recent-grid { grid-template-columns: 1fr; }
  .compare-tray { bottom: 10px; }
  .compare-tray__inner > div:first-child { display: none; }
  .compare-tray__products { margin-left: 0; }
  .compare-tray__inner .btn { margin-left: auto; padding-inline: .8rem; }
  .shop-assistant { right: 14px; bottom: 82px; }
  .shop-assistant__toggle { width: 50px; height: 50px; }
  .assistant-options { grid-template-columns: 1fr; }
  .card__compare { width: 34px; height: 34px; top: 48px; }
}
