/* Mobile-first e-commerce polish — stacks on demo style.css */
:root {
  --dock-h: 76px;
  --mainnav-h: calc(46px * 1.25); /* +25% menu bar height */
  --shop-sticky-h: calc(var(--header-topbar-h, 0px) + var(--header-h, 76px) + var(--mainnav-h));
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-pad-x: 28px;
  --section-pad-top: 24px;
  --section-pad-bottom-dock: calc(24px + var(--dock-h) + var(--safe-bottom) + 12px);
  --section-pad-bottom: 48px;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}

body {
  padding-bottom: calc(var(--dock-h) + var(--safe-bottom) + 12px) !important;
  background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 48%, #fafafa 100%);
  min-height: 100vh;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0 !important;
    background: var(--bg, #fafafa);
  }
}

/* Override style.css mobnav body padding (96px) — tek kaynak */
@media (max-width: 899px) {
  body {
    padding-bottom: calc(var(--dock-h) + var(--safe-bottom) + 12px) !important;
  }
}

/* Tüm iç sayfalar — aynı dikey ritim (geçişte kayma azalır) */
.shop-content {
  position: relative;
  z-index: 0;
  min-height: 55vh;
}
.section {
  padding: var(--section-pad-top) 0 var(--section-pad-bottom-dock) !important;
}
@media (min-width: 900px) {
  .section {
    padding: 28px 0 var(--section-pad-bottom) !important;
  }
}

/* Floating app dock */
.mobnav {
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--safe-bottom));
  padding: 6px 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(17, 17, 19, 0.12), 0 0 0 1px rgba(17, 17, 19, 0.04);
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.mobnav a,
.mobnav button {
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
}

.mobnav a.is-on,
.mobnav button.is-on {
  color: var(--accent);
  background: var(--accent-s);
}

.mobnav a.is-on .dock-ico,
.mobnav button.is-on .dock-ico {
  transform: scale(1.08);
}

.dock-ico {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.mobnav svg {
  width: 22px;
  height: 22px;
}

.mobnav .badge {
  top: 0;
  right: 18%;
  box-shadow: 0 2px 8px rgba(226, 61, 50, 0.35);
}

/* Cards & hero — app-like depth */
.hero .bento-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(17, 17, 19, 0.08);
}

.card {
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 19, 0.06);
  box-shadow: 0 4px 20px rgba(17, 17, 19, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:active {
  transform: scale(0.98);
}

/* Header — fixed height on scroll (prevents menu/page jitter) */
:root {
  --header-topbar-h: 0px;
  --header-h: 72px;
  --nav-bar-h: var(--mainnav-h);
  --shop-sticky-h: calc(var(--header-topbar-h) + var(--header-h) + var(--mainnav-h));
}
@media (min-width: 901px) {
  :root {
    --header-topbar-h: 36px;
    --header-h: 78px;
  }
}
.header {
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  z-index: 120;
  overflow: visible;
}

/* Modern store header — utility topbar + tools row + category strip */
.header-store {
  background: #fff;
  border-bottom: none;
  box-shadow: 0 1px 0 var(--line);
}
.header-topbar {
  display: none;
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 901px) {
  .header-topbar {
    display: block;
    min-height: var(--header-topbar-h);
  }
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-topbar-h);
  padding: 6px 0;
}
.header-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
}
.header-topbar-phone:hover {
  color: var(--accent);
}
.header-topbar-phone svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.header-topbar-phone-num {
  font-weight: 700;
  white-space: nowrap;
}
.header-topbar-phone-meta {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-topbar-tagline {
  font-weight: 600;
  color: var(--muted);
}
.header-topbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
}
.header-topbar-nav a {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header-topbar-nav a:hover {
  color: var(--accent);
}

.header-store .header-inner {
  padding: 10px 0 !important;
  min-height: var(--header-h);
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.header-store .logo b,
.header-store .logo em {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.header-store .search-trigger {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  height: 46px;
  margin: 0 auto;
  background: #f7f7f8;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--muted);
  padding: 0 8px 0 16px;
  border-radius: 12px;
}
.header-store .search-trigger:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background: #fff;
  color: var(--ink);
}
.header-store .search-trigger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  opacity: 0.65;
  flex-shrink: 0;
}
.header-store .search-trigger span {
  font-size: 14px;
  font-weight: 500;
}
.header-store .search-trigger kbd {
  display: none !important;
}
@media (min-width: 901px) {
  .header-store .search-trigger {
    max-width: 620px;
  }
}

/* Header tools — icon + 2-line label (desktop) */
.header-store .header-tools {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-shrink: 0;
}
.header-store .header-tool {
  position: relative;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 6px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 52px;
}
@media (min-width: 768px) {
  .header-store .header-tool {
    display: inline-flex;
  }
  .header-store .header-tool-account-mobile {
    display: none !important;
  }
  .header-store .header-tool-account-guest {
    display: inline-flex;
  }
}
.header-store .header-tool:hover {
  background: #f2f3f5;
  color: var(--ink);
}
.header-store .header-tool.is-on,
.header-store .header-tool-account.is-on {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.header-store .header-tool-ico {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}
.header-store .header-tool-ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-store .header-tool-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}
.header-store .header-tool-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.header-store .header-tool-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.header-store .header-tool-account-guest .header-tool-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.header-store .header-tool-auth-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 1px;
  line-height: 1.25;
}
.header-store .header-tool-auth-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  padding: 2px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header-store .header-tool-auth-link:hover {
  color: var(--accent);
}
.header-store .header-tool-auth-link.is-on {
  color: var(--accent);
}
.header-store .header-tool-auth-sep {
  margin: 0 6px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  user-select: none;
}
.header-store .header-tool-cart .header-tool-ico {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}
.header-store .header-tool-cart:hover .header-tool-ico {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.header-store .header-tool-ico .header-tool-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  left: auto;
  z-index: 2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  width: auto;
  max-width: 2.5rem;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  flex: none;
}
.header-store .header-tool-ico .header-tool-badge:empty,
.header-store .header-tool-ico .header-tool-badge[data-n="0"] {
  display: none !important;
}
.header-store .header-cart-btn {
  background: transparent;
  box-shadow: none;
  border: none;
  min-width: 0;
  padding: 4px 10px 4px 6px;
}
.header-store .header-cart-btn:hover {
  background: #f2f3f5;
  transform: none;
}
.header-store .header-cart-top {
  display: inline-flex;
}

/* Main nav — single padding/hover system (avoids style.css + old calc() conflicts) */
.header-store .mainnav-inner > a.mainnav-link,
.header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  padding: 0 12px !important;
  min-height: var(--mainnav-h);
  border-radius: 8px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
  font-weight: 600;
}
.header-store .mainnav-inner > a.mainnav-link.is-on::after,
.header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link.is-on::after {
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
}
.header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row {
  align-items: stretch;
  min-height: var(--mainnav-h);
  background: transparent;
  border-radius: 8px;
}
.header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
  flex: 1;
  min-width: 0;
}

/* “Kategoriler” hub — sondan bir önce, marka şeridinde ayrı vurgu */
.header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub,
.header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link {
  color: #fff6e8;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  font-weight: 700;
}
.header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub:hover,
.header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub.is-on::after,
.header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link.is-on::after {
  background: #fff6e8;
}
.header-store .mainnav-item.mainnav-catalog-hub .mainnav-chev {
  stroke: #fff6e8;
  opacity: 0.95;
}
@media (min-width: 901px) {
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link {
    color: var(--accent-d);
    background: color-mix(in srgb, var(--accent) 9%, #fff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
  }
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub:hover,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link:hover {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, #fff);
  }
  html[data-nav-mode="light"] .header-store .mainnav-item.mainnav-catalog-hub .mainnav-chev {
    stroke: var(--accent-d);
  }
  html[data-nav-mode="custom"] .header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub,
  html[data-nav-mode="custom"] .header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link {
    color: var(--nav-text-custom);
    background: color-mix(in srgb, var(--nav-text-custom) 8%, var(--nav-bg-custom));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-text-custom) 18%, transparent);
    font-weight: 700;
  }
}
@media (max-width: 900px) {
  .header-store .mainnav-inner > a.mainnav-link.mainnav-catalog-hub,
  .header-store .mainnav-inner > .mainnav-item.mainnav-catalog-hub > .mainnav-parent-row > .mainnav-parent-link {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (min-width: 901px) {
  .header-store .mainnav-inner {
    align-items: stretch;
    gap: 2px;
    min-height: var(--nav-bar-h);
  }
  .header-store .mainnav-inner > a.mainnav-link,
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
    min-height: var(--nav-bar-h);
    padding: 0 14px !important;
  }
  .header-store .mainnav-inner > .mainnav-item {
    display: flex;
    align-items: stretch;
  }
}
/* Light category strip (desktop only) */
@media (min-width: 901px) {
  html[data-nav-mode="light"] .header-store .mainnav {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    min-height: var(--nav-bar-h);
  }
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link:hover,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link:hover {
    background: var(--bg);
    color: var(--accent);
  }
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link.is-on,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link.is-on {
    color: var(--accent);
  }
  html[data-nav-mode="light"] .header-store .mainnav-inner > a.mainnav-link.is-on::after,
  html[data-nav-mode="light"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link.is-on::after {
    background: var(--accent);
  }
  html[data-nav-mode="light"] .header-store .mainnav-chev {
    stroke: var(--muted);
  }
  html[data-nav-mode="light"] .header-store .mainnav-logout-btn {
    background: #f2f3f5;
    color: var(--ink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
/* Accent / solid bar (desktop) */
@media (min-width: 901px) {
  html[data-nav-mode="accent"] .header-store .mainnav-inner > a.mainnav-link,
  html[data-nav-mode="accent"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  html[data-nav-mode="accent"] .header-store .mainnav-inner > a.mainnav-link:hover,
  html[data-nav-mode="accent"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }
  html[data-nav-mode="accent"] .header-store .mainnav-inner > a.mainnav-link.is-on::after,
  html[data-nav-mode="accent"] .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link.is-on::after {
    background: #fff;
  }
  html[data-nav-mode="accent"] .header-store .mainnav-chev {
    stroke: rgba(255, 255, 255, 0.9);
  }
}
@media (max-width: 900px) {
  html[data-nav-mode="light"] .header-store .mainnav,
  html[data-nav-mode="accent"] .header-store .mainnav {
    background: var(--accent);
  }
  html[data-nav-mode="custom"] .header-store .mainnav {
    background: var(--nav-bg-custom);
  }
}
.header-inner {
  padding: 16px 0 !important;
  min-height: var(--header-h);
  align-items: center;
  box-sizing: border-box;
  transition: none !important;
}
body.is-scrolled .header-inner {
  padding: 16px 0 !important;
}
body.is-scrolled .logo b,
body.is-scrolled .logo em,
.logo b,
.logo em {
  font-size: 20px;
  transition: none !important;
}
@media (max-width: 640px) {
  .logo b,
  .logo em,
  body.is-scrolled .logo b,
  body.is-scrolled .logo em {
    font-size: 18px;
  }
}
.header {
  display: flex;
  flex-direction: column;
}
.mainnav {
  flex-shrink: 0;
  min-height: var(--mainnav-h);
  position: relative;
  z-index: 2;
  overflow: visible;
}
.mainnav a {
  transition: color 0.2s ease, background-color 0.2s ease !important;
}
/* Top bar links — not dropdown children (header-store overrides below) */
.mainnav-inner > a.mainnav-link,
.mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link,
.mainnav-inner > .mainnav-logout .mainnav-logout-btn {
  padding-top: calc(13px * 1.25) !important;
  padding-bottom: calc(13px * 1.25) !important;
}
.header-store .mainnav-inner > a.mainnav-link,
.header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link,
.header-store .mainnav-inner > .mainnav-logout .mainnav-logout-btn {
  padding: 0 12px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: var(--mainnav-h);
  border-radius: 8px;
}
.header-store .mainnav-inner > .mainnav-logout .mainnav-logout-btn {
  align-self: center;
}
@media (min-width: 901px) {
  .header-store .mainnav-inner > a.mainnav-link,
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
    padding: 0 14px !important;
    min-height: var(--nav-bar-h);
  }
}
.mainnav-sub .mainnav-link,
.mainnav-sub a.mainnav-link {
  padding: 8px 12px !important;
  font-size: 13.5px;
  line-height: 1.35;
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
}
.mainnav-sub {
  gap: 2px;
}
@media (min-width: 901px) {
  .mainnav-sub {
    padding: 6px;
    gap: 2px;
    margin-top: 0;
  }
  .mainnav-item.has-children > .mainnav-sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
  }
  .mainnav-sub .mainnav-item.has-children {
    width: 100%;
  }
}
.mainnav-inner {
  min-height: var(--mainnav-h);
  align-items: center;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow: visible;
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .mainnav-inner {
    width: min(100% - 28px, var(--wrap));
  }
}
@media (min-width: 901px) {
  .mainnav-inner a:first-of-type {
    padding-left: 0;
  }
  .header-store .mainnav-inner > a.mainnav-link:first-of-type,
  .header-store .mainnav-inner > .mainnav-item:first-of-type .mainnav-parent-link {
    padding-left: 14px !important;
  }
}
.header-inner.wrap {
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .header-inner.wrap {
    width: min(100% - 28px, var(--wrap));
  }
}
.mainnav-logout {
  display: inline;
  margin: 0;
  padding: 0;
}
.mainnav-logout-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: calc(13px * 1.25) 16px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.mainnav-logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
body {
  overflow-x: clip;
  overflow-anchor: none;
}

/* Inner store pages — same horizontal width as header .wrap (no extra cap) */
.store-page .store-shell {
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
}
@media (max-width: 900px) {
  .store-page .store-shell {
    width: min(100% - 28px, var(--wrap));
  }
}
.store-page .store-shell-narrow {
  width: min(100% - 40px, var(--wrap));
  max-width: min(800px, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 900px) {
  .store-page .store-shell-narrow {
    width: min(100% - 28px, var(--wrap));
  }
}
.store-page .store-shell-form {
  width: min(100% - 40px, var(--wrap));
  max-width: min(720px, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 900px) {
  .store-page .store-shell-form {
    width: min(100% - 28px, var(--wrap));
  }
}
.store-page .page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 20px;
}
.store-page .page-head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.store-page .crumb {
  margin: 0 0 12px;
}
.catalog-page .layout {
  padding-top: 8px;
}
.catalog-page .side {
  padding: 18px 16px 20px;
}
.catalog-page .side > h3:first-of-type {
  margin: 0 0 12px;
}
.catalog-page .side .field {
  margin: 0;
}
.catalog-page .filter-block {
  margin-top: 12px;
  padding-top: 12px;
}
.catalog-page .filter-block label {
  padding: 6px 0;
}
.store-page .store-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}
.store-page .store-grid-1 {
  grid-template-columns: 1fr;
}
.store-page .store-grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .store-page .store-grid-2 {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
  }
}
.store-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.store-table-wrap .shop-table {
  margin: 0;
  min-width: 560px;
}
.store-table-wrap .shop-table th,
.store-table-wrap .shop-table td {
  white-space: nowrap;
}
.store-table-wrap .shop-table td:first-child {
  white-space: normal;
}
.store-page .store-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.store-page-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}
.store-page .checkout-card {
  box-sizing: border-box;
}
.header {
  min-height: var(--shop-sticky-h);
  overflow: visible;
}
@media (max-width: 900px) {
  :root {
    --shop-sticky-h: var(--header-h);
  }
  .header {
    min-height: var(--header-h);
  }
  .header-store .mainnav:not(.is-open) {
    min-height: 0;
    height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
}
.header-inner {
  overflow: visible;
  position: relative;
  z-index: 1;
}
/* Drawer / checkout forms */
.drawer {
  border-radius: 20px 20px 0 0;
}

.field {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 16px; /* iOS zoom fix */
}

.btn-accent {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(226, 61, 50, 0.25);
}

.foot {
  margin-bottom: calc(var(--dock-h) + var(--safe-bottom));
}

/* Premium light footer (overrides dark .foot in style.css) */
.foot.foot-premium {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #334155;
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 24px;
  margin-top: 32px;
  font-size: 14px;
}
.foot-premium .foot-grid {
  gap: 24px 32px;
  padding-bottom: 24px;
}
.foot-premium h3 {
  color: #0f172a;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.foot-premium a {
  color: #475569;
  text-decoration: none;
}
.foot-premium .foot-muted {
  font-size: 12px;
  color: var(--muted);
  list-style: none;
}
.foot-premium a:hover {
  color: var(--accent);
}
.foot-logo {
  font-size: 20px !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
.foot-tag {
  color: #64748b;
  margin: 8px 0 10px;
  line-height: 1.5;
  max-width: 280px;
}
.foot-about {
  margin: 0 0 8px;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}
.foot-about-more {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
}
.foot-about-more a { color: var(--accent); }
.foot-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #64748b;
}
.foot-contact li { margin-bottom: 8px; }
.foot-premium .foot-note {
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  padding-top: 16px;
}
.foot-pay {
  font-size: 12px;
  color: #64748b;
}
.legal-article h1 {
  margin: 0 0 16px;
  font-size: 26px;
}
.legal-body {
  line-height: 1.75;
  color: #334155;
  font-size: 15px;
}
.store-meta-line {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}
.store-contact-addr {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact page */
.contact-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-hero-band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, #fafafa 55%, rgba(226, 61, 50, 0.06) 100%);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}
.contact-hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.contact-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}
.contact-flash { margin: 0; }
.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(17, 17, 19, 0.04);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-quick-btn:active { transform: scale(0.98); }
.contact-quick-btn:hover { border-color: var(--line-2); }
.contact-quick-wa { border-color: rgba(37, 211, 102, 0.35); color: #128c7e; }
.contact-quick-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-quick-ico svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-main-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .contact-main-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 24px;
  }
}
.contact-aside {
  padding: 22px 20px !important;
  box-sizing: border-box;
}
.contact-aside-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.contact-aside .contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-sizing: border-box;
}
.contact-aside .contact-tile:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-aside .contact-tile:first-child {
  padding-top: 0;
}
.contact-tile h2,
.contact-tile h3 {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
}
.contact-tile a { color: inherit; }
.contact-tile a:hover { color: var(--accent); }
.contact-tile-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent) !important;
}
.contact-aside .contact-tile-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.contact-aside .contact-tile p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.contact-tile-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-s, rgba(226, 61, 50, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-tile-ico svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-hours { font-weight: 550; font-size: 13px; line-height: 1.5; }
.contact-form-section {
  padding: 24px 22px !important;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.contact-form-head {
  margin-bottom: 18px;
  text-align: left;
}
.contact-form-head h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.contact-form-hint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form-row {
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form .field,
.contact-form select.field,
.contact-form textarea.field {
  width: 100%;
  box-sizing: border-box;
}
.contact-submit { width: 100%; margin-top: 4px; }
.contact-form-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .contact-hero-band {
    padding: 18px 16px;
  }
  .contact-quick {
    width: 100%;
    justify-content: flex-start;
  }
}

/* FAQ (SSS) */
.faq-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}
.faq-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.faq-lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 17, 19, 0.04);
  overflow: hidden;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.06);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1; min-width: 0; }
.faq-chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  position: relative;
}
.faq-chev::before,
.faq-chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq-chev::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chev::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0 18px 16px;
}
.faq-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .foot { margin-bottom: 0; }
}

.mainnav-price {
  background: var(--accent);
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 999px;
  margin-left: auto;
}

/* Mobile: kırmızı menü varsayılan kapalı, hamburger ile açılır */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
}
.mainnav-close {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .header-store .header-inner {
    display: grid;
    grid-template-columns: 42px 42px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    padding: 8px 0 !important;
    min-height: var(--header-h);
  }
  .header-store .nav-toggle {
    grid-column: 1;
  }
  .header-store .search-trigger-mobile {
    grid-column: 2;
  }
  .header-store .search-trigger {
    display: none !important;
  }
  .header-store .logo,
  .header-store .logo-img {
    grid-column: 3;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-store .logo-img img {
    max-height: 32px;
    width: auto;
  }
  .header-store .header-actions,
  .header-store .header-tools {
    grid-column: 4;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .header-store .header-tool-account-guest {
    display: none !important;
  }
  .header-store .header-tool-account-mobile {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    border-radius: 12px;
    background: #f2f3f5;
  }
  .header-store .header-tool-fav,
  .header-store .header-tool-cart {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
  }
  .header-store .header-tool-text {
    display: none;
  }
  .header-store .header-tool-ico {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
  }
  .header-store .header-tool-ico .header-tool-badge {
    top: -3px;
    right: -4px;
  }
  .header-store .nav-toggle,
  .header-store .search-trigger-mobile,
  .header-store .header-cart-btn,
  .header-store .icon-account-guest {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
  }
  .mainnav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 72px);
    z-index: 88;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  }
  .mainnav.is-open {
    display: block;
    height: auto;
    min-height: 0;
    overflow-y: auto;
  }
  .mainnav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    gap: 2px;
  }
  .header-store .mainnav-inner > a.mainnav-link,
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link {
    width: 100%;
    padding: 12px 14px !important;
    min-height: 48px;
    border-radius: 10px;
    justify-content: flex-start;
  }
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row {
    width: 100%;
    background: transparent;
  }
  .header-store .mainnav-inner > a.mainnav-link:hover,
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .mainnav a {
    padding: 14px 12px;
    border-radius: 10px;
  }
  .header-store .mainnav a.is-on::after {
    display: none;
  }
  .header-store .mainnav-inner > a.mainnav-link.is-on,
  .header-store .mainnav-inner > .mainnav-item > .mainnav-parent-row > .mainnav-parent-link.is-on {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .mainnav a.is-on::after {
    display: none;
  }
  .mainnav a.is-on {
    background: rgba(255, 255, 255, 0.14);
  }
  .mainnav .mainnav-price {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
  .mainnav-close {
    display: flex;
    align-self: flex-end;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    cursor: pointer;
  }
  .mainnav-sub {
    max-height: min(50vh, 360px);
    overflow-y: auto;
    padding: 4px 0 8px 12px;
    margin-top: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
  }
  .mainnav-item.has-children:hover .mainnav-sub {
    display: none;
  }
  .mainnav-sub.is-open {
    display: flex !important;
  }
}

@media (min-width: 901px) {
  .mainnav {
    display: block !important;
  }
  .mainnav.is-open {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .overlay {
    z-index: 82;
  }
}

.drawer-f .sum {
  margin-bottom: 12px;
}

.drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  line-height: 1.25;
  box-sizing: border-box;
  text-decoration: none;
}

.checkout-shell {
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
}
@media (max-width: 900px) {
  .checkout-shell { width: min(100% - 28px, var(--wrap)); }
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.checkout-card h2 { margin: 0 0 16px; font-size: 18px; }
.checkout-fields { display: grid; gap: 12px; }
.checkout-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .checkout-row-2 { grid-template-columns: 1fr; } }
.checkout-label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.checkout-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  line-height: 1.25;
}
.checkout-summary { list-style: none; margin: 0; padding: 0; }
.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.checkout-summary li.discount strong { color: #059669; }
.checkout-total {
  margin: 16px 0 8px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}
.checkout-total strong { font-size: 22px; color: var(--accent); }
.checkout-hint { font-size: 12px; color: var(--muted); margin: 0; }

/* Cart page (/sepet) */
.cart-shell {
  width: min(100% - 40px, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
}
@media (max-width: 900px) {
  .cart-shell { width: min(100% - 28px, var(--wrap)); }
}
.cart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 8px 0 20px;
}
.cart-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cart-head-meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 860px) {
  .cart-layout { grid-template-columns: 1fr minmax(280px, 320px); gap: 20px; }
}
.cart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line:first-child { padding-top: 0; }
@media (min-width: 640px) {
  .cart-line {
    grid-template-columns: 88px 1fr auto;
    align-items: center;
  }
}
.cart-line-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f0;
  border: 1px solid var(--line);
}
.cart-line-thumb img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
}
.cart-line-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--ink);
  text-decoration: none;
}
.cart-line-title:hover { color: var(--accent); }
.cart-line-sku {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--faint);
  font-weight: 600;
}
.cart-line-unit {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.cart-line-tools {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
@media (min-width: 640px) {
  .cart-line-tools {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 140px;
  }
}
.cart-stepper { flex-shrink: 0; }
.cart-line-total {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cart-line-remove {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart-line-remove:hover { color: var(--accent); }
.cart-empty {
  text-align: center;
  padding: 32px 16px;
  border: 0;
  background: transparent;
}
.cart-empty .btn { margin-top: 12px; }
.cart-aside h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}
.cart-aside-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.cart-aside-row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.cart-aside-hint {
  margin: 12px 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.cart-checkout-btn,
.cart-continue {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}
.cart-checkout-btn { margin-bottom: 10px; }
.cart-checkout-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.drawer-cart-full {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
}
.drawer-cart-full:hover { color: var(--accent); }

.checkout-alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.checkout-alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.checkout-alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.pay-options { display: grid; gap: 10px; margin-bottom: 8px; }
.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.pay-option.is-on { border-color: var(--accent); background: rgba(226, 61, 50, 0.06); }
.pay-option strong { display: block; font-size: 14px; }
.pay-option span { font-size: 12px; color: var(--muted); }
.card-media {
  position: relative;
  aspect-ratio: var(--product-media-aspect, 1 / 1);
}

/* Product card — price row + add button (no overlap) */
.card-product .card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 20px);
}
.chip-sale,
.chip-firsat,
.chip-pct {
  position: static;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(17, 17, 19, 0.12);
}
.chip-sale { background: #059669; }
.chip-firsat { background: var(--accent); }
.chip-pct { background: rgba(17, 17, 19, 0.82); }

.card-product .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  padding: 14px 14px 16px;
}
.card-product .card-title {
  min-height: 2.7em;
  margin: 0;
}
.card-product .card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.card-product .card-pricing {
  flex: 1;
  min-width: 0;
}
.card-product .card-price-now {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.card-product .card-price-was {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.25;
}
.card-product .card-price-was s {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-weight: 600;
}
.card-product .card-add-btn {
  position: static;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(17, 17, 19, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.card-product .card-add-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.card-product .card-add-btn:hover {
  background: #000;
  transform: translateY(-1px);
}
.card-product .card-add-btn:active {
  transform: scale(0.96);
}
.card-product .card-stock-out {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
}

/* Legacy .card-price flex — cards use .card-foot now */
.card-product .card-price {
  display: none;
}

.grid.is-list .card-product {
  flex-direction: row;
}
.grid.is-list .card-product .card-media {
  width: 148px;
  flex: 0 0 148px;
  aspect-ratio: var(--product-media-aspect, 1 / 1);
  align-self: flex-start;
}
.grid.is-list .card-product .card-body {
  padding: 16px 18px;
}
.grid.is-list .card-product .card-title {
  min-height: 0;
}
.grid.is-list .card-product .card-foot {
  max-width: 280px;
}
.order-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f5f9;
}
.order-pill-pending { background: #fffbeb; color: #b45309; }
.order-pill-shipped { background: #ede9fe; color: #5b21b6; }
.order-pill-delivered { background: #ecfdf5; color: #047857; }
.shop-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop-table th, .shop-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.shop-table th { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.checkout-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
  cursor: pointer;
}
.checkout-check input { margin-top: 3px; accent-color: var(--accent); }
/* Slim wide cookie consent — above mobile dock */
.cookie-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dock-h, 76px) + 10px + env(safe-area-inset-bottom, 0px));
  max-width: min(1120px, calc(100vw - 24px));
  margin: 0 auto;
  z-index: 200;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 7px 10px 7px 16px;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  line-height: 1.25;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}
.cookie-bar.is-visible {
  display: flex;
}
.cookie-bar-text {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}
.cookie-bar-text a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.cookie-bar-text a:hover { text-decoration: underline; }
.cookie-bar-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}
.cookie-bar-accept {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}
.cookie-bar-accept:hover { background: var(--accent-d, #c0392b); }
.cookie-bar-close {
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-bar-close:hover {
  background: var(--bg, #f5f5f3);
  color: var(--ink);
}
@media (max-width: 640px) {
  .cookie-bar {
    border-radius: 14px;
    flex-wrap: nowrap;
    padding: 8px 8px 8px 12px;
    bottom: calc(var(--dock-h, 76px) + 8px + env(safe-area-inset-bottom, 0px));
  }
  .cookie-bar-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (min-width: 901px) {
  .cookie-bar {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

/* Auth pages — centered panel */
main.auth-page {
  min-height: calc(100vh - var(--shop-sticky-h) - var(--dock-h) - 80px);
  box-sizing: border-box;
}
main.auth-page .wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--wrap, 1160px);
  margin: 0 auto;
  padding: 0 16px;
}
.auth-panel {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.auth-title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.auth-label .field { width: 100%; box-sizing: border-box; }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-error { color: #c0392b; font-size: 14px; margin: 0 0 12px; }
.auth-ok {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-s);
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
}
.auth-links {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
}
.auth-links a { font-weight: 700; color: var(--accent); }
.shop-content:has(.auth-page) + .foot.foot-premium {
  margin-bottom: calc(var(--dock-h) + var(--safe-bottom) + 8px);
}

/* Home — sections share global .section padding */
.home-page > .section:first-of-type {
  padding-top: 12px !important;
}

/* Hero slider + bento — shared mobile rhythm */
.home-page .hero-swiper,
.home-page .home-bento-section {
  width: 100%;
}
.hero-swiper { padding: 12px 0 6px; }
@media (max-width: 900px) {
  .hero-swiper {
    padding-top: 6px;
    padding-bottom: 4px;
  }
  .home-page > .hero-swiper:first-child {
    margin-top: 0;
  }
}
.hero-swiper .wrap,
.home-bento-section .wrap {
  width: min(100% - 28px, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 901px) {
  .hero-swiper .wrap,
  .home-bento-section .wrap {
    width: min(100% - 40px, var(--wrap));
  }
}
.hero-swiper-inner {
  position: relative;
  overflow: visible;
  border-radius: 20px;
}
.hero-swiper-el.swiper {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.hero-swiper-el .swiper-slide {
  height: auto;
}
.hero-slide {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
  -webkit-user-drag: none;
}
@media (min-width: 768px) {
  .hero-slide { aspect-ratio: 21 / 9; max-height: 420px; }
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(17, 17, 19, 0.55) 100%);
}
.hero-slide-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  z-index: 2;
}
.hero-slide-cap h1 { margin: 0 0 6px; font-size: clamp(22px, 4vw, 32px); }
.hero-slide-cap p { margin: 0; opacity: 0.92; font-size: 14px; }
.hero-swiper-dots {
  position: static !important;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  width: 100% !important;
  transform: none !important;
}
.hero-swiper-dots .hero-dot {
  margin: 0 !important;
  opacity: 1;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line-2);
  cursor: pointer;
}
.hero-dot.is-on { background: var(--accent); transform: scale(1.15); }

.home-bento-section {
  padding: 0 0 10px;
  margin: 0;
}
.home-bento-section .bento {
  min-height: 380px;
  gap: 12px;
}
.home-bento-section .bento-card {
  border-radius: 20px;
}
.home-bento-grid--solo {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  min-height: 0;
}
.home-bento-grid--solo .bento-main {
  grid-row: auto;
  min-height: 300px;
}
@media (max-width: 900px) {
  .hero-swiper {
    padding: 10px 0 4px;
  }
  .hero-swiper-inner,
  .home-bento-section .bento-card {
    border-radius: 16px;
  }
  .home-bento-section {
    padding-bottom: 8px;
  }
  .home-bento-section .bento {
    min-height: 0;
    gap: 10px;
  }
  .home-bento-section .bento-card .cap {
    padding: 18px 16px;
  }
  .home-bento-section .bento-main .cap {
    padding: 20px 18px;
  }
  .home-bento-section .bento-main {
    min-height: 220px;
  }
  .home-bento-section .bento-card:not(.bento-main) {
    min-height: 168px;
  }
}
@media (max-width: 640px) {
  .hero-slide {
    aspect-ratio: 5 / 6;
    max-height: min(72vh, 440px);
  }
  .hero-slide-cap {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .hero-swiper-dots {
    margin-top: 8px;
  }
}

.home-bottom-banners { padding-top: 0; }
.home-banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.home-banner-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow);
}
.home-banner-card img { width: 100%; height: 100%; object-fit: cover; }
.home-banner-cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.home-banner-cap strong { display: block; font-size: 16px; }
.home-banner-cap span { font-size: 13px; opacity: 0.9; }

.logo-img img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; }

/* Product detail — unified 2-column template */
.product-page .product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .product-page .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
}

.product-gallery {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.product-gallery img {
  width: 100%;
  aspect-ratio: var(--product-media-aspect, 1 / 1);
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #f3f3f0;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (min-width: 900px) {
  .product-sidebar {
    position: sticky;
    top: calc(var(--header-h, 76px) + 14px);
  }
}

.product-buy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px 24px;
  box-shadow: var(--shadow);
}

.product-page .product-sku {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.product-page .product-title {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.product-page .product-price.price-box {
  position: relative;
  margin: 18px 0 20px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 16px;
  border: 0;
}
.product-page .product-price .chip-sale {
  display: inline-block;
  margin: 0 0 8px;
  position: static;
}
.product-page .product-price .now {
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.product-page .product-price .price-was {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.product-page .product-price .kdv {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.product-page .product-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 0;
}
.product-page .product-actions .stepper {
  height: 46px;
}
.product-page .product-actions .stepper button,
.product-page .product-actions .stepper input {
  height: 46px;
}
.product-page .product-add-btn {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  border-radius: 14px;
}
.product-page .product-stock-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 520px) {
  .product-page .product-actions {
    grid-template-columns: 1fr;
  }
}

.product-detail-card {
  margin-top: 24px;
  padding: 20px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.product-detail-heading {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-page .product-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.product-specs {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.product-specs li {
  display: grid;
  grid-template-columns: minmax(100px, 38%) 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  align-items: baseline;
}
.product-specs .spec-key {
  color: var(--muted);
  font-weight: 600;
}
.product-specs .spec-val {
  font-weight: 650;
  color: var(--ink);
}

.product-buy .product-trust-inbuy {
  margin-top: 20px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}
.product-buy .product-trust-inbuy .product-trust-title {
  margin-bottom: 12px;
}
.product-buy .product-trust-inbuy .product-trust-list {
  gap: 10px 12px;
}
.product-buy .product-trust-inbuy .product-trust-list li {
  padding: 10px 8px;
  gap: 10px;
  background: #f3f4f6;
  border: 1px solid var(--line);
  box-shadow: none;
}
.product-buy .product-trust-inbuy .product-trust-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.product-buy .product-trust-inbuy .product-trust-ic svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.product-buy .product-trust-inbuy .product-trust-list strong {
  font-size: 13px;
}
.product-buy .product-trust-inbuy .product-trust-list span {
  font-size: 11px;
  line-height: 1.35;
}

.product-trust-wrap {
  margin: 20px 0 4px;
}
.product-trust {
  padding: 20px 22px 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product-trust-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.product-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.product-trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px 14px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
}
.product-trust-list li > div {
  flex: 1;
  min-width: 0;
}
.product-trust-list .product-trust-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
  filter: none;
}
.product-trust-list .product-trust-ic svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-trust-list .product-trust-ic svg path,
.product-trust-list .product-trust-ic svg rect {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.product-trust-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.25;
}
.product-trust-list li > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
@media (min-width: 720px) {
  .product-trust-list {
    gap: 16px 20px;
  }
  .product-trust-list li {
    padding: 16px 16px 16px 14px;
  }
}
@media (max-width: 400px) {
  .product-trust {
    padding: 16px 14px;
  }
  .product-trust-list {
    gap: 10px 12px;
  }
  .product-trust-list li {
    padding: 12px 10px;
    gap: 10px;
  }
  .product-trust-list .product-trust-ic {
    width: 36px;
    height: 36px;
  }
  .product-trust-list strong {
    font-size: 13px;
  }
}