html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

/* Hatasız doğrulama özeti (asp-validation-summary="All") boş kırmızı kutu olarak görünmesin; hata gelince sınıf değişir ve görünür */
.validation-summary-valid { display: none; }

/* Ödeme sayfası: "Kendi bankanızla ödemek istiyorsanız" kutusu (birden fazla kart sağlayıcısı varken bankalar) */
.card-own-bank {
    margin: .5rem 0 .5rem 1.5rem;
    padding: .6rem .75rem;
    border-left: 4px solid var(--bs-primary);
    border-radius: .375rem;
    background: var(--bs-primary-bg-subtle);
}
@media (max-width: 575.98px) { .card-own-bank { margin-left: 0; } }

/* Ürün sayfası "Teslimat · Ödeme · İade" özeti (_PurchaseInfo) */
.purchase-info { background: var(--bs-tertiary-bg); }
.purchase-info li { display: flex; gap: .4rem; padding: .15rem 0; }
.purchase-info .pi-icon { flex: 0 0 1.25rem; text-align: center; }

/* Ürün sayfası: "Bu üründe kampanyalar" (_ProductCampaigns) */
.pcampaigns { border: 1px solid var(--bs-border-color); border-left: 3px solid var(--brand); border-radius: .5rem; padding: .6rem .75rem; }
.pcampaigns-title { font-size: .9rem; font-weight: 600; margin: 0 0 .35rem; }
.pcampaign { display: flex; align-items: flex-start; gap: .5rem; padding: .3rem 0; }
.pcampaign + .pcampaign { border-top: 1px dashed var(--bs-border-color); }
.pcampaign-icon { flex: 0 0 1.25rem; text-align: center; }
.pcampaign-body { flex: 1 1 auto; min-width: 0; }
.pcampaign-head { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.pcampaign-note { font-size: .8rem; color: var(--bs-secondary-color); }
.pcampaign-link { flex: 0 0 auto; font-size: .8rem; white-space: nowrap; align-self: center; }
.pcampaign-foot { font-size: .75rem; color: var(--bs-secondary-color); margin-top: .25rem; }
@media (max-width: 575.98px) {
    .pcampaign { flex-wrap: wrap; }
    .pcampaign-link { margin-left: 1.75rem; }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Ürün kartı */
.product-card { transition: box-shadow .15s; }
.product-card:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }
.product-card .ratio img { object-fit: contain; }
.product-card .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-placeholder { background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); }

.price-old { text-decoration: line-through; color: var(--bs-secondary-color); font-size: .875em; }
.price-now { font-weight: 600; font-size: 1.1em; }
.waiting { color: var(--bs-warning-text-emphasis); font-weight: 500; }

/* Ürün detayı */
/* Ürün galerisi (js/gallery.js): kaydırmalı şerit; telefonda parmakla + noktalar, masaüstünde küçük resimlerle. Görseller beyaz zeminde. */
.pgallery { position: relative; border: 1px solid var(--bs-border-color); border-radius: .5rem; overflow: hidden; background: #fff; margin-bottom: .5rem; }
.pgallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pgallery-track::-webkit-scrollbar { display: none; }
.pgallery-slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; display: flex; align-items: center; justify-content: center;
    padding: .75rem; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.pgallery-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pgallery-slide:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: -4px; }
.pgallery-zoom { position: absolute; right: .6rem; top: .6rem; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #374151; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); pointer-events: none; }
.pgallery-dots { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); display: flex; gap: 6px; padding: 4px 8px;
    border-radius: 999px; background: rgba(255, 255, 255, .85); pointer-events: none; }
.pgallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: #c4c8ce; transition: background .2s, transform .2s; }
.pgallery-dots span.active { background: #374151; transform: scale(1.15); }
.pgallery-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.pgallery-thumbs button { width: 64px; height: 64px; padding: 3px; border: 1px solid var(--bs-border-color); border-radius: .375rem; background: #fff; cursor: pointer; }
.pgallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pgallery-thumbs button.active { border-color: var(--bs-primary); box-shadow: 0 0 0 1px var(--bs-primary); }
@media (min-width: 768px) {
    .pgallery-track { overflow-x: hidden; } /* masaüstünde küçük resimle seçilir */
    .pgallery-dots { display: none; }
}
@media (max-width: 767.98px) {
    .pgallery-thumbs { display: none; } /* telefonda kaydırma + noktalar */
    .pgallery-zoom { width: 30px; height: 30px; }
}
/* Tam ekran görüntüleyici: sayaç okunaklı */
.pswp__counter { font-size: 15px; }
.description { white-space: pre-line; }

/* ---------- Tema (renk rolleri) ---------- */
:root {
  --brand: #1f4fa3;          /* logo, ana bağlantılar */
  --brand-ink: #ffffff;
  --topbar-bg: #12305f;
  --topbar-ink: #e8eefb;
  --footer-bg: #f3f5f8;
  --surface-muted: #f7f8fa;
}
/* Inter (SIL Open Font License, wwwroot/fonts/inter/LICENSE.txt): değişken yazı tipi, 400–700 tek dosya.
   latin-ext Türkçe harfleri (ğ ş İ) ve ₺ içerir; tarayıcı yalnız gerekli dosyayı indirir (unicode-range). */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter/inter-latin.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 { --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { background: #fff; --bs-link-color-rgb: 31, 79, 163; --bs-link-hover-color-rgb: 18, 48, 95; }
.pre-line { white-space: pre-line; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: #183f84; --bs-btn-hover-border-color: #183f84;
  --bs-btn-active-bg: #12305f; --bs-btn-active-border-color: #12305f; --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-bg: #12305f; --bs-btn-active-border-color: #12305f; }

/* Üst şerit + başlık */
.topbar { background: var(--topbar-bg); color: var(--topbar-ink); }
.topbar a { color: var(--topbar-ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-announcement { font-weight: 600; min-width: 0; }
.site-header { border-bottom: 1px solid var(--bs-border-color); background: #fff; }

/* Sabit başlık: kaydırınca logo + arama + hesap/sepet üstte kalır; masaüstünde kategori menüsü onun altında.
   --header-h site.js'te ölçülür. Kaydırma başlayınca (body.is-stuck) gölge, masaüstünde logo küçülür (_Layout.cshtml.css). */
.site-header { position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s ease; }
.site-header .navbar { transition: padding .2s ease; }
.is-stuck .site-header { box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
.mega { position: relative; }
@media (min-width: 768px) {
  .mega { position: sticky; top: var(--header-h, 0px); z-index: 1025; }
  .is-stuck .site-header { box-shadow: none; }
  .is-stuck .mega { box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
  .is-stuck .site-header .navbar { padding-top: .3rem; padding-bottom: .3rem; }
}
/* Sayfa içi bağlantıda (#bolum) başlık hedefin üstünü örtmesin */
html { scroll-padding-top: calc(var(--header-h, 0px) + 3.5rem); }

/* Telefonda sepet simgesi (menü düğmesinin yanında) */
.site-header .header-cart { position: relative; display: inline-flex; align-items: center; padding: .35rem; color: var(--brand); }
.header-cart svg { width: 1.65rem; height: 1.65rem; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-cart .badge { position: absolute; top: -.15rem; right: -.3rem; font-size: .65rem; }

/* Sepete eklendi bildirimi: sağ altta, telefonda alt kenarda tam genişlik; çerez şeridi açıksa onun üstünde (--cookie-h) */
.cart-toast { position: fixed; right: 1rem; bottom: calc(1rem + var(--cookie-h, 0px)); z-index: 1060; display: flex; align-items: center; gap: .75rem;
  max-width: 26rem; padding: .75rem .9rem .75rem 1rem; border-radius: .6rem; background: var(--topbar-bg); color: #fff; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.cart-toast.is-error { background: #b42318; }
.cart-toast.is-error .cart-toast-link { display: none; }
.cart-toast-text { flex: 1 1 auto; }
.cart-toast-hint { display: block; margin-top: .15rem; font-weight: 400; opacity: .9; }
.cart-toast-hint[hidden] { display: none; }
/* Teslim şeridi (menünün altı, DeliveryStrip) */
.delivery-strip { background: color-mix(in srgb, var(--brand) 8%, #fff); border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: .9rem; }
.delivery-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .75rem; padding-top: .35rem; padding-bottom: .35rem; }
.delivery-strip-count { font-weight: 700; color: var(--brand); white-space: nowrap; }
.delivery-strip-count[hidden] { display: none; }
/* Az stok: "Son 3 koli" (kart ve ürün sayfası) */
.low-stock, .price-meta.low-stock { color: #b45309; font-weight: 700; }
/* Sepet: en düşük sipariş tutarı çubuğu */
.minorder-bar .progress { height: .5rem; }
/* Seçici iki sınıflı: _Layout.cshtml.css'teki kapsamlı "a" rengini geçsin */
.cart-toast .cart-toast-link { color: #fff; font-weight: 700; white-space: nowrap; }
.cart-toast .cart-toast-link:hover { color: #fff; }
@media (max-width: 575.98px) {
  .cart-toast { left: .75rem; right: .75rem; max-width: none; bottom: calc(.75rem + var(--cookie-h, 0px)); }
}
.site-logo { color: var(--brand) !important; letter-spacing: -.02em; }
.site-search .form-control { border-width: 2px; border-color: var(--brand); }
@media (min-width: 768px) { .site-search { max-width: 640px; } }

/* Büyük menü: panel nav'a göre konumlanır (kaydırma kabında kırpılmaz) */
.mega .nav-link { color: var(--bs-body-color); padding: .6rem .7rem; font-weight: 500; font-size: .95rem; }
.mega .nav-link:hover, .mega .dropdown.show > .nav-link { color: var(--brand); }
.mega .mega-panel { position: absolute; left: 0; right: 0; top: 100%; width: 100%; }
.mega-columns { columns: 4 12rem; column-gap: 1.5rem; }
.mega-col { break-inside: avoid; margin-bottom: .9rem; }
.mega-head { display: block; font-weight: 600; color: var(--bs-body-color); text-decoration: none; margin-bottom: .25rem; }
.mega-link { display: block; color: var(--bs-secondary-color); text-decoration: none; font-size: .875rem; padding: .1rem 0; }
.mega-link:hover, .mega-head:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 992px) and (hover: hover) {
  .mega .dropdown:hover > .dropdown-menu { display: block; }
}

/* Kategori menüsü yatay kaydırılabilir (mobil) */
.category-bar { overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }

/* Ana sayfa */
/* Banner her ekranda tam görünür (üzerindeki yazı kırpılmasın); önerilen oran 16:5 */
.hero-img { aspect-ratio: 16 / 5; object-fit: cover; }
.hero-caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 8%;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.hero-title { font-size: clamp(1.1rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.hero-sub { font-size: clamp(.8rem, 1.5vw, 1.2rem); margin-top: .35rem; opacity: .95; }
.quick-links { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.quick-link { flex: 0 0 auto; width: 5.5rem; text-align: center; text-decoration: none; color: var(--bs-body-color); }
.quick-img { display: block; width: 4.5rem; height: 4.5rem; margin: 0 auto .35rem; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--brand); padding: 2px; background: #fff; }
.quick-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.quick-text { display: block; font-size: .78rem; line-height: 1.2; }
.quick-link:hover .quick-text { color: var(--brand); }
.showcase-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * .75rem) / 4); gap: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.showcase-item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 1200px) { .showcase-row { grid-auto-columns: calc((100% - 5 * .75rem) / 6); } }
@media (max-width: 767.98px) { .showcase-row { grid-auto-columns: 46%; } }

/* Vitrin başlığı: türe göre renkli simge + kalın başlık + vurgu çizgisi + "Tümünü gör" düğmesi (Infrastructure/ShowcaseStyle.cs).
   Renkler ürün kartı rozetleriyle uyumlu; --sc-color simge, çizgi ve düğme vurgusunda kullanılır. */
.showcase { --sc-color: var(--brand); }
.sc-sale { --sc-color: #c8102e; }
.sc-best { --sc-color: #a16207; } /* "Çok Satan" rozetinin (altın sarısı) beyaz zeminde okunur koyu tonu */
.sc-new { --sc-color: #0f6b3f; }
.sc-gift { --sc-color: #6b2fb3; }
.sc-multi { --sc-color: #b54708; }
.showcase-head { position: relative; display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--bs-border-color); }
.showcase-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--sc-color); }
.showcase-icon { flex: 0 0 auto; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  color: var(--sc-color); background: rgba(31, 79, 163, .08); background: color-mix(in srgb, var(--sc-color) 11%, #fff); }
.showcase-icon svg { width: 1.35rem; height: 1.35rem; }
.showcase-icon.has-img { background: #fff; border: 1px solid var(--bs-border-color); overflow: hidden; }
.showcase-icon.has-img svg { display: none; }
.showcase-icon.has-img img { width: 100%; height: 100%; object-fit: contain; padding: .2rem; }
.showcase-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.showcase-more { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .55rem .32rem .85rem;
  border: 1px solid var(--bs-border-color); border-radius: 999px; background: #fff; color: var(--bs-body-color); font-size: .85rem;
  font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.showcase-more svg { width: 1rem; height: 1rem; transition: transform .15s ease; }
.showcase-more:hover, .showcase-more:focus-visible { border-color: var(--sc-color); color: var(--sc-color); }
.showcase-more:hover svg { transform: translateX(2px); }
@media (max-width: 575.98px) {
  .showcase-head { gap: .6rem; }
  .showcase-icon { width: 2.1rem; height: 2.1rem; }
  .showcase-icon svg { width: 1.1rem; height: 1.1rem; }
  .showcase-title { font-size: 1.12rem; }
  .showcase-more { padding: .4rem; }
  .showcase-more-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.promo-tile img { object-fit: contain; }
.brand-tile { display: flex; align-items: center; justify-content: center; padding: .75rem; aspect-ratio: 3 / 2; }
.brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Markalar sayfası (/markalar): harf çubuğu, harf grupları, logo + ad + ürün sayısı satırları */
.brand-search { max-width: 16rem; }
.brand-letters { display: flex; flex-wrap: wrap; gap: .25rem; }
.brand-letters a { min-width: 2rem; padding: .2rem .45rem; text-align: center; border: 1px solid var(--bs-border-color); border-radius: .375rem;
    text-decoration: none; font-weight: 600; font-size: .875rem; }
.brand-letters a:hover { background: var(--bs-tertiary-bg); }
.brand-group { scroll-margin-top: 5rem; }
.brand-group-head { font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--bs-border-color); margin-bottom: .5rem; padding-bottom: .15rem; }
.brand-row { display: flex; flex-direction: row; align-items: center; gap: .6rem; padding: .45rem .6rem; }
.brand-row:hover { border-color: var(--bs-primary); }
.brand-row-logo { flex: 0 0 3rem; height: 2rem; display: flex; align-items: center; justify-content: center; }
.brand-row-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-row-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.brand-row-count { flex: 0 0 auto; font-size: .75rem; color: var(--bs-secondary-color); }
@media (max-width: 575.98px) { .brand-search { max-width: none; width: 100%; } .brand-row-logo { flex-basis: 2.25rem; } }
.feature-icon { width: 2.25rem; height: 2.25rem; object-fit: contain; flex: 0 0 auto; }

/* Kampanyalar */
.campaign-banner { aspect-ratio: 16 / 5; object-fit: cover; }
.campaign-banner-text { background: linear-gradient(120deg, var(--topbar-bg), var(--brand)); color: #fff; font-weight: 600; font-size: 1.1rem; }
.campaign-tile:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }

/* Ürün kartı rozetleri (metin her zaman yazılı; renk tek başına anlam taşımaz) */
.card-badges { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.pbadge { display: inline-block; font-size: .7rem; font-weight: 600; line-height: 1.2; padding: .2rem .45rem; border-radius: .25rem; }
.pbadge-bestseller { background: #ffc83d; color: #4a3200; } /* altın sarısı: diğer rozetlerden ayrışan tek açık zeminli renkli rozet */
.pbadge-new { background: #0f6b3f; color: #fff; }
.pbadge-gift { background: #6b2fb3; color: #fff; }
.pbadge-multibuy { background: #b54708; color: #fff; }
.pbadge-campaign { background: var(--brand); color: #fff; }
.pbadge-installment { background: #fff; color: #1d1d1f; border: 1px solid #8a8f98; }
.pbadge-lowestprice { background: #fff4e5; color: #8a3c00; border: 1px solid #e0a35c; }
.pbadge-sale { background: #c8102e; color: #fff; }
/* Ürün kartı: sol üst indirim, sağ üst "Yeni" (sabit, yarım genişliği aşmaz) */
.product-card .card-corner { position: absolute; top: .5rem; z-index: 1; max-width: calc(50% - .75rem);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .card-corner-start { left: .5rem; }
.product-card .card-corner-end { right: .5rem; }
/* Görselin alt kısmında mesaj şeridi: kenarlardan içeride, köşeleri yuvarlak (üst köşe rozetleriyle aynı dil), sabit genişlik
   (dönen mesajlarda genişlik zıplamaz), ortalı, tek satır, sonu "…"; tam metin title'da.
   Birden fazla mesaj aynı hücrede üst üste durur, yalnız etkin olan görünür (site.js sırayla değiştirir). */
.card-strip { position: absolute; left: .5rem; right: .5rem; bottom: .5rem; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.card-strip > .pbadge { grid-area: 1 / 1; display: block; border-radius: .375rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.18);
    font-size: .72rem; padding: .3rem .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575.98px) { .card-strip { left: .375rem; right: .375rem; bottom: .375rem; } }
.card-strip.is-multi > .pbadge { opacity: 0; visibility: hidden; transform: translateY(.35rem);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.card-strip.is-multi > .pbadge.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
/* "Hareketi azalt" (ör. Windows'ta animasyon efektleri kapalı): yine sırayla değişir, kayma/solma olmadan */
@media (prefers-reduced-motion: reduce) {
    .card-strip.is-multi > .pbadge { transition: none !important; transform: none !important; }
}
.product-card .sku { font-size: .72rem; color: var(--bs-secondary-color); }
.product-card .price-meta { font-size: .72rem; color: var(--bs-secondary-color); }
.product-card .card-action { position: relative; z-index: 2; }

/* Alt bilgi */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--bs-border-color); }
.site-footer a { color: var(--bs-body-color); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-head { font-weight: 600; margin-bottom: .5rem; }

/* Çerez şeridi (alt, sabit) */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: var(--topbar-bg); color: var(--topbar-ink);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); }
.cookie-bar[hidden] { display: none !important; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar .btn { min-width: 7.5rem; }

/* Bölgeye sevk edilemiyor: tıklanamaz ama soluk değil, net kırmızı */
.btn-not-deliverable:disabled { opacity: 1; cursor: not-allowed; pointer-events: auto; }


/* Kurumsal sayfa / sözleşme metni (Infrastructure/PageText): başlık, liste; okuma penceresi (site.js, data-legal-modal) */
.page-text > :first-child { margin-top: 0 !important; }
.page-text h2, .page-text h3, .page-text h4 { font-weight: 600; }
.page-list { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-list > li + li { margin-top: .25rem; }
.legal-modal .modal-body { line-height: 1.6; }

/* Ana sayfa indirim kutuları (DealTileService): ilki geniş ve en koyu; telefonda yatay kaydırmalı şerit */
.deal-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.deal-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.deal-head h2 em { font-style: normal; color: #c8102e; }
.deal-head a { font-size: .875rem; white-space: nowrap; }
.deal-row { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: .75rem; }
.deal-row-3 { grid-template-columns: 1.45fr 1fr 1fr; }
.deal-row-2 { grid-template-columns: 1.45fr 1fr; }
.deal-row-1 { grid-template-columns: minmax(0, 26rem); }
.deal { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 9.5rem;
  padding: .9rem 1rem; border-radius: .9rem; color: #fff; text-decoration: none; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transition: transform .15s ease, box-shadow .15s ease; }
.deal:hover, .deal:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); color: #fff; }
.deal .pct { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.deal .lbl { font-size: .85rem; font-weight: 600; opacity: .95; }
.deal .meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .75rem; }
.deal .count { font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .18); padding: .15rem .5rem; border-radius: 999px; }
.deal .thumbs { display: flex; }
.deal .thumbs span { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; border: 2px solid rgba(255, 255, 255, .9);
  margin-left: -.7rem; overflow: hidden; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.deal .thumbs span:first-child { margin-left: 0; }
.deal .thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.deal.top .pct { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.deal.top .thumbs span { width: 3.2rem; height: 3.2rem; }
.deal .ribbon { position: absolute; top: .7rem; right: .8rem; font-size: .7rem; font-weight: 700; background: #ffc83d; color: #4a3200;
  padding: .15rem .5rem; border-radius: 999px; }
.deal-1 { background: linear-gradient(135deg, #5b1650, #a3184a); }
.deal-2 { background: linear-gradient(135deg, #b3122d, #e0452f); }
.deal-3 { background: linear-gradient(135deg, #d4521a, #f08a24); }
.deal-4 { background: linear-gradient(135deg, #c77700, #e9a21b); }
.deal .count { white-space: nowrap; }
/* Tablet: 4 sütun dar kalır ("%40–45" + şerit üst üste biner) → 2×2; 3 kutuda büyük kutu tam satır */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .deal-row, .deal-row-3, .deal-row-4 { grid-template-columns: 1fr 1fr; }
  .deal-row-3 .deal.top { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .deal-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
  .deal { flex: 0 0 62%; scroll-snap-align: start; min-height: 8.5rem; }
  .deal.top { flex-basis: 78%; }
  .deal-row-1 .deal { flex-basis: 100%; }
  .deal .pct { font-size: 2.1rem; }
  .deal.top .pct { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) { .deal { transition: none; } .deal:hover { transform: none; } }