/* ═══════════════════════════════════════════════════════════════════
   Piksel Aqua Storefront — Dyson.com.tr tarzı
   Siyah/beyaz premium teknoloji
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --black:      #000000;
  --white:      #FFFFFF;
  --gray-900:   #1D1D1F;
  --gray-700:   #424245;
  --gray-500:   #86868B;
  --gray-400:   #A1A1A6;
  --gray-300:   #D2D2D7;
  --gray-200:   #E5E5E7;
  --gray-100:   #F5F5F7;
  --water-blue: #0066B2;
  --water-cyan: #00A3E0;
  --discount:   #E60023;
  --success:    #10B981;
  --warning:    #F59E0B;
  --danger:     #DC2626;
  --border:     #E5E5E7;

  --header-height: 72px;
  --announce-height: 40px;
  --container: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(32px, 5vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 56px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2vw, 24px); }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--water-blue); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
}
@media (max-width: 1023px) { .container { padding: 0 40px; } }
@media (max-width: 639px)  { .container { padding: 0 20px; } }

.muted  { color: var(--gray-500); }
.tabular { font-variant-numeric: tabular-nums; }

/* ─── Announcement Bar ─── */
.announce {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 10px 20px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ─── Header / Nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: var(--header-height);
  position: relative;
  z-index: 5;
}
.site-logo img {
  max-height: 192px;
  width: auto;
  display: block;
}
.site-header { overflow: visible; }
@media (max-width: 767px) {
  .site-logo img { max-height: 144px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  position: relative;
}
.nav-link:hover { color: var(--water-blue); }
.nav-link.has-mega::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: 2px;
  transition: transform .15s;
}
.nav-group:hover .nav-link.has-mega::after { transform: rotate(-135deg); margin-left: 6px; vertical-align: -2px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-900);
  position: relative;
  transition: background .15s;
}
.nav-icon-btn:hover { background: var(--gray-100); color: var(--black); }
.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── Mega Menu ─── */
.nav-group {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  pointer-events: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  padding: 32px;
  min-width: 600px;
  transition: opacity .2s, transform .2s;
  z-index: 50;
}
.nav-group:hover .mega-menu,
.nav-group:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mega-menu.mega-2col .mega-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  min-width: 520px;
}
.mega-menu.mega-3col .mega-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  min-width: 780px;
}
.mega-menu.mega-simple {
  min-width: 300px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-group-link {
  display: block;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s ease, padding-left .2s ease;
}
.mega-group-link:hover {
  background: #f5f5f7;
  padding-left: 26px;
}
.mega-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
  font-family: 'Inter', sans-serif;
}
.mega-sub-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin: 10px 0 6px;
}
.mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--gray-900);
}
.mega-col a:hover { color: var(--water-blue); }
.mega-cta {
  grid-column: span 3;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.mega-cta a { font-weight: 600; }

/* ─── Hamburger + Mobile Drawer ─── */
.nav-hamburger { display: none; }

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .nav-hamburger { display: inline-flex; }
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0;
  transition: opacity .2s;
}
.mobile-nav-overlay.open { opacity: 1; }

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: #fff;
  z-index: 301;
  transform: translateX(100%);
  transition: transform .3s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-search {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-search form { position: relative; }
.mobile-nav-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
}
.mobile-nav-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--gray-100);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.mobile-nav-search input:focus { background: #fff; border-color: var(--black); }

.mobile-nav-user {
  padding: 16px 20px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-group { padding: 8px 0; }
.mobile-nav-label {
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--gray-900);
  font-size: 15px;
  font-weight: 500;
  transition: background .1s;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:active { background: var(--gray-100); }
.mobile-nav-list a i {
  width: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* Mobile accordion — 2 seviye */
.mobile-acc { border-bottom: 1px solid var(--border); }
.mobile-acc > summary {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.mobile-acc > summary::-webkit-details-marker { display: none; }
.mobile-acc > summary::after {
  content: "▾";
  margin-left: auto;
  color: var(--gray-400);
  font-size: 12px;
  transition: transform .15s;
}
.mobile-acc[open] > summary::after { transform: rotate(180deg); }
.mobile-acc-body { background: var(--gray-100); padding: 8px 0; }

.mobile-acc-sub { border-bottom: 1px solid var(--border); }
.mobile-acc-sub:last-child { border-bottom: none; }
.mobile-acc-sub > summary {
  padding: 10px 20px 10px 36px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  color: var(--gray-900);
  position: relative;
}
.mobile-acc-sub > summary::-webkit-details-marker { display: none; }
.mobile-acc-sub > summary::before {
  content: "▸";
  position: absolute;
  left: 20px;
  color: var(--gray-400);
  transition: transform .15s;
}
.mobile-acc-sub[open] > summary::before { transform: rotate(90deg); }
.mobile-acc-sub-body { padding: 4px 0 10px 36px; background: #fff; }
.mobile-acc-sub-body a {
  padding: 8px 20px 8px 0;
  font-size: 13px;
  color: var(--gray-700);
}
.mobile-sub-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding: 8px 20px 4px 0;
}

.mobile-nav-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gray-900);
  font-size: 13px;
}
.mobile-nav-contact i { font-size: 18px; color: var(--gray-700); }

body.nav-open { overflow: hidden; }

/* ─── Hero ─── */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-video .container { position: relative; z-index: 2; width: 100%; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.0) contrast(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 40%, rgba(0,0,0,0.3) 100%);
}
@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.9) 100%);
  }
}

/* Split hero — smooth cinematic gradient (video her yeri kaplar, üst yumuşakça koyu) */
.hero.hero-split { background: #000; }
.hero.hero-split .hero-bg-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1.05) translateY(0); }
  100% { transform: scale(1.12) translateY(-1%); }
}

.hero.hero-split .hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.88) 18%,
      rgba(0,0,0,0.70) 35%,
      rgba(0,0,0,0.45) 52%,
      rgba(0,0,0,0.22) 70%,
      rgba(0,0,0,0.08) 82%,
      rgba(0,0,0,0.28) 100%);
}
@media (max-width: 767px) {
  .hero.hero-split .hero-bg-video { object-position: center 70%; }
  .hero.hero-split .hero-overlay {
    background: linear-gradient(180deg,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.80) 30%,
      rgba(0,0,0,0.50) 55%,
      rgba(0,0,0,0.25) 78%,
      rgba(0,0,0,0.55) 100%);
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--water-cyan);
  padding: 8px 14px;
  border: 1px solid rgba(0, 163, 224, 0.35);
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  background: rgba(0, 163, 224, 0.08);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  z-index: 3;
  animation: heroScrollPulse 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}
@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 767px) { .hero-scroll-hint { display: none; } }

/* Hero boyut varyantları */
.hero.hero-full   { min-height: 100vh; padding: 80px 0; }
.hero.hero-medium { min-height: 55vh;  padding: 100px 0 80px; }
.hero.hero-small  { min-height: 40vh;  padding: 80px 0 60px; }
@media (max-width: 767px) {
  .hero.hero-medium { min-height: 45vh; padding: 60px 0 40px; }
  .hero.hero-small  { min-height: 35vh; padding: 48px 0 32px; }
}

/* Basit hero içeriği (tek kolon, merkezli) */
.hero-inner.hero-simple {
  display: block;
  max-width: 800px;
  grid-template-columns: none;
}
.hero.hero-medium h1 { font-size: clamp(36px, 6vw, 80px); }
.hero.hero-small  h1 { font-size: clamp(28px, 4.5vw, 56px); }

/* Hero breadcrumbs (video üstünde) */
.hero-breadcrumbs {
  position: relative;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero-breadcrumbs a { color: rgba(255,255,255,0.85); }
.hero-breadcrumbs a:hover { color: #fff; }
.hero-breadcrumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.4); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
@media (max-width: 767px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } }

/* Ana sayfa hero — tek kolon (ürün görseli kaldırıldı, video fonu) */
.hero.hero-split .hero-inner {
  grid-template-columns: 1fr;
  max-width: 900px;
  text-align: left;
}
@media (max-width: 767px) {
  .hero.hero-split .hero-inner { text-align: center; }
}
.hero h1 { font-size: clamp(40px, 8vw, 120px); font-weight: 800; letter-spacing: -0.04em; }
.hero .tagline { font-size: clamp(18px, 2vw, 22px); color: var(--gray-300); margin-top: 24px; max-width: 500px; line-height: 1.4; }
.hero-cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .hero-cta { justify-content: center; } }
.hero-img { text-align: center; }
.hero-img img { max-height: 600px; margin: 0 auto; filter: drop-shadow(0 20px 60px rgba(0,102,178,.3)); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: all .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-primary:hover { background: var(--gray-200); transform: scale(1.02); color: var(--black); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--gray-900); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ─── Sections ─── */
.section {
  padding: 120px 0;
}
@media (max-width: 767px) { .section { padding: 60px 0; } }
.section-dark { background: var(--black); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { color: var(--gray-500); font-size: 18px; max-width: 600px; margin: 0 auto; }
.section-dark .section-head .lead { color: var(--gray-300); }

/* ─── Collection Cards (3'lü) ─── */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) { .collection-grid { grid-template-columns: 1fr; } }
.collection-card {
  position: relative;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: transform .3s;
}
.collection-card:hover { transform: translateY(-4px); }
.collection-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  background-size: cover;
  background-position: center;
}
.collection-card .content { position: relative; z-index: 1; }
.collection-card h3 { margin-bottom: 8px; color: var(--black); }
.collection-card p { color: var(--gray-700); margin-bottom: 20px; font-size: 15px; }
.collection-card .arrow { font-size: 20px; color: var(--black); }

/* ─── Product Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1279px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .4s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--discount);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.product-card .badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.product-card .info { padding: 16px 4px 4px; }
.product-card .brand { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.product-card h3.name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: 0;
  color: var(--gray-900);
  min-height: 40px;
}
.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.product-card .price-list {
  font-size: 13px;
  color: var(--discount);
  text-decoration: line-through;
}
.product-card .price-sale {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

/* ─── Filter Sidebar ─── */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 1023px) { .catalog-layout { grid-template-columns: 1fr; } }
.filter-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}
.filter-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.filter-group h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
}
.filter-group input { width: 16px; height: 16px; }

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--gray-500);
}
.breadcrumbs a { color: var(--gray-700); }
.breadcrumbs a:hover { color: var(--water-blue); }
.breadcrumbs .sep { margin: 0 8px; color: var(--gray-300); }

/* ─── Product Detail ─── */
.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 1023px) { .product-detail { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 767px)  { .product-detail { gap: 20px; } }

.pd-gallery { position: sticky; top: calc(var(--header-height) + 20px); }
@media (max-width: 1023px) {
  .pd-gallery { position: static !important; top: auto !important; }
}

.pd-main-img {
  background: var(--gray-100);
  border-radius: 12px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
  margin-bottom: 12px;
}
@media (max-width: 767px)  {
  .pd-main-img { padding: 20px; }
}
.pd-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pd-thumbs button {
  flex: 0 0 80px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--gray-100);
  padding: 4px;
  overflow: hidden;
}
.pd-thumbs button.active { border-color: var(--black); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-info h1 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.pd-brand { font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 14px; color: var(--gray-500); }
.pd-rating .stars { color: var(--warning); }
.pd-price-block { margin: 24px 0; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pd-price-list { font-size: 16px; color: var(--discount); text-decoration: line-through; margin-right: 12px; }
.pd-price-sale { font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--black); }
.pd-discount-badge { display: inline-block; background: var(--success); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

.pd-subscribe-box {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
.pd-subscribe-box h4 { font-size: 16px; margin-bottom: 12px; }
.pd-sub-options { display: flex; flex-direction: column; gap: 8px; }
.pd-sub-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s;
}
.pd-sub-opt.active { border-color: var(--black); background: var(--white); }
.pd-sub-opt input { width: 18px; height: 18px; }
.pd-sub-opt .label { flex: 1; font-weight: 500; }
.pd-sub-opt .price-val { font-weight: 700; font-size: 16px; }
.pd-sub-opt .save { font-size: 12px; color: var(--success); font-weight: 600; }

.pd-cta-row { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.pd-cta-row .btn { width: 100%; justify-content: center; }

/* Mobile sticky CTA — ürün detay sayfasında alt sabit "Sepete Ekle" */
.pd-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 80;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  gap: 12px;
  align-items: center;
}
.pd-mobile-cta .pd-mc-price {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 18px;
}
.pd-mobile-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
}
@media (max-width: 767px) {
  .pd-mobile-cta { display: flex; }
  body.product-detail-page { padding-bottom: 80px; }
  .mobile-bottom-nav { display: none !important; }
  .floating-contact { bottom: 80px; }
}

.pd-meta { margin-top: 24px; font-size: 14px; color: var(--gray-700); }
.pd-meta-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.pd-meta-row i { width: 20px; text-align: center; color: var(--gray-500); }

.pd-tabs { margin-top: 80px; }
.pd-tab-nav { display: flex; gap: 32px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.pd-tab-nav button {
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.pd-tab-nav button.active { color: var(--black); border-color: var(--black); }
.pd-tab-panel { padding: 32px 0; line-height: 1.7; color: var(--gray-700); }
.pd-tab-panel:not(.active) { display: none; }

/* ─── Floating Contact (sağ alt) ─── */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}
.fc-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all .15s;
}
.fc-btn:hover { transform: scale(1.08); }
.fc-btn-whatsapp { background: #25D366; color: #fff; }
.fc-btn-whatsapp:hover { background: #1DA851; color: #fff; }
.fc-btn-phone { background: var(--black); color: #fff; }
.fc-btn-phone:hover { background: var(--gray-900); color: #fff; }

/* ─── Footer ─── */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
}
.footer-legal a { color: var(--gray-500); margin-right: 16px; }
.footer-legal a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { display: block; opacity: 0.85; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, color .2s ease, box-shadow .25s ease;
}
.footer-social a:hover {
  transform: translateY(-3px);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.footer-social a[aria-label="instagram"]:hover { background: linear-gradient(135deg,#833AB4,#FD1D1D,#FCB045); }
.footer-social a[aria-label="facebook"]:hover  { background: #1877F2; }
.footer-social a[aria-label="youtube"]:hover   { background: #FF0000; }
.footer-social a[aria-label="tiktok"]:hover    { background: #000; }
.footer-social a[aria-label="twitter"]:hover   { background: #000; }
.footer-social a[aria-label="linkedin"]:hover  { background: #0A66C2; }

/* ─── Mobile Bottom Nav ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 80;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--gray-500);
  position: relative;
}
.mbn-item.active { color: var(--black); }
.mbn-item i { font-size: 20px; }
.mbn-item .cart-badge {
  top: 0;
  right: 0;
}

@media (max-width: 767px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 80px; }
  .floating-contact { bottom: 84px; }
}

/* ─── Cart Drawer ─── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 767px) { .grid-2 { grid-template-columns: 1fr; } }

/* ─── Scroll animations ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── No image placeholder ─── */
.no-image {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 40px;
}

/* ═══ Arama Overlay ═══ */
.search-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  animation: searchFadeIn .2s ease;
}
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.search-panel {
  position: relative;
  background: #fff;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.search-form {
  position: relative;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-form .search-icon { color: #999; font-size: 20px; flex-shrink: 0; }
.search-form input[type=search] {
  flex: 1; border: none; outline: none;
  font-size: 20px; font-family: inherit;
  background: transparent; padding: 8px 0; color: #111;
}
.search-form input[type=search]::placeholder { color: #999; font-weight: 400; }
.search-close {
  width: 36px; height: 36px; border: none; background: #f5f5f5;
  border-radius: 50%; cursor: pointer; font-size: 14px; color: #666;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.search-close:hover { background: #e5e5e5; }

.search-body { flex: 1; overflow-y: auto; padding: 20px 24px 30px; }
.search-hint { text-align: center; padding: 40px 20px; color: #666; }
.search-hint p { margin: 0 0 18px; font-size: 14px; }
.search-quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13px; }
.search-quick span { color: #999; margin-right: 4px; }
.search-quick a {
  padding: 6px 14px; background: #f5f5f5; border-radius: 999px;
  text-decoration: none; color: #111; transition: background .2s ease;
}
.search-quick a:hover { background: #111; color: #fff; }

.search-group { margin-bottom: 24px; }
.search-group-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #999; margin-bottom: 12px;
}
.search-cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.search-cat {
  padding: 8px 14px; background: #f5f5f5; border-radius: 999px;
  text-decoration: none; color: #111; font-size: 13px; transition: background .2s ease;
}
.search-cat:hover { background: #111; color: #fff; }

.search-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.search-item {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  border: 1px solid #e5e7eb; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.search-item:hover { border-color: #111; background: #fafafa; transform: translateY(-1px); }
.search-item-img {
  width: 56px; height: 56px; flex-shrink: 0; background: #f8fafc;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.search-item-img img { width: 85%; height: 85%; object-fit: contain; }
.search-item-img i { color: #ccc; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-brand { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.search-item-name {
  font-size: 14px; font-weight: 500; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
}
.search-item-price { font-size: 13px; font-weight: 700; color: #111; }
.search-item-price .price-old { color: #999; text-decoration: line-through; font-weight: 400; margin-right: 6px; font-size: 12px; }

.search-see-all {
  display: block; text-align: center; padding: 14px;
  background: #111; color: #fff; border-radius: 10px;
  text-decoration: none; font-weight: 600; margin-top: 16px;
  transition: background .2s ease;
}
.search-see-all:hover { background: #333; }

.search-empty { text-align: center; padding: 50px 20px; color: #666; }
.search-empty-icon { font-size: 40px; opacity: .3; margin-bottom: 12px; }
.search-loading { text-align: center; padding: 30px; color: #999; font-size: 13px; }

@keyframes searchFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Print */
@media print {
  .site-header, .site-footer, .floating-contact, .mobile-bottom-nav { display: none !important; }
}

/* ═══ DİL SEÇİCİ (LANG SWITCHER) ═══ */
.lang-switcher { position: relative; display: inline-block; }
.lang-toggle { display: inline-flex; align-items: center; gap: 4px; }
.lang-toggle .lang-current { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 90px; background: #fff; border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.08);
  padding: 6px; z-index: 100;
}
.lang-menu .lang-item {
  display: block; padding: 8px 12px; font-size: 13px; font-weight: 600;
  color: var(--gray-900, #1d1d1f); text-decoration: none; border-radius: 6px; text-align: center;
}
.lang-menu .lang-item:hover { background: var(--gray-100, #f5f5f5); }
.lang-menu .lang-item.active { background: var(--black, #000); color: #fff; }
