/* Otovsoto Shop — brand-aligned storefront */

:root {
  --brand: #00C6FF;
  --brand-hover: #00B0E6;
  --brand-dark: #007AAD;
  --brand-soft: rgba(0, 198, 255, 0.14);
  --brand-on: #FFF7F7;
  --ink: #0A0A0A;
  --slate: #0A0A0A;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --gray: #f8fafc;
  --gray-2: #f1f5f9;
  --danger: #e11d48;
  --success: #059669;
  --font: Inter, system-ui, sans-serif;
  --font-brand: "Montserrat Alternates", Inter, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 4px 14px rgba(2, 6, 23, 0.05);
  --shadow-md: 0 12px 32px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 24px 48px rgba(2, 6, 23, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --site-max: 1180px;
  --site-pad: 20px;
  --header-offset: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body.shop-body {
  margin: 0;
  font-family: var(--font);
  background: var(--gray);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

.shop-container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-pad);
  box-sizing: border-box;
}

.shop-main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Header — koyu navbar */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0a0a0a;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.35s var(--ease-out);
}

.shop-header.is-scrolled {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.shop-header__promo {
  background: #050505;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-header__promo-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-header__promo a {
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.shop-header__promo a:hover {
  color: #fff;
}

.shop-header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

.shop-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.shop-logo img {
  height: 28px;
  width: auto;
  /* logo.svg beyaz fill — koyu zeminde görünür */
  filter: none;
}

.shop-logo__tag {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--brand);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.shop-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.shop-search:focus-within {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.22);
}

.shop-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  min-width: 0;
  color: #fff;
}

.shop-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.shop-search button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 14px;
  height: 44px;
  cursor: pointer;
}

.shop-search button:hover {
  color: var(--brand);
}

.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-header__link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.shop-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.shop-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 9px 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.shop-cart-btn:hover {
  border-color: var(--brand);
  background: rgba(0, 198, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.18);
}

.shop-cart-btn__count {
  font-style: normal;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.shop-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.shop-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.shop-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.shop-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.shop-nav-backdrop {
  display: none;
}

.shop-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}

.shop-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 20px;
  scrollbar-width: none;
}

.shop-nav__inner::-webkit-scrollbar {
  display: none;
}

.shop-nav__all,
.shop-nav__link {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.shop-nav__all:hover,
.shop-nav__link:hover,
.shop-nav__all.is-active,
.shop-nav__link.is-active {
  color: #fff;
  background: rgba(0, 198, 255, 0.16);
}

/* Hero */
.shop-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.shop-hero__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

.shop-hero__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  position: relative;
  min-height: min(38vh, 340px);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
}

.shop-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 198, 255, 0.45), transparent 55%),
    linear-gradient(135deg, #071018 0%, #0b1c28 45%, #0a0a0a 100%);
}

.shop-hero__slide[data-tone="dark"]::before {
  background:
    radial-gradient(ellipse 70% 50% at 75% 30%, rgba(0, 198, 255, 0.22), transparent 50%),
    linear-gradient(120deg, #050505 0%, #12161c 55%, #0a0a0a 100%);
}

.shop-hero__slide[data-tone="slate"]::before {
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(0, 122, 173, 0.35), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #0a0a0a 70%);
}

.shop-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 48%, transparent 78%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.015) 18px,
      rgba(255, 255, 255, 0.015) 19px
    );
}

.shop-hero__content {
  width: min(100%, var(--site-max));
  max-width: var(--site-max);
  margin-inline: auto;
  padding: 48px var(--site-pad) 56px;
  box-sizing: border-box;
  justify-self: center;
}

.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}

.shop-hero__title {
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.shop-hero__text {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
}

.shop-hero__controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(100%, var(--site-max));
  padding-inline: var(--site-pad);
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.shop-hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: width 0.3s, background 0.3s;
}

.shop-hero__dot.is-active {
  width: 28px;
  background: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 198, 255, 0.28);
}

.btn--primary:hover {
  background: var(--brand-hover);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #1e293b;
}

.btn--block {
  width: 100%;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--tight {
  padding: 36px 0;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.section__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
}

.section__link:hover {
  color: var(--brand);
}

/* Category strip */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 148px;
  padding: 16px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(160deg, #0f172a, #0a0a0a);
}

.cat-tile[data-vis="cat-charge"]::before {
  background: linear-gradient(160deg, #053a4d, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(0, 198, 255, 0.55), transparent 45%);
}

.cat-tile[data-vis="cat-care"]::before {
  background: linear-gradient(160deg, #0c2a24, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.4), transparent 45%);
}

.cat-tile[data-vis="cat-interior"]::before {
  background: linear-gradient(160deg, #1e293b, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(148, 163, 184, 0.35), transparent 45%);
}

.cat-tile[data-vis="cat-exterior"]::before {
  background: linear-gradient(160deg, #172554, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.4), transparent 45%);
}

.cat-tile[data-vis="cat-security"]::before {
  background: linear-gradient(160deg, #3b0a1a, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.35), transparent 45%);
}

.cat-tile[data-vis="cat-electro"]::before {
  background: linear-gradient(160deg, #1e1b4b, #0a0a0a 70%),
    radial-gradient(circle at 80% 20%, rgba(0, 198, 255, 0.35), transparent 45%);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72));
}

.cat-tile strong {
  font-size: 15px;
  font-weight: 700;
}

.cat-tile span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

/* Trust */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Promo band */
.promo-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}

.promo-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s var(--ease-out);
}

.promo-card:hover {
  transform: translateY(-3px);
}

.promo-card--wide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(0, 198, 255, 0.5), transparent 45%),
    linear-gradient(120deg, #041018, #0a0a0a 60%);
}

.promo-card--side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 80%, rgba(0, 122, 173, 0.45), transparent 50%),
    linear-gradient(160deg, #0f172a, #0a0a0a);
}

.promo-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 8px;
}

.promo-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.promo-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  max-width: 36ch;
}

/* Product grid / card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.product-card:hover {
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  overflow: hidden;
}

.product-card__media.vis-charge {
  background: linear-gradient(145deg, #063544, #0b1220 55%, #111827);
}

.product-card__media.vis-care {
  background: linear-gradient(145deg, #0c2f28, #0b1220 55%, #111827);
}

.product-card__media.vis-interior {
  background: linear-gradient(145deg, #1e293b, #0b1220 55%, #111827);
}

.product-card__media.vis-exterior {
  background: linear-gradient(145deg, #1e3a5f, #0b1220 55%, #111827);
}

.product-card__media.vis-security {
  background: linear-gradient(145deg, #3f1220, #0b1220 55%, #111827);
}

.product-card__media.vis-electro {
  background: linear-gradient(145deg, #1e1b4b, #0b1220 55%, #111827);
}

.product-card__glyph {
  position: absolute;
  inset: 18% 18% 28%;
  border-radius: 28% 40% 32% 44%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 198, 255, 0.55), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-8deg);
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__glyph {
  transform: rotate(0deg) scale(1.04);
}

.product-card__brand-mark {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
}

.product-card__badge--sale {
  background: var(--danger);
  color: #fff;
}

.product-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card__meta a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.product-card__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  flex: 1;
}

.product-card__title a {
  text-decoration: none;
  color: var(--ink);
}

.product-card__title a:hover {
  color: var(--brand-dark);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.stars {
  --rating: 5;
  position: relative;
  display: inline-block;
  width: 72px;
  height: 12px;
  background: linear-gradient(90deg, #fbbf24 calc(var(--rating) / 5 * 100%), #e2e8f0 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 12'%3E%3Cpath fill='black' d='M6 0l1.5 4.5H12l-3.7 2.7 1.4 4.3L6 9.2 2.3 11.5l1.4-4.3L0 4.5h4.5zM21 0l1.5 4.5H27l-3.7 2.7 1.4 4.3L21 9.2l-3.7 2.3 1.4-4.3L15 4.5h4.5zM36 0l1.5 4.5H42l-3.7 2.7 1.4 4.3L36 9.2l-3.7 2.3 1.4-4.3L30 4.5h4.5zM51 0l1.5 4.5H57l-3.7 2.7 1.4 4.3L51 9.2l-3.7 2.3 1.4-4.3L45 4.5h4.5zM66 0l1.5 4.5H72l-3.7 2.7 1.4 4.3L66 9.2l-3.7 2.3 1.4-4.3L60 4.5h4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 12'%3E%3Cpath fill='black' d='M6 0l1.5 4.5H12l-3.7 2.7 1.4 4.3L6 9.2 2.3 11.5l1.4-4.3L0 4.5h4.5zM21 0l1.5 4.5H27l-3.7 2.7 1.4 4.3L21 9.2l-3.7 2.3 1.4-4.3L15 4.5h4.5zM36 0l1.5 4.5H42l-3.7 2.7 1.4 4.3L36 9.2l-3.7 2.3 1.4-4.3L30 4.5h4.5zM51 0l1.5 4.5H57l-3.7 2.7 1.4 4.3L51 9.2l-3.7 2.3 1.4-4.3L45 4.5h4.5zM66 0l1.5 4.5H72l-3.7 2.7 1.4 4.3L66 9.2l-3.7 2.3 1.4-4.3L60 4.5h4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.product-card__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__prices strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.product-card__prices s {
  font-size: 12px;
  color: var(--muted);
}

.product-card__add {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
}

.product-card__add:hover {
  background: var(--brand-dark);
}

.product-card__add.is-added {
  background: var(--success);
  transform: scale(1.08);
}

/* Listing layout */
.listing {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0 56px;
}

.filters {
  position: sticky;
  top: 140px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.filters__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.filters__group {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.filters__group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.filters__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.filters__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filters__checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.filters__checks input {
  accent-color: var(--brand);
}

.filters__price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filters__price input,
.filters select,
.toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: var(--gray);
}

.filters__price input:focus,
.filters select:focus,
.toolbar select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.filters__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.listing-top {
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.listing-top h1 {
  margin: 0 0 6px;
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}

.listing-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toolbar__count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.toolbar__sort select {
  min-width: 180px;
  background: #fff;
}

.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty-state h2 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.filters-mobile-toggle {
  display: none;
}

/* Product detail */
.pdp {
  padding: 28px 0 64px;
}

.pdp__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.pdp__gallery {
  position: sticky;
  top: 140px;
}

.pdp__stage {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.pdp__stage .product-card__glyph {
  inset: 16% 16% 22%;
}

.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.pdp__thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
}

.pdp__thumb.is-active,
.pdp__thumb:hover {
  opacity: 1;
  border-color: var(--brand);
}

.pdp__brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 8px;
}

.pdp__title {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.pdp__price strong {
  font-size: 1.75rem;
  font-weight: 800;
}

.pdp__price s {
  color: var(--muted);
  font-size: 1rem;
}

.pdp__save {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 18px;
}

.pdp__short {
  margin: 0 0 22px;
  color: #334155;
  line-height: 1.6;
}

.pdp__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.pdp__option-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatches button {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.swatches button.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.qty button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

.qty input {
  width: 48px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.pdp__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.pdp__stock {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}

.pdp__stock.is-low {
  color: #b45309;
}

.pdp__tabs {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pdp__tabs h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.pdp__tabs p {
  margin: 0 0 18px;
  color: #334155;
  line-height: 1.65;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs th,
.specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.specs th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

/* Cart */
.cart {
  padding: 28px 0 64px;
}

.cart__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.cart-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item__media {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.cart-item__media .product-card__glyph {
  inset: 18%;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.cart-item h3 a {
  text-decoration: none;
}

.cart-item__meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.cart-item__side {
  text-align: right;
}

.cart-item__side strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.cart-item__remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.cart-summary {
  position: sticky;
  top: 140px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.cart-summary h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 10px;
  color: #334155;
}

.cart-summary__row--total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.cart-summary .btn {
  margin-top: 14px;
}

.cart-summary__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Footer */
.shop-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
  padding: 48px 0 0;
}

.shop-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 36px;
}

.shop-footer__brand img {
  height: 24px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.shop-footer__brand p,
.shop-footer__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.shop-footer h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.shop-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
}

.shop-footer a:hover {
  color: var(--brand);
}

.shop-footer span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.shop-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.shop-newsletter input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
}

.shop-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.shop-newsletter button {
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
}

.shop-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.shop-footer__bar p {
  margin: 0;
}

/* Toast */
.shop-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .cat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --site-pad: 16px;
  }

  .shop-header,
  .shop-main,
  .shop-footer,
  .shop-hero {
    width: 100%;
    max-width: 100%;
  }

  /* —— Header: simetrik / kurumsal —— */
  .shop-header__promo {
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }

  .shop-header__promo-inner {
    min-height: 28px;
    justify-content: center;
    text-align: center;
  }

  .shop-header__promo-inner span {
    display: none;
  }

  .shop-header__promo a {
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .shop-header__main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "search search";
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    min-height: 0;
    padding-block: 12px;
  }

  .shop-logo {
    grid-area: logo;
    gap: 8px;
    min-width: 0;
  }

  .shop-logo img {
    height: 22px;
    max-width: 118px;
  }

  .shop-logo__tag {
    font-size: 10px;
    padding: 3px 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(0, 198, 255, 0.45);
  }

  .shop-header__actions {
    grid-area: actions;
    justify-self: end;
    gap: 8px;
  }

  .shop-search {
    grid-area: search;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
  }

  .shop-search input {
    padding: 11px 12px;
    font-size: 13px;
  }

  .shop-search button {
    height: 40px;
    padding: 0 12px;
  }

  .shop-header__link {
    display: none;
  }

  .shop-cart-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
    gap: 0;
    position: relative;
  }

  .shop-cart-btn span {
    display: none;
  }

  .shop-cart-btn__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .shop-menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .shop-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out);
  }

  .shop-nav-backdrop[hidden] {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  body.shop-nav-open .shop-nav-backdrop,
  body.shop-nav-open .shop-nav-backdrop[hidden] {
    opacity: 1;
    pointer-events: auto;
  }

  .shop-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 210;
    background: #0a0a0a;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(105%);
    transition: transform 0.3s var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
  }

  .shop-nav.is-open {
    transform: translateX(0);
  }

  body.shop-nav-open {
    overflow: hidden;
  }

  .shop-nav__inner {
    flex-direction: column;
    overflow: visible;
    padding: 18px 14px 28px;
    gap: 4px;
  }

  .shop-nav__inner::before {
    content: "Kategoriler";
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding: 8px 12px 12px;
  }

  .shop-nav__all,
  .shop-nav__link {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
  }

  /* —— Hero: tek slayt, ortalı, kurumsal —— */
  .shop-hero {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .shop-hero__track {
    width: 100%;
  }

  .shop-hero__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 260px;
    align-items: center;
    justify-items: center;
  }

  .shop-hero__content {
    padding: 36px var(--site-pad) 52px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin-inline: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
  }

  .shop-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .shop-hero__title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    line-height: 1.22;
    margin: 0 0 10px;
    max-width: 18ch;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .shop-hero__text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 18px;
    max-width: 32ch;
    color: rgba(255, 255, 255, 0.78);
  }

  .shop-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 300px;
  }

  .shop-hero__content .btn {
    padding: 11px 12px;
    font-size: 13px;
    border-radius: 10px;
    min-height: 42px;
    width: 100%;
    justify-content: center;
  }

  .shop-hero__controls {
    left: 0;
    right: 0;
    bottom: 14px;
    width: auto;
    transform: none;
    padding-inline: 0;
    justify-content: center;
  }

  /* Avantajlar — minimal 2x2 */
  .section--tight {
    padding: 20px 0 8px;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .trust-item {
    gap: 8px;
    padding: 10px 10px;
    align-items: center;
  }

  .trust-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .trust-item__icon svg {
    width: 14px;
    height: 14px;
  }

  .trust-item strong {
    font-size: 12px;
    margin-bottom: 0;
  }

  .trust-item p {
    font-size: 11px;
    line-height: 1.3;
  }

  /* Kategoriler — 2’li galeri */
  .cat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cat-tile {
    min-height: 88px;
    padding: 12px;
    border-radius: 14px;
  }

  .cat-tile strong {
    font-size: 13px;
  }

  .cat-tile span {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Ürünler — her zaman 2 kolon galeri */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .product-card {
    border-radius: 14px;
    min-width: 0;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card__body {
    padding: 10px;
    gap: 6px;
  }

  .product-card__title {
    font-size: 12.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card__meta {
    font-size: 10px;
  }

  .product-card__rating span:last-child {
    font-size: 10px;
  }

  .product-card__prices strong {
    font-size: 13px;
  }

  .product-card__prices s {
    font-size: 10px;
  }

  .product-card__add {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .product-card__badge {
    font-size: 10px;
    padding: 4px 7px;
    top: 8px;
    left: 8px;
  }

  .product-card__brand-mark {
    font-size: 9px;
    left: 10px;
    bottom: 8px;
  }

  .section {
    padding: 28px 0;
  }

  .section__title {
    font-size: 1.2rem;
  }

  .promo-band {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promo-card {
    min-height: 140px;
    padding: 18px;
  }

  .promo-card h3 {
    font-size: 1.1rem;
  }

  .listing {
    grid-template-columns: 1fr;
    padding: 16px 0 40px;
  }

  .filters {
    position: static;
    display: none;
  }

  .filters.is-open {
    display: block;
  }

  .filters-mobile-toggle {
    display: inline-flex;
  }

  .pdp__grid,
  .cart__grid,
  .shop-footer__grid {
    grid-template-columns: 1fr;
  }

  .pdp__gallery {
    position: static;
  }

  .pdp__actions {
    grid-template-columns: 1fr;
  }

  .shop-newsletter {
    flex-direction: column;
  }

  .shop-newsletter button {
    height: 44px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-pad: 18px;
  }

  .shop-header__promo-inner {
    justify-content: center;
    text-align: center;
  }

  .shop-header__promo-inner span {
    display: none;
  }

  .shop-header__main {
    padding-block: 10px;
    row-gap: 10px;
  }

  .shop-logo img {
    height: 20px;
    max-width: 108px;
  }

  .shop-hero__slide {
    min-height: 268px;
  }

  .shop-hero__content {
    padding: 32px var(--site-pad) 56px;
  }

  .shop-hero__title {
    font-size: 1.38rem;
    max-width: 16ch;
  }

  .shop-hero__text {
    max-width: 28ch;
    font-size: 0.88rem;
  }

  .shop-hero__actions {
    max-width: 280px;
  }

  .shop-hero__content .btn {
    padding: 11px 10px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stars {
    width: 56px;
    height: 10px;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item__side {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .cart-item__side strong {
    margin: 0;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar__sort {
    width: 100%;
    justify-content: space-between;
  }

  .toolbar__sort select {
    flex: 1;
    min-width: 0;
  }
}

/* —— Auth / Account / Checkout / Legal —— */
.auth-page,
.account-page,
.checkout-page,
.legal-page,
.checkout-done {
  padding: 28px 0 56px;
}

.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow-sm);
}

.auth-card--wide {
  max-width: 560px;
}

.auth-card__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.auth-card__lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-card__foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.auth-card__foot a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-form label > span,
.checkout-fields label > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.checkout-fields input,
.checkout-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.auth-form input:focus,
.checkout-fields input:focus,
.checkout-fields textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.auth-check input {
  margin-top: 3px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.auth-check a {
  color: var(--brand-dark);
  font-weight: 700;
}

.auth-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.auth-alert p {
  margin: 0;
}

.auth-alert--error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.auth-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.account-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.account-head h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.account-head__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.account-head__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
  gap: 16px;
}

.account-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.account-panel h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.account-empty {
  color: var(--muted);
  margin: 0;
}

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-order {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  align-items: center;
}

.account-order:hover {
  border-color: rgba(0, 198, 255, 0.45);
  background: rgba(0, 198, 255, 0.04);
}

.account-merchant {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.account-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-links a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.order-lines {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.order-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.order-totals > div {
  display: flex;
  justify-content: space-between;
}

.order-totals__grand {
  font-weight: 800;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.checkout-head h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.checkout-head__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.checkout-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
}

.checkout-block h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-fields__full {
  grid-column: 1 / -1;
}

.checkout-toggle {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
}

.checkout-legal-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px;
}

/* Ödeme yöntemi + banka + kargo notu */
.pay-methods {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.pay-method {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.pay-method:has(input:checked),
.pay-method.is-active:has(input:checked) {
  border-color: rgba(0, 198, 255, 0.55);
  background: rgba(0, 198, 255, 0.06);
}

.pay-method.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pay-method input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.pay-method__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pay-method__body strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.pay-method__body em {
  font-style: normal;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.bank-box {
  margin-top: 4px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.bank-box__head h3 {
  margin: 0 0 4px;
  font-size: 0.92rem;
}

.bank-box__head p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bank-grid--compact {
  grid-template-columns: 1fr;
}

.bank-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
}

.bank-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.bank-card__top strong {
  font-size: 0.9rem;
}

.bank-card__top span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.bank-card__name {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.bank-card__iban {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.bank-card__iban code {
  flex: 1 1 auto;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: break-all;
}

.bank-card__copy {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.bank-card__copy:hover,
.bank-card__copy.is-copied {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.checkout-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-note__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-note__label > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.checkout-note__label em {
  font-style: normal;
  font-size: 12px;
  color: #94a3b8;
}

.checkout-note__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  background: #fff;
  resize: vertical;
  min-height: 88px;
  color: var(--ink);
}

.checkout-note__input--single {
  min-height: 44px;
  resize: none;
}

.checkout-note__input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.checkout-note__input::placeholder {
  color: #94a3b8;
}

.pay-success {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 0 56px;
}

.pay-success__hero {
  background: #0a0a0a;
  color: #fff;
  border-radius: 16px;
  padding: 24px;
}

.pay-success__hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.pay-success__lead {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.pay-success__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.pay-steps {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.pay-steps h2,
.receipt-upload h2,
.receipt-list h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.pay-steps ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pay-steps li + li {
  margin-top: 6px;
}

.bank-box--done {
  background: #fff;
}

.receipt-upload,
.receipt-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.receipt-upload__head p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.receipt-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.receipt-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.receipt-drop--sm {
  min-height: 64px;
}

.receipt-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.receipt-drop span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.receipt-list ul,
.receipt-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-list li,
.receipt-mini li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.receipt-list li:last-child,
.receipt-mini li:last-child {
  border-bottom: 0;
}

.receipt-mini {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .bank-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 16px;
}

.checkout-summary h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.checkout-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  max-height: 220px;
  overflow: auto;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.checkout-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.checkout-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.legal-nav {
  background: #0a0a0a;
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 16px;
  position: sticky;
  top: 16px;
}

.legal-nav h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13px;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  background: rgba(0, 198, 255, 0.14);
  color: #fff;
}

.legal-merchant {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.legal-content__summary {
  margin: 0 0 6px;
  color: var(--muted);
}

.legal-content__meta {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}

.prose h2 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.prose ul {
  padding-left: 1.2rem;
}

.legal-index {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-index a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.legal-index a:hover {
  border-color: rgba(0, 198, 255, 0.45);
}

.legal-index strong {
  display: block;
  margin-bottom: 4px;
}

.legal-index span {
  font-size: 13px;
  color: var(--muted);
}

.shop-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.shop-footer__legal a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  font-size: 12px;
}

.shop-footer__legal a:hover {
  opacity: 1;
  color: var(--brand);
}

@media (max-width: 900px) {
  .account-grid,
  .checkout-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .account-order {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

/* —— Account panel (müşteri hesabı) —— */
.ap {
  --ap-gap: 16px;
  --ap-radius: 14px;
  --ap-border: #e8edf2;
  --ap-ink: #0f172a;
  --ap-muted: #64748b;
  --ap-surface: #ffffff;
  --ap-soft: #f7f9fb;
  padding: 24px 0 72px;
  background: var(--ap-soft);
  min-height: 70vh;
}

.page-account .shop-main {
  background: var(--ap-soft);
}

.ap__crumb {
  margin-bottom: 14px;
}

.ap-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  margin-bottom: var(--ap-gap);
  border-radius: var(--ap-radius);
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-hero__identity {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.ap-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  background: var(--brand);
  flex: 0 0 auto;
}

.ap-hero__eyebrow {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 198, 255, 0.85);
}

.ap-hero__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}

.ap-hero__meta {
  margin: 5px 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ap-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ap-btn--solid {
  background: var(--brand);
  color: #0a0a0a;
}

.ap-btn--solid:hover {
  background: var(--brand-hover);
}

.ap-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

.ap-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.ap-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--ap-gap);
  align-items: start;
}

.ap-nav {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 14px 10px;
  position: sticky;
  top: 16px;
}

.ap-nav__label {
  margin: 0 10px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-muted);
}

.ap-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ap-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.ap-nav__link:hover {
  background: var(--ap-soft);
  color: var(--ap-ink);
}

.ap-nav__link.is-active {
  background: rgba(0, 198, 255, 0.1);
  color: var(--brand-dark);
}

.ap-nav__icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.45;
  flex: 0 0 auto;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.ap-nav__icon--grid {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z'/%3E%3C/svg%3E");
}

.ap-nav__icon--box {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7l9-4 9 4v10l-9 4-9-4V7zm9 2l6.5-2.9L12 3.2 5.5 6.1 12 9zm-7 1.2l7 3.1v7.2l-7-3.1v-7.2zm16 0v7.2l-7 3.1v-7.2l7-3.1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7l9-4 9 4v10l-9 4-9-4V7zm9 2l6.5-2.9L12 3.2 5.5 6.1 12 9zm-7 1.2l7 3.1v7.2l-7-3.1v-7.2zm16 0v7.2l-7 3.1v-7.2l7-3.1z'/%3E%3C/svg%3E");
}

.ap-nav__icon--pin {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}

.ap-nav__icon--user {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E");
}

.ap-nav__link.is-active .ap-nav__icon {
  opacity: 0.9;
  background: var(--brand-dark);
}

.ap-nav__foot {
  margin-top: 12px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--ap-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ap-nav__foot a {
  font-size: 12px;
  color: var(--ap-muted);
  text-decoration: none;
  font-weight: 600;
}

.ap-nav__foot a:hover {
  color: var(--brand-dark);
}

.ap-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ap-gap);
}

.ap-pagehead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 0;
  padding-bottom: 2px;
}

.ap-pagehead__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--ap-ink);
}

.ap-pagehead__sub {
  margin: 4px 0 0;
  color: var(--ap-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ap-pagehead__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ap-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ap-kpi {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}

.ap-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 198, 255, 0.55);
}

.ap-kpi__label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ap-muted);
  margin-bottom: 8px;
}

.ap-kpi__value {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ap-ink);
  line-height: 1;
  font-weight: 700;
}

.ap-kpi__value--sm {
  font-size: 1.15rem;
}

.ap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ap-gap);
  align-items: stretch;
}

.ap-grid--profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ap-gap);
  align-items: stretch;
}

.ap-stack {
  display: flex;
  flex-direction: column;
  gap: var(--ap-gap);
  height: 100%;
}

.ap-card {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 18px;
}

.ap-card--equal {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.ap-card--orders {
  min-height: 160px;
}

.ap-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ap-border);
}

.ap-card__head h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ap-ink);
}

.ap-card__head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
}

.ap-card__head a:hover {
  text-decoration: underline;
}

.ap-muted {
  color: var(--ap-muted);
  font-size: 0.86rem;
  margin: 0;
}

.ap-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 2px;
}

.ap-placeholder p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ap-text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
}

.ap-text-link:hover {
  text-decoration: underline;
}

.ap-empty {
  text-align: center;
  padding: 28px 16px;
}

.ap-empty--inline {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 8px 0 2px;
  flex-wrap: wrap;
}

.ap-empty__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 198, 255, 0.16), rgba(0, 198, 255, 0.04));
  border: 1px solid rgba(0, 198, 255, 0.2);
  flex: 0 0 auto;
}

.ap-empty strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--ap-ink);
}

.ap-empty p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 0.88rem;
}

.ap-empty--panel {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 36px 20px;
}

.ap-empty--inline .btn {
  margin-left: auto;
}

.ap-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ap-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ap-muted);
  padding: 0 10px 10px 0;
  border-bottom: 1px solid var(--ap-border);
}

.ap-table td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--ap-border);
  vertical-align: middle;
  color: #334155;
}

.ap-table tr:last-child td {
  border-bottom: 0;
}

.ap-table__link {
  font-weight: 700;
  color: var(--ap-ink);
  text-decoration: none;
}

.ap-table__link:hover {
  color: var(--brand-dark);
}

.ap-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #f1f5f9;
  color: #475569;
}

.ap-status--pending { background: #fff7ed; color: #c2410c; }
.ap-status--paid,
.ap-status--processing { background: #ecfeff; color: #0e7490; }
.ap-status--shipped { background: #eff6ff; color: #1d4ed8; }
.ap-status--completed { background: #ecfdf5; color: #047857; }
.ap-status--cancelledled,
.ap-status--refunded { background: #fff1f2; color: #be123c; }

.ap-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
}

.ap-address p {
  margin: 0;
}

.ap-address strong {
  color: var(--ap-ink);
  margin-top: 2px;
}

.ap-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  margin-bottom: 4px;
}

.ap-pill--cyan {
  background: rgba(0, 198, 255, 0.12);
  color: var(--brand-dark);
}

.ap-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ap-gap);
}

.ap-address-card__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ap-address-card__actions a,
.ap-link-danger {
  font-size: 12px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--brand-dark);
  text-decoration: none;
  font: inherit;
}

.ap-link-danger {
  color: #be123c;
}

.ap-address-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ap-address-flags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 4px;
  padding: 12px;
  border-radius: 10px;
  background: var(--ap-soft);
  border: 1px solid var(--ap-border);
}

.ap-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-form label > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ap-muted);
  margin-bottom: 6px;
}

.ap-form input,
.ap-form textarea {
  width: 100%;
  border: 1px solid var(--ap-border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.ap-form input:disabled {
  background: #f1f5f9;
  color: var(--ap-muted);
}

.ap-form input:focus,
.ap-form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.ap-field-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-style: normal;
  color: var(--ap-muted);
}

.ap-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ap-form__full {
  grid-column: 1 / -1;
}

.ap-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.btn--sm {
  padding: 8px 12px;
  font-size: 12px;
  min-height: 34px;
  border-radius: 9px;
}

.page-account .btn--primary {
  box-shadow: none;
}

.page-account .btn--primary:hover {
  transform: none;
}

@media (max-width: 1100px) {
  .ap-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ap {
    padding: 16px 0 56px;
  }

  .ap-shell {
    grid-template-columns: 1fr;
  }

  .ap-nav {
    position: static;
    padding: 12px;
  }

  .ap-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .ap-nav__foot {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .ap-grid,
  .ap-grid--profile,
  .ap-duo,
  .ap-address-grid {
    grid-template-columns: 1fr;
  }

  .ap-hero {
    padding: 16px;
  }

  .ap-form__grid {
    grid-template-columns: 1fr;
  }

  .ap-empty--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-empty--inline .btn {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .ap-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ap-kpi {
    padding: 12px;
  }

  .ap-kpi__value {
    font-size: 1.25rem;
  }

  .ap-hero__actions {
    width: 100%;
  }

  .ap-hero__actions .ap-btn {
    flex: 1 1 auto;
  }

  .ap-table--orders thead {
    display: none;
  }

  .ap-table--orders tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ap-border);
  }

  .ap-table--orders td {
    border: 0;
    padding: 0;
  }

  .ap-table--orders td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ap-muted);
    margin-bottom: 2px;
  }

  .ap-table--orders td:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
