/* Mekan Yatak — logo kırmızısı (#C00D0E) vurgu, sıcak antrasit ve krem nötrler. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #C00D0E;        /* logo kırmızısı: butonlar, rozetler, hover/aktif durumlar */
  --brand-dark: #9E0A0B;
  --brand-soft: #FBEEEE;    /* kırmızının açık tonu: ikon zemini, kampanya bandı */
  --navy: #231F20;          /* başlıklar, fiyatlar (sıcak antrasit; isim eski kaldı) */
  --navy2: #2B2426;         /* koyu bölüm arkaplanı */
  --navy3: #3A3032;
  --lilac: #EBC9A0;         /* koyu bölümde vurgulu kelimeler (sıcak kum) */
  --bg-soft: #F7F4F1;
  --border: #ECE6E1;
  --white: #FFFFFF;
  --text: #2B2527;
  --text-muted: #6B6366;
  --green: #0A7C48;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px -16px rgba(35, 24, 26, 0.28);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }
input[type="checkbox"] { accent-color: var(--brand); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-bg { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head { text-align: center; }
.section-head .section-title::after { content: ''; display: block; width: 44px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: var(--brand); }
.section-head .section-desc { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy2); }
.btn-block { width: 100%; }

/* ===== Top strip ===== */
.topbar {
  background: var(--navy2);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.topbar .container {
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
}
.topbar-track {
  display: flex;
  width: max-content;
  animation: topbar-scroll 42s linear infinite;
}
.topbar-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 9px 0;
}
.topbar-group span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 25px;
}
.topbar-group span + span::before {
  content: '\2022';
  color: rgba(255, 255, 255, 0.28);
  margin-right: 18px;
}
.topbar strong { color: #fff; }
.topbar .material-symbols-outlined { font-size: 16px; }

@keyframes topbar-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 22px -14px rgba(35, 24, 26, 0.4); }
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s ease;
}
.header-icon-btn:hover { background: var(--bg-soft); }

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  white-space: nowrap;
}
.logo img { display: block; width: 180px; max-width: 100%; height: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 22px;
}
.header-nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--brand); }

.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 10px 18px;
  max-width: 480px;
}
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
}
.header-search .material-symbols-outlined { color: var(--text-muted); font-size: 20px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.header-actions .header-icon-btn { position: relative; }
.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.menu-toggle { display: none; }

/* ===== Main nav ===== */
.main-nav { display: none; }
.main-nav ul { display: flex; justify-content: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.main-nav a:hover { color: var(--brand); border-color: var(--brand); }

/* ===== Hero ===== */
.hero {
  overflow: hidden;
  background: var(--navy);
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 26px;
}
.hero + .perk-strip { display: none; }
.hero a { display: block; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1824 / 560; }

/* Ana sayfa ürün şeridi okları (yalnızca mobilde görünür) */
.product-carousel { position: relative; }
.carousel-arrow { display: none; }

.perk-strip {
  background: var(--navy2);
  color: var(--white);
}
.perk-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  padding: 12px 20px;
  font-size: 12.5px;
  font-weight: 600;
}
.perk-strip span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.perk-strip .material-symbols-outlined { font-size: 17px; color: var(--lilac); }

/* ===== Category tiles ===== */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 16px; margin-bottom: 8px; position: relative; z-index: 4; }
.cat-tile {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  box-shadow: var(--shadow);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35,24,26,0.92) 0%, rgba(35,24,26,0.4) 48%, rgba(35,24,26,0) 78%); }
.cat-tile-body { position: relative; z-index: 2; color: var(--white); }
.cat-tile-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.cat-tile-body .btn { padding: 9px 20px; font-size: 12px; background: var(--brand); border-color: var(--brand); color: var(--white); }
.cat-tile:hover .cat-tile-body .btn { background: var(--brand-dark); border-color: var(--brand-dark); }

/* ===== Product cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--white); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-offer-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(150deg, #D9262A, #9E0A0B);
  border: 2px solid #f4a8a9;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.05;
  box-shadow: 0 4px 10px rgba(158, 10, 11, 0.25);
  transform: rotate(-8deg);
}
.product-offer-badge strong { font-size: 10px; }
.product-discount {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}
.wishlist-btn {
  position: absolute; top: 18px; right: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  box-shadow: 0 8px 20px rgba(35, 24, 26, 0.12);
}
.wishlist-btn.active, .wishlist-btn:hover { color: var(--brand); }
.wishlist-btn .material-symbols-outlined { font-size: 30px; }
.product-body { padding: 18px 30px 22px; }
.product-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
  min-height: 52px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.product-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-rating { display: flex; align-items: center; gap: 7px; font-size: 16px; color: var(--navy); }
.product-rating .stars { color: #F5A623; letter-spacing: 1px; }
.review-count { color: var(--text-muted); font-size: 15px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current { font-size: 25px; font-weight: 800; color: #07834f; }
.price-old { font-size: 25px; font-weight: 800; color: var(--navy); }
.product-price-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 8px 12px 7px; background: #effaf5; border: 2px solid #c9eadb; border-radius: 14px; }
.product-price-box .price-current { min-width: 0; }
.discount-pill { padding: 5px 12px; background: #07834f; color: var(--white); border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.product-note { grid-column: 1 / -1; min-width: 0; font-size: 12px; color: #8f8689; margin-top: 2px; white-space: normal; overflow-wrap: anywhere; }
.product-note strong { color: var(--navy); }

.tab-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.tab-bar button {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tab-bar button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== Feature grid (Neden Mekan Yatak) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 8px; }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); }

/* ===== Dark story section ===== */
.story {
  background: var(--navy2);
  color: var(--white);
}
.story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-img { border-radius: var(--radius); overflow: hidden; }
.story-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.story-item:last-child { border-bottom: none; }
.story-num { font-size: 22px; font-weight: 800; color: var(--lilac); }
.story-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.story-item p { font-size: 13.5px; color: rgba(255,255,255,0.75); }
.story-item strong { color: var(--lilac); font-weight: 700; }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.testi-card .stars { color: #F5A623; margin-bottom: 10px; letter-spacing: 2px; }
.testi-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.testi-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.testi-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.testi-meta .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.verified { color: var(--green); display: inline-flex; align-items: center; gap: 4px; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 18px 20px 22px; }
.blog-body h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.blog-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.blog-link { font-size: 13px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }

/* ===== Newsletter ===== */
.newsletter { background: var(--brand); color: var(--white); }
.newsletter .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 20px; }
.newsletter h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.newsletter p { font-size: 13px; opacity: 0.9; }
.newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 460px; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 999px; border: none; outline: none; font-size: 13px;
}
.newsletter-form button {
  padding: 13px 24px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 13px; white-space: nowrap;
}

/* ===== Footer ===== */
.site-footer { background: var(--bg-soft); color: var(--text-muted); font-size: 13.5px; }
.footer-top {
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}
.footer-top .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { margin-bottom: 14px; line-height: 1.6; }
.footer-brand .contact-line { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-brand .material-symbols-outlined { font-size: 18px; color: var(--brand); }
.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--brand); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.footer-social a:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.footer-bottom { padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons span {
  border: 1px solid var(--border); background: var(--white); border-radius: 4px;
  font-size: 11px; font-weight: 700; padding: 4px 8px; color: var(--text-muted);
}

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: var(--text-muted); padding: 18px 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .material-symbols-outlined { font-size: 16px; }

/* ===== Category / listing page ===== */
.filter-group { border-top: 1px solid var(--border); padding: 14px 0; }
.filter-group summary { font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.listing-title h1 { padding-top: 28px; font-size: 30px; font-weight: 800; color: var(--navy); }
.listing-title .breadcrumb { padding: 6px 0 20px; }
.listing-toolbar { display: flex; align-items: center; gap: 14px; padding: 14px 20px; margin-bottom: 22px; border: 1px solid var(--border); border-radius: 16px; }
.filter-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--navy); font-size: 13.5px; font-weight: 700; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn .material-symbols-outlined { font-size: 20px; }
.filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--white); font-size: 10px; font-weight: 800; }
.filter-count[hidden] { display: none; }
.listing-count { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.sort-select { min-width: 230px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.view-toggle { display: none; margin-left: auto; gap: 4px; padding: 5px; border: 1px solid var(--border); border-radius: 12px; }
.view-toggle button { display: flex; align-items: center; gap: 3px; padding: 8px 12px; border-radius: 8px; }
.view-toggle i { width: 3px; height: 18px; border-radius: 2px; background: #cfc6c1; }
.view-toggle button.active { background: var(--bg-soft); }
.view-toggle button.active i { background: var(--navy); }
@media (min-width: 1081px) { .view-toggle { display: flex; } }
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.listing-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 861px) {
  .listing-grid .product-body { padding: 14px 18px 18px; }
  .listing-grid .product-title { min-height: 44px; font-size: 16px; line-height: 1.35; }
  .listing-grid .product-title span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .listing-grid .price-old { font-size: 20px; }
  .listing-grid .product-rating { font-size: 14px; }
  .listing-grid .product-note { font-size: 11px; }
  .listing-grid .product-offer-badge { top: 12px; left: 12px; width: 60px; height: 60px; font-size: 7px; }
  .listing-grid .product-offer-badge strong { font-size: 9px; }
  .listing-grid .wishlist-btn { top: 12px; right: 12px; width: 44px; height: 44px; }
  .listing-grid .wishlist-btn .material-symbols-outlined { font-size: 24px; }
}

/* Filtre çekmecesi (soldan açılır) */
.filter-drawer { position: fixed; inset: 0; z-index: 950; visibility: hidden; }
.filter-drawer.open { visibility: visible; }
.filter-drawer .overlay { position: absolute; inset: 0; background: rgba(35, 24, 26, 0.5); opacity: 0; transition: opacity 0.3s ease; }
.filter-drawer.open .overlay { opacity: 1; }
.filter-drawer .panel { position: absolute; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; width: min(380px, 90vw); background: var(--white); transform: translateX(-100%); transition: transform 0.3s ease; }
.filter-drawer.open .panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 18px; font-weight: 800; color: var(--navy); }
.drawer-body { flex: 1; padding: 4px 22px; overflow-y: auto; }
.drawer-body .filter-group:first-child { border-top: 0; }
.drawer-body .filter-group summary { font-size: 14.5px; font-weight: 700; }
.drawer-body .filter-group label { padding: 3px 0; font-size: 14px; }
.drawer-foot { display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); }
.drawer-foot .btn { flex: 1; padding: 13px 16px; border-radius: 12px; }
.btn-ghost { border: 1px solid var(--border); background: var(--white); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.pagination .active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== Product detail page ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0 60px; }
.gallery-main { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 14px; background: var(--bg-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs img {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
}
.gallery-thumbs img.active { border-color: var(--brand); }

.pd-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.pd-rating .stars { color: #F5A623; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--navy); }
.pd-price-old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.pd-installment { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.pd-badge { display: inline-flex; align-items: center; gap: 6px; background: #FFF1E0; color: var(--brand); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }

.option-group { margin-bottom: 22px; }
.option-group h4 { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.option-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.option-pill {
  padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.option-pill.active { border-color: var(--navy); background: var(--navy); color: var(--white); }

.pd-actions { display: flex; gap: 12px; margin: 26px 0 18px; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.qty-box button { width: 40px; height: 48px; font-size: 16px; color: var(--navy); }
.qty-box span { width: 36px; text-align: center; font-weight: 700; }

.pd-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.pd-perks li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.pd-perks .material-symbols-outlined { color: var(--green); font-size: 18px; }

.pd-tabs { margin-top: 60px; }
.pd-tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.pd-tab-nav button {
  padding: 14px 22px; font-size: 13.5px; font-weight: 700; color: var(--text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.pd-tab-nav button.active { color: var(--navy); border-color: var(--brand); }
.pd-tab-panel { display: none; font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.pd-tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.spec-table td:first-child { font-weight: 700; color: var(--navy); width: 220px; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }

.related-title { font-size: 20px; font-weight: 800; color: var(--navy); margin: 60px 0 24px; }

/* Product page purchase panel */
.product-detail { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 18px; align-items: start; padding: 10px 0 50px; }
.product-gallery-column, .product-info { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; margin-bottom: 9px; border-radius: 8px; }
.gallery-offer { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 5px 10px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; }
.gallery-zoom { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); }
.gallery-zoom .material-symbols-outlined { font-size: 19px; }
.gallery-dots { position: absolute; left: 50%; bottom: 9px; display: flex; gap: 5px; padding: 5px 8px; transform: translateX(-50%); border-radius: 20px; background: rgba(255,255,255,.85); }
.gallery-dots button { width: 6px; height: 6px; border-radius: 50%; background: #d9d0cb; }
.gallery-dots button.active { background: var(--brand); }
.gallery-thumbs { gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs img { flex: 0 0 58px; width: 58px; height: 58px; border: 1px solid var(--border); border-radius: 6px; }
.gallery-thumbs img.active { border: 2px solid var(--brand); }
.pd-kicker { margin: 1px 0 4px; color: #8f8689; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.pd-title { margin-bottom: 5px; color: var(--navy); font-size: 16px; line-height: 1.35; }
.pd-rating { gap: 8px; margin-bottom: 14px; font-size: 15px; }
.pd-rating strong { color: var(--navy); }
.pd-price-card { margin-bottom: 10px; padding: 13px 17px; border: 1px solid var(--border); border-radius: 14px; }
.pd-price-row { align-items: baseline; gap: 17px; margin-bottom: 8px; }
.pd-price { color: var(--navy); font-size: 32px; }
.pd-price-old { font-size: 12px; }
.pd-transfer-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; min-height: 50px; padding: 7px 13px; border: 1px solid #d8eee3; border-radius: 10px; background: #f0faf5; color: #756c6f; font-size: 13px; }
.pd-transfer-row > strong { flex: 0 0 auto; color: #07834f; font-size: 18px; }
.pd-transfer-row > span:nth-child(2) { flex: 1 1 180px; min-width: 0; }
.pd-transfer-row b { color: var(--navy); }
.pd-discount { flex: 0 0 auto; padding: 4px 10px; border-radius: 6px; background: #07834f; color: #fff; font-size: 13px; font-weight: 800; }
.pd-installment { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 13px; }
.pd-installment strong { color: var(--navy); }
.pd-campaign { display: flex; align-items: center; gap: 8px; min-height: 45px; margin-bottom: 20px; padding: 7px 13px; border-radius: 11px; background: var(--brand-soft); color: #6b6366; font-size: 13px; }
.pd-campaign .material-symbols-outlined { color: var(--brand); font-size: 20px; }
.pd-campaign strong { color: var(--navy); }
@media (max-width: 480px) {
  .pd-transfer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; }
  .pd-transfer-row > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
.pd-variants { display: flex; flex-direction: column; gap: 13px; }
.option-group { margin-bottom: 0; }
.option-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.option-heading h4, .pd-firmness h4 { margin: 0; color: #8f8689; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.option-heading > span, .size-guide { color: #756c6f; font-size: 12px; font-weight: 600; }
.color-swatch { width: 42px; height: 33px; border: 1px solid #ddd5d0; border-radius: 9px; background: #eee4cf; }
.color-swatch.active { outline: 2px solid var(--brand); outline-offset: 2px; }
.size-guide { color: var(--brand); }
.option-pills { gap: 7px; }
.option-pill { padding: 9px 13px; border-radius: 8px; font-size: 12px; }
.option-pill.active { border-color: var(--navy); background: var(--navy); }
.size-guide-panel { margin-top: 9px; padding: 10px; border-radius: 8px; background: var(--bg-soft); color: var(--text-muted); font-size: 13px; }
.pd-firmness { margin-top: 18px; }
.firmness-scale { display: flex; gap: 7px; margin: 8px 0 4px; }
.firmness-scale i { height: 7px; flex: 1; border-radius: 5px; background: #eee8e4; }
.firmness-scale i:nth-child(-n+4) { background: var(--navy); }
.firmness-scale i.selected { background: var(--brand); }
.firmness-labels { display: flex; justify-content: space-between; color: #a39a9d; font-size: 10px; }
.firmness-labels strong { color: var(--navy); font-size: 12px; }
.pd-actions { gap: 10px; margin: 16px 0 13px; }
.qty-box { border-radius: 6px; }
.qty-box button { width: 36px; height: 49px; font-size: 20px; }
.qty-box span { width: 29px; font-size: 14px; }
.pd-actions .btn { min-height: 50px; padding: 12px 21px; border-radius: 9px; background: var(--brand); font-size: 14px; }
.pd-actions .btn:hover { background: var(--brand-dark); }
.pd-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border: 1px solid #d5ebdf; border-radius: 9px; color: #09834d; font-size: 13px; font-weight: 700; }
.pd-whatsapp .material-symbols-outlined { font-size: 20px; }
.pd-trust-card { margin-top: 21px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; }
.trust-card-title { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 7px 12px; background: var(--bg-soft); color: #16865a; font-size: 12px; font-weight: 800; }
.trust-card-title > span { display: inline-flex; align-items: center; gap: 6px; }
.trust-card-title .material-symbols-outlined { font-size: 17px; }
.payment-methods { display: flex; gap: 7px; color: #4f474a; font-size: 9px; }
.payment-methods b { padding: 3px 4px; border-radius: 4px; background: #fff; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px; border: 0; }
.pd-perks li { display: flex; align-items: center; gap: 5px; color: #8f8689; font-size: 10px; white-space: nowrap; }
.pd-perks li strong { color: #4f474a; }
.pd-perks .material-symbols-outlined { color: #8f8689; font-size: 16px; }
.pd-delivery { display: flex; align-items: center; gap: 9px; margin: 0 10px 10px; padding: 8px 12px; border-radius: 9px; background: var(--bg-soft); color: #8f8689; font-size: 10px; }
.pd-delivery > .material-symbols-outlined { font-size: 18px; }
.pd-delivery strong { color: var(--brand); font-size: 16px; }
.pd-delivery b { color: #4f474a; }
.pd-quick-actions { display: flex; gap: 7px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; }
.pd-quick-actions button { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--border); border-radius: 18px; color: #756c6f; font-size: 10px; white-space: nowrap; }
.pd-quick-actions .material-symbols-outlined { font-size: 14px; }

/* ===== Ürün kartı etkileşimleri ===== */
.product-thumb .alt-img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; }
.product-tag { position: absolute; left: 18px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.product-quick { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 11px; text-align: center; background: rgba(35, 31, 32, 0.92); color: var(--white); font-size: 13px; font-weight: 700; transform: translateY(100%); transition: transform 0.25s ease; }
@media (hover: none) { .product-quick { display: none; } }
@media (hover: hover) {
  .product-card:hover .product-thumb .alt-img { opacity: 1; }
  .product-card:hover .product-quick { transform: translateY(0); }
}
@media (max-width: 620px) { .product-tag { left: 9px; bottom: 8px; padding: 3px 7px; font-size: 9px; } }

/* ===== Mikro etkileşimler ve erişilebilirlik ===== */
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.wishlist-btn.active .material-symbols-outlined { font-variation-settings: 'FILL' 1; animation: pop 0.35s ease; }
.badge.bump { animation: pop 0.4s ease; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  /* Üst şerit bilgi akışı olduğu için kayar kalır; üzerine gelince durur */
  .topbar-track { animation-duration: 42s !important; animation-iteration-count: infinite !important; }
}
.topbar:hover .topbar-track { animation-play-state: paused; }

/* ===== Cookie / mobile drawer ===== */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 900; display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .overlay { position: absolute; inset: 0; background: rgba(35,24,26,0.55); }
.mobile-drawer .panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 82%; max-width: 340px;
  background: var(--white); padding: 24px 20px; overflow-y: auto;
}
.mobile-drawer .panel a { display: block; padding: 12px 4px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
.mobile-drawer-close { display: flex; justify-content: flex-end; margin-bottom: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid, .listing-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top .container { grid-template-columns: 1fr 1fr; }
  .story .container { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
  .product-grid .price-current,
  .listing-grid .price-current {
    font-size: 20px;
    white-space: nowrap;
  }
  .product-grid .discount-pill,
  .listing-grid .discount-pill {
    padding: 3px 8px;
    font-size: 9px;
  }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo img { width: 160px; }
  .header-nav { display: none; }
  .header-search { display: none; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .blog-grid { grid-template-columns: 1fr; margin-top: 20px; }
  .cat-tile { height: auto; aspect-ratio: 450 / 650; padding: 8px; border-radius: 14px; }
  .cat-tile-body { width: 100%; text-align: center; }
  .cat-tile-body h3 { margin-bottom: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
  .cat-tile-body .btn { padding: 4px 6px; border: 0; border-radius: 6px; background: var(--brand); color: var(--white); font-size: 8.5px; white-space: nowrap; }
  .product-grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%;
    gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid .product-card { scroll-snap-align: start; }
  .product-grid .product-card:hover { transform: none; }
  .product-grid .product-body { padding: 14px 14px 16px; }
  .carousel-arrow {
    position: absolute; top: 64px; z-index: 5; display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); background: rgba(255,255,255,0.7);
  }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .section-head .section-desc { display: none; }
  .section-title { margin-bottom: 14px; font-size: 22px; }
  .tab-bar { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-bar button { flex: 0 0 auto; padding: 8px 14px; font-size: 12px; }
  .listing-toolbar { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .sort-select { flex: 1; min-width: 0; padding: 10px 12px; }
  .listing-count { width: 100%; }
  .listing-title h1 { padding-top: 18px; font-size: 24px; }
  .listing-grid, .listing-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .listing-grid .product-title { font-size: 22px; min-height: 60px; }
  .listing-grid .price-old { font-size: 24px; }
  .listing-grid .price-current { font-size: 21px; white-space: nowrap; }
  .listing-grid .product-summary { flex-wrap: wrap; }
  .listing-grid .product-rating { font-size: 18px; gap: 5px; }
  .listing-grid .product-rating .stars { font-size: 18px; letter-spacing: 0; }
  .listing-grid .product-note { font-size: 15px; }
  .hero { width: calc(100% - 24px); border-radius: 14px; }
  .section { padding: 44px 0; }
  .newsletter .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 8px; }
  .gallery-main { aspect-ratio: 3 / 2; }
  .pd-title { font-size: 18px; }
  .pd-price { font-size: 35px; }
}

@media (max-width: 620px) {
  .logo img { width: 120px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .product-thumb { aspect-ratio: 4 / 3; }
  .product-body { padding: 18px 30px 22px; }
  .listing-grid .product-body, .product-grid .product-body { padding: 11px 9px 13px; }
  .listing-grid .product-title, .product-grid .product-title { min-height: 39px; margin-bottom: 9px; padding-bottom: 7px; font-size: 14px; line-height: 1.3; }
  .listing-grid .product-title span, .product-grid .product-title span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .listing-grid .product-summary, .product-grid .product-summary { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 9px; }
  .listing-grid .price-old, .listing-grid .price-current, .product-grid .price-old, .product-grid .price-current { font-size: 15px; }
  .listing-grid .product-rating, .product-grid .product-rating { gap: 4px; font-size: 12px; }
  .listing-grid .product-rating .stars, .product-grid .product-rating .stars { font-size: 13px; letter-spacing: 0; }
  .listing-grid .review-count, .product-grid .review-count { font-size: 11px; }
  .listing-grid .product-price-box, .product-grid .product-price-box { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 7px; border-radius: 10px; }
  .listing-grid .discount-pill, .product-grid .discount-pill { justify-self: start; padding: 3px 6px; font-size: 8px; }
  .listing-grid .product-note, .product-grid .product-note { font-size: 10px; white-space: normal; line-height: 1.35; }
  .listing-grid .product-offer-badge, .product-grid .product-offer-badge { top: 9px; left: 9px; width: 56px; height: 56px; font-size: 6px; }
  .listing-grid .product-offer-badge strong, .product-grid .product-offer-badge strong { font-size: 8px; }
  .listing-grid .wishlist-btn, .product-grid .wishlist-btn { top: 9px; right: 9px; width: 42px; height: 42px; }
  .listing-grid .wishlist-btn .material-symbols-outlined, .product-grid .wishlist-btn .material-symbols-outlined { font-size: 23px; }
  .footer-top .container { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
