/* Huzur – bileşen stilleri (TPL-012 / TPL-013, design/huzur/ANALIZ.md). Yalnız token değişkenleri; mobil öncelikli. */

/* Ortak yardımcılar: el yazısı, yumuşak (bej) düğme */
.handwritten { font-family: var(--font-accent); font-weight: 400; line-height: 1.1; color: var(--color-primary); }
.button--soft { background: var(--color-button-secondary-bg); border-color: var(--color-button-secondary-bg); color: var(--color-heading); }
.button--soft:hover { background: var(--color-button-secondary-hover); border-color: var(--color-button-secondary-hover); color: var(--color-heading); }
.button:hover { background: var(--color-heading); border-color: var(--color-heading); color: var(--color-on-primary); }
.button--soft:hover { color: var(--color-heading); }
.button--small { min-height: 2.75rem; padding: 0.625rem 1.125rem; font-size: 0.75rem; }
.link-arrow { font-size: 0.8125rem; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* Duyuru barı (ince şerit; mesajlar iki yanda) */
.announcement { background: var(--color-announcement-bg); color: var(--color-announcement-text); font-size: 0.75rem; }
.announcement__inner { display: flex; align-items: center; gap: 1rem; min-height: 2.25rem; }
.announcement__messages { position: relative; flex: 1; min-width: 0; }
.announcement__track { display: flex; }
.announcement--large .announcement__track > * { flex: 0 0 100%; }
.announcement__message { display: flex; align-items: center; gap: 0.5rem; }
.announcement--small .announcement__message:not(:first-child) { display: none; }
.announcement__text { font-weight: 500; line-height: 1.3; }
.announcement__highlight { font-weight: 600; }
.announcement__cta { display: inline-flex; align-items: center; gap: 0.25rem; min-height: 2.25rem; color: inherit; font-weight: 600; text-decoration: none; }
.announcement__cta:hover { text-decoration: underline; }
.announcement__cta-label { display: none; }
.announcement__localization { display: none; }
/* Dönen mesajda yalnız duraklat düğmesi (WCAG 2.2.2; island yalnız autoplay + reduced-motion kapalıyken üretir). */
.announcement .slider__controls { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; align-items: center; margin: 0; }
.announcement__messages:has(.slider__pause) .announcement__track { padding-inline: 2.5rem; }
.announcement .slider__pause { display: grid; place-items: center; width: 2.5rem; min-width: 0; height: 2.25rem; min-height: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: 0.875rem; }
.announcement .localization__summary { min-height: 2.25rem; font-size: 0.75rem; font-weight: 500; }
@media (min-width: 768px) {
  .announcement--small .announcement__track { justify-content: space-between; gap: 2rem; }
  .announcement--small .announcement__message:not(:first-child) { display: flex; color: var(--color-text-muted); }
  .announcement--large .announcement__message { justify-content: center; }
  .announcement__cta-label { display: inline; }
  .announcement__localization { display: block; padding-left: 1rem; border-left: 1px solid var(--color-border); }
}
/* Dil / para birimi */
.localization { display: flex; align-items: center; gap: 0.75rem; font-size: var(--text-small); }
.localization--single { display: none; }
.localization__group { position: relative; }
.localization__summary { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; padding-inline: 0.25rem; font-weight: 600; }
.localization__list { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 10rem; padding: 0.5rem 0; background: var(--color-background); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.localization--drawer .localization__list { position: static; border: 0; padding: 0; }
.localization__option { display: block; padding: 0.5rem 1rem; text-decoration: none; }
.localization__option:hover, .localization__option[aria-current] { background: var(--color-surface); font-weight: 600; }
.localization__currency { font-weight: 600; }

/* Header */
.header { position: relative; z-index: 20; background: var(--color-background); border-bottom: 1px solid var(--color-border); }
.header--sticky { position: sticky; top: 0; }
[data-section-type='header']:has(.header--sticky) { position: sticky; top: 0; z-index: 20; }
[data-section-type='header']:has(.header--overlay) { position: sticky; top: 0; z-index: 20; height: 0; }
.header--overlay { position: absolute; inset-inline: 0; top: 0; background: transparent; border-bottom-color: transparent; }
.header--overlay.header--text-light { --color-heading: var(--color-on-dark); --color-text: var(--color-on-dark); color: var(--color-on-dark); }
.header__menu-badge { margin-inline-start: 0.375rem; padding: 0.0625rem 0.375rem; border-radius: 999px; background: var(--color-primary); color: var(--color-on-primary); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.4; }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.25rem; min-height: var(--header-height); }
.header__logo { display: inline-flex; align-items: center; justify-self: center; color: var(--color-heading); text-decoration: none; }
.header__logo-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.header__logo-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-right: -0.22em; }
.header__logo-tagline { margin-top: 0.3rem; font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-text-muted); margin-right: -0.32em; }
.header__logo-image { max-height: 3rem; width: auto; }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; }
.header__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: var(--color-heading); text-decoration: none; }
.header__icon:hover { color: var(--color-primary); }
.header__account, .header__wishlist, .header__localization { display: none; }
.header__cart { position: relative; }
.header .cart-drawer-root .cart-drawer__count { position: absolute; top: 0.3rem; right: 0.2rem; display: grid; place-items: center; min-width: 1.05rem; height: 1.05rem; padding: 0 0.25rem; border-radius: 999px; background: var(--color-primary); color: var(--color-on-primary); font-size: 0.625rem; font-weight: 600; }
.header__search-panel { position: absolute; left: 0; right: 0; top: 100%; padding-block: 1rem; background: var(--color-background); border-bottom: 1px solid var(--color-border); }
@media (min-width: 1024px) {
  .header__inner { gap: 2rem; min-height: 5.5rem; }
  .header__logo { justify-self: start; }
  .header__logo-text { align-items: flex-start; }
  .header__logo-name { font-size: 1.5rem; }
  .mobile-menu { display: none; }
  .header__nav { display: block; justify-self: center; }
  .header__account, .header__wishlist, .header__localization { display: inline-flex; }
  .header--logo_center .header__inner { grid-template-columns: 1fr auto 1fr; }
  .header--logo_center .header__logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .header--logo_center .header__logo-text { align-items: center; }
  .header--logo_center .header__nav { grid-column: 1 / -1; grid-row: 2; padding-bottom: 0.75rem; }
}
.header__menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.header__menu-item { position: static; }
.header__menu-link { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 2.75rem; font-size: 0.875rem; font-weight: 500; color: var(--color-heading); text-decoration: none; }
.header__menu-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform 0.2s ease; }
.header__menu-link:hover::before, .header__menu-link--active::before { transform: scaleX(1); }
/* Mega menü */
.mega-menu { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; background: var(--color-background); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.header__menu-item--parent:hover > .mega-menu, .header__menu-item--parent:focus-within > .mega-menu { visibility: visible; opacity: 1; transform: none; }
.mega-menu__inner { display: grid; gap: 1.5rem; padding-block: 2rem; }
.mega-menu__columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.5rem 2rem; }
.mega-menu__heading { display: inline-block; margin-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-heading); text-decoration: none; border-bottom: 2px solid var(--color-accent); }
.mega-menu__list { display: grid; gap: 0.25rem; }
.mega-menu__link { display: inline-block; padding-block: 0.25rem; font-size: 0.875rem; color: var(--color-text); text-decoration: none; }
.mega-menu__link:hover, .mega-menu__heading:hover { text-decoration: underline; }
.mega-menu__all { justify-self: start; color: var(--color-heading); }

/* Mobil menü (details/summary: klavye ve ekran okuyucu yerel desteği) */
.mobile-menu__toggle { position: relative; z-index: 41; }
.mobile-menu__icon, .mobile-menu__icon::before, .mobile-menu__icon::after { display: block; width: 1.25rem; height: 1.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.mobile-menu__icon { position: relative; }
.mobile-menu__icon::before, .mobile-menu__icon::after { content: ''; position: absolute; left: 0; }
.mobile-menu__icon::before { top: -0.375rem; }
.mobile-menu__icon::after { top: 0.375rem; }
.mobile-menu[open] .mobile-menu__icon { background: transparent; }
.mobile-menu[open] .mobile-menu__icon::before { transform: translateY(0.375rem) rotate(45deg); }
.mobile-menu[open] .mobile-menu__icon::after { transform: translateY(-0.375rem) rotate(-45deg); }
.mobile-menu[open]::before { content: ''; position: fixed; inset: 0; z-index: 39; background: var(--color-overlay); }
.mobile-menu__panel { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: min(86vw, 24rem); display: flex; flex-direction: column; gap: 1rem; padding: 4.5rem 1.25rem 1.5rem; overflow-y: auto; background: var(--color-background); }
.mobile-menu__search { display: flex; gap: 0.5rem; }
.mobile-menu__search-button { flex: none; width: 2.75rem; border: 1px solid var(--color-primary); border-radius: var(--radius-button); background: var(--color-primary); color: var(--color-on-primary); display: grid; place-items: center; }
.mobile-menu__list { display: grid; border-top: 1px solid var(--color-border); }
.mobile-menu__item { border-bottom: 1px solid var(--color-border); }
.mobile-menu__link { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; font-weight: 600; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--color-heading); text-decoration: none; }
.mobile-menu__link--parent::after, .header__menu-item--parent > .header__menu-link::after { content: ''; width: 0.4rem; height: 0.4rem; margin-left: 0.375rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform 0.15s ease; }
.mobile-menu__sub[open] > summary::after { transform: translateY(15%) rotate(-135deg); }
.mega-menu__all::after { content: '\2192'; }
.mobile-menu__sublist { display: grid; padding: 0 0 0.75rem 0.75rem; }
.mobile-menu__sublink { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.mobile-menu__sublink--all { font-weight: 600; }
.mobile-menu__account { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
.mobile-menu .localization { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); flex-wrap: wrap; }

/* Mega menü + mobil çekmece: Huzur tonları (bej panel, büyük harf yok) */
.mega-menu { background: var(--color-surface-alt); border-top-color: transparent; border-bottom: 0; }
.mega-menu__heading { font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: 0; border-bottom: 0; }
.mobile-menu__panel { background: var(--color-surface); }
.mobile-menu__link { font-size: 1.125rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.mobile-menu__shortcuts { display: grid; gap: 0.25rem; }
.mobile-menu__search-button:hover { background: var(--color-heading); }

/* Footer (açık zemin) */
.footer { background: var(--color-footer-bg); color: var(--color-footer-text); font-size: 0.875rem; border-top: 1px solid var(--color-footer-line); }
.footer__inner { padding-block: 3rem 1.5rem; }
.footer__grid { display: grid; gap: 0 3rem; }
.footer__col--brand { padding-bottom: 1.5rem; }
.footer__logo { display: inline-flex; color: var(--color-footer-text); text-decoration: none; }
.footer__logo-name { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.footer__text { margin-top: 1rem; max-width: 18rem; color: var(--color-footer-muted); line-height: 1.6; }
.footer__heading { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; font-size: 0.875rem; font-weight: 600; }
.footer__col[open] > .footer__heading .icon { transform: rotate(180deg); }
.footer__col--menu, .footer__col--contact { border-bottom: 1px solid var(--color-footer-line); }
.footer__list { display: grid; gap: 0.25rem; padding-bottom: 1rem; }
.footer__list--contact li { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--color-footer-muted); }
.footer__link { display: inline-block; padding-block: 0.125rem; color: var(--color-footer-muted); text-decoration: none; }
.footer__link:hover { color: var(--color-footer-text); text-decoration: underline; }
.footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-footer-line); }
.footer__copyright { color: var(--color-footer-muted); font-size: 0.75rem; text-align: center; }
.footer__payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.footer__payment { padding: 0.25rem 0.625rem; border: 1px solid var(--color-footer-line); border-radius: var(--radius-button); background: var(--color-background); color: var(--color-heading); font-size: 0.6875rem; font-weight: 600; }
.social-links { display: flex; gap: 0.25rem; margin-top: 1.25rem; margin-left: -0.6rem; }
.social-links__link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--color-footer-text); }
.social-links__link:hover { color: var(--color-primary); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--menu, .footer__col--contact { border-bottom: 0; }
  .footer__heading { pointer-events: none; min-height: 0; margin-bottom: 1rem; }
  .footer__heading .icon { display: none; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer__inner { padding-block: 4rem 2rem; }
  .footer__grid { grid-template-columns: 2fr repeat(var(--footer-cols, 3), 1fr); }
  .footer__grid:has(.footer__col--contact) { --footer-cols: 4; }
}

/* Section başlığı: eyebrow + başlık solda, "tümünü gör" sağda */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.section-heading__title { font-size: calc(var(--text-h2) * var(--heading-scale)); font-weight: 400; }
.section-heading__eyebrow { margin-bottom: 0.5rem; }
.section-heading__link { flex: none; min-height: 2.75rem; color: var(--color-heading); }
html[data-heading-align='center'] .section-heading { flex-direction: column; align-items: center; text-align: center; }
/* Fiyat, rozet, puan */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.625rem; }
.price__current { font-size: 1.125rem; font-weight: 700; color: var(--color-heading); }
.price__compare { font-size: 0.875rem; color: var(--color-text-muted); }
.price__lowest, .price__installment { margin-top: 0.125rem; font-size: 0.75rem; color: var(--color-text-muted); line-height: 1.4; }
.price__installment--blocked { color: var(--color-error); }
.product-card__badge { position: absolute; top: 0.625rem; right: 0.625rem; z-index: 2; pointer-events: none; }
.rating { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--color-text-muted); }
.rating__stars { --rating: 0%; font-size: 0.9375rem; letter-spacing: 0.0625rem; line-height: 1; }
.rating__stars::before { content: '\2605\2605\2605\2605\2605'; background: linear-gradient(90deg, var(--color-rating) var(--rating), var(--color-border) var(--rating)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating__stars--10 { --rating: 10%; } .rating__stars--20 { --rating: 20%; } .rating__stars--30 { --rating: 30%; } .rating__stars--40 { --rating: 40%; }
.rating__stars--50 { --rating: 50%; } .rating__stars--60 { --rating: 60%; } .rating__stars--70 { --rating: 70%; } .rating__stars--80 { --rating: 80%; }
.rating__stars--90 { --rating: 90%; } .rating__stars--100 { --rating: 100%; }
.price__current { font-size: 0.9375rem; font-weight: 600; }
.price--sale .price__current { color: var(--color-sale); }
.rating__stars { font-size: 0.875rem; letter-spacing: 0.08rem; }
.badge { border-radius: var(--radius-button); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.5rem; }
.badge--new { background: var(--color-primary); }

/* Ürün kartı: beyaz kart, 4:3 açık zemin görsel, sağ üstte kalp, bej "sepete ekle" */
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-background); overflow: hidden; transition: box-shadow 0.2s ease; }
.product-card:hover { box-shadow: var(--shadow-soft); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--color-image-bg); overflow: hidden; }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__image { transform: scale(1.03); }
.product-card--soldout .product-card__image { opacity: 0.55; }
.product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; right: auto; z-index: 2; pointer-events: none; }
.product-card__wishlist { position: absolute; top: 0.25rem; right: 0.25rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--color-heading); }
.product-card__wishlist:hover { color: var(--color-primary); }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.25rem; padding: 0.875rem 0.875rem 1rem; }
.product-card__vendor { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; line-height: 1.35; color: var(--color-heading); }
.product-card__link { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card__link:focus-visible { box-shadow: none; }
.product-card:has(.product-card__link:focus-visible) { box-shadow: var(--focus-ring); }
.product-card__action { position: relative; z-index: 2; margin-top: auto; width: 100%; }
.product-card .rating { margin-bottom: 0.25rem; }
.product-card .price__lowest { font-size: 0.6875rem; }
.product-card__body > .price:last-child, .product-card__body > .rating:last-child { margin-bottom: 0; }
.product-card__body .product-card__action { margin-top: auto; }
/* Dalga 61: karttan sepete ekle — yükleniyor / hata / stoksuz (pasif) durumları. */
.product-card__action.is-loading { cursor: progress; opacity: 0.7; }
.product-card__action.is-error { border-color: var(--color-error); color: var(--color-error); background: var(--color-background); }
.product-card__action[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; }
.product-card__body > :nth-last-child(2) { margin-bottom: 0.75rem; }
@media (min-width: 768px) { .product-card__body { padding: 1rem 1.25rem 1.25rem; } .product-card__title { font-size: 0.9375rem; } }

/* Hero: tam genişlik oda görseli, solda metin + istatistikler, görsel üstünde el yazısı not, sağ altta sayaç + oklar */
.hero { position: relative; background: var(--color-surface); }
.hero__stage { position: relative; overflow: hidden; }
.hero__track { gap: 0; }
.hero__track > .hero__slide { flex: 0 0 100%; }
.hero__slide { position: relative; display: flex; flex-direction: column; }
.hero__media { position: relative; aspect-ratio: 4 / 3; background: var(--color-surface-alt); }
.hero__image, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { display: grid; place-items: center; height: 100%; color: var(--color-accent-text); }
.hero__note { position: absolute; top: 1rem; right: 1rem; max-width: 9rem; font-size: 1.375rem; text-align: center; transform: rotate(-6deg); pointer-events: none; }
.hero__content { padding-block: 1.75rem 2rem; }
.hero__text { display: flex; flex-direction: column; gap: 1rem; max-width: 33rem; }
.hero__eyebrow { max-width: 16rem; line-height: 1.8; }
.hero__heading { font-size: calc(var(--text-h1) * var(--heading-scale)); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
.hero__description { max-width: 26rem; color: var(--color-text); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1rem 0; margin-top: 1rem; }
.hero__stat { display: flex; flex-direction: column; padding-inline: 1rem; line-height: 1.25; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat + .hero__stat { border-left: 1px solid var(--color-border); }
.hero__stat-value { font-size: var(--text-stat); font-weight: 600; color: var(--color-heading); }
.hero__stat-label { font-size: 0.75rem; color: var(--color-text-muted); }
.hero__counter { position: absolute; left: 0; right: 0; top: calc(75vw - 3.25rem); display: flex; justify-content: flex-end; padding-right: calc(var(--gutter) + 6.5rem); font-size: 1rem; color: var(--color-on-dark); pointer-events: none; }
.hero__counter-current { margin-right: 0.25rem; font-weight: 600; }
.hero__counter { text-shadow: 0 1px 3px var(--color-dark-overlay); }
.hero__slide--right .hero__text { margin-inline-start: auto; }
.hero__slide--center .hero__text { margin-inline: auto; align-items: center; text-align: center; }
.hero__badge { position: absolute; top: 1rem; left: var(--gutter); pointer-events: none; }
.hero__badge-circle { display: grid; place-content: center; width: 6rem; height: 6rem; border-radius: 50%; background: var(--color-background); color: var(--color-heading); text-align: center; line-height: 1.1; }
.hero__badge-top, .hero__badge-bottom { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__badge-value { font-family: var(--font-accent); font-size: 1.75rem; color: var(--color-primary); }
.hero .slider__controls { position: absolute; right: var(--gutter); top: calc(75vw - 3.75rem); display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.hero .slider__pagination { display: flex; gap: 0.375rem; }
.hero .slider__arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; min-width: 0; min-height: 0; padding: 0; border: 1px solid var(--color-background); border-radius: 50%; background: transparent; color: var(--color-on-dark); font-size: 1.25rem; line-height: 1; }
.hero .slider__arrow--next { background: var(--color-background); color: var(--color-heading); }
.hero .slider__arrow:hover { background: var(--color-background); color: var(--color-primary); }
.hero .slider__pause { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--color-background); color: var(--color-heading); }

/* Güven şeridi (hero `feature` block'ları) */
.hero__features { background: var(--color-surface-alt); }
.hero__feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; padding-block: 1.25rem; }
.hero__feature { display: flex; align-items: center; gap: 0.75rem; }
.hero__feature-icon { flex: none; color: var(--color-heading); }
.hero__feature-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero__feature-title { font-size: 0.8125rem; font-weight: 600; color: var(--color-heading); }
.hero__feature-sub { font-size: 0.75rem; color: var(--color-text-muted); }
@media (min-width: 768px) {
  .hero__note { top: 1.5rem; right: 2rem; font-size: 1.75rem; }
  .hero__feature-list { grid-template-columns: repeat(var(--feature-cols, 4), minmax(0, 1fr)); padding-block: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero__slide { display: block; min-height: clamp(32rem, 42vw, 38rem); }
  .hero--small .hero__slide { min-height: 26rem; }
  .hero--medium .hero__slide { min-height: 30rem; }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-hero-fade) 0%, var(--color-hero-fade) 24%, var(--color-hero-fade-end) 58%); pointer-events: none; }
  .hero__slide--right .hero__media::after { transform: scaleX(-1); }
  .hero__slide--center .hero__media::after { background: var(--color-hero-fade-center); }
  .hero__note { top: 3.5rem; right: 5%; max-width: 11rem; font-size: 2.25rem; z-index: 1; }
  .hero__content { position: relative; display: flex; align-items: center; min-height: inherit; padding-block: 4rem; }
  .hero__text { gap: 1.25rem; }
  .hero__buttons { margin-top: 0.75rem; }
  .hero__stats { margin-top: 2rem; }
  .hero__stat { padding-inline: 1.5rem; }
  .hero__counter { top: auto; bottom: 5.75rem; padding-right: var(--gutter); font-size: 1.375rem; }
  .hero .slider__controls { top: auto; bottom: 2rem; }
  .hero__badge { top: auto; bottom: 2rem; left: auto; right: calc(var(--gutter) + 8rem); }
  .hero__badge-circle { width: 8rem; height: 8rem; }
}
.hero--shape-curve .hero__stage { border-bottom-left-radius: 50% 2.5rem; border-bottom-right-radius: 50% 2.5rem; }

/* Kategori kartları: açık zemin daireler (mobil yatay kaydırma) */
.category-cards__list { display: grid; grid-auto-flow: column; grid-auto-columns: 5.75rem; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.category-cards__item { scroll-snap-align: start; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; height: 100%; color: var(--color-heading); text-align: center; text-decoration: none; }
.category-card__media { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: var(--radius-card); background: var(--color-image-bg); color: var(--color-accent-text); overflow: hidden; }
.category-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover .category-card__image { transform: scale(1.05); }
.category-card__title { font-size: 0.8125rem; font-weight: 500; line-height: 1.3; }
.category-card:hover .category-card__title { text-decoration: underline; text-underline-offset: 0.25em; }
.category-card__count { font-size: 0.75rem; color: var(--color-text-muted); }
.category-cards--circle .category-card__media, .category-cards--circle_tile .category-card__media { border-radius: 50%; }
.category-cards--circle_tile .category-card { padding: 0.75rem; border-radius: var(--radius-card); background: var(--color-surface); }
@media (min-width: 768px) { .category-cards__list { grid-auto-columns: calc((100% - 5 * 1.25rem) / 6); gap: 1.25rem; } }
@media (min-width: 1280px) {
  .category-cards__list { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(var(--category-columns, 8), minmax(0, 1fr)); gap: 1.5rem; overflow: visible; }
  .category-cards--cols-4 { --category-columns: 4; } .category-cards--cols-5 { --category-columns: 5; } .category-cards--cols-6 { --category-columns: 6; }
  .category-cards--cols-7 { --category-columns: 7; } .category-cards--cols-8 { --category-columns: 8; }
  .category-card__title { font-size: 0.875rem; }
}
/* Ürün slider'ı */
.product-slider__viewport { position: relative; }
.product-slider__track { --slider-gap: 0.75rem; padding-bottom: 0.25rem; }
.product-slider__track > .product-slider__item { flex: 0 0 calc((100% - var(--slider-gap)) / 2.15); }
@media (min-width: 768px) { .product-slider__track > .product-slider__item { flex-basis: calc((100% - 2 * var(--slider-gap)) / 3); } }
@media (min-width: 1280px) {
  .product-slider__track { --slider-gap: 1rem; }
  .product-slider__viewport--cols-3 .product-slider__item { flex-basis: calc((100% - 2 * var(--slider-gap)) / 3); }
  .product-slider__viewport--cols-4 .product-slider__item { flex-basis: calc((100% - 3 * var(--slider-gap)) / 4); }
  .product-slider__viewport--cols-5 .product-slider__item { flex-basis: calc((100% - 4 * var(--slider-gap)) / 5); }
  .product-slider__viewport--cols-6 .product-slider__item { flex-basis: calc((100% - 5 * var(--slider-gap)) / 6); }
}

.product-slider .slider__controls { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
.product-slider .slider__controls > * { pointer-events: auto; }
.product-slider .slider__arrow { position: absolute; top: 40%; display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-background); color: var(--color-heading); font-size: 1.25rem; }
.product-slider .slider__arrow--prev { left: -1.375rem; } .product-slider .slider__arrow--next { right: -1.375rem; }
@media (min-width: 1024px) { .product-slider .slider__arrow { display: grid; place-items: center; } }

/* Kampanya kartları: 2'li bölünmüş kart (metin solda, görsel sağda) */
.campaign-banner__list { display: grid; gap: var(--grid-gap); }
@media (min-width: 768px) {
  .campaign-banner--cols-2 .campaign-banner__list, .campaign-banner--cols-4 .campaign-banner__list { grid-template-columns: repeat(2, 1fr); }
  .campaign-banner--cols-3 .campaign-banner__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) { .campaign-banner--cols-4 .campaign-banner__list { grid-template-columns: repeat(4, 1fr); } }
.campaign-tile { --tile-bg: var(--color-surface-alt); --tile-fg: var(--color-heading); --tile-muted: var(--color-text); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 12rem; border-radius: var(--radius-card); background: var(--tile-bg); color: var(--tile-fg); overflow: hidden; }
.campaign-tile--primary { --tile-bg: var(--color-primary); --tile-fg: var(--color-on-primary); --tile-muted: var(--color-on-primary); }
.campaign-tile--accent { --tile-bg: var(--color-accent); --tile-fg: var(--color-on-accent); --tile-muted: var(--color-on-accent); }
.campaign-tile--surface { --tile-bg: var(--color-surface-alt); }
.campaign-tile--dark { --tile-bg: #1f2937; --tile-fg: #ffffff; --tile-muted: #ffffff; }
.campaign-tile--cream { --tile-bg: #f7f1e3; --tile-fg: #3b2f1e; --tile-muted: #3b2f1e; }
.campaign-tile--pink { --tile-bg: #f9c6d4; --tile-fg: #4a1d2b; --tile-muted: #4a1d2b; }
.campaign-tile--blue { --tile-bg: #1d4ed8; --tile-fg: #ffffff; --tile-muted: #ffffff; }
.campaign-tile--green { --tile-bg: #15803d; --tile-fg: #ffffff; --tile-muted: #ffffff; }
.campaign-tile--orange { --tile-bg: #fdba74; --tile-fg: #3b1d02; --tile-muted: #3b1d02; }
.campaign-tile--red { --tile-bg: #b91c1c; --tile-fg: #ffffff; --tile-muted: #ffffff; }
.campaign-tile--teal { --tile-bg: #0f766e; --tile-fg: #ffffff; --tile-muted: #ffffff; }
.campaign-tile--yellow { --tile-bg: #fde047; --tile-fg: #3b3000; --tile-muted: #3b3000; }
.campaign-tile__image { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.campaign-tile__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 1.5rem 0 0 1.5rem; border-radius: 50%; background: var(--color-background); color: var(--color-heading); }
.campaign-tile__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; padding: 1.5rem; }
.campaign-tile__eyebrow { color: var(--tile-fg); opacity: 0.9; }
.campaign-tile--surface .campaign-tile__eyebrow { color: var(--color-accent-text); opacity: 1; }
.campaign-tile__heading { font-size: calc(var(--text-h3) * var(--heading-scale)); font-weight: 400; line-height: 1.2; color: var(--tile-fg); }
.campaign-tile__text { max-width: 20rem; font-size: 0.875rem; color: var(--tile-muted); }
.campaign-tile__link { margin-top: 0.5rem; }
.campaign-tile--primary .campaign-tile__link { background: var(--color-background); border-color: var(--color-background); color: var(--color-heading); }
.campaign-tile--image-background .campaign-tile__image { position: absolute; inset: 0; aspect-ratio: auto; }
.campaign-tile--image-background .campaign-tile__body { margin: 1rem; max-width: 22rem; border-radius: var(--radius-card); background: var(--color-background); }
@media (min-width: 640px) {
  .campaign-tile--image-left, .campaign-tile--image-right { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .campaign-tile--image-right .campaign-tile__image { order: 2; }
  .campaign-tile__image { aspect-ratio: auto; min-height: 14rem; }
  .campaign-tile__body { justify-content: center; padding: 1.75rem clamp(1.25rem, 2.6vw, 2.25rem); }
}

/* Bülten: kenardan kenara bej şerit + el yazısı not */
.newsletter--band { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); background: var(--color-surface-alt); }
.newsletter__panel { display: grid; gap: 2rem; align-items: center; }
.newsletter__heading { font-size: calc(var(--text-h2) * var(--heading-scale)); font-weight: 400; }
.newsletter__text { margin-block: 0.5rem 1.25rem; color: var(--color-text-muted); }
.newsletter__field { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 36rem; }
.newsletter__input { flex: 1 1 14rem; min-width: 0; min-height: 3rem; padding: 0.75rem 1rem; border: 1px solid var(--color-background); border-radius: var(--radius-button); background: var(--color-background); color: var(--color-text); }
.newsletter__input:focus { outline: none; border-color: var(--color-primary); }
.newsletter__button { min-height: 3rem; }
.newsletter__consent { display: flex; gap: 0.5rem; align-items: flex-start; max-width: 36rem; margin-top: 0.875rem; font-size: 0.75rem; color: var(--color-text-muted); }
.newsletter__consent input { margin-top: 0.15rem; accent-color: var(--color-primary); }
.newsletter__note { display: flex; align-items: center; gap: 1rem; color: var(--color-primary); }
.newsletter__note-icon { flex: none; color: var(--color-accent-text); }
.newsletter__note-text { display: flex; flex-direction: column; gap: 0.25rem; }
.newsletter__note-title { font-size: 1.75rem; transform: rotate(-3deg); transform-origin: left; }
.newsletter__note-sub { font-size: 0.8125rem; color: var(--color-text-muted); }
@media (min-width: 990px) {
  .newsletter--inline .newsletter__panel { grid-template-columns: 1.6fr 1fr; gap: 4rem; }
  .newsletter__note { justify-content: center; }
  .newsletter__note-icon .icon { width: 4.5rem; height: 4.5rem; }
  .newsletter__note-title { font-size: 2.25rem; max-width: 18rem; }
}

/* Ana içerik sayfaları (temel düzen) */
/* Ana içerik sayfaları (TPL-006…009 tamamlayana dek temel düzen) */
.main-product { display: grid; gap: 2rem; padding-block: 2rem 3rem; }
.main-product__media { border-radius: var(--radius-card); background: var(--color-surface); overflow: hidden; }
.main-product__image { width: 100%; aspect-ratio: 1; object-fit: cover; }
.main-product__placeholder { display: grid; place-items: center; aspect-ratio: 1; color: var(--color-text-muted); }
.main-product__info { display: flex; flex-direction: column; gap: 1rem; }
.main-product__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.main-product .price__current { font-size: 1.5rem; }
.main-product__wishlist { align-self: flex-start; }
@media (min-width: 990px) { .main-product { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 3rem 4rem; } }
.main-collection, .main-search, .main-content { padding-block: 2rem 3.5rem; }
.main-collection__header { margin-bottom: 1rem; }
.main-collection__description { margin-top: 0.5rem; max-width: 48rem; color: var(--color-text-muted); }
/* TPL-035 küçük dokunma hedefleri (≥ 24px) */
.announcement__cta { min-width: 1.5rem; justify-content: center; }
.search-autocomplete button[type='submit'] { min-width: 2.75rem; min-height: 2.75rem; }

/* Para birimi seçici (TPL-020): yerel select, header renginde */
.localization__select { min-height: 2.75rem; padding: 0 0.25rem; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.localization__select:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.localization__select option { color: var(--color-text); background: var(--color-background); }

/* Sepet kargo bölümü (SEP-008): ücretsiz kargo çubuğu + kargo tahmini (çekmece ve sepet sayfası) */
.cart-page__shipping { display: grid; gap: 0.5rem; }
.cart-page__free-shipping { display: grid; gap: 0.375rem; padding: 0.75rem; border-radius: var(--radius-card); background: var(--color-surface); }
.cart-page__free-shipping-text { margin: 0; font-size: var(--text-small); font-weight: 600; color: var(--color-heading); }
.cart-page__free-shipping-progress { width: 100%; height: 0.5rem; border: 0; border-radius: 999px; overflow: hidden; accent-color: var(--color-primary); background: var(--color-border); }
.cart-page__free-shipping-progress::-webkit-progress-bar { background: var(--color-border); }
.cart-page__free-shipping-progress::-webkit-progress-value { background: var(--color-primary); }
.cart-page__free-shipping-progress::-moz-progress-bar { background: var(--color-primary); }
.cart-page__shipping-estimate { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }

/* Çoklu ürün rozeti (dalga 57, KMP-013): kartta en çok 3 rozet alt alta; renkler tema token'larından, özel etiket mağazanın renkleri (`--badge-bg` / `--badge-fg`). */
.product-card__badges { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; max-width: calc(100% - 3.5rem); }
/* Dalga 61: rozetler sol üstte — sağ üstteki favori düğmesiyle çakışmaz. */
.product-card__badges--start { left: 0.75rem; right: auto; }
.product-card__badges .badge { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.badge--flash { background: var(--color-heading); color: var(--color-background); }
.badge--campaign { background: var(--color-accent); color: var(--color-on-accent); }
.badge--free-shipping { background: var(--color-background); color: var(--color-success); box-shadow: inset 0 0 0 1px currentColor; }
.badge--bestseller { background: var(--color-surface-alt); color: var(--color-heading); }
.badge--custom { background: var(--badge-bg, var(--color-surface-alt)); color: var(--badge-fg, var(--color-heading)); }

/* Dalga 58: mega menü — klavye / dokunmatik durumları (disclosure island: `is-open` zorla açık, `is-closed` Esc ile
   kapalı), görsel kart (menü öğesinin görseli + açıklaması), sade açılır liste (`mega_menu` kapalı); mobil çekmecede
   3. seviye akordeon. */
.header__menu-item--parent.is-open > .mega-menu { visibility: visible; opacity: 1; transform: none; transition: none; }
.header__menu-item--parent.is-closed > .mega-menu { visibility: hidden; opacity: 0; transform: translateY(-4px); }
.mega-menu--with-card .mega-menu__inner { grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem); align-items: start; }
.mega-menu--with-card .mega-menu__all { grid-column: 1 / -1; }
.mega-menu__card { display: grid; gap: 0.5rem; color: inherit; text-decoration: none; }
.mega-menu__card-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card, 0); background: var(--color-surface-alt, var(--color-surface)); }
.mega-menu__card-title { font-weight: 700; color: var(--color-heading); }
.mega-menu__card-text { font-size: 0.875rem; color: var(--color-text-muted, var(--color-text)); }
.mega-menu__card:hover .mega-menu__card-title, .mega-menu__card:focus-visible .mega-menu__card-title { text-decoration: underline; }
.mega-menu--simple { left: auto; right: auto; min-width: 15rem; }
.mega-menu--simple .mega-menu__inner { gap: 0.75rem; width: auto; padding: 1rem 1.25rem; }
.mega-menu--simple .mega-menu__columns { grid-template-columns: 1fr; gap: 0.125rem; }
.mega-menu--simple .mega-menu__heading { margin: 0; padding-block: 0.375rem; font-size: 0.9375rem; font-weight: 500; text-transform: none; letter-spacing: 0; border: 0; }
.mega-menu--simple .mega-menu__heading::before { content: none; }
.mega-menu--simple .mega-menu__list { display: none; }
.mobile-menu__subitem { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.mobile-menu__expand { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: none; color: inherit; cursor: pointer; }
.mobile-menu__expand::after { content: ''; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform 0.15s ease; }
.mobile-menu__expand[aria-expanded='true']::after { transform: translateY(15%) rotate(-135deg); }
.mobile-menu__sublist--nested { grid-column: 1 / -1; padding: 0 0 0.25rem 0.75rem; }

/* Dalga 70 — mobil menüde kategori / ürün görselleri (`link.thumbnail`) ve mega menü kolon görselleri. */
.mobile-menu__link:has(.mobile-menu__thumb) { justify-content: flex-start; gap: 0.75rem; }
.mobile-menu__link:has(.mobile-menu__thumb)::after { margin-inline-start: auto; }
.mobile-menu__thumb { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; background: var(--color-surface); }
.mobile-menu__sublink--thumb { gap: 0.625rem; }
.mobile-menu__thumb--sub { width: 2rem; height: 2rem; }
.mega-menu__heading--thumb { display: grid; gap: 0.5rem; }
.mega-menu__thumb { display: block; width: 100%; max-width: 10rem; aspect-ratio: 1; border-radius: var(--radius-card); object-fit: cover; background: var(--color-surface); }

/* ABO-009: ürün kartı abonelik satırı ("Abone ol · En az %X avantaj + kargo bedava"). */
.product-card__action.product-subscription-line { display: block; padding: 0.25rem 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--color-primary, currentColor); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; }
