@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; letter-spacing: -0.01em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-primary); color: #fff; border: none; border-radius: 999px;
  padding: 12px 26px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .18s ease, transform .12s ease;
}
.btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Header ---------- */
/* ---------- Ucretsiz kargo bilgi seridi ---------- */
.free-shipping-banner {
  background: var(--color-primary); color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 600; padding: 9px 12px;
}
.free-shipping-banner strong { font-weight: 800; }

.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 50; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.logo { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--color-primary); display: flex; align-items: center; gap: 10px; }
.logo img { height: 64px; width: auto; }
.slogan { font-size: 13px; color: var(--color-muted); margin-top: -2px; }
.search-box { flex: 1; max-width: 480px; position: relative; }
.search-box input {
  width: 100%; padding: 11px 44px 11px 16px; border-radius: 999px; border: 1.5px solid var(--color-border);
  font-family: var(--font-body); font-size: 14px; background: var(--color-bg);
}
.search-box-pill { max-width: 560px; }
.search-box-pill input { padding: 13px 50px 13px 20px; border-radius: 999px; border: 1.5px solid var(--color-border); background: #fff; }
.search-box-pill button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  border-radius: 50%; border: none; background: var(--color-primary); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.search-box-pill button svg { width: 17px; height: 17px; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions-stacked { gap: 26px; }
.cart-badge {
  background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 1px 6px; display: inline-block;
}
.header-icon-link {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11.5px; font-weight: 600; color: var(--color-text); position: relative;
  padding: 4px 2px; transition: color .15s ease;
}
.header-icon-link svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7;
  transition: stroke .15s ease, transform .15s ease;
}
.header-icon-link:hover { color: var(--color-primary); }
.header-icon-link:hover svg { transform: translateY(-1px); }
.header-icon-link .cart-badge { position: absolute; top: -4px; right: -10px; }

/* ---------- Blog "sticker/blob" rozet butonu ---------- */
.blog-blob-badge {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 62px; height: 46px; flex-shrink: 0;
  border: 2px solid var(--color-accent); color: var(--color-accent);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 14.5px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.blog-blob-badge:hover { background: var(--color-accent); color: #fff; transform: rotate(-3deg) scale(1.05); }

.main-nav { border-top: 1px solid var(--color-border); position: relative; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; row-gap: 8px; gap: 28px; margin: 0; padding: 12px 0; }
.main-nav a { font-weight: 600; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; padding: 8px 0; color: var(--color-text); }

/* ---------- Duz kategori menusu (dropdown yerine direkt link listesi) ---------- */
.main-nav-flat ul { padding: 14px 0; gap: 22px; row-gap: 10px; }
.nav-flat-link { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--color-text); display: flex; align-items: center; gap: 4px; padding: 8px 2px; position: relative; }
.nav-flat-link::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-flat-link:hover { color: var(--color-primary); }
.nav-flat-link:hover::after { transform: scaleX(1); }
.nav-pill {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 7px 16px;
  border: 1.5px solid var(--color-text); border-radius: 999px; color: var(--color-text);
}
.nav-pill:hover { background: var(--color-text); color: #fff; }

/* ---------- Mega menu (masaustu: gorselli, zengin acilir panel) ---------- */
.mega-item { position: static; }
.mega-chevron { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s ease; }
.mega-item:hover .mega-chevron { transform: rotate(180deg); }
.nav-flat-caret {
  display: none; background: none; border: none; color: var(--color-muted); font-size: 16px;
  cursor: pointer; padding: 4px 6px; margin-left: 4px;
}
.mega-panel {
  display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
  background: var(--color-surface); border-top: 1px solid var(--color-border);
  box-shadow: 0 26px 50px rgba(20,20,30,.14);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.mega-item:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-panel-inner {
  max-width: 1240px; margin: 0 auto; padding: 30px 24px; display: grid;
  grid-template-columns: 260px 1fr; gap: 32px; align-items: start;
}
.mega-panel-visual {
  position: relative; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center;
  aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.mega-panel-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.mega-panel-visual span { position: relative; z-index: 1; color: #fff; font-weight: 800; font-size: 16px; }
.mega-panel-visual small { position: relative; z-index: 1; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; margin-top: 4px; }
.mega-panel-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 20px; }
.mega-panel-links li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--color-text); transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.mega-panel-links li a:hover { background: var(--color-bg); color: var(--color-primary); padding-left: 14px; }
.mega-panel-links li a img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mega-link-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* ---------- Kategoriler dropdown (masaustu) ---------- */
.has-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 5px; padding: 0; color: var(--color-text);
}
.nav-dropdown-toggle:hover { color: var(--color-primary); }
.nav-dropdown-toggle .chevron { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s ease; }
.has-dropdown.open .chevron { transform: rotate(180deg); }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 14px); left: -16px; z-index: 60;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12); padding: 10px; min-width: 620px;
  list-style: none; margin: 0; columns: 3; column-gap: 18px;
}
.has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown > li { break-inside: avoid; margin-bottom: 6px; }
.nav-dropdown > li > a { display: block; font-weight: 700; font-size: 13.5px; padding: 6px 10px; border-radius: 8px; }
.nav-dropdown > li > a:hover { background: var(--color-bg); color: var(--color-primary); }
.nav-subdropdown { list-style: none; margin: 2px 0 0; padding: 0; }
.nav-subdropdown li a { display: block; font-size: 13px; font-weight: 500; padding: 5px 10px 5px 20px; color: var(--color-muted); border-radius: 8px; }
.nav-subdropdown li a:hover { background: var(--color-bg); color: var(--color-primary); }

/* ---------- Kategori cemberleri (Reels tarzi - imza tasarim ogesi) ---------- */
.story-row { display: flex; gap: 22px; overflow-x: auto; overflow-y: visible; padding: 26px 4px 10px; scrollbar-width: none; -ms-overflow-style: none; }
.story-row::-webkit-scrollbar { display: none; }
.story-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 84px; }
.story-ring {
  width: 76px; height: 76px; border-radius: 50%; padding: 3px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}
.story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-surface); }
.story-item span { font-size: 12.5px; font-weight: 600; text-align: center; }

/* ---------- Cok Satanlar - kendi kendine kayan (otomatik scroll) serit ---------- */
.bestseller-row { overflow: hidden; padding: 20px 0 6px; -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.bestseller-track { display: flex; gap: 22px; width: max-content; animation-name: bestseller-scroll; animation-iteration-count: infinite; }
.bestseller-row:hover .bestseller-track { animation-play-state: paused; }
@keyframes bestseller-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.bestseller-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 84px; text-decoration: none; }
.bestseller-item span:not(.story-ring) { font-size: 12px; font-weight: 600; text-align: center; color: var(--color-text); line-height: 1.3; }
.bestseller-label-ring {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 13px; color: var(--color-accent);
  background: #fff; border: 2px solid var(--color-accent);
}
.bestseller-label-ring img { display: none; }

/* ---------- Slider ---------- */
.hero-slider { position: relative; overflow: hidden; border-radius: 18px; margin: 20px 0; height: 420px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; left: 40px; bottom: 40px; color: #fff; max-width: 480px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-caption h2 { font-size: 34px; color: #fff; }
.hero-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero-dots button.active { background: #fff; width: 22px; border-radius: 5px; }

/* ---------- Bolum basliklari ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 26px; }
.section-head a { font-size: 13.5px; font-weight: 600; color: var(--color-primary); }

/* ---------- Urun kartlari ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.product-card { background: var(--color-surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow .18s ease, transform .18s ease; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-bg); cursor: pointer; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 2; opacity: 0; transition: opacity .2s ease;
}
.product-thumb:hover .product-thumb-dots { opacity: 1; }
.product-thumb-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 3px rgba(0,0,0,.4); }
.product-thumb-dots span.active { background: #fff; width: 14px; border-radius: 3px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.badge-shipping { background: var(--color-primary); }
.free-shipping-badge { background: #E5F5EC; color: #146C2E; }
.fav-btn {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s ease; z-index: 2;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn svg { width: 18px; height: 18px; stroke: var(--color-text); fill: none; stroke-width: 2; transition: fill .15s ease, stroke .15s ease; }
.fav-btn.is-active svg { fill: var(--color-accent); stroke: var(--color-accent); }

.fav-btn-detail {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  background: #fff; border: 1.5px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s ease, border-color .15s ease;
}
.fav-btn-detail:hover { transform: scale(1.06); border-color: var(--color-accent); }
.fav-btn-detail svg { width: 22px; height: 22px; stroke: var(--color-text); fill: none; stroke-width: 1.8; transition: fill .15s ease, stroke .15s ease; }
.fav-btn-detail.is-active { border-color: var(--color-accent); }
.fav-btn-detail.is-active svg { fill: var(--color-accent); stroke: var(--color-accent); }
.fav-link { position: relative; font-weight: 600; }
.product-info { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.product-info form { margin-top: auto; padding-top: 10px; }
.product-info h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.price-row { display: flex; align-items: center; gap: 8px; }
.price-old { text-decoration: line-through; color: var(--color-muted); font-size: 13px; }
.price-now { font-weight: 700; font-size: 17px; color: var(--color-primary-dark); }

/* ---------- Flash indirim sidebar ---------- */
.flash-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 20px; }
.flash-box h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.countdown { display: flex; gap: 8px; margin: 14px 0; }
.countdown .box { background: var(--color-primary); color: #fff; border-radius: 8px; padding: 8px 10px; text-align: center; min-width: 46px; }
.countdown .box b { display: block; font-size: 18px; }
.countdown .box small { font-size: 10px; opacity: .8; }
.flash-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.flash-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }

/* ---------- Guven rozetleri (sidebar) ---------- */
.trust-badges-box {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px;
  padding: 18px; margin-top: 20px; display: flex; flex-direction: column; gap: 14px;
}
.trust-badge-item { display: flex; align-items: center; gap: 12px; }
.trust-badge-item svg {
  width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--color-primary); stroke-width: 1.6;
  background: var(--color-bg); border-radius: 50%; padding: 6px; box-sizing: content-box;
}
.trust-badge-item b { display: block; font-size: 13.5px; }
.trust-badge-item span { display: block; font-size: 12px; color: var(--color-muted); margin-top: 1px; }

/* ---------- Son Goruntulenen Urunler (sidebar) ---------- */
.recently-viewed-box {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px;
  padding: 18px; margin-top: 20px;
}
.recently-viewed-box h3 { font-size: 15px; margin-bottom: 6px; }
.recently-viewed-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--color-border); }
.recently-viewed-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }

/* ---------- Ana sayfa duzeni (icerik + flash sidebar) ---------- */
.home-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.home-layout > aside { position: sticky; top: 88px; }

/* ---------- Referanslar / testimonial ---------- */
/* ---------- Firma videosu + aciklama metni ---------- */
.company-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.company-video-text p { font-size: 15.5px; line-height: 1.7; color: var(--color-text); white-space: pre-line; }

/* ---------- SEO icerik blogu (footer ustu) ---------- */
.seo-tiles-section { padding-bottom: 10px; }
.seo-category-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border-radius: 16px; overflow: hidden; }
.seo-tile {
  position: relative; aspect-ratio: 3/4; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; overflow: hidden; text-align: center;
}
.seo-tile-1 { background: var(--color-primary-dark); }
.seo-tile-2 { background: var(--color-primary); }
.seo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.seo-tile span {
  position: relative; z-index: 2; color: #fff; font-weight: 700; font-size: 13.5px;
  padding: 10px 8px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 70%);
  width: 100%;
}
.seo-content-block { max-width: 900px; margin: 0 auto; }
.seo-content-block p { font-size: 14.5px; line-height: 1.85; color: var(--color-text); margin-bottom: 16px; }
.seo-content-block strong { color: var(--color-primary-dark); }

/* ---------- Blog vitrini (footer ustu) ---------- */
.blog-showcase-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 26px; }
.blog-showcase-all {
  position: absolute; right: 0; font-size: 13.5px; font-weight: 600; color: var(--color-primary);
  text-decoration: underline; text-underline-offset: 3px;
}
.blog-showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-showcase-card { display: block; border-radius: 10px; overflow: hidden; background: var(--color-bg); }
.blog-showcase-img { aspect-ratio: 4/3; overflow: hidden; }
.blog-showcase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-showcase-card:hover .blog-showcase-img img { transform: scale(1.05); }
.blog-showcase-img-placeholder { width: 100%; height: 100%; background: var(--color-border); }
.blog-showcase-title {
  padding: 14px 12px; font-size: 13.5px; font-weight: 600; color: var(--color-text);
  text-align: center; line-height: 1.4;
}

/* ---------- Referanslar akordeon ---------- */
.ref-accordion-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: none;
  cursor: pointer; padding: 0; margin-bottom: 22px; text-align: left;
}
.ref-accordion-toggle h2 { margin: 0; }
.ref-accordion-chevron {
  width: 20px; height: 20px; fill: none; stroke: var(--color-text); stroke-width: 2;
  transition: transform .25s ease; flex-shrink: 0;
}
.ref-accordion-toggle.open .ref-accordion-chevron { transform: rotate(180deg); }
.ref-row {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  max-height: 0; overflow: hidden; opacity: 0; margin-bottom: 0;
  transition: max-height .35s ease, opacity .3s ease;
}
.ref-row.open { max-height: 500px; opacity: .85; }
.ref-row img { height: 34px; width: auto; filter: grayscale(1); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.testimonial-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 20px; }
.stars { color: var(--color-accent); font-size: 14px; margin-bottom: 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--color-muted); margin: 18px 0; }
.breadcrumb a:hover { color: var(--color-primary); }

/* ---------- Urun detay ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0; }
.gallery-main { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--color-surface); border: 1px solid var(--color-border); width: 100%; }
#mainProductImage { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--color-primary); }
.attr-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.attr-table td { padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.attr-table td:first-child { color: var(--color-muted); width: 40%; }

/* ---------- Urun sayfasi v2: dikey galeri, puan, stok, taksit, sekmeler ---------- */
.gallery-with-thumbs { display: flex; gap: 14px; }
.gallery-main-wrapper { flex: 1; min-width: 0; }
.gallery-thumbs-vertical { display: flex; flex-direction: column; gap: 8px; width: 70px; flex-shrink: 0; }
.gallery-thumbs-vertical img {
  width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .7;
}
.gallery-thumbs-vertical img.active, .gallery-thumbs-vertical img:hover { border-color: var(--color-primary); opacity: 1; }

.rating-summary { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.rating-summary .stars { color: #F5A623; font-size: 16px; letter-spacing: 1px; }
.rating-summary .rating-count { font-size: 13px; color: var(--color-muted); }

.stock-badge {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; margin-top: 6px;
}
.stock-badge.in-stock { background: #E5F5EC; color: #146C2E; }
.stock-badge.out-stock { background: #FBE8E7; color: #B3261E; }

/* ---------- Renk varyasyon secici ---------- */
.color-variant-picker { margin: 14px 0; }
.color-variant-label { font-size: 13.5px; color: var(--color-muted); display: block; margin-bottom: 8px; }
.color-variant-label b { color: var(--color-text); }
.color-variant-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch {
  width: 44px; height: 44px; border-radius: 8px; background-size: cover; background-position: center;
  border: 2px solid var(--color-border); cursor: pointer; padding: 0; transition: border-color .15s ease, transform .15s ease;
}
.color-swatch:hover { transform: scale(1.05); }
.color-swatch.active { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(46,156,166,.2); }

.installment-mini-preview {
  margin-top: 14px; padding: 10px 14px; background: var(--color-bg); border-radius: 8px;
  font-size: 13px; color: var(--color-text);
}
.tab-jump-link { color: var(--color-primary); font-weight: 700; text-decoration: underline; }

.product-tabs { margin-top: 36px; }
.product-tabs-nav {
  display: flex; gap: 6px; border-bottom: 2px solid var(--color-border); overflow-x: auto;
  margin-bottom: 24px;
}
.product-tab-btn {
  background: none; border: none; padding: 12px 18px; font-size: 14px; font-weight: 600;
  color: var(--color-muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.product-tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.product-tab-panel { display: none; }
.product-tab-panel.active { display: block; }
.product-feature-video { border-radius: 12px; overflow: hidden; margin-bottom: 20px; max-width: 640px; }
.product-feature-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

.installment-table { width: 100%; border-collapse: collapse; }
.installment-table th, .installment-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 13.5px; }
.installment-table th { background: var(--color-bg); font-weight: 700; }

/* ---------- Kategori sayfasi banner + aciklama ---------- */
.category-banner { position: relative; border-radius: 16px; overflow: hidden; margin: 16px 0 20px; aspect-ratio: 21/6; }
.category-banner img { width: 100%; height: 100%; object-fit: cover; }
.category-banner-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
  display: flex; align-items: flex-end; padding: 24px;
}
.category-banner-overlay h1 { color: #fff; margin: 0; }
.category-description { margin-bottom: 24px; }
.category-description p { font-size: 14.5px; line-height: 1.75; color: var(--color-text); margin-bottom: 12px; }
.category-description strong { color: var(--color-primary-dark); }

/* ---------- Blog listesi + detay ---------- */
.blog-list-card { display: block; border-radius: 14px; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); transition: box-shadow .18s ease, transform .18s ease; }
.blog-list-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.blog-list-img { aspect-ratio: 16/10; overflow: hidden; background: var(--color-bg); }
.blog-list-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-list-img-placeholder { width: 100%; height: 100%; background: var(--color-border); }
.blog-list-info { padding: 16px; }
.blog-list-info h3 { font-size: 16px; margin-bottom: 8px; }
.blog-list-info p {
  font-size: 13.5px; color: var(--color-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-detail-cover { border-radius: 14px; overflow: hidden; margin: 16px 0 24px; }
.blog-detail-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.blog-detail-content p { font-size: 15px; line-height: 1.8; color: var(--color-text); margin-bottom: 16px; }
.blog-detail-content img { max-width: 100%; border-radius: 10px; }
.qa-item, .review-item { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.form-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 20px; margin-top: 18px; }
.form-box input, .form-box textarea, .form-box select {
  width: 100%; padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--color-border);
  font-family: var(--font-body); margin-bottom: 10px; font-size: 14px;
}

/* ---------- Sepet / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.summary-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 22px; height: fit-content; }
.pay-method { display: flex; gap: 14px; margin: 16px 0; }
.pay-method label { flex: 1; border: 1.5px solid var(--color-border); border-radius: 10px; padding: 14px; cursor: pointer; text-align: center; font-weight: 600; }
.pay-method input:checked + span { color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-accent-dark, var(--color-primary-dark)); color: #fff; margin-top: 60px; padding: 50px 0 24px; }
[data-theme="theme_mono"] .site-footer { background: #111; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid a { display: block; color: rgba(255,255,255,.75); font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Zengin footer (5 sutunlu) ---------- */
.footer-grid-rich { display: grid; grid-template-columns: 1.3fr .9fr .9fr .9fr .9fr 1.1fr; gap: 24px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.75); font-size: 13.5px; padding: 5px 0; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo img { height: 72px; width: auto; }
.footer-desc { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.footer-social a:hover { background: rgba(255,255,255,.2); }
.footer-social svg { width: 16px; height: 16px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; white-space: pre-line; margin-top: 8px; }
.footer-payment-icons {
  display: flex; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.footer-payment-icons span {
  background: rgba(255,255,255,.1); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 6px; letter-spacing: .03em;
}

.footer-bottom { text-align: center; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Yardimci ---------- */
.messages { list-style: none; padding: 0; margin: 16px 0; }
.messages li { padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.messages .success { background: #E4F6E8; color: #146C2E; }
.messages .error { background: #FCE8E6; color: #B3261E; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }

/* ---------- Mobil uygulama tarzı alt gezinme çubuğu ---------- */
.bottom-nav { display: none; }
/* ---------- Hizli iletisim (WhatsApp / Telefon) butonlari ---------- */
.quick-contact-buttons {
  position: fixed; bottom: 96px; right: 24px; z-index: 99;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.quick-contact-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.2); color: #fff;
}
.quick-contact-btn svg { width: 26px; height: 26px; }
.quick-contact-btn.whatsapp { background: #25D366; }
.quick-contact-btn.call { background: var(--color-primary); }

.chat-fab {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-primary); color: #fff; border: none; cursor: pointer; z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: 24px; display: flex; align-items: center; justify-content: center;
}
.chat-panel {
  position: fixed; bottom: 96px; right: 24px; width: 340px; max-width: calc(100vw - 32px); height: 460px;
  background: var(--color-surface); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.22);
  display: none; flex-direction: column; overflow: hidden; z-index: 100; border: 1px solid var(--color-border);
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--color-primary); color: #fff; padding: 14px 16px; font-weight: 700; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.4; }
.chat-msg.bot { background: var(--color-bg); align-self: flex-start; }
.chat-msg.user { background: var(--color-primary); color: #fff; align-self: flex-end; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.chat-quick-btn {
  font-size: 11.5px; background: var(--color-bg); border: 1px solid var(--color-border); color: var(--color-text);
  padding: 6px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.chat-quick-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.chat-input-row { display: flex; border-top: 1px solid var(--color-border); }
.chat-input-row input { flex: 1; border: none; padding: 12px 14px; font-family: var(--font-body); font-size: 13.5px; }
.chat-input-row button { background: var(--color-primary); color: #fff; border: none; padding: 0 16px; cursor: pointer; }

@media (max-width: 860px) {
  .product-detail, .checkout-grid { grid-template-columns: 1fr; }
  .header-top { flex-wrap: wrap; }
  .search-box { order: 3; max-width: 100%; }
}

/* ================= RESPONSIVE - TABLET (<=960px) ================= */
@media (max-width: 960px) {
  .container { padding: 0 16px; }
  .home-layout { grid-template-columns: 1fr; }
  .company-video-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-layout aside { order: -1; position: static; }
  .hero-slider { height: 320px; }
  .main-nav ul { gap: 18px; }
  .footer-grid-rich { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ================= RESPONSIVE - MOBILE (<=640px) ================= */
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .category-banner { aspect-ratio: 16/9; }

  /* Header */
  .header-top { gap: 10px; padding: 12px 0; }
  .logo { font-size: 19px; }
  .logo img { height: 46px; }
  .search-box { order: 3; width: 100%; }
  .header-actions { gap: 10px; flex-wrap: wrap; }
  .fav-link, .cart-link { font-size: 13px; }
  .main-nav ul { gap: 18px; padding: 10px 0; }

  /* Hamburger menu */
  .nav-toggle { display: block; }
  .main-nav .container { flex-wrap: wrap; }
  .main-nav ul {
    display: none; flex-direction: column; gap: 0; width: 100%;
    padding: 4px 0 10px; overflow-x: visible;
  }
  .main-nav ul.open { display: flex; }
  .main-nav ul li { border-top: 1px solid var(--color-border); }
  .main-nav ul li a { display: block; padding: 12px 4px; }

  /* Kategoriler mobilde akordeon olarak davranir (dropdown yerine) */
  .nav-dropdown-toggle { width: 100%; padding: 12px 4px; justify-content: space-between; }
  .nav-dropdown {
    position: static; display: none; box-shadow: none; border: none; border-radius: 0;
    min-width: 0; columns: 1; padding: 0 0 8px 12px; background: transparent;
  }
  .has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown > li > a { font-size: 13.5px; }

  /* Duz kategori menusu (.main-nav-flat) - mobilde akordeon */
  .main-nav-flat li.has-dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .main-nav-flat li.has-dropdown a.nav-flat-link { flex: 1; border: none; }
  .nav-flat-caret { display: inline-block; }
  .main-nav-flat li.has-dropdown.open .nav-flat-caret { transform: rotate(180deg); }
  .mega-chevron { display: none; } /* mobilde caret butonu zaten var, cift ok gostermeyelim */

  /* Mega panel mobilde: hover DEVRE DISI, sadece caret tiklamasiyla acilan basit dikey liste */
  .mega-panel {
    display: none; position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; width: 100%;
  }
  .mega-item:hover .mega-panel { opacity: 1; visibility: hidden; display: none; } /* mobilde hover'i devre disi birak */
  .mega-item.open .mega-panel { display: block; }
  .mega-panel-inner { padding: 4px 0 10px 14px; display: block; }
  .mega-panel-visual { display: none; } /* mobilde yer kaplamasin, sade liste yeterli */
  .mega-panel-links { display: block; }
  .mega-panel-links li a { padding: 9px 8px; font-size: 13px; }
  .mega-panel-links li a img { width: 22px; height: 22px; }

  .mega-item:hover .mega-panel { display: none; } /* mobilde hover'i devre disi birak, sadece .open ile ac */

  /* Kategori cemberleri */
  .story-row { gap: 14px; padding: 18px 4px 8px; }
  .story-item { width: 66px; }
  .story-ring { width: 60px; height: 60px; }
  .story-item span { font-size: 11px; }

  /* Slider */
  .hero-slider { border-radius: 12px; margin: 14px 0; height: 200px; }
  .hero-caption { left: 18px; bottom: 18px; max-width: calc(100% - 36px); }
  .hero-caption h2 { font-size: 21px; }

  /* Bolumler */
  .section { padding: 26px 0; }
  .section-head { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .section-head h2 { font-size: 20px; }

  /* Urun gridi - 2 sutuna dus */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .seo-category-tiles { grid-template-columns: repeat(2, 1fr); }
  .blog-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-showcase-all { position: static; display: block; text-align: center; margin-top: 10px; }
  .blog-showcase-head { flex-direction: column; gap: 6px; }
  .product-info { padding: 10px 12px 14px; }
  .product-info h3 { font-size: 13px; }
  .price-now { font-size: 15px; }
  .price-old { font-size: 12px; }

  /* Urun detay */
  .product-detail { gap: 24px; padding: 18px 0; grid-template-columns: 1fr; }
  .gallery-thumbs img { width: 56px; height: 56px; }
  .gallery-with-thumbs { flex-direction: column-reverse; }
  .gallery-thumbs-vertical { flex-direction: row; width: 100%; overflow-x: auto; }
  .gallery-thumbs-vertical img { width: 56px; height: 56px; flex-shrink: 0; }
  .product-tabs-nav { gap: 2px; }
  .product-tab-btn { padding: 10px 12px; font-size: 12.5px; }
  h1 { font-size: 22px; }

  /* Flash indirim */
  .countdown .box { min-width: 38px; padding: 6px 8px; }
  .countdown .box b { font-size: 15px; }

  /* Tablolar - yatay kaydirmali sarmalayici */
  .cart-table { display: block; overflow-x: auto; white-space: nowrap; }
  .cart-table img { width: 48px; height: 48px; }

  /* Checkout */
  .pay-method { flex-direction: column; gap: 8px; }
  .summary-box { padding: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid-rich { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .site-footer { padding: 34px 0 18px; }

  /* Sohbet asistani - tam genislik, daha kisa, alt gezinme cubugunun ustunde */
  .chat-panel { width: calc(100vw - 24px); right: 12px; left: 12px; height: 65vh; max-height: 400px; bottom: 128px; }
  .chat-fab { right: 16px; bottom: 78px; width: 52px; height: 52px; font-size: 21px; }
  .quick-contact-buttons { right: 16px; bottom: 138px; }
  .quick-contact-btn { width: 46px; height: 46px; }
  .quick-contact-btn svg { width: 22px; height: 22px; }

  /* Mobil uygulama tarzı alt gezinme çubuğu */
  body { padding-bottom: 62px; }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--color-surface); border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,.06); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px; position: relative; color: var(--color-muted);
  }
  .bottom-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .bottom-nav a span { font-size: 10.5px; font-weight: 600; }
  .bottom-nav a.active { color: var(--color-primary); }
  .bottom-nav a.active svg { fill: var(--color-primary); stroke: var(--color-primary); }
  .bn-badge {
    position: absolute; top: 0; right: 18%; background: var(--color-accent); color: #fff;
    font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 1px 5px; min-width: 15px; text-align: center;
  }

  /* Mobilde header'daki tekrar eden linkleri gizle (alt bar zaten var) */
  .header-actions { display: none; }

  /* Formlar */
  .form-box { padding: 16px; }
  .form-box input, .form-box textarea, .form-box select { font-size: 16px; } /* iOS zoom onlemek icin 16px */
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid-rich { grid-template-columns: 1fr; }
}
