/* Mobilya Evi Pro — Nova teması · Web Danışmanı */

/* ============================================================
   Mobilya Evi Pro — Stylesheet
   ============================================================ */

:root {
  --accent: #e11d2a;
  --accent-dark: #c4161f;
  --ink: #141414;
  --ink-soft: #1a1a1a;
  --green: #1b8a4b;
  --bg: #ffffff;
  --bg-cream: #f6f3ef;
  --bg-dark: #0b0b0c;
  --line: #ececec;
  --maxw: 1480px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

.accent { color: var(--accent); }
.green { color: var(--green); }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sec { max-width: var(--maxw); margin: 64px auto 0; padding: 0 18px; }
.sec-h { margin: 0; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.sec-head-block { margin-bottom: 24px; }

/* hide scrollbars on horizontal scrollers */
.cat-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.cat-scroll::-webkit-scrollbar { display: none; }

/* ============ ANNOUNCEMENT BAR ============ */
.ann-bar {
  background: var(--bg-dark);
  color: #f3f1ee;
  text-align: center;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.ann-bar svg { opacity: .85; }

/* ============ HEADER ============ */
.hdr {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hdr-logo-link { text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.hdr-logo { font-size: 27px; font-weight: 800; letter-spacing: 1px; color: #111; }
.hdr-logo-sub { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: #111; }

.hdr-nav { display: flex; align-items: center; gap: 38px; flex: 1; justify-content: center; }
.hdr-nav a { text-decoration: none; color: var(--ink-soft); font-size: 15.5px; font-weight: 600; white-space: nowrap; transition: color .18s; }
.hdr-nav a:hover { color: var(--accent); }

.hdr-icons { display: flex; align-items: center; gap: 22px; color: var(--ink-soft); }
.icon-btn { background: none; border: none; padding: 0; cursor: pointer; color: inherit; display: flex; transition: color .18s; }
.icon-btn:hover { color: var(--accent); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -7px; right: -9px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px -1px rgba(225,29,42,.6);
}
[hidden] { display: none !important; }

.hamburger {
  display: none;
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--ink-soft); width: 26px; height: 26px;
  align-items: center; justify-content: center;
}

/* ============ MOBILE DRAWER ============ */
@keyframes kfFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kfSlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes kfDrop { from { transform: translateY(-18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes kfZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.drawer-overlay { position: fixed; inset: 0; z-index: 95; display: flex; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10,11,12,.55); animation: kfFade .25s ease; }
.drawer-panel {
  position: relative; z-index: 2; width: 86%; max-width: 360px; height: 100%;
  background: #faf9f7; box-shadow: 0 0 60px rgba(0,0,0,.35);
  animation: kfSlideIn .32s cubic-bezier(.2,.8,.25,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-head { background: var(--bg-dark); padding: 24px 22px 22px; }
.drawer-head-row { display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-logo { font-size: 23px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.drawer-logo-sub { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; color: #fff; }
.drawer-tagline { font-size: 12px; color: #8f8f8f; margin-top: 5px; }
.drawer-close {
  background: rgba(255,255,255,.1); border: none; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #fff; flex-shrink: 0;
}
.drawer-search {
  margin-top: 18px; width: 100%; background: #fff; border: none;
  border-radius: 13px; padding: 13px 16px; display: flex; align-items: center;
  gap: 11px; cursor: pointer; font-family: inherit;
}
.drawer-search span { font-size: 14.5px; font-weight: 600; color: #9a9a9a; }

.drawer-cats { padding: 22px 22px 8px; }
.drawer-label { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #9a9a9a; text-transform: uppercase; margin-bottom: 14px; }
.drawer-cat-list { display: flex; flex-direction: column; gap: 4px; }
.drawer-cat-list a {
  display: flex; align-items: center; gap: 14px; padding: 9px 10px; margin: 0 -10px;
  border-radius: 14px; text-decoration: none; transition: background .15s;
}
.drawer-cat-list a:hover { background: #fff; }
.drawer-cat-list img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 10px -5px rgba(0,0,0,.4); }
.drawer-cat-list span { flex: 1; font-size: 15.5px; font-weight: 700; color: var(--ink-soft); }

.drawer-promo-wrap { padding: 14px 22px 6px; }
.drawer-promo {
  display: block; text-decoration: none;
  background: linear-gradient(120deg, #e11d2a, #a30f1a);
  border-radius: 18px; padding: 20px 22px;
}
.drawer-promo-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.85); text-transform: uppercase; }
.drawer-promo-title { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; margin: 5px 0 3px; }
.drawer-promo-sub { font-size: 13px; color: rgba(255,255,255,.9); font-weight: 600; }

.drawer-foot { margin-top: auto; padding: 18px 22px 24px; }
.drawer-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.drawer-links a { display: flex; align-items: center; gap: 13px; padding: 11px 0; text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.drawer-links a + a { border-top: 1px solid var(--line); }
.drawer-social { display: flex; gap: 10px; }
.drawer-social a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid #e0ddd6; display: flex; align-items: center; justify-content: center; color: #555; }

/* ============ SEARCH TAKEOVER ============ */
.search-overlay { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; }
.search-scrim { position: absolute; inset: 0; background: rgba(10,11,12,.45); backdrop-filter: blur(2px); animation: kfFade .25s ease; }
.search-sheet {
  position: relative; z-index: 2; background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  animation: kfDrop .28s cubic-bezier(.2,.8,.25,1);
  max-height: 88vh; overflow-y: auto;
}
.search-inner { max-width: 900px; margin: 0 auto; padding: 30px 28px 36px; }
.search-input-row { display: flex; align-items: center; gap: 14px; border: 2px solid var(--ink-soft); border-radius: 16px; padding: 16px 20px; }
.search-ico { flex-shrink: 0; }
.search-input { flex: 1; min-width: 0; border: none; outline: none; font-family: inherit; font-size: 19px; font-weight: 600; color: #111; background: none; }
.search-clear {
  background: #f1f1f1; border: none; width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: #555;
}
.search-esc { background: none; border: none; cursor: pointer; color: #888; font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 6px 8px; flex-shrink: 0; }

.search-group-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #9a9a9a; text-transform: uppercase; }
.search-results { display: flex; flex-direction: column; }
.search-result {
  display: flex; align-items: center; gap: 16px; padding: 12px 10px;
  border-radius: 12px; text-decoration: none; transition: background .15s;
}
.search-result:hover { background: #f6f5f3; }
.search-result img { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.search-result-name { font-size: 15.5px; font-weight: 700; color: var(--ink-soft); }
.search-result-cat { font-size: 13px; font-weight: 500; color: #8a8a8a; }
.search-empty { text-align: center; padding: 46px 10px; color: #9a9a9a; }
.search-empty-title { font-size: 17px; font-weight: 700; color: #444; margin-bottom: 6px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search-chip {
  background: #f4f3f1; border: 1px solid var(--line); border-radius: 30px;
  padding: 9px 18px; font-family: inherit; font-size: 14px; font-weight: 600;
  color: #333; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.search-chip:hover { background: var(--ink-soft); color: #fff; border-color: var(--ink-soft); }
.trending-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trending-card {
  display: flex; align-items: center; gap: 13px; padding: 10px;
  border-radius: 14px; border: 1px solid #eee; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.trending-card:hover { border-color: var(--ink-soft); transform: translateY(-2px); }
.trending-card img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.trending-card span { font-size: 14.5px; font-weight: 700; color: #222; }

/* ============ HERO SLIDER ============ */
.slider-sec {
  margin: 22px 18px 0; position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 1900 / 740; box-shadow: 0 18px 50px -28px rgba(0,0,0,.4);
}
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img { animation: kfZoom 7s ease-out forwards; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.30) 100%); }

.slider-inner { position: absolute; inset: 0; padding: 48px 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.slider-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.slider-title { margin: 0; color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.05; max-width: 640px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.slider-cta {
  flex-shrink: 0; background: #fff; color: #111; text-decoration: none;
  font-size: 16px; font-weight: 700; padding: 18px 34px; border-radius: 40px;
  white-space: nowrap; transition: transform .18s, background .18s;
}
.slider-cta:hover { background: #f0ede9; transform: translateY(-2px); }
.slider-divider { height: 1px; background: rgba(255,255,255,.28); margin-bottom: 26px; }
.slider-controls { display: flex; align-items: center; justify-content: space-between; }
.slider-arrow { background: none; border: none; padding: 6px; cursor: pointer; color: #fff; display: flex; opacity: .9; transition: opacity .18s, transform .18s; }
.slider-arrow:hover { opacity: 1; }
#slidePrev:hover { transform: translateX(-3px); }
#slideNext:hover { transform: translateX(3px); }
.slider-dots { display: flex; align-items: center; gap: 11px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.42); transition: background .25s, transform .25s; }
.slider-dot.is-active { background: #fff; transform: scale(1.15); }

/* ============ CATEGORY STRIP ============ */
.cat-sec { position: relative; margin: 42px auto 0; max-width: var(--maxw); padding: 0 18px; }
.cat-arrow {
  position: absolute; top: 38px; z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid #e6e6e6; background: #fff;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #1b3a6b;
  transition: transform .18s, box-shadow .18s;
}
.cat-arrow:hover { transform: scale(1.06); box-shadow: 0 10px 22px -8px rgba(0,0,0,.4); }
.cat-arrow-left { left: -6px; }
.cat-arrow-right { right: -6px; }
.cat-scroll { display: flex; gap: 26px; overflow-x: auto; scroll-behavior: smooth; padding: 8px 4px 6px; }
.cat-item { flex: 0 0 auto; width: 112px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.cat-circle {
  width: 104px; height: 104px; border-radius: 50%; padding: 4px; background: #fff;
  border: 2.5px solid #21508a; transition: transform .2s, border-color .2s;
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.3);
}
.cat-item:hover .cat-circle { transform: translateY(-4px); border-color: var(--accent); }
.cat-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cat-promo {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2a66b8, #14306a);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8px;
}
.cat-promo-1 { font-size: 8px; font-weight: 700; color: #ffd34d; letter-spacing: .5px; }
.cat-promo-2 { font-size: 13px; font-weight: 800; color: #ffd34d; line-height: 1; margin: 2px 0; }
.cat-promo-3 { font-size: 9px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.cat-label { font-size: 13.5px; font-weight: 600; color: #2a2a2a; text-align: center; line-height: 1.25; }

/* ============ BEST SELLERS RAIL ============ */
.rail-sec { position: relative; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.rail-head-actions { display: flex; align-items: center; gap: 14px; }
.text-link { font-size: 15px; font-weight: 700; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid var(--ink-soft); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e2e2; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: background .15s, color .15s; }
.rail-btn:hover { background: var(--ink-soft); color: #fff; }
.product-rail { gap: 20px; padding: 6px 2px 8px; }

.product-card {
  flex: 0 0 auto; width: 266px; background: #fff; border: 1px solid #ededed;
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.35); }
.product-media { position: relative; aspect-ratio: 1 / 1; background: #f4f3f1; overflow: hidden; } /* standart ürün oranı 1:1 */
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 20px; }
.product-fav {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.92);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.product-fav:hover { transform: scale(1.12); }
.product-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: #a3a3a3; text-transform: uppercase; margin-bottom: 5px; }
.product-name { font-size: 15.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.3; min-height: 40px; }
.product-rating { display: flex; align-items: center; gap: 5px; margin: 9px 0 12px; }
.product-rating-val { font-size: 13.5px; font-weight: 700; color: #333; }
.product-rating-count { font-size: 13px; font-weight: 500; color: #a3a3a3; }
.product-prices { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.product-price { font-size: 20px; font-weight: 800; color: var(--ink); }
.product-old { font-size: 14px; font-weight: 600; color: #b3b3b3; text-decoration: line-through; }
.product-add {
  margin-top: 14px; width: 100%; border: none; border-radius: 12px;
  background: var(--ink); color: #fff; font-family: inherit; font-size: 14.5px;
  font-weight: 700; padding: 13px 0; cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 8px; transition: background .16s;
}
.product-add:hover { background: var(--accent); }

/* ============ ROOM MOSAIC ============ */
.mosaic-grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 580px; }
.mosaic-card { position: relative; border-radius: 22px; overflow: hidden; text-decoration: none; }
.mosaic-big { grid-row: 1 / span 2; }
.mosaic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic-card:hover img { transform: scale(1.05); }
.mosaic-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 38%, rgba(0,0,0,.6) 100%); }
.mosaic-content { position: absolute; left: 28px; bottom: 26px; right: 28px; color: #fff; }
.mosaic-big .mosaic-content { left: 34px; bottom: 32px; right: 34px; }
.mosaic-count { font-size: 12px; font-weight: 700; letter-spacing: 1px; opacity: .85; margin-bottom: 6px; }
.mosaic-big .mosaic-count { font-size: 13px; margin-bottom: 8px; }
.mosaic-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.mosaic-title-lg { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 14px; }
.mosaic-cta-solid { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; padding: 13px 24px; border-radius: 40px; }
.mosaic-cta-line { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 14px; font-weight: 700; border-bottom: 2px solid #fff; padding-bottom: 2px; }

/* ============ BRAND STORY ============ */
.story { background: var(--bg-cream); margin-top: 84px; padding: 78px 0; }
.story-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.story-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 34px 64px -36px rgba(0,0,0,.45); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-badge { position: absolute; left: 24px; bottom: 24px; background: rgba(255,255,255,.96); border-radius: 16px; padding: 15px 22px; box-shadow: 0 12px 26px -14px rgba(0,0,0,.4); }
.story-badge-num { font-size: 30px; font-weight: 800; line-height: 1; }
.story-badge-label { font-size: 13px; font-weight: 600; color: #555; margin-top: 3px; }
.story-h { margin: 0 0 18px; font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.6px; line-height: 1.12; }
.story-text p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.7; color: #4a4a4a; text-wrap: pretty; }
.story-text p:last-of-type { margin-bottom: 28px; }
.story-stats { display: flex; gap: 36px; margin-bottom: 32px; }
.story-stat-num { font-size: 26px; font-weight: 800; color: var(--ink); }
.story-stat-label { font-size: 13.5px; font-weight: 600; color: #777; margin-top: 2px; }
.story-stat-sep { width: 1px; background: #dcd6cd; }

.btn-dark { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; text-decoration: none; font-size: 15.5px; font-weight: 700; padding: 15px 30px; border-radius: 40px; transition: background .16s; }
.btn-dark:hover { background: var(--accent); }

/* ============ SET COMBO ============ */
.combo-grid { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.combo-img { position: relative; min-height: 440px; }
.combo-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.combo-tag { position: absolute; top: 22px; left: 22px; background: rgba(20,20,20,.85); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 30px; backdrop-filter: blur(4px); }
.combo-pad { padding: 38px 36px; display: flex; flex-direction: column; }
.combo-eyebrow { font-size: 13px; font-weight: 600; color: #9a9a9a; margin-bottom: 4px; }
.combo-title { margin: 0 0 22px; font-size: 23px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; }
.combo-list { display: flex; flex-direction: column; gap: 6px; }
.combo-row { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid #f1f1f1; }
.combo-row img { width: 54px; height: 54px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.combo-row-name { flex: 1; font-size: 15px; font-weight: 700; color: #2a2a2a; }
.combo-row-price { font-size: 15px; font-weight: 700; color: #555; }
.combo-price-row { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 4px; }
.combo-price-group { display: flex; align-items: baseline; gap: 10px; }
.combo-price { font-size: 26px; font-weight: 800; color: var(--ink); }
.combo-old { font-size: 15px; font-weight: 600; color: #b3b3b3; text-decoration: line-through; }
.combo-save { background: #eaf6ee; color: var(--green); font-size: 13px; font-weight: 800; padding: 6px 13px; border-radius: 20px; }

.btn-block {
  margin-top: 20px; width: 100%; border: none; border-radius: 13px;
  background: var(--ink); color: #fff; font-family: inherit; font-size: 15.5px;
  font-weight: 700; padding: 16px 0; cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 9px; transition: background .16s;
}
.btn-block:hover { background: var(--accent); }

/* ============ MATERIALS ============ */
.materials-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.materials-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 30px 60px -36px rgba(0,0,0,.4); }
.materials-media img { width: 100%; height: 100%; object-fit: cover; }
.materials-list { display: flex; flex-direction: column; gap: 24px; }
.material-item { display: flex; gap: 18px; align-items: flex-start; }
.material-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: #eaf6ee; display: flex; align-items: center; justify-content: center; color: var(--green); }
.material-title { font-size: 17px; font-weight: 800; color: var(--ink-soft); margin-bottom: 4px; }
.material-desc { font-size: 14.5px; line-height: 1.6; color: #666; text-wrap: pretty; }

/* ============ WARRANTY ============ */
.warranty { background: var(--ink); margin-top: 84px; padding: 64px 0; }
.warranty-flex { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.warranty-intro { flex: 1; min-width: 260px; }
.warranty-h { margin: 0 0 14px; font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.5px; line-height: 1.15; }
.warranty-p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: #b9b9b9; max-width: 420px; text-wrap: pretty; }
.btn-outline { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; padding: 13px 26px; border-radius: 40px; transition: background .16s, color .16s; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.warranty-cards { display: flex; gap: 18px; flex-wrap: wrap; }
.warranty-card { background: #1e1e1e; border: 1px solid #2c2c2c; border-radius: 18px; padding: 24px 26px; width: 212px; }
.warranty-card-title { font-size: 17px; font-weight: 800; color: #fff; margin: 14px 0 5px; }
.warranty-card-desc { font-size: 13.5px; line-height: 1.55; color: #9a9a9a; }

/* ============ FAQ ============ */
.faq-sec { max-width: 860px; margin: 84px auto 0; padding: 0 18px; }
.faq-head { text-align: center; margin-bottom: 34px; }
.faq-h { margin: 0; font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left; font-family: inherit;
}
.faq-q-text { font-size: 16.5px; font-weight: 700; color: var(--ink-soft); transition: color .2s; }
.faq-item.is-open .faq-q-text { color: var(--accent); }
.faq-chevron { flex-shrink: 0; color: #9a9a9a; display: flex; transition: transform .3s; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .25s ease, padding .3s ease; padding: 0 24px; }
.faq-item.is-open .faq-a { max-height: 260px; opacity: 1; padding: 0 24px 20px; }
.faq-a p { margin: 0; font-size: 15px; line-height: 1.65; color: #5a5a5a; text-wrap: pretty; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-dark); margin-top: 88px; color: #cfcfcf; }
.footer-nl-wrap { border-bottom: 1px solid #1f1f20; }
.nl-band { max-width: var(--maxw); margin: 0 auto; padding: 46px 18px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.nl-copy { flex: 1; min-width: 260px; }
.nl-copy h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.nl-copy p { margin: 0; font-size: 15px; color: #9a9a9a; }
.nl-copy strong { color: #fff; font-weight: 700; }
.nl-form { flex-shrink: 0; min-width: 340px; display: flex; gap: 10px; }
.nl-form input { flex: 1; background: #161617; border: 1px solid #2c2c2e; border-radius: 12px; padding: 14px 18px; color: #fff; font-family: inherit; font-size: 15px; outline: none; }
.nl-form button { background: var(--accent); border: none; border-radius: 12px; padding: 14px 26px; color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .16s; }
.nl-form button:hover { background: var(--accent-dark); }
.nl-success { flex-shrink: 0; min-width: 340px; display: flex; align-items: center; gap: 11px; background: #13241a; border: 1px solid #1f4a32; border-radius: 12px; padding: 15px 20px; color: #5fd08a; }
.nl-success span { font-size: 15px; font-weight: 700; }

.footer-cols { max-width: var(--maxw); margin: 0 auto; padding: 56px 18px 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { font-size: 24px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.footer-logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; color: #fff; }
.footer-brand .hdr-logo-link { margin-bottom: 16px; }
.footer-about { margin: 0 0 22px; font-size: 14.5px; line-height: 1.7; color: #8f8f8f; max-width: 300px; text-wrap: pretty; }
.footer-social { display: flex; gap: 11px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid #2a2a2c; display: flex; align-items: center; justify-content: center; color: #cfcfcf; transition: background .16s, color .16s, border-color .16s; }
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col-title { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #fff; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { text-decoration: none; color: #9a9a9a; font-size: 14.5px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-row { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact-row svg { flex-shrink: 0; margin-top: 1px; }
.footer-contact-row span { font-size: 14.5px; color: #cfcfcf; line-height: 1.5; }

.footer-bottom-wrap { border-top: 1px solid #1f1f20; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 22px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13.5px; color: #7c7c7c; }
.footer-bottom-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { text-decoration: none; color: #9a9a9a; font-size: 13.5px; transition: color .15s; }
.footer-legal a:hover { color: #fff; }
.footer-pay { display: flex; gap: 8px; }
.pay { background: #fff; border-radius: 6px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.pay-visa { color: #1a1f71; font-style: italic; }
.pay-mc { color: #eb001b; }
.pay-mc-2 { color: #f79e1b; }
.pay-troy { color: #00a1e0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hdr-nav { display: none; }
  .hamburger { display: flex; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mosaic-big { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .mosaic-sm { aspect-ratio: 4 / 3; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .combo-grid { grid-template-columns: 1fr; }
  .combo-img { min-height: 280px; }
  .materials-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .sec-h { font-size: 26px; }
}

@media (max-width: 640px) {
  .ann-bar { font-size: 11.5px; padding: 11px 14px; }
  .hdr { padding: 15px 18px; }
  .hdr-logo { font-size: 22px; }
  .hdr-logo-sub { display: none; }
  .hdr-icons { gap: 16px; }

  .slider-sec { margin: 14px 12px 0; aspect-ratio: 4 / 5; border-radius: 18px; }
  .slider-inner { padding: 22px 20px; }
  .slider-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .slider-title { font-size: 27px; max-width: 100%; }
  .slider-cta { width: 100%; text-align: center; padding: 15px 0; }

  .cat-circle { width: 86px; height: 86px; }
  .cat-item { width: 92px; }
  .cat-arrow { display: none; }

  .sec { margin-top: 50px; }
  .sec-h { font-size: 24px; }
  .rail-head { flex-direction: column; align-items: flex-start; gap: 14px; }

  .mosaic-grid { grid-template-columns: 1fr; gap: 14px; }
  .mosaic-big { aspect-ratio: 5 / 6; }
  .mosaic-sm { aspect-ratio: 5 / 4; }

  .story { padding: 52px 0; }
  .story-stats { gap: 22px; }
  .story-h { font-size: 28px; }

  .combo-pad { padding: 28px 24px; }
  .combo-price { font-size: 22px; }

  .warranty { padding: 48px 0; }
  .warranty-flex { flex-direction: column; align-items: flex-start; gap: 30px; }
  .warranty-cards { width: 100%; }
  .warranty-card { width: 100%; }

  .faq-h { font-size: 26px; }

  .nl-band { flex-direction: column; align-items: stretch; gap: 20px; }
  .nl-form, .nl-success { min-width: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 44px 18px 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .search-inner { padding: 18px 15px 26px; }
  .search-input-row { gap: 10px; padding: 13px 15px; border-radius: 14px; }
  .search-input { font-size: 16px; }
  .search-esc { display: none; }
  .trending-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer signature — Web Danışmanı
   ============================================================ */
.footer-sign-wrap {
  border-top: 1px solid #1f1f20;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  padding: 26px 18px 36px;
}
.footer-sign {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: #cfcfcf;
  padding: 8px 15px 8px 9px;
  border: 1px solid #2a2a2c; border-radius: 13px;
  background: rgba(255,255,255,.015);
  transition: border-color .2s, background .2s, transform .2s;
}
.footer-sign:hover {
  border-color: var(--accent);
  background: rgba(225,29,42,.07);
  transform: translateY(-2px);
}
.footer-sign-mark {
  width: 30px; height: 30px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--accent); color: #fff;
  font-weight: 800; font-size: 14px; line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(225,29,42,.7);
}
.footer-sign-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.footer-sign-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: #7c7c7c;
}
.footer-sign-brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15.5px; font-weight: 800; color: #fff; letter-spacing: .3px;
  transition: color .2s;
}
.footer-sign:hover .footer-sign-brand { color: #fff; }
.footer-sign-ext { color: #8f8f8f; transition: color .2s, transform .2s; }
.footer-sign:hover .footer-sign-ext { color: var(--accent); transform: translate(2px, -2px); }
.footer-sign-url {
  font-size: 13.5px; font-weight: 600; color: #8f8f8f;
  text-decoration: none; letter-spacing: .2px;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-sign-url:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 560px){
  .footer-sign-wrap { flex-direction: column; gap: 12px; }
}


/* ===== ÜRÜN DETAY (product.html) ===== */
/* ============================================================
   Mobilya Evi Pro — Product Detail (PDP) styles
   (loads AFTER style.css — reuses vars, header, footer, drawer, search)
   ============================================================ */

.pd { max-width: 1340px; margin: 0 auto; padding: 0 18px; }

/* breadcrumb */
.pd-breadcrumb { font-size: 13px; color: #9a9a9a; padding: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pd-breadcrumb a { color: #9a9a9a; text-decoration: none; transition: color .15s; }
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb .current { color: var(--ink-soft); font-weight: 600; }

/* ---------- TOP: gallery + info ---------- */
.pd-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 14px 0 70px; align-items: start; }

/* gallery */
.pd-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: 18px; }
.pd-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pd-thumb {
  width: 84px; height: 100px; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1.5px solid var(--line); background: #fafafa; padding: 0; transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--ink); }
.pd-main {
  position: relative; border-radius: 16px; overflow: hidden; background: #fafafa;
  border: 1px solid #f0efed; aspect-ratio: 1 / 1; /* standart ürün oranı 1:1 */
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.pd-main-tags { position: absolute; top: 18px; left: 18px; display: flex; flex-direction: column; gap: 7px; z-index: 2; }
.pd-main-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.92); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); opacity: 0; transition: opacity .2s, background .15s; z-index: 2;
}
.pd-main:hover .pd-main-nav { opacity: 1; }
.pd-main-nav:hover { background: #fff; }
.pd-main-prev { left: 16px; }
.pd-main-next { right: 16px; }
.pd-main-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.pd-main-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 1px 3px rgba(0,0,0,.3); border: none; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.pd-main-dot.is-active { background: #fff; transform: scale(1.25); }

/* info panel */
.pd-brand { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #a3a3a3; margin-bottom: 9px; }
.pd-title { margin: 0 0 14px; font-size: 31px; font-weight: 800; color: var(--ink); letter-spacing: -0.6px; line-height: 1.15; }
.pd-rating { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.pd-stars { display: flex; gap: 2px; }
.pd-rating-val { font-size: 14px; font-weight: 700; color: #333; }
.pd-rating-link { font-size: 13.5px; color: #9a9a9a; text-decoration: none; border-bottom: 1px solid #d8d8d8; }
.pd-rating-link:hover { color: var(--accent); border-color: var(--accent); }

.pd-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--ink); }
.pd-old { font-size: 18px; font-weight: 600; color: #bcbcbc; text-decoration: line-through; }
.pd-discount { background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.pd-installment { font-size: 13.5px; color: #777; margin-bottom: 24px; }
.pd-installment strong { color: var(--green); font-weight: 800; }

.pd-divider { height: 1px; background: var(--line); margin: 24px 0; }

/* option groups */
.pd-opt { margin-bottom: 24px; }
.pd-opt-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.pd-opt-label { font-size: 14px; font-weight: 800; color: var(--ink-soft); }
.pd-opt-value { font-size: 14px; font-weight: 600; color: #888; }

.pd-colors { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-color { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #dcd9d3; cursor: pointer; padding: 0; transition: box-shadow .15s, transform .15s; }
.pd-color:hover { transform: scale(1.08); }
.pd-color.is-active { box-shadow: 0 0 0 2px var(--ink); }

.pd-sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-size {
  min-width: 70px; padding: 12px 18px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; font-size: 14px; font-weight: 700; color: #444;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s; text-align: center;
}
.pd-size:hover { border-color: #b9b9b9; }
.pd-size.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* purchase row */
.pd-buy { display: flex; gap: 12px; margin: 26px 0 18px; }
.pd-qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.pd-qty button { width: 46px; height: 54px; border: none; background: #fff; cursor: pointer; font-size: 20px; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.pd-qty button:hover { background: #f4f3f1; }
.pd-qty-val { width: 44px; text-align: center; font-size: 16px; font-weight: 800; color: var(--ink); }
.pd-add {
  flex: 1; border: none; border-radius: 12px; background: var(--ink); color: #fff;
  font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .16s;
}
.pd-add:hover { background: var(--accent); }
.pd-add.added { background: var(--green); }
.pd-fav-btn {
  width: 54px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: #666; transition: color .15s, border-color .15s;
}
.pd-fav-btn:hover { border-color: var(--accent); color: var(--accent); }
.pd-fav-btn.is-fav { color: var(--accent); border-color: var(--accent); }

.pd-stock { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #b9722a; margin-bottom: 22px; }
.pd-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 3px rgba(245,166,35,.25); }

/* perks */
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.pd-perk { display: flex; gap: 12px; align-items: flex-start; }
.pd-perk svg { flex-shrink: 0; color: var(--ink); margin-top: 1px; }
.pd-perk-title { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.pd-perk-sub { font-size: 12.5px; color: #8c8c8c; margin-top: 1px; }

/* ---------- ACCORDION ---------- */
.pd-accordion { max-width: 980px; margin: 0 auto; padding: 10px 0 20px; }
.pd-acc-item { border-bottom: 1px solid var(--line); }
.pd-acc-item:first-child { border-top: 1px solid var(--line); }
.pd-acc-q { width: 100%; background: none; border: none; cursor: pointer; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; font-size: 18px; font-weight: 800; color: var(--ink); text-align: left; }
.pd-acc-chev { flex-shrink: 0; color: #aaa; transition: transform .3s; }
.pd-acc-item.is-open .pd-acc-chev { transform: rotate(180deg); }
.pd-acc-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, padding .3s ease; padding: 0 4px; }
.pd-acc-item.is-open .pd-acc-a { max-height: 600px; opacity: 1; padding: 0 4px 26px; }
.pd-acc-a p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: #555; text-wrap: pretty; }
.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pd-spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #f2f1ef; font-size: 14.5px; }
.pd-spec-key { color: #8c8c8c; font-weight: 600; }
.pd-spec-val { color: var(--ink-soft); font-weight: 700; }

/* ---------- RELATED RAIL ---------- */
.pd-related { max-width: var(--maxw); margin: 30px auto 0; padding: 0 18px 90px; }
.pd-related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.pd-rel-rail { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 2px 8px; scrollbar-width: none; }
.pd-rel-rail::-webkit-scrollbar { display: none; }
.pd-rel-card { flex: 0 0 auto; width: 260px; background: #fff; border: 1px solid #f0efed; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.pd-rel-card:hover { box-shadow: 0 22px 40px -26px rgba(0,0,0,.38); border-color: #e6e4e0; }
.pd-rel-media { aspect-ratio: 1 / 1; overflow: hidden; background: #fafafa; } /* standart ürün oranı 1:1 */
.pd-rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pd-rel-card:hover .pd-rel-media img { transform: scale(1.04); }
.pd-rel-body { padding: 15px 16px 18px; }
.pd-rel-brand { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.pd-rel-name { font-size: 13px; font-weight: 500; color: #8c8c8c; margin: 3px 0 8px; line-height: 1.35; }
.pd-rel-price { font-size: 15.5px; font-weight: 800; color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .pd-top { grid-template-columns: 1fr; gap: 30px; }
  .pd-gallery { position: static; }
}
@media (max-width: 640px) {
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-thumbs { flex-direction: row; order: 2; overflow-x: auto; scrollbar-width: none; }
  .pd-thumbs::-webkit-scrollbar { display: none; }
  .pd-thumb { width: 70px; height: 84px; flex-shrink: 0; }
  .pd-main { order: 1; }
  .pd-title { font-size: 25px; }
  .pd-price { font-size: 26px; }
  .pd-perks { grid-template-columns: 1fr; }
  .pd-specs { grid-template-columns: 1fr; }
  .pd-buy { flex-wrap: wrap; }
  .pd-add { min-width: 0; }
}

/* ============================================================
   ADD-ONS: lightbox · reviews · swatch labels · micro-interactions
   ============================================================ */

/* --- colors as labelled swatches + sold-out --- */
.pd-colors { display: flex; gap: 16px; flex-wrap: wrap; }
.pd-color-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; width: 52px; background: none; border: none; padding: 0; font-family: inherit; }
.pd-color-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #dcd9d3; transition: box-shadow .15s, transform .15s; position: relative; }
.pd-color-item:hover .pd-color-dot { transform: scale(1.08); }
.pd-color-item.is-active .pd-color-dot { box-shadow: 0 0 0 2px var(--ink); }
.pd-color-name { font-size: 11.5px; font-weight: 600; color: #777; text-align: center; line-height: 1.2; transition: color .15s; }
.pd-color-item.is-active .pd-color-name { color: var(--ink); font-weight: 700; }
.pd-color-item.sold-out { cursor: not-allowed; }
.pd-color-item.sold-out .pd-color-dot { opacity: .55; }
.pd-color-item.sold-out .pd-color-dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: linear-gradient(to top left, transparent calc(50% - 1.2px), #b33 calc(50% - 1.2px), #b33 calc(50% + 1.2px), transparent calc(50% + 1.2px));
}
.pd-color-item.sold-out .pd-color-name { color: #bbb; text-decoration: line-through; }

/* --- main image zoom affordance --- */
.pd-main { cursor: zoom-in; }
.pd-main-zoom { position: absolute; right: 16px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 4px 12px -5px rgba(0,0,0,.4); opacity: 0; transition: opacity .2s; z-index: 2; pointer-events: none; }
.pd-main:hover .pd-main-zoom { opacity: 1; }

/* --- LIGHTBOX --- */
.lb { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: rgba(8,8,9,.95); animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-close { position: absolute; top: 20px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; transition: background .15s; }
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-counter { position: absolute; top: 28px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .5px; z-index: 3; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 70px 20px 16px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .2s ease; user-select: none; border-radius: 6px; }
.lb-img.zoomed { cursor: zoom-out; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; transition: background .15s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 14px 20px 24px; flex-wrap: wrap; }
.lb-thumb { width: 60px; height: 70px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; padding: 0; background: none; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-active { opacity: 1; border-color: #fff; }

/* --- REVIEWS --- */
.pd-reviews { max-width: 980px; margin: 50px auto 0; padding: 0 18px; }
.pd-rev-head { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; margin: 0 0 26px; }
.pd-rev-top { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.pd-rev-score { text-align: center; }
.pd-rev-avg { font-size: 56px; font-weight: 800; color: var(--ink); line-height: 1; }
.pd-rev-avg-stars { display: flex; gap: 3px; justify-content: center; margin: 10px 0 6px; }
.pd-rev-total { font-size: 13.5px; color: #8c8c8c; font-weight: 600; }
.pd-rev-bars { display: flex; flex-direction: column; gap: 9px; }
.pd-rev-bar { display: flex; align-items: center; gap: 12px; }
.pd-rev-bar-label { font-size: 13px; font-weight: 700; color: #777; width: 42px; display: flex; align-items: center; gap: 3px; }
.pd-rev-bar-track { flex: 1; height: 8px; border-radius: 8px; background: #f0efed; overflow: hidden; }
.pd-rev-bar-fill { height: 100%; background: #f5a623; border-radius: 8px; width: 0; transition: width .8s ease; }
.pd-rev-bar-pct { font-size: 12.5px; font-weight: 700; color: #aaa; width: 38px; text-align: right; }
.pd-rev-write { background: var(--ink); color: #fff; border: none; border-radius: 10px; padding: 13px 26px; font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; margin-top: 16px; transition: background .16s; }
.pd-rev-write:hover { background: var(--accent); }

.pd-rev-list { display: flex; flex-direction: column; gap: 24px; }
.pd-rev-item { display: flex; gap: 16px; }
.pd-rev-av { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; }
.pd-rev-body { flex: 1; }
.pd-rev-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.pd-rev-name { font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.pd-rev-verified { font-size: 11.5px; font-weight: 700; color: var(--green); background: #eaf6ee; padding: 2px 8px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.pd-rev-date { font-size: 12.5px; color: #aaa; margin-left: auto; }
.pd-rev-stars { display: flex; gap: 2px; margin-bottom: 7px; }
.pd-rev-text { font-size: 14.5px; line-height: 1.65; color: #555; text-wrap: pretty; }
.pd-rev-more { display: block; margin: 30px auto 0; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 8px; padding: 12px 30px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s, color .16s; }
.pd-rev-more:hover { background: var(--ink); color: #fff; }

/* --- MICRO-INTERACTIONS --- */
.pd-add, .pd-size, .pd-color-dot, .pd-fav-btn, .pd-qty button { transition: transform .12s ease, background .16s, color .16s, border-color .15s, box-shadow .15s; }
.pd-add:active, .pd-size:active, .pd-fav-btn:active, .pd-qty button:active { transform: scale(.95); }
.pd-fav-btn.is-fav svg { animation: favPop .35s ease; }
@keyframes favPop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes badgePop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.cart-badge.pop { animation: badgePop .4s ease; }
.fly-img { position: fixed; z-index: 200; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transition: transform .8s cubic-bezier(.5,-0.2,.4,1), opacity .8s ease, width .8s ease, height .8s ease; }
.pd-acc-q:active span:first-child { color: var(--accent); }

@media (max-width: 640px) {
  .pd-rev-top { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .pd-rev-score { display: flex; flex-direction: column; align-items: center; }
}



/* ========================================================= */
/* KATALOG (Tüm Ürünler) — plp-css */
/* ========================================================= */
/* ============================================================
   KILIFX Premium — Products listing page styles
   (loads AFTER styles.css — reuses its vars, header, footer,
    drawer, search, buttons)
   ============================================================ */

.plp { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- TOOLBAR ---------- */
.plp-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px 0 22px;
}
.plp-title-block { text-align: center; }
.plp-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.plp-title .plp-count { font-size: 15px; font-weight: 600; color: #9a9a9a; letter-spacing: 0; }
.plp-breadcrumb { margin-top: 4px; font-size: 13px; color: #9a9a9a; }
.plp-breadcrumb a { color: #9a9a9a; text-decoration: none; transition: color .15s; }
.plp-breadcrumb a:hover { color: var(--accent); }
.plp-breadcrumb .sep { margin: 0 6px; }
.plp-breadcrumb .current { color: var(--ink-soft); font-weight: 600; }

.toolbar-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border: none;
  font-family: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 13px 22px; border-radius: 4px;
  cursor: pointer; transition: background .16s;
}
.toolbar-btn:hover { background: var(--accent); }
.toolbar-btn .chev { transition: transform .2s; }
.toolbar-btn.is-open .chev { transform: rotate(180deg); }
.toolbar-left { justify-self: start; }
.toolbar-right { justify-self: end; position: relative; }

/* sort dropdown */
.sort-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.32); min-width: 252px;
  padding: 6px; animation: kfDrop .2s ease;
}
.sort-opt {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: #444;
  padding: 11px 14px; border-radius: 6px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; transition: background .14s, color .14s;
}
.sort-opt:hover { background: #f6f5f3; }
.sort-opt.is-active { color: var(--accent); }
.sort-opt .tick { opacity: 0; }
.sort-opt.is-active .tick { opacity: 1; }

/* ---------- LAYOUT ---------- */
.plp-body { display: flex; gap: 34px; align-items: flex-start; padding-bottom: 80px; }
.plp-main { flex: 1; min-width: 0; }

/* ---------- FILTER SIDEBAR ---------- */
.filter-aside {
  width: 274px; flex-shrink: 0; position: sticky; top: 20px;
  align-self: flex-start;
}
.plp-body.filters-collapsed .filter-aside { display: none; }
.filter-aside-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.filter-aside-title { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
.filter-clear { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--accent); padding: 0; }

.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group-head {
  width: 100%; background: none; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: inherit; font-size: 14px; font-weight: 800; color: var(--ink-soft);
  letter-spacing: .3px; text-transform: uppercase;
}
.filter-group-head .chev { color: #aaa; transition: transform .25s; }
.filter-group.is-collapsed .chev { transform: rotate(-90deg); }
.filter-group-body { margin-top: 14px; display: flex; flex-direction: column; gap: 11px; }
.filter-group.is-collapsed .filter-group-body { display: none; }

.fopt { display: flex; align-items: center; gap: 11px; cursor: pointer; user-select: none; }
.fopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.fbox {
  width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid #cfccc6;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s; color: #fff;
}
.fbox svg { opacity: 0; transition: opacity .12s; }
.fopt input:checked + .fbox { background: var(--ink); border-color: var(--ink); }
.fopt input:checked + .fbox svg { opacity: 1; }
.fopt-label { flex: 1; font-size: 14.5px; font-weight: 600; color: #3a3a3a; }
.fopt-count { font-size: 13px; color: #b0b0b0; font-weight: 600; }
.fopt:hover .fopt-label { color: var(--ink); }

/* color swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 46px; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch-dot {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #e0ddd6; transition: box-shadow .15s, transform .15s;
}
.swatch:hover .swatch-dot { transform: scale(1.08); }
.swatch input:checked + .swatch-dot { box-shadow: 0 0 0 2px var(--accent); }
.swatch-name { font-size: 11px; font-weight: 600; color: #777; text-align: center; }
.swatch input:checked ~ .swatch-name { color: var(--accent); }

/* price presets */
.price-opts { display: flex; flex-direction: column; gap: 9px; }
.price-opt { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.price-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.pradio {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cfccc6;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color .15s;
}
.pradio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s; }
.price-opt input:checked + .pradio { border-color: var(--ink); }
.price-opt input:checked + .pradio::after { transform: scale(1); }
.price-opt-label { font-size: 14.5px; font-weight: 600; color: #3a3a3a; }

/* ---------- ACTIVE CHIPS ---------- */
.plp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.plp-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #f4f3f1;
  border: 1px solid var(--line); border-radius: 30px; padding: 7px 9px 7px 15px;
  font-size: 13.5px; font-weight: 600; color: #333;
}
.plp-chip button { background: #ddd9d3; border: none; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #555; transition: background .14s, color .14s; }
.plp-chip button:hover { background: var(--accent); color: #fff; }
.plp-chip-clear { background: none; border: none; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--accent); padding: 7px 4px; }

/* ---------- PRODUCT GRID ---------- */
.plp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 4px; }
.plp-body.filters-collapsed .plp-grid { grid-template-columns: repeat(4, 1fr); }

.pcard {
  background: #fff; border: 1px solid #f0efed; display: flex; flex-direction: column;
  text-decoration: none; transition: box-shadow .22s, border-color .22s; position: relative;
}
.pcard:hover { box-shadow: 0 24px 44px -28px rgba(0,0,0,.4); border-color: #e6e4e0; z-index: 1; }
.pcard-media {
  position: relative; aspect-ratio: 1 / 1; background: #fafafa; overflow: hidden; /* standart ürün oranı 1:1 */
  border-bottom: 1px solid #f0efed;
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.pcard:hover .pcard-media img { transform: scale(1.03); }

/* gallery step indicator (hover to browse) */
.pcard-steps {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 4px;
  padding: 22px 10px 9px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,.22));
}
.pcard:hover .pcard-steps { opacity: 1; }
.pcard-step {
  flex: 1; height: 3px; border-radius: 4px; background: rgba(255,255,255,.55);
  box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: background .2s;
}
.pcard-step.is-active { background: #fff; }

/* touch devices: no hover, so reveal gallery steps + fav permanently */
@media (hover: none), (pointer: coarse) {
  .pcard-steps { opacity: 1; }
  .pcard-fav { opacity: 1; transform: none; }
  .pcard-media { cursor: pointer; }
}
.pcard-badge {
  position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 3px; letter-spacing: .3px;
}

/* stock / delivery tags */
.pcard-tags {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.ptag {
  font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 3px;
  letter-spacing: .3px; display: inline-flex; align-items: center; gap: 5px; line-height: 1;
}
.ptag-sale { background: var(--accent); color: #fff; }
.ptag-new { background: var(--ink); color: #fff; }
.ptag-fast { background: #fff; color: #1a1a1a; box-shadow: 0 2px 7px -2px rgba(0,0,0,.3); }
.pcard-stock {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  background: rgba(20,20,20,.82); color: #ffd9a8; font-size: 11.5px; font-weight: 700;
  padding: 5px 11px 5px 9px; border-radius: 30px; backdrop-filter: blur(3px);
  display: inline-flex; align-items: center; gap: 7px; line-height: 1;
}
.pcard-stock .dot { width: 6px; height: 6px; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 3px rgba(245,166,35,.28); }

/* load more / pagination */
.plp-more { margin-top: 46px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.plp-more-info { font-size: 13.5px; color: #8c8c8c; font-weight: 600; }
.plp-more-info strong { color: var(--ink); font-weight: 800; }
.plp-more-bar { width: 210px; height: 4px; border-radius: 4px; background: #ececec; overflow: hidden; }
.plp-more-bar span { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width .35s ease; }
.plp-more-btn {
  background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font-family: inherit;
  font-size: 14.5px; font-weight: 700; padding: 14px 40px; border-radius: 6px; cursor: pointer;
  transition: background .16s, color .16s; margin-top: 4px;
}
.plp-more-btn:hover { background: var(--ink); color: #fff; }
.plp-more-rem { font-weight: 600; opacity: .65; }
.plp-more-end { font-size: 13.5px; font-weight: 700; color: #b0b0b0; margin-top: 4px; }
.pcard-fav {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.9); cursor: pointer; display: flex;
  align-items: center; justify-content: center; opacity: 0; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, background .15s; color: #555;
}
.pcard:hover .pcard-fav { opacity: 1; transform: translateY(0); }
.pcard-fav.is-fav { color: var(--accent); opacity: 1; transform: translateY(0); }
.pcard-cart {
  position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #e2e0db; background: #fff; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0,0,0,.3);
  transition: background .16s, color .16s, transform .16s;
}
.pcard-cart:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.pcard-cart.added { background: var(--green); color: #fff; border-color: var(--green); }

.pcard-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 5px; }
.pcard-brand { font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.1px; }
.pcard-name { font-size: 13.5px; font-weight: 500; color: #8c8c8c; line-height: 1.4; min-height: 38px; }
.pcard-price-row { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; }
.pcard-price { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.pcard-old { font-size: 13.5px; font-weight: 600; color: #bdbdbd; text-decoration: line-through; }

/* variant swatches */
.pcard-variants { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.pcard-swatch {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; padding: 0;
  box-shadow: 0 0 0 1.5px #dcd9d3; cursor: pointer; flex-shrink: 0;
  transition: box-shadow .15s, transform .15s;
}
.pcard-swatch:hover { transform: scale(1.14); }
.pcard-swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.pcard-variant-more { font-size: 12px; font-weight: 700; color: #8c8c8c; margin-left: 1px; }
.pcard-variant-count { font-size: 12px; font-weight: 600; color: #a8a8a8; margin-left: auto; }

/* empty state */
.plp-empty { text-align: center; padding: 80px 20px; color: #9a9a9a; grid-column: 1 / -1; }
.plp-empty-title { font-size: 19px; font-weight: 800; color: #444; margin-bottom: 8px; }
.plp-empty button { margin-top: 18px; background: var(--ink); color: #fff; border: none; border-radius: 6px; padding: 12px 24px; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }

/* mobile filter drawer scrim */
.filter-mobile-close { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .plp-grid { grid-template-columns: repeat(2, 1fr); }
  .plp-body.filters-collapsed .plp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  /* filter becomes a slide-in drawer */
  .filter-aside {
    position: fixed; top: 0; left: 0; height: 100%; width: 86%; max-width: 340px;
    background: #fff; z-index: 96; padding: 22px; overflow-y: auto;
    box-shadow: 0 0 60px rgba(0,0,0,.3); animation: kfSlideIn .3s cubic-bezier(.2,.8,.25,1);
    display: none;
  }
  .plp-body.filters-open .filter-aside { display: block; }
  .plp-body.filters-collapsed .filter-aside { display: none; }
  .filter-scrim {
    position: fixed; inset: 0; background: rgba(10,11,12,.5); z-index: 95;
    animation: kfFade .25s ease; display: none;
  }
  .plp-body.filters-open .filter-scrim { display: block; }
  .filter-mobile-close {
    display: flex; align-items: center; justify-content: center;
    background: #f1f1f1; border: none; width: 34px; height: 34px; border-radius: 50%;
    cursor: pointer; color: #444;
  }
  .plp-grid,
  .plp-body.filters-collapsed .plp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .plp-grid,
  .plp-body.filters-collapsed .plp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .plp-toolbar { grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 18px 0 16px; }
  .plp-title-block { grid-column: 1 / -1; order: -1; text-align: left; }
  .toolbar-btn { width: 100%; justify-content: center; padding: 12px 14px; }
  .toolbar-left { justify-self: stretch; }
  .toolbar-right { justify-self: stretch; }
  .sort-menu { left: 0; right: 0; min-width: 0; }
  .pcard-body { padding: 14px 14px 18px; }
  .pcard-name { min-height: 0; }
}

@media (max-width: 420px) {
  .plp-grid,
  .plp-body.filters-collapsed .plp-grid { grid-template-columns: 1fr; }
}

