/* ---------- Temel ---------- */

@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --brand: #c8102e;
  --brand-dark: #9a0c22;
  --brand-soft: #fdecee;
  --ink: #101820;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f4f6f8;
  --sale: #d4193b;
  --success: #0f9f55;
  --warning: #c2410c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  --shadow-hover: 0 18px 40px rgba(16, 24, 32, 0.14);
  --shadow-lg: 0 24px 60px rgba(16, 24, 32, 0.2);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Inter", "Segoe UI", sans-serif;
  --sticky-top: 140px;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 420ms;
  --dur-4: 700ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

#site-header,
#site-footer {
  display: contents;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

svg[aria-hidden="true"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.section {
  margin-top: 52px;
  margin-bottom: 52px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}

.section-head a {
  position: relative;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.section-head a::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-3) var(--ease-out);
}

.section-head a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Hareket: sayfa geçişleri, beliren bölümler ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(root) {
  animation: page-out 200ms var(--ease-in-out) both;
}

::view-transition-new(root) {
  animation: page-in 420ms var(--ease-out) both;
}

::view-transition-old(site-header) {
  display: none;
}

::view-transition-new(site-header) {
  animation: none;
}

@keyframes page-out {
  to {
    opacity: 0;
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

.has-reveal [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.has-reveal [data-reveal].is-visible {
  animation: reveal-up 0.85s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.img-fade {
  opacity: 0;
}

.img-fade.is-loaded {
  opacity: 1;
}

/* ---------- Butonlar ve form elemanları ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
  transition-duration: 90ms;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-arrow {
  transition: transform var(--dur-3) var(--ease-out);
}

.btn:hover .btn-arrow,
.hero-slide:hover .btn-arrow,
.promo:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform var(--dur-4) var(--ease-out);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(158, 28, 74, 0.28);
  transform: translateY(-1px);
}

.btn-primary:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.btn.is-added {
  background: var(--success);
  box-shadow: 0 10px 24px rgba(15, 159, 85, 0.28);
  animation: added-pop 0.5s var(--ease-spring);
}

@keyframes added-pop {
  40% {
    transform: scale(1.04);
  }
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  border-color: var(--line);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brand-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-whatsapp {
  background: #1fa855;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #178a45;
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-2), text-underline-offset var(--dur-2) var(--ease-out);
}

.link-btn:hover {
  color: var(--brand-dark);
  text-underline-offset: 5px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out);
}

.icon-btn:hover {
  background: #fdecef;
  color: var(--sale);
}

.icon-btn:active {
  transform: scale(0.9);
}

.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #dcd8dc;
  border-radius: 8px;
  background: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}

.input:hover {
  border-color: #c9c3c9;
}

textarea.input {
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

select.input,
.select {
  padding-right: 40px;
  background: #fff var(--chevron) no-repeat right 14px center / 14px;
  appearance: none;
  cursor: pointer;
}

.select {
  height: 44px;
  padding-left: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color var(--dur-2);
}

.select:hover {
  border-color: var(--ink);
}

.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(158, 28, 74, 0.1);
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: none;
  font-size: 20px;
  transition: background-color var(--dur-1);
}

.qty button:hover:not(:disabled) {
  background: var(--bg-soft);
}

.qty button:active:not(:disabled) {
  background: var(--line);
}

.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty output {
  min-width: 34px;
  font-weight: 700;
  text-align: center;
}

.qty output.tick {
  animation: number-tick var(--dur-3) var(--ease-out);
}

@keyframes number-tick {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}

.qty-sm {
  height: 38px;
}

.qty-sm button {
  width: 34px;
  font-size: 17px;
}

/* ---------- Üst bilgi ---------- */

.topbar {
  background: var(--ink);
  color: #f1eef1;
  font-size: 12.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
}

.topbar-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.topbar nav {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
}

.topbar nav a {
  opacity: 0.8;
  transition: opacity var(--dur-2);
}

.topbar nav a:hover {
  opacity: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
  view-transition-name: site-header;
}

.is-scrolled .header {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(24, 16, 28, 0.08);
}

.header-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: letter-spacing var(--dur-4) var(--ease-out), color var(--dur-2);
}

.header .logo:hover {
  letter-spacing: 0.2em;
}

.logo small {
  display: block;
  margin-top: 6px;
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: none;
  transition: background-color var(--dur-2);
}

.menu-toggle:hover {
  background: var(--bg-soft);
}

.search {
  position: relative;
  flex: 1;
  max-width: 640px;
}

.search input {
  width: 100%;
  height: 46px;
  padding: 0 52px 0 18px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: #f3f1f2;
  font-size: 14.5px;
  outline: none;
  transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2), box-shadow var(--dur-3) var(--ease-out);
}

.search input:hover {
  background: #efecee;
}

.search input:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(158, 28, 74, 0.1);
}

.search button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--brand);
  transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}

.search button:hover {
  background: var(--brand-soft);
  transform: scale(1.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.action svg {
  transition: transform var(--dur-3) var(--ease-spring);
}

.action:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.action:hover svg {
  transform: translateY(-2px) scale(1.06);
}

.action.is-receiving svg {
  animation: cart-receive 0.65s var(--ease-spring);
}

@keyframes cart-receive {
  30% {
    transform: scale(1.28) rotate(-10deg);
  }
  60% {
    transform: scale(0.94) rotate(5deg);
  }
}

.count {
  position: absolute;
  top: 1px;
  left: 25px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}

.count.bump {
  animation: bump 0.55s var(--ease-spring);
}

@keyframes bump {
  35% {
    transform: scale(1.45);
  }
  70% {
    transform: scale(0.9);
  }
}

.catnav {
  border-top: 1px solid var(--line);
}

.catnav-inner {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 46px;
}

.catnav-item {
  display: flex;
}

.catnav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 600;
  transition: color var(--dur-2) var(--ease-out);
}

.catnav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform var(--dur-3) var(--ease-out);
}

.catnav-item:hover .catnav-link,
.catnav-item:focus-within .catnav-link {
  color: var(--brand);
}

.catnav-item:hover .catnav-link::after,
.catnav-item:focus-within .catnav-link::after {
  transform: scaleX(1);
}

.catnav-link.accent {
  color: var(--sale);
}

.mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--dur-2) var(--ease-out) 90ms,
    transform var(--dur-3) var(--ease-out) 90ms,
    visibility 0s linear calc(var(--dur-3) + 90ms);
}

.catnav-item:hover .mega,
.catnav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--dur-2) var(--ease-out) 40ms,
    transform var(--dur-3) var(--ease-out) 40ms,
    visibility 0s linear 40ms;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 32px;
  padding: 28px 0;
}

.mega-inner.mega-groups {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.mega-inner.mega-simple {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
}

.mega h4 {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mega-links a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out), color var(--dur-1);
}

.catnav-item:hover .mega-links a,
.catnav-item:focus-within .mega-links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(90ms + var(--i, 0) * 35ms), calc(90ms + var(--i, 0) * 35ms), 0s;
}

.catnav-item:hover .mega-links a:hover {
  color: var(--brand);
  transform: translateX(5px);
  transition-delay: 0s;
}

.mega-links .mega-all {
  color: var(--brand);
  font-weight: 600;
}

.mega-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
}

.mega-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.12);
  transition: transform 1.2s var(--ease-out);
}

.catnav-item:hover .mega-card img {
  transform: scale(1);
}

.catnav-item:hover .mega-card:hover img {
  transform: scale(1.05);
}

.mega-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(20, 12, 18, 0.75));
  color: #fff;
  font-weight: 600;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 10, 18, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(340px, 86vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(-105%);
  transition: transform var(--dur-3) var(--ease-out);
}

.drawer-open .drawer {
  transform: none;
}

.drawer-open .drawer-overlay,
.filters-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-3) var(--ease-out), visibility 0s;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head .logo {
  font-size: 20px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 24px;
}

.drawer-body > * {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.drawer-open .drawer-body > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(120ms + var(--i, 0) * 40ms);
}

.drawer-body details {
  border-bottom: 1px solid var(--line);
}

.drawer-body summary {
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
}

.drawer-body details a {
  display: block;
  padding: 8px 0 8px 12px;
  color: var(--ink-2);
  transition: color var(--dur-1), padding-left var(--dur-2) var(--ease-out);
}

.drawer-body details a:hover {
  padding-left: 18px;
  color: var(--brand);
}

.drawer-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

/* ---------- Ana sayfa: kampanya afişi ---------- */

.hero {
  --hero-interval: 6.5s;
  position: relative;
  height: 480px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #1d1519;
  isolation: isolate;
}

.hero-viewport {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.9s var(--ease-in-out),
    transform 0.95s var(--ease-out),
    visibility 0s linear 0.9s;
}

.hero-slide.is-enter-next {
  transform: translate3d(6%, 0, 0);
}

.hero-slide.is-enter-prev {
  transform: translate3d(-6%, 0, 0);
}

.hero-slide.is-leave-next {
  transform: translate3d(-5%, 0, 0);
}

.hero-slide.is-leave-prev {
  transform: translate3d(5%, 0, 0);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.9s var(--ease-in-out), transform 0.95s var(--ease-out), visibility 0s;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 18, 0.72) 0%, rgba(20, 12, 18, 0.4) 42%, rgba(20, 12, 18, 0) 70%),
    linear-gradient(0deg, rgba(20, 12, 18, 0.5) 0%, rgba(20, 12, 18, 0) 34%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  translate: calc(var(--drag, 0) * 1px) 0;
  transition: transform 0s linear 0.9s, translate var(--dur-3) var(--ease-out);
}

.hero-slide.is-active .hero-media img {
  transform: scale(1.02);
  transition: transform 9s cubic-bezier(0.25, 0.6, 0.4, 1), translate var(--dur-3) var(--ease-out);
}

.hero.is-dragging .hero-slide.is-active .hero-media img {
  transition: transform 9s cubic-bezier(0.25, 0.6, 0.4, 1), translate 0s;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 64px 44px;
  color: #fff;
}

.hero-text {
  max-width: 520px;
}

.hero-text > * {
  opacity: 0;
  translate: 0 24px;
  filter: blur(8px);
  transition: opacity 0.45s var(--ease-out), translate 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}

.hero-slide.is-active .hero-text > * {
  opacity: 1;
  translate: 0 0;
  filter: none;
  transition: opacity 0.8s var(--ease-out), translate 1s var(--ease-out), filter 0.8s var(--ease-out);
}

.hero-slide.is-active .hero-text > :nth-child(1) {
  transition-delay: 0.3s;
}

.hero-slide.is-active .hero-text > :nth-child(2) {
  transition-delay: 0.42s;
}

.hero-slide.is-active .hero-text > :nth-child(3) {
  transition-delay: 0.54s;
}

.hero-slide.is-active .hero-text > :nth-child(4) {
  transition-delay: 0.66s;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
}

.hero p {
  margin-bottom: 26px;
  font-size: 17px;
  opacity: 0.92;
}

.hero-controls {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-right: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.hero-current {
  display: inline-block;
  color: #fff;
  font-size: 18px;
}

.hero-current.tick {
  animation: number-tick var(--dur-3) var(--ease-out);
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  transition:
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2),
    transform var(--dur-3) var(--ease-spring);
}

.hero-arrow:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  transform: scale(1.08);
}

.hero-arrow:active {
  transform: scale(0.94);
}

.hero-tabs {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr));
  gap: 20px;
  padding: 0 64px 22px;
}

.hero-tab {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 10px 0 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  transition: color var(--dur-2) var(--ease-out);
}

.hero-tab-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-tab:hover,
.hero-tab.is-active {
  color: #fff;
}

.hero-tab-bar {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: height var(--dur-2) var(--ease-out);
}

.hero-tab:hover .hero-tab-bar {
  height: 4px;
}

.hero-tab-bar i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-tab.is-done .hero-tab-bar i {
  transform: scaleX(1);
}

.hero-tab.is-active .hero-tab-bar i {
  animation: hero-progress var(--hero-interval) linear forwards;
}

.hero.is-paused .hero-tab.is-active .hero-tab-bar i {
  animation-play-state: paused;
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- Ana sayfa: diğer bölümler ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.trust-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--brand);
  stroke-width: 1.4;
  transition: transform var(--dur-3) var(--ease-spring);
}

.trust-item:hover svg {
  transform: scale(1.14) rotate(-6deg);
}

.trust-item b {
  display: block;
  font-size: 14px;
}

.trust-item span {
  color: var(--muted);
  font-size: 12.5px;
}

.cat-circles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: color var(--dur-2);
}

.cat-circle:hover {
  color: var(--brand);
}

.cat-circle-img {
  width: 100%;
  max-width: 128px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from var(--ring-angle), var(--brand), #f2a8c0, #e9c9a8, var(--brand));
  aspect-ratio: 1;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}

.cat-circle:hover .cat-circle-img {
  box-shadow: 0 12px 26px rgba(158, 28, 74, 0.2);
  transform: translateY(-5px);
  animation: ring-spin 2.4s linear infinite;
}

@keyframes ring-spin {
  to {
    --ring-angle: 360deg;
  }
}

.cat-circle-img > span {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
}

.cat-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--dur-4) var(--ease-out);
}

.cat-circle:hover .cat-circle-img img {
  transform: scale(1.1);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.promo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f3ece6;
  transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.promo:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.promo.dark {
  background: #1f151a;
  color: #fff;
}

.promo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px;
}

.promo-text small {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.promo.dark .promo-text small {
  color: #f2a8c0;
}

.promo-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}

.promo-text p {
  opacity: 0.8;
}

.promo-media {
  overflow: hidden;
}

.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.promo:hover .promo-media img {
  transform: scale(1.07);
}

.discreet {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
}

.discreet svg {
  width: 46px;
  height: 46px;
  color: var(--brand);
  stroke-width: 1.3;
}

.discreet h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
}

.discreet p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- Ürün şeritleri ---------- */

.rail {
  position: relative;
}

.rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 16px) / 5);
  gap: 16px;
  margin: -10px -4px -18px;
  padding: 10px 4px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
  transition: --fade-start var(--dur-3) var(--ease-out), --fade-end var(--dur-3) var(--ease-out);
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-track:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.rail.can-prev .rail-track {
  --fade-start: 48px;
}

.rail.can-next .rail-track {
  --fade-end: 48px;
}

.rail-track > * {
  scroll-snap-align: start;
}

.rail-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.rail-track.is-dragging .card {
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .rail-track {
    cursor: grab;
  }
}

.rail-btn {
  position: absolute;
  top: 36%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-3) var(--ease-spring),
    background-color var(--dur-2),
    color var(--dur-2);
}

.rail-btn.prev {
  left: -20px;
}

.rail-btn.next {
  right: -20px;
}

.rail:hover .rail-btn:not(:disabled),
.rail-btn:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.rail-btn:hover {
  background: var(--ink);
  color: #fff;
}

.rail-btn:disabled {
  pointer-events: none;
}

.rail-progress {
  position: relative;
  height: 2px;
  margin: 14px auto 0;
  max-width: 320px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
  opacity: 0;
  transition: opacity var(--dur-3);
}

.rail.is-scrollable .rail-progress {
  opacity: 1;
}

.rail-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--ink);
  transform-origin: left center;
  transition: width var(--dur-3) var(--ease-out);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ---------- Ürün kartları ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out);
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--dur-4) var(--ease-out), transform 1.1s var(--ease-out);
  -webkit-user-drag: none;
}

.card:hover .card-media img:first-child {
  transform: scale(1.06);
}

.card-media .card-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
}

.card:hover .card-alt {
  opacity: 1;
  transform: scale(1);
}

.card.is-soldout .card-media img {
  opacity: 0.6;
  filter: grayscale(0.7);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity var(--dur-2);
}

.badge {
  padding: 4px 9px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-sale {
  background: var(--sale);
  color: #fff;
}

.badge-new {
  background: var(--ink);
  color: #fff;
}

.card-stock {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--warning);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.card-stock.out {
  color: var(--muted);
}

.card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--ink-2);
  transition: color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}

.card-fav svg {
  width: 20px;
  height: 20px;
}

.card-fav:hover {
  color: var(--brand);
  transform: scale(1.12);
}

.card-fav.active,
.fav-btn.active {
  color: var(--brand);
}

.card-fav.active svg,
.fav-btn.active svg {
  fill: currentColor;
}

.card-fav::after,
.fav-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.card-fav.pop svg,
.fav-btn.pop svg {
  animation: heart-pop 0.6s var(--ease-spring);
}

.card-fav.burst::after,
.fav-btn.burst::after {
  animation: heart-burst 0.6s var(--ease-out);
}

@keyframes heart-pop {
  30% {
    transform: scale(0.72);
  }
  60% {
    transform: scale(1.32);
  }
}

@keyframes heart-burst {
  from {
    opacity: 0.7;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.card-title {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color var(--dur-2);
}

.card:hover .card-title {
  color: var(--brand-dark);
}

.card-title b {
  font-weight: 700;
}

.card-color {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.swatch {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}

.card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: auto;
}

.card-price s {
  color: var(--muted);
  font-size: 13px;
}

.card-price strong {
  font-size: 17px;
  font-weight: 700;
}

.card-price.has-sale strong {
  color: var(--sale);
}

.tag-free {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

.tag-free svg {
  width: 16px;
  height: 16px;
}

.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #f2f0f1 25%, #e9e6e8 37%, #f2f0f1 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

.card-skeleton {
  aspect-ratio: 3 / 4.9;
}

.skeleton-media {
  aspect-ratio: 3 / 4;
}

.skeleton-line {
  height: 26px;
  margin-bottom: 14px;
}

.skeleton-line.short {
  width: 50%;
}

.skeleton-block {
  height: 280px;
  margin: 10px 0 40px;
}

.product-loading {
  margin-top: 60px;
}

@keyframes shimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

.text-warning {
  color: var(--warning);
  font-weight: 600;
}

.empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
  animation: reveal-up 0.7s var(--ease-out) both;
}

.empty h2,
.empty h3 {
  color: var(--ink);
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.empty-icon svg {
  width: 36px;
  height: 36px;
}

.empty .btn {
  margin: 8px 6px 0;
}

/* ---------- Kategori ve arama sayfası ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  transition: color var(--dur-2);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

.listing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.listing-head h1 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}

.listing-head p {
  margin: 0;
}

.listing-tools {
  display: flex;
  gap: 10px;
}

.filter-toggle {
  display: none;
}

.listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-bottom: 40px;
}

.filters {
  position: sticky;
  top: var(--sticky-top);
  max-height: calc(100vh - var(--sticky-top) - 20px);
  overflow-y: auto;
  padding-right: 6px;
}

.filters-head,
.filters-footer {
  display: none;
}

.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:first-child {
  padding-top: 0;
}

.filter-group h3 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.filter-cats a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  transition: color var(--dur-1), padding-left var(--dur-2) var(--ease-out);
}

.filter-cats a:hover,
.filter-cats a.active {
  color: var(--brand);
}

.filter-cats a:hover {
  padding-left: 4px;
}

.filter-cats a.active {
  font-weight: 700;
}

.filter-cats a.sub {
  padding-left: 12px;
}

.filter-cats a.sub:hover {
  padding-left: 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  min-width: 48px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color var(--dur-1), background-color var(--dur-2) var(--ease-out), color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}

.size-chip:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.size-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  animation: pick-pop 0.35s var(--ease-spring);
}

@keyframes pick-pop {
  50% {
    transform: scale(1.08);
  }
}

.color-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 8px;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border: 0;
  background: none;
  font-size: 12px;
  text-align: center;
}

.color-option .dot {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: outline-color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}

.color-option:hover .dot {
  transform: scale(1.1);
}

.color-option.active .dot {
  outline-color: var(--ink);
}

.color-option.active {
  font-weight: 700;
}

.price-presets {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.price-inputs input {
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur-2), box-shadow var(--dur-3) var(--ease-out);
}

.price-inputs input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(158, 28, 74, 0.1);
}

.price-inputs button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color var(--dur-2), transform var(--dur-1);
}

.price-inputs button:hover {
  background: #000;
}

.price-inputs button:active {
  transform: scale(0.96);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  animation: chip-in var(--dur-3) var(--ease-spring);
  transition: background-color var(--dur-2), color var(--dur-2);
}

.chip:hover {
  background: var(--brand);
  color: #fff;
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

.chip svg {
  width: 14px;
  height: 14px;
}

.chip-clear {
  background: none;
  color: var(--ink);
  text-decoration: underline;
}

.chip-clear:hover {
  background: none;
  color: var(--brand);
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Ürün detay sayfası ---------- */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 44px;
}

.pdp-enter .gallery-main {
  animation: gallery-in 0.8s var(--ease-out) both;
}

.pdp-enter .gallery-thumbs .thumb {
  animation: reveal-up 0.6s var(--ease-out) both;
  animation-delay: calc(0.15s + var(--i, 0) * 70ms);
}

.pdp-enter .pdp-info > * {
  animation: reveal-up 0.7s var(--ease-out) both;
  animation-delay: calc(0.1s + var(--i, 0) * 55ms);
}

@keyframes gallery-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
}

.gallery {
  position: sticky;
  top: var(--sticky-top);
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  outline: none;
}

.gallery.single {
  grid-template-columns: minmax(0, 1fr);
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
  opacity: 0.55;
  transition: opacity var(--dur-2) var(--ease-out);
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ink);
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.thumb:hover {
  opacity: 0.85;
}

.thumb.active {
  opacity: 1;
}

.thumb.active::after {
  opacity: 1;
  transform: none;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}

.thumb:hover img {
  transform: scale(1.08);
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  cursor: zoom-in;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform 0.55s var(--ease-out);
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-main.is-zooming .gallery-slide.is-current img {
  transform: scale(2.2);
}

.gallery-main.is-zooming .gallery-slide {
  cursor: crosshair;
}

.gallery-main.is-zooming .card-badges,
.gallery-main.is-zooming .gallery-counter {
  opacity: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-3) var(--ease-out),
    background-color var(--dur-2),
    color var(--dur-2);
}

.gallery-nav.prev {
  left: 14px;
  transform: translateX(-10px);
}

.gallery-nav.next {
  right: 14px;
  transform: translateX(10px);
}

.gallery-main:hover .gallery-nav,
.gallery-nav:focus-visible {
  opacity: 1;
  transform: none;
}

.gallery-nav:hover {
  background: var(--ink);
  color: #fff;
}

.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(27, 26, 31, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--dur-2);
}

.gallery-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity var(--dur-3), transform var(--dur-3) var(--ease-out);
}

.gallery-hint svg {
  width: 16px;
  height: 16px;
}

.gallery-main.hint-seen .gallery-hint {
  opacity: 0;
  transform: translate(-50%, 8px);
}

.gallery-dots {
  display: none;
}

.pdp-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdp-title {
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 600;
}

.pdp-sub {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.pdp-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pdp-discount {
  display: grid;
  place-items: center;
  min-width: 60px;
  height: 52px;
  border-radius: 8px;
  background: var(--sale);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.pdp-price s {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.pdp-price strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.pdp-price.has-sale strong {
  color: var(--sale);
}

.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

.tag svg {
  width: 16px;
  height: 16px;
}

.tag-green {
  background: #e8f7ef;
  color: var(--success);
}

.pdp-block {
  margin-bottom: 22px;
}

.pdp-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pdp-label b {
  color: var(--ink);
}

.pdp-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pdp-label-row .pdp-label {
  margin: 0;
}

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant {
  width: 58px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3);
}

.variant:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.variant.active {
  border-color: var(--ink);
}

.variant img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sizes.shake {
  animation: shake 0.4s var(--ease-out);
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-7px);
  }
  40%,
  80% {
    transform: translateX(7px);
  }
}

.size-btn {
  position: relative;
  min-width: 58px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  transition:
    border-color var(--dur-1),
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2),
    box-shadow var(--dur-2),
    transform var(--dur-2) var(--ease-spring);
}

.size-btn:hover:not(:disabled) {
  border-color: var(--ink);
  box-shadow: 0 6px 14px rgba(24, 16, 28, 0.08);
  transform: translateY(-2px);
}

.size-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  animation: pick-pop 0.35s var(--ease-spring);
}

.size-btn:disabled {
  background: repeating-linear-gradient(-45deg, #fff, #fff 6px, #f6f4f5 6px, #f6f4f5 12px);
  color: #b9b6bc;
  text-decoration: line-through;
  cursor: not-allowed;
}

.size-btn .low {
  position: absolute;
  top: -9px;
  right: -6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--warning);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.pdp-stock {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--warning);
  font-size: 13.5px;
  font-weight: 600;
}

.pdp-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.pdp-actions .btn-primary {
  flex: 1;
}

.fav-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  transition: color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}

.fav-btn:hover,
.fav-btn.active {
  border-color: var(--brand);
  color: var(--brand);
}

.fav-btn:active {
  transform: scale(0.92);
}

.perks {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  transition: background-color var(--dur-2);
}

.perks li:hover {
  background: #fcfbfb;
}

.perks li + li {
  border-top: 1px solid var(--line);
}

.perks svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
  stroke-width: 1.5;
}

.perks b {
  display: block;
  font-size: 14px;
}

.perks span {
  color: var(--muted);
  font-size: 13px;
}

.pdp-tabs {
  margin: 48px 0;
}

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  margin-bottom: -1px;
  padding: 14px 18px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--dur-2);
}

.tab::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform var(--dur-3) var(--ease-out);
}

.tab:hover {
  color: var(--ink);
}

.tab.active {
  color: var(--ink);
}

.tab.active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  max-width: 820px;
  padding: 24px 0;
}

.tab-panel.active {
  display: block;
  animation: reveal-up 0.5s var(--ease-out);
}

.rich h2 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.rich h2:first-child {
  margin-top: 0;
}

.rich p,
.rich li {
  color: var(--ink-2);
}

.rich ul {
  padding-left: 20px;
}

.features-table {
  width: 100%;
  border-collapse: collapse;
}

.features-table th,
.features-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.features-table th {
  width: 200px;
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 500;
}

.sticky-buy {
  display: none;
}

/* ---------- Tam ekran galeri ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: rgba(14, 10, 16, 0.95);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}

.lightbox.is-open {
  opacity: 1;
}

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: #fff;
}

.lb-counter {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.lb-counter b {
  display: inline-block;
  font-size: 18px;
}

.lb-track {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lb-track::-webkit-scrollbar {
  display: none;
}

.lb-slide {
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  min-height: 0;
  padding: 0 84px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.lb-slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94);
  transition: transform var(--dur-4) var(--ease-out), opacity var(--dur-3) var(--ease-out);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.is-open .lb-slide img {
  opacity: 1;
  transform: none;
}

.lb-close,
.lb-prev,
.lb-next {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  margin-top: -24px;
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

.lb-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px 22px;
}

.lb-thumb {
  width: 54px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: none;
  aspect-ratio: 3 / 4;
  opacity: 0.45;
  transition: opacity var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-2);
}

.lb-thumb:hover {
  opacity: 0.8;
}

.lb-thumb.active {
  box-shadow: 0 0 0 2px #fff;
  opacity: 1;
  transform: translateY(-4px);
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Pencereler, bildirimler, sepet animasyonu ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 10, 18, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}

.modal-overlay.open {
  opacity: 1;
}

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: transform var(--dur-3) var(--ease-spring), opacity var(--dur-2) var(--ease-out);
}

.modal-overlay.open .modal {
  opacity: 1;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}

.modal-close:hover {
  background: var(--line);
  transform: rotate(90deg);
}

.modal h2 {
  margin-bottom: 14px;
  padding-right: 40px;
  font-size: 20px;
}

.size-table {
  width: 100%;
  margin-bottom: 14px;
  border-collapse: collapse;
  font-size: 14px;
}

.size-table th,
.size-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.size-table th {
  background: var(--bg-soft);
  font-weight: 600;
}

.size-table tbody tr {
  transition: background-color var(--dur-1);
}

.size-table tbody tr:hover {
  background: var(--brand-soft);
}

.cart-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 45;
  width: 360px;
  padding: 16px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring);
}

.cart-popover.is-open {
  opacity: 1;
  transform: none;
}

.cart-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 40px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  transform: rotate(45deg);
}

.cart-popover-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--success);
  font-weight: 700;
}

.cart-popover-head > svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: #e8f7ef;
  stroke-width: 2.6;
}

.cart-popover-head .icon-btn {
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.cart-popover-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

.cart-popover-item img {
  width: 56px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.cart-popover-item span {
  display: block;
  margin: 3px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.cart-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-popover-actions .btn {
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.cart-popover-timer {
  position: absolute;
  right: 16px;
  bottom: 8px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.45;
  transform-origin: left;
}

.cart-popover.is-open .cart-popover-timer {
  animation: popover-timer 5s linear forwards;
}

.cart-popover:hover .cart-popover-timer {
  animation-play-state: paused;
}

@keyframes popover-timer {
  to {
    transform: scaleX(0);
  }
}

.fly-x {
  position: fixed;
  z-index: 120;
  pointer-events: none;
}

.fly-y {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(24, 16, 28, 0.3);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px) scale(0.96);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.toast.error {
  background: var(--sale);
}

.notice {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  animation: reveal-up 0.5s var(--ease-out);
}

.notice svg {
  color: #ea580c;
}

.notice ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.notice-info {
  border-color: #f4cdd9;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.notice-info svg {
  color: var(--brand);
}

/* ---------- Sepet ve ödeme ---------- */

.page-title {
  margin: 26px 0 20px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: 24px;
  margin-bottom: 48px;
}

.stack {
  display: grid;
  gap: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 16px;
}

.panel-body {
  padding: 20px;
}

.seller {
  font-size: 14px;
}

.seller b {
  color: var(--brand);
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto 120px 40px;
  grid-template-areas: "img info qty price remove";
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), background-color var(--dur-2);
}

.cart-item:hover {
  background: #fdfcfc;
}

.cart-item.is-removing {
  opacity: 0;
  transform: translateX(32px);
}

.cart-item + .cart-item {
  border-top: 1px solid var(--line);
}

.cart-item-img {
  grid-area: img;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}

.cart-item:hover .cart-item-img img {
  transform: scale(1.06);
}

.cart-item-info {
  grid-area: info;
  min-width: 0;
}

.cart-item-info a {
  transition: color var(--dur-2);
}

.cart-item-info a:hover {
  color: var(--brand);
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.cart-item .qty {
  grid-area: qty;
}

.cart-item-price {
  grid-area: price;
  text-align: right;
}

.cart-item-price s {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.cart-item-price strong {
  font-size: 16px;
}

.cart-item .icon-btn {
  grid-area: remove;
}

.summary {
  position: sticky;
  top: var(--sticky-top);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14.5px;
}

.summary-row .free {
  color: var(--success);
  font-weight: 600;
}

.summary-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.summary-total span:last-child {
  color: var(--brand);
}

.summary .btn-block {
  margin-top: 16px;
}

.summary-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--dur-3);
}

.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 13px;
  transition: background-color var(--dur-3) var(--ease-out), color var(--dur-3), transform var(--dur-3) var(--ease-spring);
}

.step.done,
.step.current {
  color: var(--ink);
}

.step.done .step-num {
  background: var(--success);
  color: #fff;
}

.step.current .step-num {
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}

.step-line {
  flex: 0 0 40px;
  height: 2px;
  background: var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field > label {
  font-size: 13.5px;
  font-weight: 600;
}

.field.invalid .input {
  border-color: var(--sale);
  animation: field-shake 0.4s var(--ease-out);
}

@keyframes field-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.field-error {
  color: var(--sale);
  font-size: 12.5px;
  font-weight: 500;
}

.field-error:not(:empty) {
  animation: reveal-up 0.3s var(--ease-out);
}

.pay-options {
  display: grid;
  gap: 12px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-3) var(--ease-out);
}

.pay-option:hover {
  border-color: #d9cfd4;
}

.pay-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(158, 28, 74, 0.08);
}

.pay-option input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.pay-option b {
  display: block;
  font-size: 15px;
}

.pay-option span {
  color: var(--muted);
  font-size: 13px;
}

.pay-option .fee {
  margin-left: auto;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}

.terms input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.terms a {
  color: var(--brand);
  text-decoration: underline;
}

.mini-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
}

.mini-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.mini-item img {
  width: 52px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.mini-item span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.success {
  max-width: 720px;
  margin: 40px auto 60px;
  text-align: center;
}

.success > * {
  animation: reveal-up 0.7s var(--ease-out) both;
}

.success > :nth-child(2) {
  animation-delay: 0.2s;
}

.success > :nth-child(3) {
  animation-delay: 0.28s;
}

.success > :nth-child(n + 4) {
  animation-delay: 0.36s;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8f7ef;
  color: var(--success);
}

.success > .success-icon {
  animation: success-pop 0.7s var(--ease-spring) both;
}

.success-icon svg {
  width: 44px;
  height: 44px;
  stroke-width: 2.2;
}

.success-icon svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw-check 0.5s 0.35s var(--ease-out) forwards;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

.success h1 {
  font-family: var(--font-display);
  font-size: 34px;
}

.order-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 15px;
}

.bank-card {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
}

.bank-card h3 {
  font-size: 17px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.bank-row:last-child {
  border-bottom: 0;
}

.iban-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 12px;
}

.iban {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.03em;
  word-break: break-all;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Sipariş takibi ---------- */

.track {
  max-width: 820px;
  margin: 0 auto 60px;
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}

.track-result {
  margin-top: 24px;
}

.track-result > .panel {
  animation: reveal-up 0.6s var(--ease-out);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 26px 0 10px;
}

.tl-step {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.tl-step::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 50%;
  left: -50%;
  height: 3px;
  background: var(--line);
  transform-origin: left;
}

.tl-step:first-child::before {
  display: none;
}

.tl-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
}

.tl-dot svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.tl-step.done {
  color: var(--ink);
}

.tl-step.done .tl-dot {
  background: var(--success);
  box-shadow: none;
  color: #fff;
  animation: success-pop 0.5s var(--ease-spring) both;
  animation-delay: calc(0.1s + var(--i, 0) * 180ms);
}

.tl-step.done::before {
  background: var(--success);
  animation: line-fill 0.5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 180ms - 0.1s);
}

@keyframes line-fill {
  from {
    transform: scaleX(0);
  }
}

.order-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Bilgi sayfaları ---------- */

.info-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  margin: 10px 0 60px;
}

.info-nav {
  position: sticky;
  top: var(--sticky-top);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color var(--dur-2), color var(--dur-2), padding-left var(--dur-2) var(--ease-out);
}

.info-nav a:hover,
.info-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.info-nav a:hover {
  padding-left: 18px;
}

.info-nav a.active {
  font-weight: 700;
}

.info-content {
  max-width: 800px;
}

.info-content h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color var(--dur-3), box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.contact-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-card svg {
  color: var(--brand);
}

.contact-card b {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- Alt bilgi ---------- */

.footer {
  margin-top: 64px;
  background: #16121a;
  color: #cfcad1;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 36px;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
}

.footer .logo small {
  color: #9b95a0;
}

.footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer a {
  transition: color var(--dur-2), transform var(--dur-2) var(--ease-out);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #f2a8c0;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f8a93;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badges span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 12px;
}

/* ---------- Mobil ---------- */

@media (hover: none) {
  .gallery-hint,
  .rail-btn {
    display: none;
  }

  .card:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail-track {
    grid-auto-columns: calc((100% - 3 * 16px) / 4);
  }

  .cat-circles {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mega-inner,
  .mega-inner.mega-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --sticky-top: 20px;
  }

  .topbar nav {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-main {
    flex-wrap: wrap;
    gap: 10px 12px;
    height: auto;
    padding: 10px 0;
  }

  .menu-toggle {
    display: grid;
  }

  .logo {
    font-size: 21px;
  }

  .header .logo small {
    display: none;
  }

  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .action {
    padding: 8px;
  }

  .action span,
  .action-track {
    display: none;
  }

  .count {
    left: 22px;
  }

  .catnav {
    display: none;
  }

  .cart-popover {
    right: 0;
    left: 0;
    width: auto;
  }

  .cart-popover::before {
    right: 18px;
  }

  .hero {
    height: 430px;
  }

  .hero-content {
    padding: 0 40px 56px;
  }

  .hero-tabs {
    gap: 12px;
    padding: 0 40px 20px;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    width: min(360px, 88vw);
    max-height: none;
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    transition: transform var(--dur-3) var(--ease-out);
  }

  .filters-open .filters {
    transform: none;
  }

  .filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
  }

  .filters-footer {
    display: block;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
  }

  .pdp {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery {
    position: static;
    grid-template-columns: 1fr;
  }

  .gallery-thumbs,
  .gallery-nav,
  .gallery-hint {
    display: none;
  }

  .gallery-slide {
    cursor: pointer;
  }

  .gallery-counter {
    top: 14px;
    bottom: auto;
  }

  .gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
  }

  .gallery-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: width var(--dur-3) var(--ease-out), background-color var(--dur-2);
  }

  .gallery-dots button.active {
    width: 22px;
    background: #fff;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .info-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

  .lb-slide {
    padding: 0 12px;
  }

  .lb-prev,
  .lb-next {
    display: none;
  }

  .sticky-buy {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    animation: sticky-in 0.6s 0.3s var(--ease-out) both;
  }

  @keyframes sticky-in {
    from {
      transform: translateY(100%);
    }
  }

  .sticky-buy .btn {
    flex: 1;
  }

  .sticky-buy s {
    display: block;
    color: var(--muted);
    font-size: 12px;
  }

  .sticky-buy strong {
    font-size: 18px;
  }

  body.has-sticky-buy {
    padding-bottom: 78px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 24px);
  }

  .section {
    margin-top: 36px;
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rail-track {
    grid-auto-columns: 46%;
    gap: 10px;
  }

  .cat-circles {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .cat-circle {
    font-size: 12.5px;
  }

  .hero {
    height: 460px;
  }

  .hero-slide {
    align-items: flex-end;
  }

  .hero-content {
    padding: 0 22px 62px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(20, 12, 18, 0.85) 0%, rgba(20, 12, 18, 0.35) 55%, rgba(20, 12, 18, 0.05) 100%);
  }

  .hero-controls {
    top: 16px;
    right: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-tabs {
    gap: 6px;
    padding: 0 22px 20px;
  }

  .hero-tab {
    padding: 0;
  }

  .hero-tab-label {
    display: none;
  }

  .hero p {
    font-size: 15px;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    padding: 12px;
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
  }

  .promo {
    grid-template-columns: 1fr 1fr;
    min-height: 240px;
  }

  .promo-text {
    padding: 20px;
  }

  .promo-text h3 {
    font-size: 21px;
  }

  .discreet {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .card-body {
    padding: 10px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-price strong {
    font-size: 15px;
  }

  .listing-head h1,
  .page-title {
    font-size: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr) 36px;
    grid-template-areas:
      "img info remove"
      "img qty price";
    gap: 8px 12px;
    padding: 16px;
  }

  .cart-item .qty {
    justify-self: start;
  }

  .track-form {
    grid-template-columns: 1fr;
  }

  .timeline {
    font-size: 11.5px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-table th {
    width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-tab-bar i,
  .cart-popover-timer {
    animation-name: none !important;
  }

  .hero-tab.is-active .hero-tab-bar i {
    transform: scaleX(1);
  }

  .hero-media img,
  .hero-slide.is-active .hero-media img {
    transform: none;
  }

  .hero-text > * {
    filter: none;
  }
}

/* ---------- Oto yedek parça vitrin ---------- */

.theme-auto .logo {
  letter-spacing: 0.04em;
}

.theme-auto .logo small,
.logo small {
  letter-spacing: 0.18em;
}

.oem-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  background: #0b1520;
  color: #fff;
}

.oem-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.oem-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 22, 0.92) 0%, rgba(8, 14, 22, 0.72) 48%, rgba(8, 14, 22, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 14, 22, 0.45), transparent 40%);
}

.oem-hero-inner {
  padding: 64px 0 56px;
  max-width: 820px;
}

.oem-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.oem-hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.oem-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.oem-search input {
  height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.wa-find {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(31, 168, 85, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-find:hover {
  background: #178a45;
  color: #fff;
  transform: translateY(-1px);
}

.wa-find-icon {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.wa-find-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-find-copy {
  display: grid;
  gap: 4px;
}

.wa-find-copy strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.wa-find-copy small {
  font-size: 14px;
  opacity: 0.92;
}

.wa-find-light {
  margin-top: 18px;
  background: #128c4a;
}

.oem-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.oem-hints span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-panel {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.wizard-panel .section-head {
  margin-bottom: 14px;
}

.wizard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
}

.wizard label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wizard select {
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink);
}

.wizard .btn {
  align-self: end;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 148px;
  padding: 22px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.04);
  transition:
    transform var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    border-color var(--dur-2);
}

.brand-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.brand-tile:hover .brand-logo {
  transform: scale(1.04);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 76px;
  transition: transform var(--dur-3) var(--ease-out);
}

.brand-logo img,
.brand-logo svg {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

.brand-tile strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.card-part {
  display: -webkit-box;
  margin: 2px 0 6px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.card-sku,
.card-oem {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.card-oem {
  font-weight: 600;
  color: var(--ink-2);
}

.oem-box {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
}

.oem-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.oem-box span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
}

.oem-box b {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.brand-hero {
  background: linear-gradient(135deg, var(--brand-accent, #101820), var(--brand-accent2, #334155));
  color: var(--brand-ink, #fff);
  padding: 36px 0 48px;
  margin-bottom: 28px;
}

.brand-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.brand-hero .btn-light {
  margin-top: 18px;
}

.brand-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 8px;
}

.brand-model {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  backdrop-filter: blur(8px);
}

.brand-model small {
  opacity: 0.8;
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .wizard,
  .brand-grid,
  .brand-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .oem-search,
  .wizard,
  .brand-grid,
  .brand-models {
    grid-template-columns: 1fr;
  }
}

.blog-page {
  padding-bottom: 72px;
}

.blog-head {
  max-width: 720px;
  margin: 8px 0 32px;
}

.blog-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-grid-related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  min-height: 100%;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-2);
}

.blog-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}

.blog-card-body strong {
  font-size: 17px;
  line-height: 1.35;
}

.blog-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-meta {
  color: var(--muted);
  font-size: 13px;
}

.blog-article {
  max-width: 760px;
}

.blog-article h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 6px 0 10px;
}

.blog-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 22px 0 8px;
}

.blog-article .rich {
  font-size: 17px;
  line-height: 1.7;
}

.blog-article .rich a {
  color: var(--brand);
  font-weight: 600;
}

.blog-related {
  margin-top: 48px;
}

.blog-related h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .blog-grid,
  .blog-grid-related {
    grid-template-columns: 1fr;
  }
}
