@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ════════════════════════════════════════════
   DESIGN TOKENS — Modern Ember & Jade Theme
   ════════════════════════════════════════════ */
:root {
  /* Backgrounds — koyu turuncu-kahve tonları */
  --bg: #0e0804;
  --surface: #160b05;
  --card: #1d0f07;
  --border: rgba(255, 150, 80, 0.10);
  --hover: rgba(255, 150, 80, 0.05);

  /* Accent — canlı yeşil */
  --accent: #09d97c;
  --accent-lt: #2eeea0;
  --accent-glow: rgba(9, 217, 124, 0.20);
  --gradient: linear-gradient(135deg, #09d97c, #04a15b);

  /* Vurgu — turuncu-amber (butonlar, highlight) */
  --ember: #e95e09;
  --ember-lt: #ff8c00;
  --ember-glow: rgba(233, 94, 9, 0.25);
  --ember-grad: linear-gradient(135deg, #e95e09, #ff8c00);

  /* Metin */
  --text: #fff5ee;
  --text-2: #c4896a;
  --text-3: #7a4a30;

  /* Durum renkleri */
  --success: #09d97c;
  --warning: #ffb84d;
  --danger: #ff4444;
  --info: #38bdf8;

  /* Şekil */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 56px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 4px 24px rgba(9, 217, 124, 0.12);
}

/* ════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Arka plan dokusu */
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(233, 94, 9, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(9, 217, 124, 0.06), transparent 60%);
}

main {
  flex: 1;
  position: relative;
  background: rgba(0, 0, 0, 0.35);
}

a {
  color: var(--accent-lt);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* ════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--sm {
  max-width: 680px;
}

.container--md {
  max-width: 860px;
}

/* ════════════════════════════════════════════
   NAV — Yeni Tasarım (Siyah, sağ menü, Login butonu)
   ════════════════════════════════════════════ */

/* Accent mavi — #0088FF (hsl(210,100%,50%)) */
:root {
  --nav-bg:      #000000;
  --nav-text:    #ffffff;
  --nav-muted:   rgba(255,255,255,0.72);
  --nav-hover:   #ffffff;
  --nav-accent:  #0088ff;   /* Login butonu & aktif alt çizgi */
  --nav-h:       72px;
  --banner-h:    260px;     /* Navbar altı banner yüksekliği */
}

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

/* ── Marka (Sol) ── */
.nav__brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nav-text);
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: color .2s;
}
.nav__brand:hover {
  color: var(--nav-accent);
}

/* ── Sağ blok: linkler + login ── */
.nav__right {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}

/* ── Menü linkleri ── */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 .9rem;
  height: var(--nav-h);
  font-size: .875rem;
  font-weight: 500;
  color: var(--nav-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
  letter-spacing: .01em;
}

.nav__link:hover {
  color: var(--nav-hover);
}

/* Aktif — beyaz alt çizgi */
.nav__link--active {
  color: var(--nav-hover);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .9rem;
  right: .9rem;
  height: 2px;
  background: var(--nav-hover);
  border-radius: 2px 2px 0 0;
}

/* Sepet link özel */
.nav__link--cart {
  position: relative;
}

.nav__cart-badge {
  position: relative;
  top: -6px;
  margin-left: 3px;
  background: var(--nav-accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  vertical-align: top;
}

/* ── Login Butonu ── */
.nav__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: .5rem;
  padding: .38rem 1.15rem;
  background: transparent;
  border: 1.5px solid var(--nav-accent);
  border-radius: 5px;
  color: var(--nav-accent);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav__login-btn:hover {
  background: var(--nav-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 136, 255, 0.35);
}

/* ── Logout (inline form button) ── */
.nav__logout-form {
  display: flex;
  align-items: center;
}
.nav__logout-btn {
  background: none;
  border: none;
  padding: 0 .9rem;
  height: var(--nav-h);
  font-size: .875rem;
  font-weight: 500;
  color: var(--nav-muted);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav__logout-btn:hover {
  color: var(--danger);
}

/* ────────────────────────────────────────────
   NAV AVATAR — profil linki (avatar + isim)
   ──────────────────────────────────────────── */
.nav-avatar {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-left: .5rem;
  padding: .3rem .75rem .3rem .35rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.nav-avatar:hover,
.nav-avatar--active {
  border-color: var(--nav-accent);
  background: rgba(0,136,255,.08);
  box-shadow: 0 0 0 3px rgba(0,136,255,.12);
}

.nav-avatar__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nav-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-avatar__name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--nav-muted);
  letter-spacing: .01em;
  transition: color .2s;
}

.nav-avatar:hover .nav-avatar__name,
.nav-avatar--active .nav-avatar__name {
  color: #fff;
}


/* ══════════════════════════════════════════
   NAVBAR ALTI BANNER ALANI
   ══════════════════════════════════════════ */
.nav-banner {
  width: 100%;
  height: var(--banner-h);
  background: #0a0a0a;           /* fallback arka plan */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.nav-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-banner--empty {
  /* Resim eklenene kadar görünür placeholder */
  border-bottom: 1px solid rgba(255,255,255,0.06);
}



/* ════════════════════════════════════════════
   HERO GLASS (Hardcore Glassmorphism)
   ════════════════════════════════════════════ */
.hero-glass {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(25px) saturate(150%);
  -webkit-backdrop-filter: blur(25px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  padding: 1rem;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ════════════════════════════════════════════
   HOME BOXES (Dynamic Image Link Cards)
   ════════════════════════════════════════════ */
.home-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.home-box {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Dark overlay on image for contrast */
.home-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  transition: background .3s;
  z-index: 1;
  pointer-events: none;
}

.home-box:hover {
  transform: translateY(-5px);
  border-color: rgba(9, 217, 124, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(9, 217, 124, 0.1);
}

.home-box:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.home-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.home-box:hover img {
  transform: scale(1.06);
}

.home-box__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Mobile: horizontal scroll with snap */
@media (max-width: 640px) {
  .home-boxes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .75rem;
    padding-bottom: .5rem;
  }
  .home-box {
    flex: 0 0 85%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 10;
  }
  .home-boxes::-webkit-scrollbar { height: 4px; }
  .home-boxes::-webkit-scrollbar-track { background: transparent; }
  .home-boxes::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
  }
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(233, 94, 9, 0.12), transparent 65%),
    radial-gradient(ellipse 30% 20% at 50% 100%, rgba(9, 217, 124, 0.07), transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(233, 94, 9, 0.12);
  border: 1px solid rgba(233, 94, 9, 0.30);
  color: var(--ember-lt);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__title span {
  background: var(--ember-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 217, 124, 0.25);
  box-shadow: 0 8px 40px rgba(9, 217, 124, 0.08), 0 0 0 1px rgba(9, 217, 124, 0.08);
}

.card__img {
  height: 180px;
  background: linear-gradient(135deg, #1a0902, #0d0503);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__img .icon {
  font-size: 3.5rem;
  opacity: .35;
}

.card__body {
  padding: 1.5rem;
}

.card__tag {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-lt);
  margin-bottom: .5rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.card__desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.card__price {
  font-size: 1rem;
  color: var(--text-2);
}

.card__price strong {
  font-size: 1.4rem;
  color: var(--accent-lt);
  font-weight: 700;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  line-height: 1;
}

/* Birincil — yeşil gradient (öne çıkan eylem) */
.btn--primary {
  background: var(--gradient);
  color: #021a0d;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn--primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  color: #021a0d;
}

/* İkincil — turuncu gradient (alışveriş / CTA) */
.btn--ember {
  background: var(--ember-grad);
  color: #fff;
  box-shadow: 0 4px 18px var(--ember-glow);
}

.btn--ember:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--hover);
}

.btn--danger {
  background: var(--danger);
  color: #fff;
}

.btn--danger:hover {
  filter: brightness(1.1);
}

.btn--success {
  background: var(--success);
  color: #021a0d;
}

.btn--sm {
  padding: .4rem 1rem;
  font-size: .8rem;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

/* ════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: .5rem;
}

.form-input,
.form-select,
.form-textarea,
.form-control {
  width: 100%;
  background: rgba(255, 100, 30, 0.05);
  border: 1px solid rgba(255, 150, 80, 0.14);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(9, 217, 124, 0.04);
}

.form-input::placeholder,
.form-control::placeholder {
  color: var(--text-3);
}

.form-textarea,
textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.form-hint {
  font-size: .78rem;
  color: var(--text-3);
  margin-top: .35rem;
}

/* select arrow */
select.form-control,
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4896a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* datetime */
input[type="datetime-local"].form-control,
input[type="date"].form-control {
  color-scheme: dark;
}

/* ── File Upload ── */
.upload-zone {
  position: relative;
  border: 2px dashed rgba(255, 150, 80, 0.2);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: rgba(255, 100, 30, 0.03);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(9, 217, 124, 0.05);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.upload-zone__icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.upload-zone__label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
}

.upload-zone__hint {
  font-size: .8rem;
  color: var(--text-3);
}

/* Image preview */
.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.img-preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--surface);
}

.img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-preview-item__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 68, 68, .85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: .75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  line-height: 1;
}

.img-preview-item__remove:hover {
  background: var(--danger);
}

.img-preview-item__badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(233, 94, 9, .85);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Radio cards */
.radio-cards {
  display: grid;
  gap: .75rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s, background .2s;
}

.radio-card input:checked~.radio-card__inner {
  border-color: var(--accent);
  background: rgba(9, 217, 124, 0.07);
}

.radio-card:hover .radio-card__inner {
  border-color: rgba(9, 217, 124, 0.35);
}

.radio-card__label {
  font-weight: 600;
}

.radio-card__qty {
  font-size: .8rem;
  color: var(--text-2);
}

.radio-card__price {
  font-weight: 700;
  color: var(--accent-lt);
  font-size: 1.05rem;
}

.radio-card__save {
  font-size: .7rem;
  background: rgba(9, 217, 124, 0.12);
  color: var(--success);
  padding: .15rem .5rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Payment radio */
.pay-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pay-card {
  position: relative;
  cursor: pointer;
}

.pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s, background .2s;
  text-align: center;
}

.pay-card input:checked~.pay-card__inner {
  border-color: var(--ember);
  background: rgba(233, 94, 9, 0.07);
}

.pay-card:hover .pay-card__inner {
  border-color: rgba(233, 94, 9, 0.35);
}

.pay-card__icon {
  font-size: 2rem;
}

.pay-card__name {
  font-weight: 700;
}

.pay-card__note {
  font-size: .75rem;
  color: var(--text-3);
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════════════════════
   ALERTS / FLASH
   ════════════════════════════════════════════ */
.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.alert--error {
  background: rgba(255, 68, 68, .18);
  border: 1px solid rgba(255, 68, 68, .35);
  color: #fca5a5;
}

.alert--success {
  background: rgba(9, 217, 124, .18);
  border: 1px solid rgba(9, 217, 124, .35);
  color: #6ee7b7;
}

.alert--warning {
  background: rgba(255, 184, 77, .18);
  border: 1px solid rgba(255, 184, 77, .35);
  color: #fcd34d;
}

.alert--info {
  background: rgba(56, 189, 248, .18);
  border: 1px solid rgba(56, 189, 248, .35);
  color: #93c5fd;
}

/* Demo banner */
.demo-banner {
  background: linear-gradient(90deg, rgba(255, 184, 77, .12), rgba(255, 184, 77, .04));
  border: 1px solid rgba(255, 184, 77, .25);
  border-radius: var(--radius-sm);
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fcd34d;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.demo-banner__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   TABLE
   ════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(255, 100, 30, 0.06);
}

th {
  padding: .75rem 1rem;
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: .875rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(255, 100, 30, 0.04);
}

/* ════════════════════════════════════════════
   BADGES / STATUS
   ════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge--pending {
  background: rgba(255, 184, 77, .12);
  color: var(--warning);
}

.badge--paid {
  background: rgba(9, 217, 124, .12);
  color: var(--success);
}

.badge--expired {
  background: rgba(120, 80, 50, .15);
  color: var(--text-3);
}

.badge--failed {
  background: rgba(255, 68, 68, .12);
  color: var(--danger);
}

/* ════════════════════════════════════════════
   ORDER CONFIRM PAGE
   ════════════════════════════════════════════ */
.order-confirm {
  max-width: 560px;
  margin: 3rem auto;
}

.order-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  word-break: break-all;
  background: var(--surface);
  border: 1px solid rgba(9, 217, 124, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--accent-lt);
}

.order-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.order-amount small {
  font-size: 1rem;
  color: var(--text-2);
  font-weight: 400;
}

/* ════════════════════════════════════════════
   RECOVERY KEY
   ════════════════════════════════════════════ */
.recovery-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  letter-spacing: .12em;
  font-weight: 600;
  word-break: break-all;
  color: var(--accent-lt);
  background: var(--surface);
  border: 1px solid rgba(9, 217, 124, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 0 0 1px var(--accent-glow), inset 0 0 40px rgba(9, 217, 124, 0.04);
}

/* ════════════════════════════════════════════
   AUTH PAGES
   ════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-box {
  background: var(--card);
  border: 1px solid rgba(255, 150, 80, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-box__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.auth-box__sub {
  color: var(--text-2);
  font-size: .9rem;
  margin-bottom: 2rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-3);
  font-size: .8rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ════════════════════════════════════════════
   CHECKOUT LAYOUT
   ════════════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.checkout-panel+.checkout-panel {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  font-size: .9rem;
}

.cart-summary-row+.cart-summary-row {
  border-top: 1px solid var(--border);
}

.cart-summary-row--total {
  font-weight: 700;
  font-size: 1.05rem;
}

.cart-summary-row--discount span:last-child {
  color: var(--success);
}

/* ════════════════════════════════════════════
   CART PAGE
   ════════════════════════════════════════════ */
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
}

.cart-item__name {
  font-weight: 600;
  margin-bottom: .2rem;
}

.cart-item__meta {
  font-size: .8rem;
  color: var(--text-2);
}

.cart-item__price {
  font-weight: 700;
  text-align: right;
  margin-bottom: .5rem;
  color: var(--accent-lt);
}

/* ════════════════════════════════════════════
   PRODUCT DETAIL
   ════════════════════════════════════════════ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-img {
  height: 320px;
  background: linear-gradient(135deg, #1a0902, #0d0503);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.product-img .icon {
  font-size: 6rem;
  opacity: .25;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: .75rem;
}

.product-desc {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ════════════════════════════════════════════
   PAGE HEADER
   ════════════════════════════════════════════ */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.page-header p {
  color: var(--text-2);
  margin-top: .3rem;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  padding: .75rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

/* Brand */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .03em;
}

.footer__tagline {
  font-size: .75rem;
  font-weight: 500;
  color: var(--accent-lt);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Contact links */
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: .4rem .75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  transition: color .2s, background .2s, border-color .2s;
  text-decoration: none;
}

a.footer__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer__link-icon {
  font-size: .95rem;
  line-height: 1;
  vertical-align: middle;
}

/* Copyright */
.footer__copy {
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: .02em;
}

/* ════════════════════════════════════════════
   PROSE (dynamic page content)
   ════════════════════════════════════════════ */
.prose {
  line-height: 1.8;
  color: var(--text);
}

.prose h1,
.prose h2,
.prose h3 {
  font-weight: 700;
  margin: 2rem 0 .75rem;
  line-height: 1.25;
}

.prose h1 {
  font-size: 1.8rem;
}

.prose h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
}

.prose h3 {
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-2);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin: 0 0 1.1rem;
  color: var(--text-2);
}

.prose li {
  margin-bottom: .35rem;
}

.prose a {
  color: var(--accent-lt);
  text-decoration: underline;
}

.prose a:hover {
  color: #fff;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid var(--ember);
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  background: rgba(233, 94, 9, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-2);
}

.prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85em;
  background: var(--card);
  border: 1px solid var(--border);
  padding: .15em .4em;
  border-radius: 4px;
  color: var(--accent-lt);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.prose img {
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  border: 1px solid var(--border);
}

/* ════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════ */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-2);
}

.text-sm {
  font-size: .875rem;
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: .5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.gap-1 {
  gap: .5rem;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(9, 217, 124, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ════════════════════════════════════════════
   CAPTCHA SAYFASI
   ════════════════════════════════════════════ */
/* captcha.html.twig kendi inline stilini kullanıyor;
   bu token'lar o sayfada da geçerli */

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 600px) {
  .nav__links {
    gap: .75rem;
  }

  .pay-cards {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2rem;
  }
}

/* ════════════════════════════════════════════
   NAVBAR — AUTH BUTONLARI (sağ taraf)
   ════════════════════════════════════════════ */
.nav__auth {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  padding-left: 1.5rem;
}

.nav__auth-link {
  color: var(--text-2);
  font-size: .87rem;
  font-weight: 500;
  transition: color .2s;
}

.nav__auth-link:hover {
  color: var(--text);
}

.nav__auth-form {
  display: flex;
}

.nav__auth-logout {
  background: none;
  border: none;
  color: var(--text-2);
  font: inherit;
  cursor: pointer;
  font-size: .87rem;
  font-weight: 500;
  padding: 0;
  transition: color .2s;
}

.nav__auth-logout:hover {
  color: var(--danger);
}

/* Auth pill butonlar */
.btn--auth-login {
  background: transparent;
  border: 1px solid rgba(255,150,80,.22);
  color: var(--text-2);
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn--auth-login:hover {
  border-color: var(--ember);
  color: var(--text);
  background: rgba(233,94,9,.08);
}

.btn--auth-register {
  background: var(--ember-grad);
  color: #fff;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 2px 12px var(--ember-glow);
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn--auth-register:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}

/* ════════════════════════════════════════════
   FOOTER — YENİ STILLER
   ════════════════════════════════════════════ */
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__tagline {
  font-size: .78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-2);
  font-size: .87rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all .2s;
  text-decoration: none;
}

.footer__link:hover {
  border-color: var(--ember);
  color: var(--text);
  background: rgba(233,94,9,.07);
}

.footer__link-icon {
  font-size: 1rem;
}

.footer__copy {
  font-size: .78rem;
  color: var(--text-3);
}

/* ════════════════════════════════════════════
   DELIVERY CARDS (Kargo / Kurye seçimi)
   ════════════════════════════════════════════ */
.delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: .5rem;
}

.delivery-card {
  position: relative;
  cursor: pointer;
}

.delivery-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s;
  text-align: center;
}

.delivery-card input:checked ~ .delivery-card__inner {
  border-color: var(--accent);
  background: rgba(9, 217, 124, 0.07);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.delivery-card:hover .delivery-card__inner {
  border-color: rgba(9, 217, 124, 0.35);
}

.delivery-card__icon {
  font-size: 2.2rem;
}

.delivery-card__name {
  font-weight: 700;
  font-size: 1rem;
}

.delivery-card__note {
  font-size: .75rem;
  color: var(--text-3);
}

/* ── CSS-ONLY Show/Hide teslimat alanları (No JS) ──
   Kargo alanları: sadece #delivery-cargo checked iken göster
   Kurye alanları: sadece #delivery-courier checked iken göster
*/
.delivery-fields--cargo,
.delivery-fields--courier {
  display: none;
  overflow: hidden;
  animation: fadeIn .3s ease;
}

/* Bu selector inline :has olmadan alternatifte hidden yerine display none*/
/* Varsayılan olarak cargo hidden, courier hidden */
/* CSS :has desteği varsa (modern browserlar) */
:has(#delivery-cargo:checked) .delivery-fields--cargo {
  display: block;
}

:has(#delivery-courier:checked) .delivery-fields--courier {
  display: block;
}

/* Fallback: eğer :has desteklenmiyorsa her ikisi de görünür */
@supports not selector(:has(*)) {
  .delivery-fields--cargo,
  .delivery-fields--courier {
    display: block;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   PAY CARDS — Genişletilmiş (5 kripto)
   ════════════════════════════════════════════ */
.pay-cards {
  grid-template-columns: repeat(3, 1fr);
}

/* Renk teması: her kriptonun kendi rengi */
.pay-card--btc input:checked ~ .pay-card__inner {
  border-color: #f7931a;
  background: rgba(247, 147, 26, 0.08);
}
.pay-card--btc:hover .pay-card__inner { border-color: rgba(247,147,26,.4); }
.pay-card--btc .pay-card__icon { color: #f7931a; }

.pay-card--eth input:checked ~ .pay-card__inner {
  border-color: #627eea;
  background: rgba(98, 126, 234, 0.08);
}
.pay-card--eth:hover .pay-card__inner { border-color: rgba(98,126,234,.4); }
.pay-card--eth .pay-card__icon { color: #627eea; }

.pay-card--usdt input:checked ~ .pay-card__inner {
  border-color: #26a17b;
  background: rgba(38, 161, 123, 0.08);
}
.pay-card--usdt:hover .pay-card__inner { border-color: rgba(38,161,123,.4); }
.pay-card--usdt .pay-card__icon { color: #26a17b; }

.pay-card--trx input:checked ~ .pay-card__inner {
  border-color: #ef0027;
  background: rgba(239, 0, 39, 0.08);
}
.pay-card--trx:hover .pay-card__inner { border-color: rgba(239,0,39,.4); }
.pay-card--trx .pay-card__icon { color: #ef0027; }

.pay-card--xmr input:checked ~ .pay-card__inner {
  border-color: #ff6600;
  background: rgba(255, 102, 0, 0.08);
}
.pay-card--xmr:hover .pay-card__inner { border-color: rgba(255,102,0,.4); }
.pay-card--xmr .pay-card__icon { color: #ff6600; }

/* ════════════════════════════════════════════
   SIMPLEX INFO BOX
   ════════════════════════════════════════════ */
.simplex-info-box {
  background: rgba(9, 217, 124, 0.05);
  border: 1px solid rgba(9, 217, 124, 0.18);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.simplex-info-box__header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
}

.simplex-info-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.simplex-info-box__text {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn--simplex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s;
  background: linear-gradient(135deg, #09d97c, #04a15b);
  color: #021a0d;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn--simplex:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  color: #021a0d;
}

/* Simplex yönlendirme kartı (order confirm/status) */
.simplex-redirect-card {
  background: rgba(9, 217, 124, 0.04);
  border: 1px solid rgba(9, 217, 124, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.simplex-redirect-card--after {
  background: rgba(233, 94, 9, 0.04);
  border-color: rgba(233, 94, 9, 0.18);
}

.simplex-redirect-card__header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .5rem;
}

.simplex-redirect-card__header p {
  font-size: .85rem;
  color: var(--text-2);
  margin-top: .2rem;
}

.simplex-redirect-card__body {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* IBAN alternatif satırı */
.iban-alt-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .9rem 1.1rem;
  background: rgba(255,150,80,.04);
  border: 1px solid rgba(255,150,80,.12);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-2);
}

/* ════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.about-panel {
  display: flex;
  flex-direction: column;
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.about-panel h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.about-panel p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

/* ════════════════════════════════════════════
   STICKY SUMMARY (checkout sidebar)
   ════════════════════════════════════════════ */
.sticky-summary {
  position: sticky;
  top: 80px;
}

/* ════════════════════════════════════════════
   RESPONSIVE — GÜNCELLENMİŞ
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav__inner {
    flex-wrap: wrap;
    height: auto;
    padding: .75rem 1rem;
    gap: .5rem;
  }

  .nav__right {
    order: 2;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .delivery-cards,
  .pay-cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
  }

  .iban-alt-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-drawer {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .delivery-cards,
  .pay-cards {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════
   ABOUT PAGE — PURE CSS RADIO HACK (JS FREE)
   ════════════════════════════════════════════ */

/* ─── Toggle input'larını tamamen gizle ─── */
.about-toggle {
  position: absolute;
  width: 0; height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ─── Grid ─── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  padding: 2rem 0 5rem;
  position: relative;
}

/* ─── Kart wrapper (grid hücresi) ─── */
.about-wrap {
  position: relative;
}

/* ─── Glassmorphism Kart (normal durum) ─── */
.about-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  position: relative;
  overflow: hidden;
  background: rgba(22, 11, 5, 0.60);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255, 150, 80, 0.13);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition:
    transform          0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity            0.35s ease,
    border-color       0.25s ease,
    box-shadow         0.25s ease,
    filter             0.35s ease,
    width              0.6s cubic-bezier(0.16, 1, 0.3, 1),
    max-height         0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Hover efekti (sadece normal durumda) */
.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 136, 255, 0.40);
  box-shadow:
    0 12px 40px rgba(0, 136, 255, 0.10),
    0 0 0 1px rgba(0, 136, 255, 0.10);
}

/* ─── Watermark ikon ─── */
.about-card__watermark {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 5.5rem;
  opacity: .055;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(1);
  user-select: none;
}

.about-card:hover .about-card__watermark {
  opacity: .10;
  transform: scale(1.07) rotate(-4deg);
}

/* ─── İkon ─── */
.about-card__icon {
  font-size: 1.9rem;
  line-height: 1;
  transition: font-size 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Başlık ─── */
.about-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  transition: font-size 0.4s ease;
}

/* ─── 2 satır özet (clamp) ─── */
.about-card__summary {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

/* ─── Detay içerik (varsayılan gizli) ─── */
.about-card__detail {
  display: none;
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: .25rem;
}

.about-card__detail strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── CTA metinleri ─── */
.about-card__cta {
  margin-top: .25rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--nav-accent, #0088ff);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .22s, transform .22s;
}

.about-card:hover .about-card__cta {
  opacity: 1;
  transform: translateX(0);
}

/* "Kapat" CTA — genişleme anında görünür */
.about-card__cta-close {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-3);
  display: none;
  margin-top: 1.25rem;
  text-align: center;
}

/* ─── ✕ Kapatma butonu (af-none radio'sunu seçer) ─── */
.about-x-btn {
  display: none;
  position: fixed;
  z-index: 602;
  cursor: pointer;
  background: rgba(20, 10, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 150, 80, 0.20);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  transition: background .2s, color .2s, border-color .2s;
  /* Pozisyon genişleme sonrası hesaplanacak */
  top: calc(50% - min(42vh, 300px) - 20px);
  left: calc(50% + min(300px, 45vw) - 20px);
}

.about-x-btn:hover {
  background: rgba(255, 68, 68, .18);
  color: #fff;
  border-color: rgba(255, 68, 68, .35);
}

/* ─── Backdrop overlay ─── */
.about-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  cursor: pointer;
  /* Geçiş efekti */
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* ════════════════════════════════════════════
   PURE CSS RADIO HACK — ACTIVE STATES (FIXED)
   Bug fix: .about-grid is inside .container,
   so sibling selector must traverse: ~ .container .about-grid
   ════════════════════════════════════════════ */

/* ─── Overlay z-index ─── */
.about-overlay {
  z-index: 9000 !important;
}

/* ─── Close btn z-index ─── */
.about-x-btn {
  z-index: 10000 !important;
}

/* ─── 1. Overlay göster ─── */
#af-0:checked ~ .about-overlay,
#af-1:checked ~ .about-overlay,
#af-2:checked ~ .about-overlay,
#af-3:checked ~ .about-overlay,
#af-4:checked ~ .about-overlay,
#af-5:checked ~ .about-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ─── 2. Tüm kartları silt + blur ─── */
/* NOT: ~ .container .about-grid — grid, container içinde olduğu için doğru path */
#af-0:checked ~ .container .about-card,
#af-1:checked ~ .container .about-card,
#af-2:checked ~ .container .about-card,
#af-3:checked ~ .container .about-card,
#af-4:checked ~ .container .about-card,
#af-5:checked ~ .container .about-card {
  opacity: 0.08;
  filter: blur(2px) saturate(0.2);
  pointer-events: none;
  transform: scale(0.97);
}

/* ─── Ortak expanded kart stilleri ─── */
/* Shorthand mixin yerine her kart ayrı ayrı tanımlanıyor */

/* Kart 0 */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important;
  max-height: 84vh !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: all !important;
  border-color: rgba(0, 136, 255, 0.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important;
  cursor: default !important;
}

/* Kart 1 */
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card {
  position: fixed !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important; max-height: 84vh !important;
  overflow-y: auto !important; z-index: 9999 !important;
  opacity: 1 !important; filter: none !important; pointer-events: all !important;
  border-color: rgba(0,136,255,.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important; cursor: default !important;
}

/* Kart 2 */
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card {
  position: fixed !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important; max-height: 84vh !important;
  overflow-y: auto !important; z-index: 9999 !important;
  opacity: 1 !important; filter: none !important; pointer-events: all !important;
  border-color: rgba(0,136,255,.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important; cursor: default !important;
}

/* Kart 3 */
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card {
  position: fixed !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important; max-height: 84vh !important;
  overflow-y: auto !important; z-index: 9999 !important;
  opacity: 1 !important; filter: none !important; pointer-events: all !important;
  border-color: rgba(0,136,255,.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important; cursor: default !important;
}

/* Kart 4 */
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card {
  position: fixed !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important; max-height: 84vh !important;
  overflow-y: auto !important; z-index: 9999 !important;
  opacity: 1 !important; filter: none !important; pointer-events: all !important;
  border-color: rgba(0,136,255,.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important; cursor: default !important;
}

/* Kart 5 */
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card {
  position: fixed !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(580px, 92vw) !important; max-height: 84vh !important;
  overflow-y: auto !important; z-index: 9999 !important;
  opacity: 1 !important; filter: none !important; pointer-events: all !important;
  border-color: rgba(0,136,255,.55) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.80), 0 0 0 1px rgba(0,136,255,.22) !important;
  background: rgba(12, 6, 2, 0.97) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  padding: 2.25rem 2rem 2rem !important; cursor: default !important;
}

/* ─── Watermark: genişler ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__watermark,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__watermark,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__watermark,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__watermark,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__watermark,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__watermark {
  font-size: 11rem;
  opacity: .07;
  filter: grayscale(0.3);
  right: -20px;
  bottom: -20px;
}

/* ─── İkon büyür ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__icon,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__icon,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__icon,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__icon,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__icon,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__icon {
  font-size: 2.6rem;
}

/* ─── Başlık büyür ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__title,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__title,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__title,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__title,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__title,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__title {
  font-size: 1.35rem;
  margin-bottom: .3rem;
}

/* ─── Özet gizlenir ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__summary,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__summary,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__summary,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__summary,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__summary,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__summary {
  display: none !important;
}

/* ─── Detay görünür ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__detail,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__detail,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__detail,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__detail,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__detail,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__detail {
  display: block !important;
}

/* ─── "Daha fazla" gizle ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-card__cta,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-card__cta,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-card__cta,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-card__cta,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-card__cta,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-card__cta {
  display: none !important;
}

/* ─── ✕ Butonu göster ─── */
#af-0:checked ~ .container .about-grid .about-wrap:nth-child(1) .about-x-btn,
#af-1:checked ~ .container .about-grid .about-wrap:nth-child(2) .about-x-btn,
#af-2:checked ~ .container .about-grid .about-wrap:nth-child(3) .about-x-btn,
#af-3:checked ~ .container .about-grid .about-wrap:nth-child(4) .about-x-btn,
#af-4:checked ~ .container .about-grid .about-wrap:nth-child(5) .about-x-btn,
#af-5:checked ~ .container .about-grid .about-wrap:nth-child(6) .about-x-btn {
  display: flex !important;
}

/* ─── Scrollbar (expanded) ─── */
.about-card::-webkit-scrollbar { width: 5px; }
.about-card::-webkit-scrollbar-track { background: transparent; }
.about-card::-webkit-scrollbar-thumb {
  background: rgba(0, 136, 255, 0.30);
  border-radius: 3px;
}


/* ════════════════════════════════════════════
   HAMBURGER MENU — CSS-ONLY (checkbox hack)
   ════════════════════════════════════════════ */

/* Gizli toggle checkbox */
.nav__hamburger-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}

/* Hamburger butonu (3 çizgi) — masaüstünde gizli */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nav-muted);
  border-radius: 2px;
  transition: transform .25s, opacity .2s, background .2s;
  transform-origin: center;
}

.nav__hamburger:hover span { background: #fff; }

/* Checkbox açıkken: 3 çizgi → X animasyonu */
.nav__hamburger-toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger-toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger-toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Genel kapsayıcı ── */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ── Navbar ── */
  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    flex-wrap: wrap;
    height: auto;
    padding: .9rem 1rem;
    gap: 0;
    position: relative;
  }

  /* Nav brand sol, hamburger sağ satırda */
  .nav__brand {
    font-size: 1.25rem;
  }

  /* Nav right: gizle, checkbox ile aç */
  .nav__right {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: .5rem 0 1rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: .75rem;
    order: 3;
  }

  /* Checkbox işaretlenince nav__right görünür */
  .nav__hamburger-toggle:checked ~ .nav__inner .nav__right {
    display: flex;
  }

  .nav__link {
    height: auto;
    padding: .75rem .5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .95rem;
  }

  .nav__link--active::after { display: none; }

  .nav__login-btn {
    margin: .75rem 0 0;
    width: 100%;
    justify-content: center;
    padding: .65rem;
  }

  .nav-avatar {
    margin: .75rem 0 0;
    width: 100%;
    border-radius: 8px;
    justify-content: flex-start;
    padding: .55rem .75rem;
  }

  /* ── Ürün grid ── */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 0 3rem;
  }

  /* ── Checkout grid: yan yana → alt alta ── */
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .sticky-summary {
    position: static;
  }

  /* ── Sipariş tutarı grid ── */
  .delivery-cards,
  .pay-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Hero ── */
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__sub {
    font-size: .95rem;
  }

  /* ── Auth sayfaları ── */
  .auth-page {
    padding: 1.5rem 1rem;
  }

  .auth-box {
    padding: 1.75rem 1.25rem;
    width: 100%;
    max-width: 100% !important;
    border-radius: 12px;
  }

  /* ── Tablolar yatay kaydırılabilir ── */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap table {
    min-width: 600px;
  }

  /* ── Page header ── */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  /* ── Checkout panel form 2-col → 1-col ── */
  .checkout-panel [style*="grid-template-columns:1fr 1fr"],
  .checkout-panel div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Footer ── */
  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
  }

  /* ── Ürün detay ── */
  .product-detail-grid,
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Admin panel: sidebar collapse ── */
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    overflow: visible;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-sidebar__section { padding: .6rem .75rem .2rem; }

  .admin-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: .25rem .5rem .5rem;
    gap: 4px;
  }

  .admin-sidebar__link {
    font-size: .78rem;
    padding: .35rem .6rem;
  }

  .admin-sidebar__footer {
    display: none;
  }

  .admin-content {
    padding: 1.25rem 1rem 3rem;
  }

  /* ── Admin tablolar ── */
  .admin-shell .table-wrap {
    overflow-x: auto;
  }

  .admin-shell .table-wrap table {
    min-width: 700px;
  }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBİL (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Ürünler: tek sütun ── */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* ── Kart boyutları ── */
  .card__img { height: 140px; }

  /* ── Ödeme kartları: tek sütun ── */
  .delivery-cards,
  .pay-cards {
    grid-template-columns: 1fr;
  }

  /* ── Hero başlık daha küçük ── */
  .hero__title {
    font-size: 1.65rem;
    letter-spacing: -.5px;
  }

  /* ── Butonlar: tam genişlik ── */
  .btn--block {
    padding: .75rem 1rem;
  }

  /* ── Auth box: kenar boşluğu sıfırla ── */
  .auth-page {
    padding: 1rem .5rem;
    min-height: auto;
  }

  .auth-box {
    padding: 1.25rem 1rem;
    border-radius: 8px;
  }

  /* ── Form giriş alanları: büyük dokunma hedefi ── */
  .form-input, .form-textarea, .form-group select {
    padding: .7rem .85rem;
    font-size: 1rem;
  }

  /* ── Nav __ inner daha az padding ── */
  .nav__inner {
    padding: .75rem .75rem;
  }

  .nav__brand { font-size: 1.1rem; }

  /* ── Sipariş kartları ── */
  .order-card {
    padding: 1rem;
  }

  /* ── Footer ── */
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer__brand-name { font-size: 1.1rem; }
}

/* ════════════════════════════════════════════
   iOS INSTALL BANNER
   ════════════════════════════════════════════ */
.ios-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  transition: transform .3s ease;
}

.ios-install-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.ios-install-banner__close {
  position: absolute;
  top: .5rem;
  right: .75rem;
  font-size: 1rem;
  color: var(--text-2);
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 4px;
  transition: background .15s;
}

.ios-install-banner__close:hover {
  background: var(--bg);
  color: var(--text);
}

/* When checkbox checked: slide banner off screen */
#ios-banner-dismiss:checked ~ .ios-install-banner {
  transform: translateY(120%);
  pointer-events: none;
}


/* ════════════════════════════════════════════
   PRODUCTS PAGE — Responsive Layout
   ════════════════════════════════════════════ */

.products-page {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* ── Sayfa başlığı ── */
.products-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.products-page__header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.products-page__count {
  font-size: .9rem;
  color: var(--text-2);
  margin: 0;
}

/* Mobil arama: masaüstünde gizli */
.products-page__search-mobile { display: none; }

/* ── Ana İçerik Grid (Desktop) ── */
.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Sidebar ── */
.products-sidebar__search {
  margin-bottom: 1.5rem;
}

.products-sidebar__cats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.products-sidebar__cats-head {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--text-2);
  text-transform: uppercase;
}

.products-sidebar__cat-link {
  display: block;
  padding: .65rem 1rem;
  font-size: .875rem;
  color: var(--text-2);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background .15s, color .15s;
}

.products-sidebar__cat-link:first-child { border-top: none; }

.products-sidebar__cat-link:hover {
  background: var(--accent-glow);
  color: var(--text);
}

.products-sidebar__cat-link.active {
  background: var(--accent-glow);
  color: var(--accent-lt);
  font-weight: 600;
}

/* Mobil kategori chip'leri: masaüstünde gizli */
.products-cats-chips { display: none; }

/* ── Ürün grid ── */
.products-main { min-width: 0; }

/* form input yerine form-control */
.form-control {
  width: 100%;
  padding: .6rem .85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-lt);
  box-shadow: 0 0 0 3px rgba(9, 217, 124, 0.12);
}


/* ════════════════════════════════════════════
   PRODUCTS PAGE — Tablet & Mobile Overrides
   ════════════════════════════════════════════ */
@media (max-width: 768px) {

  .products-page {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  /* ── Ürün sayısı + arama tamamen gizle ── */
  .products-page__count        { display: none; }
  .products-page__search-mobile { display: none; }

  /* ── Başlık kompakt ── */
  .products-page__header {
    margin-bottom: .75rem;
  }

  .products-page__header h1 {
    font-size: 1.15rem;
  }

  /* ── Sidebar gizle ── */
  .products-sidebar { display: none; }

  /* ── Layout: tek sütun (sidebar yok, main tam genişlik) ── */
  .products-layout {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  /* ── Kategori chip'leri göster ── */
  .products-cats-chips {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .4rem;
    margin-bottom: .6rem;
  }

  .products-cats-chips::-webkit-scrollbar { display: none; }

  .cat-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: .32rem .85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
  }

  .cat-chip:hover      { background: var(--accent-glow); color: var(--text); }
  .cat-chip--active    {
    background: var(--accent-glow);
    border-color: var(--accent-lt);
    color: var(--accent-lt);
    font-weight: 600;
  }

  /* ── Ürün grid: HEP 2 sütun ── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    padding: 0 0 2rem;
  }

  /* ── Kart: dikey yapı koru, boyutları optimize et ── */
  .card {
    display: block; /* yatay liste yok */
    overflow: hidden;
  }

  .card__img {
    height: 150px;
    width: 100%;
    border-radius: 0;
  }

  .card__body {
    padding: .65rem .7rem .75rem;
  }

  .card__tag {
    font-size: .65rem;
    margin-bottom: .25rem;
  }

  .card__title {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card__desc {
    font-size: .74rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-2);
    margin-bottom: .35rem;
  }

  .card__price {
    font-size: .78rem;
    margin-top: auto;
  }
}

/* 480px ve altı: hâlâ 2 sütun ama biraz daha kompakt */
@media (max-width: 480px) {

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }

  .card__img { height: 130px; }

  .card__body { padding: .55rem .55rem .65rem; }

  .card__title  { font-size: .8rem;  }
  .card__desc   { font-size: .7rem; -webkit-line-clamp: 1; }
  .card__price  { font-size: .74rem; }
  .card__tag    { font-size: .6rem; }
}


/* ════════════════════════════════════════════
   PRODUCT CARD — Yeni BEM bileşeni
   ════════════════════════════════════════════ */

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 217, 124, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(9, 217, 124, 0.08);
}

/* ── Resim alanı — sabit aspect ratio ── */
.product-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a0a02, #0c0601);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__img-placeholder {
  font-size: 2.5rem;
  opacity: .4;
}

/* ── İçerik ── */
.product-card__body {
  padding: .85rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .3rem;
}

.product-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ember-lt);
  opacity: .85;
}

.product-card__title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.product-card__desc {
  font-size: .78rem;
  color: var(--text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card__price {
  margin-top: .5rem;
  display: flex;
  align-items: baseline;
  gap: .3rem;
  flex-wrap: wrap;
}

.product-card__price strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-lt);
}

.product-card__price-sub {
  font-size: .72rem;
  color: var(--text-2);
}

.product-card__price-na {
  font-size: .78rem;
  color: var(--text-3);
}


/* ════════════════════════════════════════════
   PRODUCT CARD — Mobile (≤ 768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Arama + count tamamen gizle */
  .products-page__count  { display: none !important; }
  .products-sidebar      { display: none !important; }

  .products-page { padding-top: .85rem; padding-bottom: 2.5rem; }

  .products-page__header {
    margin-bottom: .65rem;
  }

  .products-page__header h1 {
    font-size: 1.1rem;
    font-weight: 700;
  }

  /* Layout: full width */
  .products-layout {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  /* Kategori chip bar */
  .products-cats-chips {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .35rem;
    margin-bottom: .6rem;
  }

  .products-cats-chips::-webkit-scrollbar { display: none; }

  .cat-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: .3rem .8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
  }

  .cat-chip--active {
    background: rgba(9, 217, 124, 0.12);
    border-color: var(--accent-lt);
    color: var(--accent-lt);
    font-weight: 600;
  }

  /* Product grid: her zaman 2 sütun */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .6rem;
    padding-bottom: 2rem;
  }

  /* Kart */
  .product-card { border-radius: 10px; }

  .product-card__img {
    aspect-ratio: 3 / 2;
  }

  .product-card__img-placeholder { font-size: 2rem; }

  .product-card__body {
    padding: .6rem .65rem .7rem;
    gap: .2rem;
  }

  .product-card__tag    { font-size: .62rem; }
  .product-card__title  { font-size: .82rem; }
  .product-card__desc   { font-size: .7rem; -webkit-line-clamp: 1; }

  .product-card__price strong { font-size: .88rem; }
  .product-card__price-sub    { font-size: .66rem; }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .45rem;
  }

  .product-card__img { aspect-ratio: 1 / 1; }

  .product-card__body {
    padding: .5rem .55rem .6rem;
  }

  .product-card__title  { font-size: .78rem; }
  .product-card__desc   { display: none; }
  .product-card__price strong { font-size: .82rem; }
}


/* ════════════════════════════════════════════
   PWA KURULUM MODALI
   ════════════════════════════════════════════ */

/* Tam ekran bulanık overlay */
.pwa-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;  /* Modal alttan çıkar */
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pwa-fade-in .3s ease;
}

@keyframes pwa-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal kart */
.pwa-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px 20px 16px 16px;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 -4px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,.04);
  animation: pwa-slide-up .35s cubic-bezier(.25,.46,.45,.94);
  text-align: center;
}

@keyframes pwa-slide-up {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Kapat ✕ */
.pwa-modal__close {
  position: absolute;
  top: .85rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  transition: background .15s, color .15s;
}

.pwa-modal__close:hover { background: rgba(255,255,255,.12); color: #fff; }

/* İkon */
.pwa-modal__icon {
  font-size: 2.8rem;
  margin-bottom: .75rem;
  display: block;
}

/* Başlık */
.pwa-modal__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .35rem;
}

/* Alt başlık */
.pwa-modal__sub {
  font-size: .85rem;
  color: var(--text-2);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

/* iOS adım listesi */
.pwa-modal__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-align: left;
}

.pwa-modal__steps li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.45;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: .65rem .85rem;
}

.pwa-modal__steps li strong { color: #fff; }

.pwa-modal__step-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(9, 217, 124, 0.18);
  border: 1px solid rgba(9, 217, 124, 0.4);
  color: var(--accent-lt);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-modal__share-icon {
  display: inline-block;
  font-size: 1rem;
  vertical-align: middle;
  margin-left: .15rem;
  opacity: .8;
}

/* Android: install butonu */
.pwa-modal__install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0 auto 1rem;
  padding: .75rem 1.5rem;
  background: var(--accent-lt);
  color: #0a0a0a;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(9, 217, 124, 0.35);
}

.pwa-modal__hint {
  font-size: .78rem;
  color: var(--text-3);
  margin: 0 0 1.25rem;
}

/* "Şimdi değil" linki */
.pwa-modal__later {
  display: block;
  font-size: .82rem;
  color: var(--text-2);
  text-decoration: none;
  padding: .4rem;
  border-radius: 6px;
  transition: color .15s;
}

.pwa-modal__later:hover { color: #fff; }

/* Masaüstünde asla gösterme */
@media (min-width: 769px) {
  .pwa-overlay { display: none !important; }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE-FIRST FOUNDATION — iOS Safe Area, Touch, Layout
   ════════════════════════════════════════════════════════════════ */

/* ── iOS Safe Area ── */
@supports (padding: env(safe-area-inset-top)) {
  .nav {
    padding-top: env(safe-area-inset-top);
  }
  .footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ── Touch Targets — min 44px ── */
@media (pointer: coarse) {
  .btn,
  .nav__link,
  .nav__login-btn,
  .nav-avatar,
  .radio-card__inner,
  .pay-card__inner,
  .cat-chip {
    min-height: 44px;
  }

  .form-input,
  .form-select,
  .form-textarea,
  .form-control {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .btn--sm {
    min-height: 40px;
  }
}

/* ════════════════════════════════════════════════════════════════
   CART PAGE — Responsive Layout
   ════════════════════════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cart-item {
    padding: .8rem;
  }

  .cart-item__name a {
    font-size: .9rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   ORDERS — Table / Card Visibility Toggle
   ════════════════════════════════════════════════════════════════ */
.orders-cards-mobile {
  display: none;
}

@media (max-width: 768px) {
  .orders-table-desktop {
    display: none !important;
  }

  .orders-cards-mobile {
    display: block;
  }

  /* Stats compact */
  .orders-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: .65rem;
  }

  .orders-stats .checkout-panel {
    padding: 1rem .75rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   NO-JS PRODUCT THUMBNAIL SWITCHER (CSS :checked)
   ════════════════════════════════════════════════════════════════ */
.media-switcher {
  position: relative;
}

/* Radio inputs — hidden but accessible */
.media-switcher__radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* All media items hidden by default */
.media-switcher__item {
  display: none;
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Show first by default (when none checked, CSS structure handles it) */
.media-switcher__item:first-of-type {
  display: block;
}

/* When radio N is checked, show media item N via general sibling */
.media-switcher__radio:nth-of-type(1):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(1):checked ~ .media-switcher__stage .media-switcher__item:nth-child(1) { display: block; }

.media-switcher__radio:nth-of-type(2):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(2):checked ~ .media-switcher__stage .media-switcher__item:nth-child(2) { display: block; }

.media-switcher__radio:nth-of-type(3):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(3):checked ~ .media-switcher__stage .media-switcher__item:nth-child(3) { display: block; }

.media-switcher__radio:nth-of-type(4):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(4):checked ~ .media-switcher__stage .media-switcher__item:nth-child(4) { display: block; }

.media-switcher__radio:nth-of-type(5):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(5):checked ~ .media-switcher__stage .media-switcher__item:nth-child(5) { display: block; }

.media-switcher__radio:nth-of-type(6):checked ~ .media-switcher__stage .media-switcher__item { display: none; }
.media-switcher__radio:nth-of-type(6):checked ~ .media-switcher__stage .media-switcher__item:nth-child(6) { display: block; }

/* Thumbnail strip */
.media-switcher__thumbs {
  display: flex;
  gap: .45rem;
  margin-top: .75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .25rem;
}

.media-switcher__thumbs::-webkit-scrollbar { display: none; }

.media-switcher__thumb-label {
  flex-shrink: 0;
  cursor: pointer;
}

.media-switcher__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: .55;
  transition: opacity .2s, border-color .2s;
}

.media-switcher__thumb:hover {
  opacity: .8;
}

.media-switcher__thumb--video {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: .7rem;
  color: var(--text-2);
  opacity: .55;
  transition: opacity .2s, border-color .2s;
}

/* Active thumb state */
.media-switcher__radio:nth-of-type(1):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(1) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(1):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(1) .media-switcher__thumb--video,
.media-switcher__radio:nth-of-type(2):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(2) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(2):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(2) .media-switcher__thumb--video,
.media-switcher__radio:nth-of-type(3):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(3) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(3):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(3) .media-switcher__thumb--video,
.media-switcher__radio:nth-of-type(4):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(4) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(4):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(4) .media-switcher__thumb--video,
.media-switcher__radio:nth-of-type(5):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(5) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(5):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(5) .media-switcher__thumb--video,
.media-switcher__radio:nth-of-type(6):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(6) .media-switcher__thumb,
.media-switcher__radio:nth-of-type(6):checked ~ .media-switcher__thumbs .media-switcher__thumb-label:nth-child(6) .media-switcher__thumb--video {
  opacity: 1;
  border-color: var(--accent);
}

/* Video item */
.media-switcher__item--video {
  aspect-ratio: 16/9;
  background: #000;
}

@media (max-width: 768px) {
  .media-switcher__thumb,
  .media-switcher__thumb--video {
    width: 50px;
    height: 50px;
  }
}

/* ════════════════════════════════════════════════════════════════
   PWA MODAL — Bottom Panel (mobile)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pwa-overlay {
    align-items: flex-end;          /* panel alttan */
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .pwa-modal {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    animation: pwa-slide-up .35s ease-out;
  }

  @keyframes pwa-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .pwa-modal__close {
    top: .75rem;
    right: .75rem;
  }

  .pwa-modal__steps {
    text-align: left;
  }

  .pwa-modal__steps li {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ════════════════════════════════════════════════════════════════
   BANNER — Mobile Responsive
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --banner-h: 180px;
    --nav-h: 56px;
  }

  .checkout-panel {
    padding: 1.25rem 1rem;
  }

  .section-title {
    font-size: .95rem;
    margin-bottom: 1rem;
    padding-bottom: .55rem;
  }
}

@media (max-width: 480px) {
  :root {
    --banner-h: 140px;
  }
}

/* ════════════════════════════════════════════════════════════════
   HOME FEATURES GRID
   ════════════════════════════════════════════════════════════════ */
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 5rem;
}

.home-feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.home-feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.home-feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.home-feature-card__text {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .home-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0 3rem;
  }

  .home-feature-card {
    padding: 1.25rem 1rem;
  }
}