/* Haden Furniture — ana stil dosyası */

/* Yazı tipi yerelden: Montserrat (300/400/500), latin + latin-ext (Türkçe karakterler). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/montserrat-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/montserrat-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Renkler — Arteriors paleti: koyu antrasit, gri tonlar, beyaz */
  --primary: #1e1e1e;
  --primary-hover: #626262;
  --secondary: #767676;
  --container: #fff;
  --border: #dedede;
  --white: #fff;
  --glass: rgba(255, 255, 255, .5);
  --glass-strong: rgba(255, 255, 255, .55);
  --glass-dark: rgba(30, 30, 30, .3);

  --font-sans: "Montserrat", sans-serif;
  --font-serif: "Baskerville", "Libre Baskerville", Georgia, serif;

  --fs-body: clamp(1rem, .1307189542vw + .9681372549rem, 1.125rem);
  --gutter: clamp(1.25rem, .7843137255vw + 1.0588235294rem, 2rem);
  --radius: .3125rem;
  --announce-h: 0px;
  --blur: blur(1.875rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: none; /* kaydırma çubuğu gizli; sayfa yine kayar */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  padding-top: var(--announce-h);
  background: var(--white);
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }

/* ---------- Üst şerit ---------- */

/* 1025px altında gizli; o zaman yüksekliği de sıfır sayılır. */
.topbar { display: none; }

@media (min-width: 1025px) {
  :root { --announce-h: 2.5rem; }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 0 2rem;
    background: var(--primary);
    color: #b4b4b4;
    font-size: .875rem;
    line-height: 1.5rem;
    letter-spacing: .02rem;
  }

  .topbar a {
    color: var(--white);
    text-decoration: none;
    text-underline-offset: 2px;
  }

  .topbar a:hover { text-decoration: underline; }

  .topbar__left,
  .topbar__center { padding: .5rem 0; }

  .topbar__left { justify-self: start; }
  .topbar__center { justify-self: center; }

  .topbar__right {
    justify-self: end;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .topbar__right a { padding: .5rem; }
  .topbar__right a:last-child { padding-right: 0; }
}

/* ---------- Butonlar ---------- */

/* Dışta yarı saydam çerçeve, içte krem zemin + koyu ok kutusu. */
.btn {
  display: inline-flex;
  align-items: center;
  padding: .3125rem;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(30, 30, 30, .06);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  text-decoration: none;
  transition: background 1s ease;
}

.btn:hover {
  background: var(--primary);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.btn__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .625rem;
  width: 100%;
  padding-right: .3125rem;
  background: var(--white);
  border-radius: var(--radius);
}

.btn__inner--icon-only { padding: .3125rem; }

.btn__text {
  padding: .625rem 0 .625rem .625rem;
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--primary);
  white-space: nowrap;
}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
}

.btn__icon svg { transition: transform .2s ease-in-out; }
.btn:hover .btn__icon svg { transform: scale(1.2); }
.btn__icon--down svg { rotate: 90deg; }

/* ---------- Üst bilgi ---------- */

.header__center {
  position: fixed;
  top: calc(1.25rem + var(--announce-h));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--gutter));
  max-width: 33.375rem;
  z-index: 50;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .625rem;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(30, 30, 30, .06);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* Bar ve açılan panel her zaman buzlu cam: arka plan bulanık, yazılar okunur kalır. */
.header__bar,
.panel {
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 8px 30px rgba(0, 0, 0, .08);
  /* Arkada video oynarken: güçlü bulanıklık + doygunluk her karede yeniden hesaplanıp
     barı tekletiyordu. Daha opak zemin + yalın bulanıklık + kendi GPU katmanı. */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translateZ(0);
}

.header__bar .icon-btn { background: rgba(255, 255, 255, .6); }

/* Menü açıkken bar + panel tek bir cam yüzey: iki ayrı bulanıklık katmanı
   üst üste binince oluşan ton farkı ve titreme olmasın. */
.header__center.is-open {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 8px 30px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  /* Ayrı bir çizim katmanı: içerideki hover değişiklikleri arkadaki videoyla birlikte yeniden çizilmesin */
  isolation: isolate;
  will-change: transform;
}

.header__center.is-open .header__bar,
.header__center.is-open .panel {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header__center.is-open .header__bar {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Logo bağlantısı telefon ve menü düğmeleri arasındaki tüm alanı kaplar; kolay tıklansın. */
.header__wordmark {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
}



.header__wordmark img {
  width: min(18rem, 100%);
  height: auto;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--container);
  color: var(--primary);
  cursor: pointer;
  transition: color .2s ease;
}

.icon-btn:hover { color: var(--primary-hover); }
.icon-btn svg { width: 1.5rem; height: 1.5rem; }

.icon-btn--menu {
  position: relative;
  flex-direction: column;
  gap: .1875rem;
}

.icon-btn--menu span {
  width: 1.6875rem;
  height: .125rem;
  border-radius: var(--radius);
  background: currentColor;
  transition: width .2s ease, transform .2s ease, opacity .2s ease;
}

.icon-btn--menu[aria-expanded="true"] span { position: absolute; }
.icon-btn--menu[aria-expanded="true"] span:nth-child(1) { transform: rotate(-45deg); width: .875rem; }
.icon-btn--menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.icon-btn--menu[aria-expanded="true"] span:nth-child(3) { transform: rotate(45deg); width: .875rem; }

/* Sağ üst ikonlar: video üstünde beyaz, hero geçilince koyu. */
.header__actions {
  position: fixed;
  top: calc(3.3125rem + var(--announce-h));
  right: 2rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: .5rem;
  transform: translateY(-50%);
}

.header__action {
  display: flex;
  padding: .5rem;
  border-radius: 2px;
  color: var(--white);
  transition: color .3s, background .3s;
}

.header__action svg { width: 1.5rem; height: 1.5rem; }
.header__action:hover { background: rgba(255, 255, 255, .1); }

.is-past-hero .header__action { color: var(--primary); }
.is-past-hero .header__action:hover { background: rgba(30, 30, 30, .05); }

/* "Teklif alın" sol üstte, menü barı ve ikonlarla aynı hizada. */
.cta-float {
  position: fixed;
  top: calc(3.3125rem + var(--announce-h));
  left: 2rem;
  z-index: 50;
  transform: translateY(-50%);
}

/* Açılır paneller — barın hemen altına yapışık */

.panel {
  padding: 1.375rem .625rem .625rem;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--primary);
  animation: panel-in .3s ease;
}

@keyframes panel-in {
  from { opacity: 0; }
}

.panel__contact,
.panel__menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  padding: 0 .75rem .75rem;
}

.arrow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .875rem;
}

.arrow-list li {
  position: relative;
  padding-left: 1.375rem;
  line-height: 1.4;
}

.arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
}

.arrow-list a { text-decoration: none; }
.arrow-list a:hover { text-decoration: underline; }

.hours {
  border-collapse: collapse;
  font-size: .9375rem;
}

.hours caption {
  caption-side: bottom;
  text-align: left;
  padding-top: .75rem;
  font-size: .8125rem;
  opacity: .7;
}

.hours th, .hours td {
  padding: .25rem 0;
  text-align: left;
  font-weight: 400;
}

.hours th { padding-right: 1.125rem; }

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .375rem;
}

.nav a, .nav summary {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.nav--primary > li > a,
.nav--primary summary {
  font-size: 1.75rem;
  font-weight: 300;
}

.nav--primary summary { list-style: none; }
.nav--primary summary::-webkit-details-marker { display: none; }
.nav--primary summary::after { content: " +"; font-size: .7em; }
.nav--primary details[open] summary::after { content: " –"; }

.nav--primary details ul {
  list-style: none;
  margin: .375rem 0 .625rem;
  padding-left: 1rem;
  display: grid;
  gap: .25rem;
  font-size: 1.125rem;
}

.nav--secondary { align-content: start; }

.nav a:hover, .nav summary:hover { color: var(--primary-hover); }

/* ---------- Menü (açılır bölümlü) ---------- */

/* Menü açılınca bar ve panel genişler */
.header__center { transition: max-width .3s ease; }
.header__center.is-menu { max-width: 42rem; }

.panel__menu.mega {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: .25rem .75rem .75rem;
}

.mega__list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }

.mega__toggle,
.mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .35rem 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}

.mega__toggle:hover,
.mega__link:hover { opacity: .65; }

/* + işareti açılınca − olur */
.mega__plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.mega__plus::before,
.mega__plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s ease;
}
.mega__plus::after { transform: rotate(90deg); }
.mega__item.is-open .mega__plus::after { transform: rotate(0deg); }

/* Yumuşak açılıp kapanma: grid satırı 0fr → 1fr */
.mega__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1);
}

.mega__item.is-open .mega__sub { grid-template-rows: 1fr; }
.mega__sub-inner { overflow: hidden; min-height: 0; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .375rem;
  padding: .6rem 0 .25rem;
}

.mega__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mega__card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .375rem .5rem .375rem .375rem;
  border-radius: 8px;
  color: var(--primary);
  font-size: .9375rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

.mega__item.is-open .mega__card { opacity: 1; transform: none; }
.mega__item.is-open .mega__card:nth-child(2) { transition-delay: .03s; }
.mega__item.is-open .mega__card:nth-child(3) { transition-delay: .06s; }
.mega__item.is-open .mega__card:nth-child(4) { transition-delay: .09s; }
.mega__item.is-open .mega__card:nth-child(5) { transition-delay: .12s; }
.mega__item.is-open .mega__card:nth-child(6) { transition-delay: .15s; }
.mega__item.is-open .mega__card:nth-child(7) { transition-delay: .18s; }

.mega__card:hover { background: rgba(255, 255, 255, .6); }

.mega__thumb {
  display: flex;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.mega__thumb img { width: 100%; height: 100%; object-fit: contain; }

.mega__grid--3 .mega__card { flex-direction: column; align-items: stretch; gap: .4rem; padding: .375rem; }
.mega__card--photo .mega__thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.mega__card--photo .mega__thumb img { object-fit: cover; }

.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: .5rem 0 .75rem .375rem;
  color: var(--primary);
  text-decoration: none;
}

.mega__all:hover { text-decoration: underline; }

/* Sağ sütun: önizleme + ikincil bağlantılar */
.mega__side { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1025px) { .mega__secondary { display: none; } }

.mega__preview {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.mega__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}

.mega__preview.is-product img { object-fit: contain; padding: 8%; }
.mega__preview img.is-fading { opacity: 0; }

.mega__secondary { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; font-size: 1.0625rem; }
.mega__secondary a { color: var(--primary); text-decoration: none; }
.mega__secondary a:hover { opacity: .65; }
.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .5rem 0 .75rem;
}

.mega__foot .mega__all { margin: 0 0 0 .375rem; }

.mega__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 1000px;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .6px;
  text-decoration: none !important;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .header__center.is-menu { max-width: 33.375rem; }
  .panel__menu.mega { grid-template-columns: 1fr; gap: 1rem; }
  .mega__preview { display: none; }
  .mega__toggle, .mega__link { font-size: 1.5rem; }
  .mega__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__secondary .nav__mobile { display: list-item; }
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 37.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Renksiz karartma: sol alt köşeye doğru koyulaşır, yazı okunsun diye. */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(224deg, rgba(0, 0, 0, 0) 21.48%, rgba(0, 0, 0, .06) 65.24%, rgba(0, 0, 0, .6) 90.94%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: calc(120rem + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(2.5rem, 2.614379085vw + 1.862745098rem, 5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4.7058823529vw + .3529411765rem, 6rem);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.hero__tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__title {
  max-width: clamp(37.5rem, 26.1437908497vw + 31.1274509804rem, 62.5rem);
  margin: 0;
  font-size: clamp(2.25rem, 3.9215686275vw + 1.2941176471rem, 6rem);
  font-weight: 300;
  line-height: 1.04;
  text-wrap: balance;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(.5rem, .522875817vw + .3725490196rem, 1rem);
}

.hero__scroll {
  display: none;
  margin-left: clamp(1rem, 1.045751634vw + .7450980392rem, 2rem);
}

/* Buzlu cam butonlar: hero butonları ve video üstündeyken "Teklif alın".
   Hero geçilince (is-past-hero) ya da beyaz sayfalarda "Teklif alın" normal beyaz butona döner. */
.hero__buttons .btn,
body:not(.is-past-hero):not(.header-static) .cta-float {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.hero__buttons .btn__inner,
body:not(.is-past-hero):not(.header-static) .cta-float .btn__inner {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  transition: background .3s ease;
}

.hero__buttons .btn__text,
body:not(.is-past-hero):not(.header-static) .cta-float .btn__text { color: var(--white); }

.hero__buttons .btn__icon,
body:not(.is-past-hero):not(.header-static) .cta-float .btn__icon {
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
}

.hero__buttons .btn:hover,
body:not(.is-past-hero):not(.header-static) .cta-float:hover { background: rgba(255, 255, 255, .2); }

.hero__buttons .btn:hover .btn__inner,
body:not(.is-past-hero):not(.header-static) .cta-float:hover .btn__inner { background: rgba(255, 255, 255, .26); }

/* Açık zemine (pencere vb.) denk gelse de okunsun: hafif koyu cam ve yazı gölgesi. */
body:not(.is-past-hero):not(.header-static) .cta-float .btn__inner { background: rgba(30, 30, 30, .28); }
body:not(.is-past-hero):not(.header-static) .cta-float:hover .btn__inner { background: rgba(30, 30, 30, .38); }
.hero__buttons .btn__text,
body:not(.is-past-hero):not(.header-static) .cta-float .btn__text { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }

.hero__buttons .btn:hover {
  filter: drop-shadow(0 .25rem .75rem rgba(255, 255, 255, .35));
}

@media (min-width: 420px) {
  .hero__buttons { flex-direction: row; align-items: center; }
}

@media (min-width: 980px) {
  .hero__scroll { display: block; }
}

@media (min-width: 1080px) {
  .hero__inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hero__buttons { justify-content: flex-end; }
}

@media (max-width: 564px) {
  .hero__buttons { display: none; }
}

/* ---------- Ortak bölüm başlığı ---------- */

.block {
  padding: 2rem 0;
}

.block__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 2.25rem;
  letter-spacing: .0525rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .block__title { font-size: 2.5rem; line-height: 3rem; letter-spacing: .075rem; }
}

@media (min-width: 1024px) {
  .block { padding: 7.5rem 0; }
  .block__title { margin-bottom: 3.75rem; }
}

/* ---------- Kategoriler ---------- */

.category__track {
  display: flex;
  overflow-x: auto;
  margin-left: .25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.category__track::-webkit-scrollbar { display: none; }

.category__item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0 .25rem;
  scroll-snap-align: start;
  transition: opacity .3s;
}

/* Bir kategorinin üzerine gelince diğerleri hafifçe soluklaşır. */
.category__track:hover .category__item { opacity: .8; }
.category__track .category__item:hover { opacity: 1; }

.category__item a {
  color: var(--primary);
  text-decoration: none;
}

.category__media {
  display: block;
  margin-bottom: .5rem;
  overflow: hidden;
  border-radius: .25rem;
  background: var(--container);
}

.category__media img {
  height: 17.125rem;
  width: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s;
}

.category__item a:hover img { transform: scale(1.05); }

.category__label {
  position: relative;
  display: inline-block;
  padding: 0 .5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: .0375rem;
}

.category__label::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 0;
  height: .125rem;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease-out;
}

.category__item a:hover .category__label::after { transform: scaleX(1); }

@media (min-width: 1024px) {
  .category__track { margin-right: .25rem; }
  .category__item { width: 20%; }
  .category__media img { width: 100%; height: auto; }
  .category__label { font-size: 1.5rem; line-height: 2rem; letter-spacing: .045rem; }
}

/* ---------- Tanıtım bannerları ---------- */

.promo {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 0 .5rem;
}

.promo__item {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  text-decoration: none;
  transition: opacity .3s;
}

.promo:hover .promo__item { opacity: .8; }
.promo .promo__item:hover { opacity: 1; }

.promo__media {
  display: block;
  width: 100%;
  height: 15rem;
  overflow: hidden;
  border-radius: .25rem;
}

.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s;
}

.promo__item:hover .promo__media img { transform: scale(1.05); }

.promo__shade {
  position: absolute;
  inset: 0;
  border-radius: .25rem;
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
}

.promo__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  display: grid;
  justify-items: center;
  gap: .5rem;
  padding: 0 1rem;
  color: var(--white);
  text-align: center;
}

.promo__title {
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: .045rem;
}

.promo__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.btn-glass {
  display: inline-block;
  padding: .875rem 2rem;
  border-radius: 2px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px -12px rgba(30, 30, 30, .5);
  color: var(--white);
  font-size: .875rem;
  line-height: 1.5rem;
  letter-spacing: .02rem;
  text-transform: uppercase;
  transition: background .3s;
}

.promo__item:hover .btn-glass { background: rgba(30, 30, 30, .2); }

@media (min-width: 640px) {
  .promo__title { font-size: 2rem; line-height: 2.5rem; letter-spacing: .06rem; }
}

@media (min-width: 1024px) {
  .promo { flex-direction: row; }
  .promo__media { height: 40rem; }
  .promo__body { bottom: 3.75rem; gap: 1rem; }
}

/* ---------- Koleksiyon ürünleri ---------- */

/* Kategori sekmeleri: altı çizili metin düğmeleri, dar ekranda yana kayar. */
.filters {
  display: flex;
  justify-content: center;
  gap: .5rem 2rem;
  margin: -.5rem 0 2rem;
  padding: 0 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filters__tab {
  position: relative;
  flex-shrink: 0;
  padding: .5rem 0;
  border: 0;
  background: none;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: .02rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s;
}

.filters__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: .125rem;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease-out;
}

.filters__tab:hover,
.filters__tab.is-active { color: var(--primary); }

.filters__tab:hover::after,
.filters__tab.is-active::after { transform: scaleX(1); }

@media (max-width: 767px) {
  .filters { justify-content: flex-start; gap: .5rem 1.5rem; margin-bottom: 1.25rem; }
}

@media (min-width: 1024px) {
  .filters { margin-bottom: 3rem; }
}

.products__empty {
  display: grid;
  justify-items: center;
  gap: .75rem;
  margin: 0 .5rem;
  padding: 4rem 1.25rem;
  border-radius: 2px;
  background: var(--container);
  text-align: center;
}

.products__empty p { margin: 0; }

.products__empty-title {
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: .0375rem;
}

.products__empty-text {
  max-width: 32rem;
  margin-bottom: .75rem !important;
  font-size: 1rem;
  line-height: 1.5rem;
}

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

.product {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product a { color: var(--primary); text-decoration: none; }

/* Görsel alanı: gri zemin, ürün fotoğrafı "multiply" ile zemine oturur. */
.product__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--container);
}

.product__slides {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product__slides img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product__badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
}

.product__badge {
  padding: .125rem .25rem;
  border-radius: 2px;
  background: var(--white);
  color: #000;
  font-size: .625rem;
  font-weight: 500;
  line-height: .875rem;
  letter-spacing: .02rem;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hover'da beliren kontroller (geniş ekran). */
.product__wish,
.product__pager,
.product__dims {
  display: none;
}

.product__wish {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(30, 30, 30, .3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px -12px rgba(30, 30, 30, .5);
  color: var(--white);
  cursor: pointer;
  transition: background .3s;
}

.product__wish:hover { background: rgba(30, 30, 30, .5); }
.product__wish.is-active svg { fill: currentColor; }

.product__pager {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 30;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 11.5rem;
  height: 2.5rem;
  padding: .375rem .75rem;
  border-radius: 2px;
  background: linear-gradient(rgba(30, 30, 30, .3), rgba(30, 30, 30, .2));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product__arrow {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: color .3s;
}

.product__arrow:hover { color: var(--white); }

.product__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .4);
  transition: width .3s, background .3s;
}

.product__dot.is-active { width: 40px; background: var(--white); }

.product__dims {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: 2.125rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 0 1rem;
  background: linear-gradient(rgba(30, 30, 30, .3), rgba(30, 30, 30, .2));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--white) !important;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1rem;
  white-space: nowrap;
}

/* Alt bilgi */
.product__info {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: .5rem .5rem .25rem;
  background: var(--white);
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: .625rem;
  line-height: .875rem;
  letter-spacing: .02rem;
  color: var(--primary-hover);
}

.product__meta > * { padding-right: .375rem; }
.product__meta > * + * { padding-left: .375rem; border-left: 1px solid var(--border); }
.product__meta > :last-child { padding-right: 0; }

.product__brand { text-transform: uppercase; }

.product__swatch-wrap {
  display: flex;
  align-items: center;
}

.product__swatch {
  width: .75rem;
  height: .75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.product__name {
  margin: .25rem 0 .125rem;
  font-size: .75rem;
  line-height: 1rem;
  letter-spacing: .02rem;
}

.product__variants {
  display: none;
  flex-wrap: wrap;
  gap: .5rem;
}

.product__variant {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--primary-hover);
  font-size: .75rem;
  cursor: pointer;
}

.product__variant img { width: 100%; height: 100%; object-fit: cover; }
.product__variant:hover, .product__variant.is-active { border-color: var(--primary); }
.product__variant--more { cursor: default; }
.product__variant--more:hover { border-color: var(--border); }

@media (min-width: 768px) {
  .product__badges { top: 1rem; left: 1rem; gap: .5rem; }
  .product__badge { padding: .25rem .5rem; font-size: .75rem; line-height: 1rem; }
  .product__meta { font-size: .75rem; line-height: 1rem; }
  .product__name { font-size: 1rem; line-height: 1.5rem; }

  /* Üzerine gelince bilgi alanının altına varyant paneli açılır; alttaki içeriğin üstüne biner. */
  .product:hover { z-index: 20; }
  .product:hover .product__info { box-shadow: -1px 0 0 var(--border), 1px 0 0 var(--border); }
  .product:hover .product__variants {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .5rem .5rem .625rem;
    background: var(--white);
    box-shadow: -1px 0 0 var(--border), 1px 0 0 var(--border), 0 1px 0 var(--border), 0 16px 24px -16px rgba(30, 30, 30, .2);
  }
}

@media (min-width: 1024px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product__info { padding: 1rem .5rem .5rem; }
  .product:hover .product__wish,
  .product:hover .product__pager,
  .product:hover .product__dims { display: flex; }
}

/* Sekmelerde ürün sayısı gösterilmiyor. */
.filters__count { display: none; }

/* "Daha fazla göster" */
.products__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-outline {
  padding: .875rem 2rem;
  border: 1px solid var(--primary);
  border-radius: 2px;
  background: var(--white);
  color: var(--primary);
  font-size: .875rem;
  line-height: 1.5rem;
  letter-spacing: .02rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Kategori şeridi (kutusuz, oklu) ---------- */

.cat-strip {
  --cat-gap: 28px;
  --cat-w: calc((100vw - var(--cat-gap) * 5) / 6);
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3.375rem;
  background: var(--white);
}

.cat-strip__head { padding: 0 clamp(1.25rem, 6.5vw, 7.875rem); }

.cat-strip__eyebrow {
  margin: 0 0 .75rem;
  color: #587364;
  font-size: .9375rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cat-strip__title {
  margin: 0 0 2.5rem;
  color: #292929;
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.cat-strip__viewport { position: relative; }

.cat-strip__track {
  display: flex;
  gap: var(--cat-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.cat-strip__track::-webkit-scrollbar { display: none; }

.cat-card {
  flex: 0 0 var(--cat-w);
  display: grid;
  gap: 10px;
  color: #292929;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
}

.cat-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.2;
}

/* Beyaz zeminli ürün fotoğrafı krem zemine "multiply" ile oturur; kutu görünmez. */
.cat-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .4s ease;
}

.cat-card:hover .cat-card__media img { transform: scale(1.04); }

.cat-card__label {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

.cat-strip__arrow {
  position: absolute;
  top: calc(var(--cat-w) / 1.2 / 2);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: 0 18px 50px rgba(41, 41, 41, .08), 0 0 0 1px rgba(41, 41, 41, .06);
  color: #292929;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .3s;
}

.cat-strip__arrow--prev { left: 20px; }
.cat-strip__arrow--next { right: 20px; }
.cat-strip__arrow:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 980px) {
  .cat-strip { --cat-w: calc((100vw - var(--cat-gap) * 2) / 3); }
}

@media (max-width: 600px) {
  .cat-strip { --cat-gap: 16px; --cat-w: calc((100vw - var(--cat-gap)) / 2.3); }
  .cat-strip__arrow { display: none; }
}

/* ---------- Alt bilgi (Skanvi düzeni) ---------- */

.site-footer {
  --ft-ink: #496253;
  --ft-sage: #587364;
  border-top: 1px solid #e6e6e6;
  background: var(--white);
  color: var(--ft-ink);
}

.footer-panel {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 4vw, 56px);
}

.footer-lead { display: grid; justify-items: start; gap: 5px; }
.footer-logo img { width: 132px; height: auto; }

.footer-lead h2 {
  margin: 0;
  color: var(--ft-ink);
  font-size: clamp(.92rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.2;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(120px, 1fr));
  gap: clamp(18px, 4vw, 46px);
  align-items: start;
}

.footer-columns > div,
.footer-columns nav { display: grid; align-content: start; gap: 6px; }

.footer-column-title {
  margin: 0 0 8px;
  color: var(--ft-ink);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  color: var(--ft-ink);
  font-size: .9rem;
  line-height: 1.5;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color .16s;
}

.site-footer a:hover { color: var(--ft-sage); text-decoration: underline; }

.footer-social-row { display: flex; gap: 8px; margin-top: 8px; }

.site-footer .footer-social-row a {
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(88, 115, 100, .28);
  border-radius: 999px;
  background: var(--white);
  color: var(--ft-sage);
  transition: background .16s, border-color .16s, color .16s;
}

.site-footer .footer-social-row a:hover {
  background: var(--ft-sage);
  border-color: rgba(88, 115, 100, .5);
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

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

@media (max-width: 620px) {
  .footer-panel { gap: 30px; padding-top: 22px; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- Duyarlı düzen ---------- */

/* Mobil menüde ek bağlantılar (geniş ekranda header ikonları ve "Teklif alın" bunları karşılıyor) */
.nav__mobile { display: none; }

@media (max-width: 1024px) {
  .nav__mobile { display: list-item; }
  .nav--secondary .nav__mobile:first-of-type { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #ececec; }
  .nav__cta a { font-weight: 500; }

  /* Hesap ve sepet ikonları bar'ın içinde, menü düğmesinin solunda durur.
     Konum, ortalanmış bar'ın sağ kenarından hesaplanır (bar: en fazla 33.375rem, kenar boşluğu --gutter). */
  .header__actions {
    top: calc(3.3125rem + var(--announce-h));
    right: calc((100vw - min(33.375rem, 100vw - 2 * var(--gutter))) / 2 + .625rem + 2.875rem + .5rem);
    gap: 0;
  }

  .header__action { padding: .5rem; color: var(--primary); }
  .header__action:hover { background: rgba(30, 30, 30, .05); }
  .header__action[aria-label="Ara"],
  .header__action[aria-label="Favoriler"] { display: none; }

  /* Logo, ikonlara yer açmak için sağdan daralır */
  .header__wordmark { margin-right: calc(5rem - .75rem); }
  .header__bar { gap: .75rem; }
}

@media (max-width: 1199px) {
  .cta-float { display: none; }
}

@media (max-width: 860px) {
  .panel__contact, .panel__menu { grid-template-columns: 1fr; }
  .nav--primary > li > a, .nav--primary summary { font-size: 1.5rem; }
}

/* ---------- Sepet ---------- */

.header__action--cart { position: relative; }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}

.is-past-hero .cart-badge,
.header-static .cart-badge { background: var(--primary); }

.cart { position: fixed; inset: 0; z-index: 100; }
.cart__overlay { position: absolute; inset: 0; background: rgba(30, 30, 30, .4); }

.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: #fff;
  color: #000;
  animation: cart-in .3s ease;
}

@keyframes cart-in { from { transform: translateX(100%); } }

body.cart-open { overflow: hidden; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e6e6e6;
}

.cart__title { margin: 0; font-size: 20px; font-weight: 400; }

.cart__close {
  padding: 0;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cart__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart__empty { margin: 40px 0; text-align: center; color: var(--secondary); }

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e6e2db;
}

.cart-item img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border: 1px solid #eee;
  background: #fff;
}

.cart-item__name { color: #000; font-size: 15px; text-decoration: none; }
.cart-item__opt, .cart-item__price { margin: 4px 0 0; font-size: 13px; color: var(--secondary); }
.cart-item__price { color: #000; }

.cart-item__qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }

.cart-item__qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #d7d4cf;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.cart-item__qty .cart-item__remove {
  width: auto;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  color: var(--secondary);
  text-decoration: underline;
}

.cart__foot { padding: 20px 24px 24px; border-top: 1px solid #e6e6e6; }
.cart__total { display: flex; justify-content: space-between; font-size: 18px; }
.cart__note { margin: 6px 0 16px; font-size: 12px; color: var(--secondary); }

.cart__checkout {
  display: block;
  padding: 16px;
  border-radius: 1000px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .6px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.cart__checkout.is-disabled { opacity: .3; pointer-events: none; }

/* Fareyle tıklanınca odak çerçevesi görünmesin; klavyede görünsün */
.icon-btn:focus:not(:focus-visible) { outline: none; }
.icon-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Video oynarken bulanıklık efekti her karede yeniden hesaplanıp barı tekletiyor.
   Hero (video) görünürken cam efekti kapalı: yarı saydam düz beyaz. Video geçilince cam geri gelir. */
body:has(.hero):not(.is-past-hero) .header__bar,
body:has(.hero):not(.is-past-hero) .panel,
body:has(.hero):not(.is-past-hero) .header__center.is-open {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body:has(.hero):not(.is-past-hero) .header__center.is-open .header__bar,
body:has(.hero):not(.is-past-hero) .header__center.is-open .panel { background: transparent; }

/* Aynı sebeple hero butonları ve "Teklif alın" da video üstündeyken bulanıklıksız */
body:not(.is-past-hero) .hero__buttons .btn,
body:has(.hero):not(.is-past-hero) .cta-float {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(30, 30, 30, .28);
}

/* Kaydırdıkça bar giderek saydamlaşır: en üstte .86, ~400px sonra .3 (oranı main.js --hdr-a ile verir). */
body .header__center:not(.is-open) .header__bar {
  background: rgba(255, 255, 255, var(--hdr-a, .86));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, calc(var(--hdr-a, .86) * .5)), 0 8px 30px rgba(0, 0, 0, calc(var(--hdr-a, .86) * .09));
}

body .header__center:not(.is-open) .header__bar .icon-btn {
  background: rgba(255, 255, 255, calc(var(--hdr-a, .86) * .75));
}
