/* ==========================================================================
   Cipa Süper Market — arayüz
   Fikir: raf fiyat etiketi. Logodaki kırmızı + lacivert, fiyatlar sarı etikette.
   ========================================================================== */

:root {
  --red: #E1141B;
  --red-dark: #B90E14;
  --navy: #16245C;
  --navy-deep: #0E1840;
  --ink: #1A2142;
  --muted: #5A6283;
  --line: #E2E5EE;
  --shelf: #F2F4F8;
  --paper: #FFFFFF;
  --yellow: #FFD23F;
  --yellow-deep: #F2B705;
  --green: #128C4A;
  --wa: #1A9E52;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: 16px;
  --header-h: 150px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-pop: 0 18px 40px -18px rgba(22, 36, 92, .35);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
s { text-decoration-thickness: 1.5px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--yellow);
  border-radius: 6px;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; line-height: 1.1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--yellow); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-dark { border-color: var(--line); color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #148443; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: transparent; color: var(--navy);
  transition: background-color .2s, color .2s, opacity .2s;
}
.icon-btn:hover { background: var(--shelf); }
.icon-btn--round { border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.icon-btn--round:hover { border-color: var(--navy); background: #fff; }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; padding: 6px 14px;
  border-radius: 999px; background: var(--shelf); color: var(--navy);
  font-size: .875rem; font-weight: 600; transition: background-color .2s, color .2s;
}
.chip:hover { background: var(--navy); color: #fff; }

.pill {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--yellow); color: var(--navy);
  font-size: .75rem; font-weight: 700; line-height: 1;
}

.link-more { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(22, 36, 92, .25); text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color .2s; }
.link-more:hover { text-decoration-color: var(--red); }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .82); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__right { display: flex; gap: 20px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar__item:hover { color: #fff; }
.topbar__item .icon { width: 15px; height: 15px; }
.topbar__address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .topbar__address { display: none; }
  .topbar__right { width: 100%; justify-content: space-between; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(22, 36, 92, .45); }
.site-header__bar {
  display: grid; align-items: center; gap: 12px 28px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding-block: 12px;
}
.menu-btn { display: none; }
.brand img { height: 52px; width: auto; border-radius: 10px; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }

.search { position: relative; display: flex; align-items: center; max-width: 620px; width: 100%; justify-self: center; }
.search__icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 96px 0 50px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--shelf); outline: none; font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.search input::placeholder { color: #8A90AA; }
.search input:focus { border-color: var(--navy); background: #fff; }
.search input::-webkit-search-cancel-button { display: none; }
.search__submit {
  position: absolute; right: 5px; height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600;
  transition: background-color .2s;
}
.search__submit:hover { background: var(--red-dark); }

.search__panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 6px; box-shadow: var(--shadow-pop);
  transform-origin: top center; animation: pop-in .18s var(--ease);
}
.sr-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 12px;
}
.sr-item.is-active, .sr-item:hover { background: var(--shelf); }
.sr-item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; }
.sr-item__name { display: block; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-item__cat { display: block; font-size: .8125rem; color: var(--muted); }
.sr-item__price { text-align: right; font: 700 1rem/1.2 var(--font-display); color: var(--navy); white-space: nowrap; }
.sr-item__price s { display: block; font: 500 .75rem var(--font-body); color: var(--muted); }
.sr-all { display: block; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--red); border-radius: 0 0 12px 12px; }
.sr-all:hover, .sr-all.is-active { background: var(--shelf); }
.sr-empty { padding: 16px 12px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; color: var(--navy); transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--shelf); }
.main-nav__deal { color: var(--red) !important; }
.main-nav__deal .icon { width: 18px; height: 18px; }

/* Reyon şeridi */
.aisles { border-top: 1px solid var(--line); }
.aisles__list {
  display: flex; gap: 8px; padding-block: 10px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.aisles__list::-webkit-scrollbar { display: none; }
.aisle {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px;
  border: 1.5px solid var(--line); border-radius: 999px; white-space: nowrap;
  font-size: .875rem; font-weight: 600; color: var(--ink);
  transition: border-color .2s, background-color .2s, color .2s;
}
.aisle:hover { border-color: var(--navy); }
.aisle.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.aisle__thumb { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #fff; flex: none; }
.aisle__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .site-header__bar { grid-template-columns: auto 1fr auto; gap: 10px 8px; padding-block: 8px 10px; }
  .menu-btn { display: inline-grid; }
  .brand { justify-self: center; }
  .brand img, .site-header.is-scrolled .brand img { height: 42px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search input { height: 46px; }
  .search__submit { height: 36px; }
  .main-nav { justify-self: end; }
  .main-nav a:not(.main-nav__deal) { display: none; }
  .main-nav__deal { padding: 10px !important; font-size: 0 !important; gap: 4px !important; }
  .main-nav__deal .icon { width: 22px; height: 22px; }
}

/* ---------- Mobil çekmece ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 24, 64, .5); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw);
  display: flex; flex-direction: column; background: #fff;
  transform: translateX(-100%); transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__head img { border-radius: 8px; height: 44px; width: auto; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 8px 16px; }
.drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.drawer__nav a:hover { background: var(--shelf); }
.drawer__nav img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--shelf); }
.drawer__count { margin-left: auto; color: var(--muted); font-weight: 500; font-size: .8125rem; }
.drawer__deal { color: var(--red); background: #FFF6D6; margin-bottom: 6px; }
.drawer__deal .pill { margin-left: auto; }
.drawer__label { padding: 14px 12px 6px; font-size: .8125rem; color: var(--muted); }
.drawer__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 20px; border-top: 1px solid var(--line); }
body.has-drawer { overflow: hidden; }

/* ---------- Fiyat etiketi (imza öğe) ---------- */
.tag {
  position: relative; display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 5px 12px 5px 22px; border: 1.5px solid var(--navy); border-radius: 8px;
  background: #fff; color: var(--navy); line-height: 1;
  transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.tag::before { /* askı deliği */
  content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; border: 1.5px solid var(--navy); background: var(--paper);
}
.tag--sale { background: var(--yellow); }
.tag__price { display: inline-flex; align-items: flex-start; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.tag__cur { font-size: .8125rem; margin: .2em .1em 0 0; font-weight: 700; }
.tag__int { font-size: 1.5rem; }
.tag__dec { font-size: .8125rem; margin-top: .2em; }
.tag__unit { align-self: flex-end; margin-left: 3px; font: 600 .75rem var(--font-body); color: var(--muted); }
.tag--sale .tag__unit { color: var(--navy); }
.tag__old { font-size: .75rem; font-weight: 600; color: var(--red-dark); text-decoration: line-through; text-decoration-thickness: 1.5px; margin-bottom: 3px; }
.tag__ask { font-weight: 600; font-size: .875rem; padding-block: 5px; }
.tag--ask { border-style: dashed; color: var(--muted); }
.tag--ask::before { border-color: var(--muted); }

.tag--lg { padding: 10px 22px 10px 38px; border-width: 2px; border-radius: 12px; }
.tag--lg::before { left: 14px; width: 11px; height: 11px; margin-top: -5.5px; border-width: 2px; }
.tag--lg .tag__int { font-size: 3.25rem; }
.tag--lg .tag__cur, .tag--lg .tag__dec { font-size: 1.375rem; }
.tag--lg .tag__unit { font-size: 1rem; margin-bottom: .35em; }
.tag--lg .tag__old { font-size: 1rem; margin-bottom: 6px; }

/* ---------- Ürün kartı ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 12px 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: rgba(22, 36, 92, .28); box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.card:hover .tag { transform: rotate(-3deg); }
.card__link { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* tüm kart tıklanabilir */
.card__media { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .4s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 6px; left: 6px; padding: 4px 9px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.2;
}
.card__badge--lg { top: 16px; left: 16px; padding: 6px 12px; font-size: .875rem; }
.card__badge--muted { background: var(--navy); }
.card--soldout .card__media img { opacity: .45; filter: grayscale(.6); }
.product__stock { display: inline-flex; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: #FDECEC; color: var(--red-dark); font-weight: 600; font-size: .875rem; }
.card__cat { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.card__title {
  font: 600 .9375rem/1.35 var(--font-body); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.card .tag { align-self: flex-start; margin-top: auto; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 10px 10px 12px; border-radius: 14px; }
  .card__title { font-size: .875rem; }
  .tag__int { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(120, 0, 6, .38) 1.5px, transparent 0) 0 0 / 26px 26px, /* delikli pano */
    linear-gradient(160deg, #EC2A2F 0%, var(--red) 45%, #C80F15 100%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px;
  padding-block: clamp(48px, 7vw, 92px) clamp(56px, 7vw, 96px);
}
.hero__title {
  font: 800 clamp(3rem, 1.4rem + 6vw, 6.25rem)/.92 var(--font-display);
  letter-spacing: -.045em; max-width: 8.5ch;
  text-wrap: balance;
}
.hero__text { margin-top: 22px; max-width: 42ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.hang {
  --r: -3deg;
  position: relative; display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0; animation: hang-drop .9s var(--ease) both; animation-delay: calc(var(--i) * 160ms + 250ms);
}
.hang:nth-child(2) { --r: 2.5deg; margin-top: 56px; }
.hang:nth-child(3) { --r: -1.5deg; margin-top: 18px; }
.hang:hover .hang__card, .hang:focus-visible .hang__card { animation: card-swing .9s var(--ease); }
.hang:focus-visible { box-shadow: none; outline: none; }
.hang:focus-visible .hang__card { outline: 2px solid var(--navy); outline-offset: 4px; box-shadow: 0 0 0 4px #fff; }
.hang__string { width: 2px; height: 34px; background: rgba(255, 255, 255, .7); position: relative; }
.hang__string::before { /* çivi */
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}
.hang__card {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 14px 16px; border-radius: 16px; background: var(--yellow); color: var(--navy);
  box-shadow: 0 22px 34px -18px rgba(70, 0, 4, .65);
}
.hang__card::before { content: ""; position: absolute; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
.hang__img { width: 100%; aspect-ratio: 1; max-width: 132px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hang__img img { width: 78%; height: 78%; object-fit: contain; }
.hang__name { margin-top: 12px; font-weight: 600; font-size: .875rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.hang__prices { margin-top: 8px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.hang__prices s { font-size: .8125rem; color: var(--red-dark); font-weight: 600; }
.hang__prices strong { font: 800 1.625rem var(--font-display); letter-spacing: -.02em; }
.hang__pct {
  position: absolute; top: -14px; right: -10px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font: 800 1rem var(--font-display); transform: rotate(12deg);
}

@keyframes hang-drop {
  0% { transform: translateY(-48px) rotate(-14deg); }
  55% { transform: translateY(0) rotate(6deg); }
  78% { transform: rotate(calc(var(--r) - 2deg)); }
  100% { transform: rotate(var(--r)); }
}
@keyframes card-swing {
  0%, 100% { transform: none; }
  30% { transform: rotate(4deg); }
  65% { transform: rotate(-2.5deg); }
}
.hang__card { transform-origin: 50% -34px; }
@keyframes hang-swing {
  0% { transform: rotate(var(--r)); }
  30% { transform: rotate(calc(var(--r) + 5deg)); }
  60% { transform: rotate(calc(var(--r) - 3deg)); }
  100% { transform: rotate(var(--r)); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__board { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero__board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hang:nth-child(2) { margin-top: 28px; }
  .hang__card { padding: 20px 8px 12px; border-radius: 12px; }
  .hang__name { font-size: .75rem; }
  .hang__prices strong { font-size: 1.125rem; }
  .hang__prices s { font-size: .6875rem; }
  .hang__pct { width: 38px; height: 38px; font-size: .75rem; top: -10px; right: -6px; }
  .hang__string { height: 22px; }
}

/* Kayan fiyat şeridi */
.ticker { overflow: hidden; background: var(--yellow); color: var(--navy); border-block: 2px solid var(--navy); }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 22px; white-space: nowrap; font-weight: 600; }
.ticker__item s { font-size: .8125rem; color: var(--red-dark); }
.ticker__item b { font: 800 1.0625rem var(--font-display); }
.ticker__item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-left: 22px; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(44px, 6vw, 72px); }
.section--shelf { background: var(--shelf); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__title { font: 700 clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--navy); }
.section__tools { display: flex; align-items: center; gap: 18px; }
.carousel-nav { display: flex; gap: 8px; }

/* Reyon kutuları */
.aisle-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.aisle-tile a { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: var(--shelf); transition: background-color .2s; }
.aisle-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s var(--ease); }
.aisle-tile img.is-pack { object-fit: contain; padding: 18%; background: #fff; }
.aisle-tile a:hover img { transform: scale(1.06); }
.aisle-tile a:hover { background: #E7EAF2; }
.aisle-tile__label { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; background: inherit; }
.aisle-tile__name { font: 700 1.0625rem/1.2 var(--font-display); color: var(--navy); letter-spacing: -.01em; }
.aisle-tile__count { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) {
  .aisle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .aisle-tile a { border-radius: 14px; }
  .aisle-tile__label { padding: 8px 8px 10px; }
  .aisle-tile__name { font-size: .8125rem; }
  .aisle-tile__count { font-size: .6875rem; }
}

/* Yatay kaydırmalı raf */
.carousel {
  display: grid; grid-auto-flow: column; gap: 16px;
  grid-auto-columns: calc((100% - 16px * 4) / 5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; margin: -6px -2px -18px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; }
@media (max-width: 1100px) { .carousel { grid-auto-columns: calc((100% - 16px * 3) / 4); } }
@media (max-width: 800px) { .carousel { grid-auto-columns: calc((100% - 16px * 2) / 3); } }
@media (max-width: 560px) { .carousel { grid-auto-columns: 46%; gap: 10px; } .carousel-nav { display: none; } }

/* Tanıtım kutuları */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.promo {
  display: grid; grid-template-columns: 42% 1fr; min-height: 220px; overflow: hidden;
  border-radius: 22px; background: var(--green); color: #fff;
}
.promo:nth-child(2n) { background: var(--navy); }
.promo__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.promo:hover .promo__img { transform: scale(1.05); }
.promo__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px 28px; }
.promo__title { font: 700 clamp(1.375rem, 1.1rem + .8vw, 1.75rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.promo__text { color: rgba(255, 255, 255, .85); max-width: 34ch; }
.promo__cta { margin-top: 8px; align-self: flex-start; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
@media (max-width: 480px) { .promo { grid-template-columns: 1fr; } .promo__img { height: 160px; } }

/* Sekmeler */
.section__head--tabs { align-items: center; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--shelf); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { border: 0; padding: 9px 18px; border-radius: 999px; background: transparent; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs__btn:hover { color: var(--navy); }
.tabs__btn[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel.is-entering .card { animation: rise .35s var(--ease) both; }
.tab-panel.is-entering .card:nth-child(n) { animation-delay: calc(var(--n, 0) * 30ms); }
.tab-panel__more { margin-top: 28px; text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Mağaza bandı */
.visit { background: var(--navy); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.visit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.visit__title { font: 800 clamp(2rem, 1.4rem + 2.2vw, 3.25rem)/1 var(--font-display); letter-spacing: -.035em; }
.visit__text { margin-top: 14px; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.visit__list { margin-top: 24px; display: grid; gap: 12px; }
.visit__list li { display: flex; gap: 12px; align-items: flex-start; }
.visit__list .icon { color: var(--yellow); margin-top: 2px; }
.visit__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit__map { border-radius: 22px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 4 / 3; border: 4px solid rgba(255, 255, 255, .08); }
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .visit__inner { grid-template-columns: 1fr; } }

/* ---------- Sayfa başlığı ---------- */
.page-head { background: var(--shelf); padding-block: 26px 34px; }
.page-head--deal { background: var(--yellow); }
.page-head__title { margin-top: 10px; font: 800 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.02 var(--font-display); letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
.page-head__intro { margin-top: 10px; color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }
.page-head--deal .page-head__intro { color: var(--navy); }

.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--navy); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs > *:not(:last-child)::after { content: "/"; margin: 0 8px; color: #A3A9C2; }
.crumbs--plain { padding-block: 20px 4px; }
.crumbs span[aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Listeleme ---------- */
.listing { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding-block: 32px 72px; }
.listing__side { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.listing__side-title { font: 700 1.125rem var(--font-display); color: var(--navy); margin-bottom: 10px; padding-left: 12px; }
.side-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px;
  font-weight: 500; font-size: .9375rem; transition: background-color .2s, color .2s;
}
.side-cats a span { color: var(--muted); font-size: .8125rem; }
.side-cats a:hover { background: var(--shelf); }
.side-cats a.is-active { background: var(--navy); color: #fff; font-weight: 600; }
.side-cats a.is-active span { color: rgba(255, 255, 255, .7); }
.side-cats__deal { color: var(--red); justify-content: flex-start !important; font-weight: 600 !important; }
.side-cats__deal .icon { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .listing { grid-template-columns: 1fr; padding-top: 20px; }
  .listing__side { display: none; }
}

.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.toolbar__count { color: var(--muted); }
.toolbar__count strong { color: var(--navy); font-weight: 700; }
.toolbar__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.select select {
  appearance: none; height: 44px; padding: 0 42px 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316245C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-weight: 600; font-size: .875rem; color: var(--navy); cursor: pointer; transition: border-color .2s;
}
.select select:hover { border-color: var(--navy); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9375rem; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #CDD2E0; transition: background-color .2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--red); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--navy); outline-offset: 3px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination__num, .pagination__step {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 999px;
  font-weight: 600; color: var(--navy); transition: background-color .2s;
}
.pagination a:hover { background: var(--shelf); }
.pagination__num.is-current { background: var(--navy); color: #fff; }
.pagination__gap { color: var(--muted); padding: 0 4px; }

.empty { padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--shelf); text-align: center; }
.empty__title { font: 700 1.5rem/1.2 var(--font-display); color: var(--navy); letter-spacing: -.02em; }
.empty p { margin: 10px auto 0; max-width: 52ch; color: var(--muted); }
.empty p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.empty-search { display: flex; gap: 10px; max-width: 520px; }
.empty-search input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 2px solid var(--line); border-radius: 999px; outline: none; font-size: 1rem; transition: border-color .2s; }
.empty-search input:focus { border-color: var(--navy); }
.empty-search .btn { min-height: 50px; }

/* ---------- Ürün detay ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-block: 20px 64px; }
.product__stage { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 26px; background: #fff; overflow: hidden; }
.product__stage img { width: 100%; height: 100%; object-fit: contain; padding: clamp(20px, 5%, 44px); transition: opacity .2s; }
.product__stage img.is-swapping { opacity: 0; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product__thumb { width: 76px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__thumb.is-active, .product__thumb:hover { border-color: var(--navy); }
.product__info { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.product__title { margin-top: 14px; font: 700 clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem)/1.08 var(--font-display); letter-spacing: -.03em; color: var(--navy); text-wrap: balance; }
.product__price { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.product__price .tag { transform: rotate(-2deg); animation: tag-settle .7s var(--ease) both .15s; }
.product__price-meta { color: var(--muted); font-size: .9375rem; }
.product__save { color: var(--green); font-weight: 700; font-size: 1.0625rem; }
.product__short { margin-top: 22px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.product__note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.product__desc { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.product__desc-title { font: 700 1.25rem var(--font-display); color: var(--navy); margin-bottom: 10px; }
@keyframes tag-settle {
  0% { transform: rotate(-12deg) translateY(-8px); }
  60% { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product__info { position: static; }
  .product__actions .btn { flex: 1 1 200px; }
}

.prose { max-width: 68ch; color: #2E3555; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25em; list-style: revert; }
.prose strong { color: var(--ink); }
.prose--lead p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--navy); font-weight: 500; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 44px 72px; }
.about__text { font-size: 1.0625rem; line-height: 1.75; }
.collage { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage a { position: relative; border-radius: 18px; overflow: hidden; }
.collage a:nth-child(2) { transform: translateY(28px); }
.collage a:nth-child(4) { transform: translateY(28px); }
.collage img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s var(--ease); }
.collage a:hover img { transform: scale(1.06); }
.collage span { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: .8125rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .collage { position: static; padding-bottom: 28px; } }

/* ---------- İletişim ---------- */
.contact { padding-block: 36px 72px; display: grid; gap: 24px; }
.contact__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 20px;
  border: 1.5px solid var(--line); transition: border-color .2s, transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--navy); transform: translateY(-3px); }
.contact-card__icon { width: 28px; height: 28px; color: var(--red); margin-bottom: 10px; }
.contact-card__label { font-size: .8125rem; color: var(--muted); }
.contact-card__value { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-card--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.contact-card--wa .contact-card__icon, .contact-card--wa .contact-card__value, .contact-card--wa .contact-card__label { color: #fff; }
.contact-card--wa:hover { border-color: var(--wa); }
.contact__map { border-radius: 24px; overflow: hidden; height: clamp(320px, 45vw, 460px); background: var(--shelf); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 26px; border-radius: 20px; background: var(--shelf); }
.contact__social p { font-weight: 500; }
.contact__social-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) { .contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .contact__cards { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(56px, 10vw, 120px); }
.notfound__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.notfound__tag { animation: hang-swing 2.4s ease-in-out infinite; --r: -4deg; transform-origin: 50% 0; }
.notfound__title { margin-top: 26px; font: 800 clamp(2.25rem, 1.5rem + 3vw, 3.75rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--navy); }
.notfound__text { margin-top: 14px; color: var(--muted); max-width: 50ch; }
.notfound .empty-search { margin-top: 26px; width: 100%; }
.notfound__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding-top: 56px; font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1.5fr .8fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.site-footer__brand img { border-radius: 10px; height: 64px; width: auto; }
.site-footer__slogan { margin-top: 14px; font: 700 1.375rem var(--font-display); color: #fff; letter-spacing: -.02em; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--yellow); color: var(--navy); }
.site-footer__title { font: 700 1rem var(--font-display); color: #fff; margin-bottom: 14px; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.site-footer a { transition: color .2s; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__contact { display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--yellow); margin-top: 2px; width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Ortak animasyonlar ---------- */
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
}
