/* Boutique 02 — bileşenler. Mobil öncelikli; kırılma noktaları: 600 / 768 / 1024 / 1200 px.
   Tüm değerler tokens.css değişkenlerinden gelir; sınıflar b2- önekiyle başlar. */

/* ------------------------------------------------------------------ Butonlar */
.b2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--b2-space-3);
  min-height: 3rem;
  padding: 0 var(--b2-space-5);
  border: 1px solid transparent;
  border-radius: var(--b2-radius-sm);
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: var(--b2-letter-spacing-wide);
  white-space: nowrap;
  transition: background-color var(--b2-motion-fast) var(--b2-motion-ease),
              color var(--b2-motion-fast) var(--b2-motion-ease),
              border-color var(--b2-motion-fast) var(--b2-motion-ease);
}
.b2-btn .b2-icon { width: 1.125rem; height: 1.125rem; transition: transform var(--b2-motion-base) var(--b2-motion-ease); }
.b2-btn:hover .b2-icon { transform: translateX(3px); }
.b2-btn--sm { min-height: 2.625rem; padding: 0 var(--b2-space-4); }

.b2-btn--primary { background: var(--b2-color-brand); color: var(--b2-color-on-brand); }
.b2-btn--primary:hover { background: var(--b2-color-brand-strong); }

.b2-btn--light { background: var(--b2-color-bg); color: var(--b2-color-brand); }
.b2-btn--light:hover { background: var(--b2-color-bg-alt); }

.b2-btn--light:focus-visible { outline-color: var(--b2-color-focus-on-dark); }

.b2-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--b2-radius-pill);
  color: var(--b2-color-text);
  transition: background-color var(--b2-motion-fast) var(--b2-motion-ease);
}
.b2-icon-btn:hover { background: var(--b2-color-bg-alt); }
.b2-icon-btn .b2-icon { width: 1.375rem; height: 1.375rem; }

.b2-count {
  position: absolute;
  top: 0.25rem;
  right: 0.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: var(--b2-radius-pill);
  background: var(--b2-color-brand);
  color: var(--b2-color-on-brand);
  font-size: 0.625rem;
  font-weight: var(--b2-font-weight-semibold);
  line-height: 1.125rem;
  text-align: center;
}

.b2-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--b2-space-2);
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-semibold);
  white-space: nowrap;
}
.b2-link-arrow:hover { color: var(--b2-color-brand); }
.b2-link-arrow:hover .b2-icon { transform: translateX(3px); }
.b2-link-arrow .b2-icon { transition: transform var(--b2-motion-base) var(--b2-motion-ease); }

.b2-eyebrow {
  margin-bottom: var(--b2-space-3);
  color: var(--b2-color-brand);
  font-size: var(--b2-font-size-xs);
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: var(--b2-letter-spacing-eyebrow);
  text-transform: uppercase;
}

.b2-logo {
  font-family: var(--b2-font-serif);
  font-size: 1.625rem;
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: lining-nums; /* Cormorant varsayılan eski stil rakamlarını düzeltir */
}
.b2-logo--sm { font-size: 1.5rem; }

/* ------------------------------------------------------------ Duyuru çubuğu */
.b2-announcement {
  background: var(--b2-color-brand);
  color: var(--b2-color-on-brand);
  font-size: var(--b2-font-size-xs);
}
/* Mobilde otomatik dönmez (WCAG 2.2.2); kullanıcı yatay kaydırır, ilk mesaj her zaman görünür. */
.b2-announcement__list {
  display: flex;
  align-items: center;
  min-height: var(--b2-layout-bar-h);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.b2-announcement__list::-webkit-scrollbar { display: none; }
.b2-announcement__item {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--b2-space-2);
  scroll-snap-align: center;
  white-space: nowrap;
}
.b2-announcement__item .b2-icon { width: 1rem; height: 1rem; }

@media (min-width: 1024px) {
  .b2-announcement__list { overflow: visible; }
  .b2-announcement__item { flex: 1; }
  .b2-announcement__item + .b2-announcement__item { border-left: 1px solid rgba(255, 255, 255, 0.28); }
}

/* ------------------------------------------------------------------- Header */
.b2-header {
  position: sticky;
  top: 0;
  z-index: var(--b2-z-header);
  background: var(--b2-color-bg);
  border-bottom: 1px solid var(--b2-color-border);
  transition: box-shadow var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-header.is-scrolled { box-shadow: var(--b2-shadow-sm); }

.b2-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 3.75rem;
}
.b2-header__menu-toggle { justify-self: start; margin-left: -0.625rem; }
.b2-header .b2-logo { justify-self: center; }
.b2-header__actions { justify-self: end; display: flex; align-items: center; margin-right: -0.625rem; }
.b2-header__account,
.b2-header__fav { display: none; }

.b2-nav { display: none; }

@media (min-width: 600px) {
  .b2-header__account,
  .b2-header__fav { display: inline-flex; }
}

@media (min-width: 1200px) {
  .b2-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--b2-space-6);
    min-height: var(--b2-layout-header-h);
  }
  .b2-header__menu-toggle { display: none; }
  .b2-header .b2-logo { justify-self: start; font-size: 1.875rem; }
  .b2-nav { display: block; justify-self: center; }
}

.b2-nav__list { display: flex; align-items: center; gap: var(--b2-space-5); }
.b2-nav__list > li { position: relative; }
.b2-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: var(--b2-space-3) 0;
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-medium);
  white-space: nowrap;
}
.b2-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.375rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-nav__link:hover { color: var(--b2-color-brand); }
.b2-nav__link:hover::after { transform: scaleX(1); }
.b2-nav__link .b2-icon { transition: transform var(--b2-motion-fast) var(--b2-motion-ease); }
.b2-nav__link[aria-expanded="true"] .b2-icon { transform: rotate(180deg); }

.b2-nav__sub {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--b2-space-4));
  min-width: 12rem;
  padding: var(--b2-space-2) 0;
  background: var(--b2-color-bg);
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius-md);
  box-shadow: var(--b2-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--b2-motion-fast) var(--b2-motion-ease),
              transform var(--b2-motion-fast) var(--b2-motion-ease),
              visibility var(--b2-motion-fast);
}
.b2-nav__item--has-sub:hover .b2-nav__sub,
.b2-nav__item--has-sub.is-open .b2-nav__sub { opacity: 1; visibility: visible; transform: none; }
.b2-nav__sub a {
  display: block;
  padding: var(--b2-space-2) var(--b2-space-4);
  font-size: var(--b2-font-size-sm);
}
.b2-nav__sub a:hover { background: var(--b2-color-bg-alt); color: var(--b2-color-brand); }

/* Arama paneli */
.b2-search {
  border-top: 1px solid var(--b2-color-border);
  background: var(--b2-color-bg);
  padding-block: var(--b2-space-3);
}
.b2-search__form { display: flex; align-items: center; gap: var(--b2-space-3); }
.b2-search__input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  padding: 0 var(--b2-space-2);
  border: 0;
  border-bottom: 1px solid var(--b2-color-border-strong);
  background: transparent;
}
.b2-search__input:focus-visible { outline: none; border-bottom-color: var(--b2-color-brand); box-shadow: 0 1px 0 var(--b2-color-brand); }
.b2-search__note { color: var(--b2-color-text-muted); font-size: var(--b2-font-size-xs); }
.b2-search__note:empty { display: none; }
.b2-search__note:not(:empty) { padding-top: var(--b2-space-2); }

/* -------------------------------------------------------------- Mobil menü */
.b2-drawer { position: fixed; inset: 0; z-index: var(--b2-z-drawer); }
.b2-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--b2-color-overlay);
  opacity: 0;
  transition: opacity var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 22.5rem);
  padding: var(--b2-space-4) var(--b2-space-5) var(--b2-space-6);
  background: var(--b2-color-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-drawer.is-open .b2-drawer__backdrop { opacity: 1; }
.b2-drawer.is-open .b2-drawer__panel { transform: none; }

.b2-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--b2-space-4);
  padding-bottom: var(--b2-space-3);
  border-bottom: 1px solid var(--b2-color-border);
}
.b2-drawer__head .b2-icon-btn { margin-right: -0.625rem; }
.b2-drawer__list > li { border-bottom: 1px solid var(--b2-color-border); }
.b2-drawer__list > li > a,
.b2-drawer__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.25rem;
  font-size: var(--b2-font-size-md);
  font-weight: var(--b2-font-weight-medium);
  text-align: left;
}
.b2-drawer__group .b2-icon { transition: transform var(--b2-motion-fast) var(--b2-motion-ease); }
.b2-drawer__group[aria-expanded="true"] .b2-icon { transform: rotate(180deg); }
.b2-drawer__sub { padding: 0 0 var(--b2-space-3) var(--b2-space-4); }
.b2-drawer__sub a { display: block; padding: var(--b2-space-2) 0; color: var(--b2-color-text-muted); }
.b2-drawer__sub a:hover { color: var(--b2-color-brand); }
.b2-drawer__meta { margin-top: auto; padding-top: var(--b2-space-6); display: grid; gap: var(--b2-space-2); }
.b2-drawer__meta a { display: flex; align-items: center; gap: var(--b2-space-3); min-height: 2.75rem; font-size: var(--b2-font-size-sm); }

/* -------------------------------------------------------------------- Hero */
.b2-hero {
  position: relative;
  background: var(--b2-color-bg-warm);
  overflow: hidden;
}
.b2-hero__track { display: grid; }
.b2-hero__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: auto 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--b2-motion-slow) var(--b2-motion-ease), visibility var(--b2-motion-slow);
}
.b2-hero__slide.is-active { opacity: 1; visibility: visible; }

.b2-hero__media { order: -1; aspect-ratio: 4 / 3; overflow: hidden; }
.b2-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transform: scale(1.04);
  transition: transform 6s var(--b2-motion-ease);
}
.b2-hero__slide.is-active .b2-hero__media img { transform: none; }

.b2-hero__content {
  padding: var(--b2-space-5) var(--b2-layout-gutter) var(--b2-space-6);
  transform: translateY(12px);
  transition: transform var(--b2-motion-slow) var(--b2-motion-ease);
}
.b2-hero__slide.is-active .b2-hero__content { transform: none; }

.b2-hero__title {
  margin-bottom: var(--b2-space-4);
  color: var(--b2-color-brand);
  font-family: var(--b2-font-serif);
  font-size: var(--b2-font-size-display);
  line-height: var(--b2-line-height-tight);
  letter-spacing: -0.01em;
}
.b2-hero__text {
  max-width: 26rem;
  margin-bottom: var(--b2-space-5);
  font-size: var(--b2-font-size-md);
}

/* Mobil: kontroller görselin alt kenarında küçük bir şerit; metin alanına taşmaz.
   Konum, görselin 4:3 yüksekliğinden (75cqw) hesaplanır — kaydırma çubuğundan etkilenmez. */
.b2-hero { container-type: inline-size; }
.b2-hero__arrow {
  position: absolute;
  top: calc(75cqw - var(--b2-space-3));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--b2-radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--b2-color-text);
  transform: translateY(-100%);
  transition: background-color var(--b2-motion-fast) var(--b2-motion-ease);
}
.b2-hero__arrow .b2-icon { width: 1.125rem; height: 1.125rem; }
.b2-hero__arrow:hover { background: var(--b2-color-bg); color: var(--b2-color-brand); }
.b2-hero__arrow--prev { right: calc(var(--b2-space-3) + 2.25rem + var(--b2-space-2)); }
.b2-hero__arrow--next { right: var(--b2-space-3); }

.b2-hero__controls {
  position: absolute;
  top: calc(75cqw - var(--b2-space-3));
  left: var(--b2-space-3);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.125rem;
  height: 2.25rem;
  padding: 0 var(--b2-space-2) 0 0.125rem;
  border-radius: var(--b2-radius-pill);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-100%);
}
.b2-hero__dots { display: flex; }
.b2-hero__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 2.25rem;
}
.b2-hero__dot::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border: 1px solid var(--b2-color-text);
  border-radius: var(--b2-radius-pill);
  transition: width var(--b2-motion-base) var(--b2-motion-ease), background-color var(--b2-motion-base);
}
.b2-hero__dot[aria-current="true"]::before { width: 1rem; background: var(--b2-color-text); }
.b2-hero__play { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: var(--b2-radius-pill); }
.b2-hero__play .b2-icon { width: 0.875rem; height: 0.875rem; }
.b2-hero__play [data-icon="play"] { display: none; }
.b2-hero__play[aria-pressed="true"] [data-icon="play"] { display: block; }
.b2-hero__play[aria-pressed="true"] [data-icon="pause"] { display: none; }
.b2-hero[data-autoplay="off"] .b2-hero__play { display: none; }

@media (min-width: 768px) {
  .b2-hero__slide {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(26rem, 38vw, 36rem);
  }
  .b2-hero__media {
    order: 0;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
    mask-image: linear-gradient(to right, transparent 0, #000 22%);
  }
  .b2-hero__content {
    align-self: center;
    /* Sol ok (24px + 44px) ile metin arasında en az 12px boşluk kalır */
    padding: var(--b2-space-7) var(--b2-space-5) var(--b2-space-8) max(5rem, calc((100vw - var(--b2-layout-container)) / 2 + var(--b2-layout-gutter) + 3.5rem));
  }
  .b2-hero__arrow { top: 50%; width: 2.75rem; height: 2.75rem; background: rgba(255, 255, 255, 0.85); transform: translateY(-50%); }
  .b2-hero__arrow .b2-icon { width: 1.375rem; height: 1.375rem; }
  .b2-hero__arrow--prev { left: var(--b2-space-5); right: auto; }
  .b2-hero__arrow--next { right: var(--b2-space-5); }
  .b2-hero__controls { top: auto; bottom: var(--b2-space-5); left: 50%; height: 2.5rem; padding: 0 var(--b2-space-2); transform: translateX(-50%); }
  .b2-hero__dot { width: 1.75rem; height: 2.5rem; }
  .b2-hero__dot::before { width: 0.5rem; height: 0.5rem; }
  .b2-hero__dot[aria-current="true"]::before { width: 1.25rem; }
}
@media (min-width: 1024px) {
  .b2-hero__slide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .b2-hero__controls { left: 41%; }
}

/* -------------------------------------------------------------- Avantajlar */
.b2-benefits {
  background: var(--b2-color-bg-alt);
  border-bottom: 1px solid var(--b2-color-border);
}
.b2-benefits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--b2-space-4) var(--b2-space-3);
  padding-block: var(--b2-space-5);
}
.b2-benefit { display: flex; align-items: center; gap: var(--b2-space-3); }
.b2-benefit:last-child { grid-column: 1 / -1; }
.b2-benefit .b2-icon { color: var(--b2-color-text); }
.b2-benefit__title { font-size: var(--b2-font-size-sm); font-weight: var(--b2-font-weight-semibold); line-height: 1.3; }
.b2-benefit__text { color: var(--b2-color-text-muted); font-size: var(--b2-font-size-xs); line-height: 1.4; }

@media (min-width: 768px) {
  .b2-benefits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-benefit:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .b2-benefits__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .b2-benefit { justify-content: center; padding-inline: var(--b2-space-3); }
  .b2-benefit + .b2-benefit { border-left: 1px solid var(--b2-color-border-strong); }
}

/* ------------------------------------------------------------- Bölüm başlığı */
.b2-section { padding-block: var(--b2-space-section) 0; }
.b2-categories { padding-top: var(--b2-space-5); }

.b2-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--b2-space-3) var(--b2-space-4);
  margin-bottom: var(--b2-space-5);
  padding-bottom: var(--b2-space-2);
  border-bottom: 1px solid var(--b2-color-border);
}
.b2-section-title {
  font-family: var(--b2-font-serif);
  font-size: var(--b2-font-size-2xl);
  line-height: 1.1;
}

.b2-filters {
  display: flex;
  gap: var(--b2-space-5);
  order: 3;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: calc(-1 * var(--b2-space-2) - 1px);
}
.b2-filters::-webkit-scrollbar { display: none; }
.b2-filter {
  flex: none;
  min-height: 2.75rem;
  border-bottom: 2px solid transparent;
  color: var(--b2-color-text-muted);
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-medium);
  white-space: nowrap;
  transition: color var(--b2-motion-fast), border-color var(--b2-motion-fast);
}
.b2-filter:hover { color: var(--b2-color-text); }
.b2-filter[aria-pressed="true"] { color: var(--b2-color-text); border-bottom-color: var(--b2-color-text); font-weight: var(--b2-font-weight-semibold); }
.b2-filter:focus-visible { outline-offset: -2px; }

@media (min-width: 1024px) {
  .b2-filters { order: 0; width: auto; margin-left: auto; }
  /* Filtrelerle aynı taban çizgisi */
  .b2-section-head .b2-link-arrow { min-height: 2.75rem; margin-bottom: calc(-1 * var(--b2-space-2) - 1px); margin-left: var(--b2-space-4); }
}

/* -------------------------------------------------------------- Kategoriler */
.b2-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--b2-space-3);
}
@media (min-width: 768px) { .b2-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b2-space-4); } }
@media (min-width: 1024px) { .b2-categories__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.b2-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--b2-radius-md);
  background: var(--b2-color-bg-warm);
  isolation: isolate;
}
.b2-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--b2-motion-slow) var(--b2-motion-ease);
}
.b2-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--b2-color-scrim), transparent 55%);
}
.b2-cat-card__label {
  position: absolute;
  left: var(--b2-space-4);
  right: var(--b2-space-3);
  bottom: var(--b2-space-3);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--b2-space-2);
  color: var(--b2-color-on-brand);
  font-size: var(--b2-font-size-md);
  font-weight: var(--b2-font-weight-semibold);
}
.b2-cat-card__label .b2-icon { transition: transform var(--b2-motion-base) var(--b2-motion-ease); }
.b2-cat-card:hover img { transform: scale(1.05); }
.b2-cat-card:hover .b2-cat-card__label .b2-icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- Banner'lar */
.b2-banners { padding-top: var(--b2-space-4); }
.b2-banners--campaign { padding-top: var(--b2-space-section); }
.b2-banners__grid { display: grid; gap: var(--b2-space-4); }
@media (min-width: 768px) { .b2-banners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Dört banner aynı dil: 4px köşe, gölgesiz, metin solda, görsel sağda maskeyle zemine karışır.
   Mobilde hepsi aynı minimum yükseklikte; masaüstünde her çift kendi içinde eşit. */
.b2-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 15rem;
  overflow: hidden;
  border-radius: var(--b2-radius-md);
  isolation: isolate;
}
.b2-banner--light { background: var(--b2-color-bg-alt); }
.b2-banner--warm { background: var(--b2-color-bg-warm); }
.b2-banner--brand { background: var(--b2-color-brand); color: var(--b2-color-on-brand); }
.b2-banner__content {
  position: relative;
  z-index: 1;
  width: 60%;
  padding: var(--b2-space-5) var(--b2-space-4) var(--b2-space-5) var(--b2-space-5);
}
.b2-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  /* Kontrollü geçiş: görselin sol %35'i zemine erir, metin hiçbir zaman fotoğraf üstüne düşmez */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%);
  mask-image: linear-gradient(to right, transparent 0, #000 35%);
  transition: transform var(--b2-motion-slow) var(--b2-motion-ease);
}
.b2-banner:hover .b2-banner__media { transform: scale(1.03); }

.b2-banner__eyebrow { margin-bottom: var(--b2-space-2); font-size: var(--b2-font-size-xs); font-weight: var(--b2-font-weight-medium); }
.b2-banner__title {
  margin-bottom: var(--b2-space-2);
  color: var(--b2-color-brand);
  font-family: var(--b2-font-serif);
  font-size: var(--b2-font-size-2xl);
  line-height: 1.05;
}
.b2-banner--brand .b2-banner__title { color: var(--b2-color-on-brand); }
.b2-banner--wide .b2-banner__title { font-size: var(--b2-font-size-xl); }
.b2-banner__text { margin-bottom: var(--b2-space-4); font-size: var(--b2-font-size-sm); }
.b2-banner--brand .b2-banner__text { color: var(--b2-color-on-brand-muted); }

@media (min-width: 768px) {
  .b2-banner--wide { min-height: 12.5rem; }
}
@media (min-width: 1024px) {
  .b2-banner { min-height: 15rem; }
  .b2-banner--wide { min-height: 12.5rem; }
  .b2-banner__content { width: 52%; padding: var(--b2-space-6) var(--b2-space-5) var(--b2-space-6) var(--b2-space-7); }
  .b2-banner__media { width: 56%; }
}

/* ------------------------------------------------------------- Ürün kartları */
/* Mobil 2, tablet (640–1023) 3, masaüstü 4 sütun — dar dört sütun zorlanmaz. */
.b2-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--b2-space-4) var(--b2-space-3);
}
@media (min-width: 640px) { .b2-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b2-space-5) var(--b2-space-4); } }
@media (min-width: 1024px) { .b2-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--b2-space-5); } }
.b2-product-grid > li,
.b2-rail__track > li { display: flex; }

.b2-product-grid__empty {
  grid-column: 1 / -1;
  padding: var(--b2-space-6);
  color: var(--b2-color-text-muted);
  text-align: center;
  background: var(--b2-color-bg-alt);
}

.b2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius-md);
  background: var(--b2-color-bg);
  transition: border-color var(--b2-motion-base) var(--b2-motion-ease), box-shadow var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-card:hover { border-color: var(--b2-color-border-strong); box-shadow: var(--b2-shadow-md); }
.b2-card:has(.b2-card__link:focus-visible) { outline: 2px solid var(--b2-color-focus); outline-offset: 3px; }

.b2-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--b2-radius-md) var(--b2-radius-md) 0 0;
  background: var(--b2-color-bg-alt);
}
.b2-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--b2-motion-slow) var(--b2-motion-ease);
}
.b2-card:hover .b2-card__media img { transform: scale(1.04); }

.b2-card__badges {
  position: absolute;
  left: var(--b2-space-3);
  bottom: var(--b2-space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--b2-space-1);
}
.b2-card__badge {
  padding: 0.1875rem var(--b2-space-2);
  border-radius: var(--b2-radius-sm);
  background: var(--b2-color-brand);
  color: var(--b2-color-on-brand);
  font-size: var(--b2-font-size-2xs);
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: var(--b2-letter-spacing-wide);
}

.b2-card__fav {
  position: absolute;
  top: var(--b2-space-2);
  right: var(--b2-space-2);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.92);
}
.b2-card__fav .b2-icon { width: 1.25rem; height: 1.25rem; transition: fill var(--b2-motion-fast); }
.b2-card__fav:hover { background: var(--b2-color-bg); color: var(--b2-color-brand); }
.b2-card__fav[aria-pressed="true"] { color: var(--b2-color-brand); }
.b2-card__fav[aria-pressed="true"] .b2-icon { fill: currentColor; }

/* Başlık üstte, fiyat + renk + sepet kartın dibine sabit: aynı satırdaki kartlarda hizalı kalır. */
.b2-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--b2-space-2);
  padding: var(--b2-space-3) var(--b2-space-3) var(--b2-space-3) var(--b2-space-4);
}
.b2-card__title {
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-medium);
  line-height: 1.35;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.b2-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "price cart" "colors cart";
  align-items: center;
  column-gap: var(--b2-space-2);
  margin-top: auto;
}
.b2-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b2-card__link:focus-visible { outline: none; }
.b2-card__price { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--b2-space-2); font-size: var(--b2-font-size-md); font-weight: var(--b2-font-weight-semibold); }
.b2-card__price s { color: var(--b2-color-text-muted); font-size: var(--b2-font-size-sm); font-weight: var(--b2-font-weight-regular); }

.b2-card__cart {
  grid-area: cart;
  position: relative;
  z-index: 2;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--b2-color-brand);
  border-radius: var(--b2-radius-sm);
  color: var(--b2-color-brand);
  transition: background-color var(--b2-motion-fast), color var(--b2-motion-fast);
}
.b2-card__cart:hover { background: var(--b2-color-brand); color: var(--b2-color-on-brand); }

.b2-swatches { grid-area: colors; position: relative; z-index: 2; display: flex; margin-left: -0.5rem; }
/* 28px dokunma alanı, 12px görünen renk noktası */
.b2-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--b2-radius-pill);
}
.b2-swatch::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--b2-radius-pill);
  background: var(--b2-swatch);
  box-shadow: inset 0 0 0 1px rgba(25, 23, 25, 0.18);
}
.b2-swatch[aria-checked="true"]::before { box-shadow: 0 0 0 1px var(--b2-color-bg), 0 0 0 2px var(--b2-color-text); }

@media (max-width: 639px) {
  .b2-card__body { padding: var(--b2-space-3) var(--b2-space-2) var(--b2-space-2) var(--b2-space-3); }
  .b2-card__title { font-size: var(--b2-font-size-sm); }
  .b2-card__price { font-size: var(--b2-font-size-base); }
  .b2-card__cart { width: 2.5rem; height: 2.5rem; }
}

/* Yatay ürün şeridi */
.b2-rail { position: relative; }
/* Mobil: 1,6 kart görünür (bilinçli kısmi görünüm, kart ≥ 210px); tablet: 2,5; masaüstü: 6 tam kart. */
.b2-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--b2-space-3)) / 1.6);
  gap: var(--b2-space-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: var(--b2-space-1);
  margin: calc(-1 * var(--b2-space-1));
  scroll-padding-inline: var(--b2-space-1);
}
.b2-rail__track::-webkit-scrollbar { display: none; }
.b2-rail__track > li { scroll-snap-align: start; }
.b2-rail__track:focus-visible { outline-offset: 0; }

.b2-rail__arrow {
  position: absolute;
  top: 40%;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius-pill);
  background: var(--b2-color-bg);
  box-shadow: var(--b2-shadow-sm);
  transform: translateY(-50%);
}
.b2-rail__arrow:hover:not(:disabled) { color: var(--b2-color-brand); border-color: var(--b2-color-border-strong); }
.b2-rail__arrow:disabled { opacity: 0.35; cursor: default; }
.b2-rail__arrow--prev { left: calc(-1 * var(--b2-space-5)); }
.b2-rail__arrow--next { right: calc(-1 * var(--b2-space-5)); }

@media (max-width: 379px) { .b2-rail__track { grid-auto-columns: calc((100% - var(--b2-space-3)) / 1.5); } }
@media (min-width: 600px) { .b2-rail__track { grid-auto-columns: calc((100% - 2 * var(--b2-space-4)) / 2.5); gap: var(--b2-space-4); } }
@media (min-width: 768px) {
  .b2-rail[data-scrollable="true"] .b2-rail__arrow { display: inline-flex; }
  /* Oklar container boşluğu içinde kalır; sayfayı yatay taşırmaz */
  .b2-rail__arrow--prev { left: calc(-1 * var(--b2-space-3)); }
  .b2-rail__arrow--next { right: calc(-1 * var(--b2-space-3)); }
}
@media (min-width: 1024px) { .b2-rail__track { grid-auto-columns: calc((100% - 3 * var(--b2-space-4)) / 4); } }
@media (min-width: 1200px) { .b2-rail__track { grid-auto-columns: calc((100% - 5 * var(--b2-space-4)) / 6); } }
@media (min-width: 1400px) {
  .b2-rail__arrow--prev { left: calc(-1 * var(--b2-space-5)); }
  .b2-rail__arrow--next { right: calc(-1 * var(--b2-space-5)); }
}

/* --------------------------------------------------------------- E-bülten */
.b2-newsletter {
  margin-top: var(--b2-space-section);
  background: var(--b2-color-brand);
  color: var(--b2-color-on-brand);
}
.b2-newsletter__inner {
  display: grid;
  /* minmax(0, 1fr): e-posta alanının doğal genişliği dar ekranda (360px) taşma yaratmasın */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--b2-space-4);
  padding-block: var(--b2-space-6);
}
.b2-newsletter__icon { width: 2.5rem; height: 2.5rem; stroke-width: 1.1; }
.b2-newsletter__title {
  font-family: var(--b2-font-serif);
  font-size: var(--b2-font-size-xl);
  font-weight: var(--b2-font-weight-medium);
  line-height: 1.15;
}
.b2-newsletter__title span { display: block; }
.b2-newsletter__field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--b2-color-on-brand);
  border-radius: var(--b2-radius-sm);
  background: var(--b2-color-bg);
  color: var(--b2-color-text);
}
.b2-newsletter__field > .b2-icon { align-self: center; margin-left: var(--b2-space-3); color: var(--b2-color-text-muted); }
.b2-newsletter__field input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  padding: 0 var(--b2-space-3);
  border: 0;
  background: transparent;
}
.b2-newsletter__field input::placeholder { color: var(--b2-color-text-muted); }
.b2-newsletter__field input:focus-visible { outline: 2px solid var(--b2-color-focus); outline-offset: -2px; }
.b2-newsletter__field .b2-btn { border-radius: 0; border: 0; border-left: 1px solid var(--b2-color-on-brand); background: var(--b2-color-brand); color: var(--b2-color-on-brand); }
.b2-newsletter__field .b2-btn:hover { background: var(--b2-color-brand-strong); }
.b2-newsletter__field .b2-btn:focus-visible { outline-color: var(--b2-color-focus-on-dark); outline-offset: 2px; }
.b2-newsletter__msg { min-height: 1.25rem; margin-top: var(--b2-space-2); font-size: var(--b2-font-size-sm); font-weight: var(--b2-font-weight-medium); }
.b2-newsletter__msg[data-state="error"]::before { content: "⚠ "; }
.b2-newsletter__note { color: var(--b2-color-on-brand-muted); font-size: var(--b2-font-size-xs); }

@media (min-width: 1024px) {
  .b2-newsletter__inner {
    grid-template-columns: auto 1fr minmax(0, 28rem);
    align-items: center;
    gap: var(--b2-space-6);
    padding-block: var(--b2-space-6);
  }
  .b2-newsletter__form { padding-top: 1.5rem; }
}

/* -------------------------------------------------------------------- Footer */
/* Mobil: marka + sosyal üstte → Kurumsal | Müşteri Hizmetleri → Yasal (2 sütunlu liste) → ayrı İletişim paneli.
   360px altında tek sütun. Bağlantı metinleri sığdırmak için küçültülmez (0.875rem). */
.b2-footer { background: var(--b2-color-bg-alt); }
.b2-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--b2-space-6) var(--b2-space-5);
  padding-block: var(--b2-space-7) var(--b2-space-6);
}
.b2-footer__brand,
.b2-footer__col--legal,
.b2-footer__col--contact { grid-column: 1 / -1; }

.b2-footer__brand { padding-bottom: var(--b2-space-6); border-bottom: 1px solid var(--b2-color-border); }
.b2-footer__logo { font-size: 2rem; }
.b2-footer__tagline {
  margin-top: var(--b2-space-3);
  color: var(--b2-color-brand);
  font-family: var(--b2-font-serif);
  font-size: 1.25rem;
  font-weight: var(--b2-font-weight-medium);
  line-height: 1.3;
}
.b2-footer__about {
  max-width: 24rem;
  margin: var(--b2-space-3) 0 var(--b2-space-5);
  color: var(--b2-color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.b2-social { display: flex; flex-wrap: wrap; gap: var(--b2-space-2); }
.b2-social .b2-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--b2-color-border-strong);
  background: var(--b2-color-bg);
}
.b2-social .b2-icon-btn .b2-icon { width: 1.125rem; height: 1.125rem; }
.b2-social .b2-icon-btn:hover { border-color: var(--b2-color-brand); background: var(--b2-color-bg); color: var(--b2-color-brand); }

.b2-footer__title {
  margin-bottom: var(--b2-space-4);
  font-family: var(--b2-font-sans);
  font-size: var(--b2-font-size-xs);
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.b2-footer__col ul { display: grid; gap: var(--b2-space-1); }
.b2-footer__col a:not(.b2-link-arrow) {
  display: inline-block;
  padding-block: 0.3125rem;
  color: var(--b2-color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}
.b2-footer__col a:not(.b2-link-arrow):hover { color: var(--b2-color-brand); }
.b2-footer__col--legal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--b2-space-5); }

.b2-footer__col--contact {
  padding: var(--b2-space-5);
  border: 1px solid var(--b2-color-border);
  border-radius: var(--b2-radius-md);
  background: var(--b2-color-bg);
}
.b2-footer__contact { display: grid; gap: var(--b2-space-4); margin-bottom: var(--b2-space-5); }
.b2-footer__contact li { display: flex; align-items: flex-start; gap: var(--b2-space-3); font-size: 0.875rem; line-height: 1.4; }
.b2-footer__contact .b2-icon { margin-top: 0.0625rem; color: var(--b2-color-brand); }
.b2-footer__contact em { display: block; margin-top: 0.125rem; color: var(--b2-color-text-muted); font-style: normal; font-size: var(--b2-font-size-sm); }

.b2-footer__bottom { border-top: 1px solid var(--b2-color-border); }
.b2-footer__bottom-inner {
  display: grid;
  gap: var(--b2-space-4);
  padding-block: var(--b2-space-5);
  color: var(--b2-color-text-muted);
  font-size: var(--b2-font-size-sm);
}
.b2-footer__proto { display: block; margin-top: var(--b2-space-1); font-size: var(--b2-font-size-xs); }
.b2-footer__pay { display: grid; gap: var(--b2-space-2); }
.b2-footer__pay-label { font-size: var(--b2-font-size-xs); }
.b2-payments { display: flex; flex-wrap: wrap; gap: var(--b2-space-2); }
.b2-payments li {
  padding: 0.3125rem var(--b2-space-3);
  border: 1px solid var(--b2-color-border-strong);
  border-radius: var(--b2-radius-sm);
  background: var(--b2-color-bg);
  color: var(--b2-color-text);
  font-size: var(--b2-font-size-xs);
  font-weight: var(--b2-font-weight-semibold);
  letter-spacing: var(--b2-letter-spacing-wide);
  white-space: nowrap;
}

@media (max-width: 359px) {
  .b2-footer__grid,
  .b2-footer__col--legal ul { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 768px) {
  .b2-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-footer__brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas: "logo about" "tagline about" "social about";
    column-gap: var(--b2-space-7);
    align-items: start;
  }
  .b2-footer__logo { grid-area: logo; }
  .b2-footer__tagline { grid-area: tagline; }
  .b2-footer__about { grid-area: about; margin: 0; align-self: center; }
  .b2-social { grid-area: social; margin-top: var(--b2-space-5); }
  .b2-footer__col--legal { grid-column: auto; }
  .b2-footer__col--legal ul { grid-template-columns: minmax(0, 1fr); }
  .b2-footer__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-footer__bottom-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .b2-footer__pay { grid-auto-flow: column; align-items: center; gap: var(--b2-space-3); }
}

@media (min-width: 1024px) {
  .b2-footer__grid {
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
    column-gap: var(--b2-space-5);
    padding-block: var(--b2-space-8) var(--b2-space-7);
  }
  .b2-footer__brand {
    display: block;
    grid-column: auto;
    padding: 0 var(--b2-space-5) 0 0;
    border: 0;
  }
  .b2-footer__logo { font-size: 2.25rem; }
  .b2-footer__about { margin: var(--b2-space-3) 0 var(--b2-space-5); }
  .b2-social { margin-top: 0; }
  .b2-footer__col:not(.b2-footer__brand) { padding-left: var(--b2-space-5); border-left: 1px solid var(--b2-color-border-strong); }
  .b2-footer__col--contact { grid-column: auto; padding: 0 0 0 var(--b2-space-5); border-width: 0 0 0 1px; border-radius: 0; background: none; }
  .b2-footer__contact { grid-template-columns: minmax(0, 1fr); }
  .b2-footer__bottom-inner { min-height: 4.5rem; padding-block: var(--b2-space-4); }
}

/* ------------------------------------------- Beden düğmesi + hızlı ekleme */
.b2-card__badge--sale { background: var(--b2-color-text); }

.b2-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 2.75rem;
  padding: 0 var(--b2-space-3);
  border: 1px solid var(--b2-color-border-strong);
  border-radius: var(--b2-radius-sm);
  background: var(--b2-color-bg);
  font-size: var(--b2-font-size-sm);
  font-weight: var(--b2-font-weight-medium);
  transition: border-color var(--b2-motion-fast), background-color var(--b2-motion-fast), color var(--b2-motion-fast);
}
.b2-size:hover:not(:disabled):not([aria-disabled="true"]) { border-color: var(--b2-color-text); }
.b2-size[aria-checked="true"],
.b2-size[aria-pressed="true"] { border-color: var(--b2-color-brand); background: var(--b2-color-brand); color: var(--b2-color-on-brand); }
.b2-size:disabled,
.b2-size[aria-disabled="true"] {
  color: var(--b2-color-text-muted);
  background: var(--b2-color-bg-alt) linear-gradient(to top right, transparent calc(50% - 0.5px), var(--b2-color-border-strong) 50%, transparent calc(50% + 0.5px));
  cursor: not-allowed;
}
.b2-size--sm { min-width: 2.5rem; height: 2.5rem; padding: 0 var(--b2-space-2); font-size: var(--b2-font-size-xs); }

/* Kart içi hızlı beden seçimi: görselin alt kısmına açılır, kart yerleşimini değiştirmez */
.b2-quick {
  position: absolute;
  left: var(--b2-space-2);
  right: var(--b2-space-2);
  bottom: var(--b2-space-2);
  z-index: 3;
  padding: var(--b2-space-3);
  border-radius: var(--b2-radius-md);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--b2-shadow-md);
  animation: b2-quick-in var(--b2-motion-base) var(--b2-motion-ease);
}
@keyframes b2-quick-in { from { opacity: 0; transform: translateY(6px); } }
.b2-quick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--b2-space-2); }
.b2-quick__title { font-size: var(--b2-font-size-xs); font-weight: var(--b2-font-weight-semibold); }
.b2-quick__title span { color: var(--b2-color-text-muted); font-weight: var(--b2-font-weight-regular); }
.b2-quick__close { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin: -0.375rem -0.375rem -0.375rem 0; border-radius: var(--b2-radius-pill); }
.b2-quick__close:hover { background: var(--b2-color-bg-alt); }
.b2-quick__close .b2-icon { width: 1rem; height: 1rem; }
.b2-quick__sizes { display: flex; flex-wrap: wrap; gap: var(--b2-space-1); }

/* --------------------------------------------------------------------- Toast */
.b2-toast {
  position: fixed;
  left: 50%;
  bottom: var(--b2-space-5);
  z-index: var(--b2-z-toast);
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: var(--b2-space-3) var(--b2-space-4);
  border-radius: var(--b2-radius-md);
  background: var(--b2-color-text);
  color: var(--b2-color-bg);
  font-size: var(--b2-font-size-sm);
  box-shadow: var(--b2-shadow-md);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity var(--b2-motion-base) var(--b2-motion-ease), transform var(--b2-motion-base) var(--b2-motion-ease);
}
.b2-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
