:root {
  --background: #fafaf8;
  --foreground: #111827;
  --muted: #f3f4f6;
  --muted-foreground: #4b5563;
  --card: #ffffff;
  --sand: #f3f4f6;
  --sand-foreground: #374151;
  --primary: #2952e3;
  --primary-foreground: #ffffff;
  --border: #e5e7eb;
  --radius: 0.75rem;
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --max: 72rem;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --section-y-sm: clamp(3.25rem, 6vw, 5rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* clip yerine hidden kullanmak sticky header'ı bozar */
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  line-height: 1.5;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

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

.page { flex: 1; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.muted { color: var(--muted-foreground); }

/* Yardımcı sınıflar — sayfa şablonlarındaki inline stillerin yerine */
.m-0 { margin: 0; }
.mt-xs { margin-top: 0.35rem; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mb-xs { margin-bottom: 0.35rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-lg { margin-bottom: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.text-strong { font-weight: 600; }
.text-right { text-align: right; }
.measure-sm { max-width: 28rem; }
.measure-md { max-width: 36rem; }
.measure-lg { max-width: 40rem; }
.btn-block { width: 100%; text-align: center; }

/* Breadcrumb */
.breadcrumb-shell {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: color-mix(in srgb, var(--background) 94%, white);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.75rem;
  margin-block: 0;
  padding-block: 0.55rem;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 0.78rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: color-mix(in srgb, var(--muted-foreground) 55%, transparent);
}

.breadcrumb-list a {
  color: var(--muted-foreground);
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-desktop a { color: var(--muted-foreground); }
.nav-desktop a:hover { color: var(--foreground); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.icon-btn:hover { background: var(--muted); }

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-mobile[hidden] { display: none !important; }

.nav-mobile a { color: var(--muted-foreground); }

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand { font-weight: 700; font-size: 1.125rem; margin: 0 0 0.75rem; }
.footer-title { font-weight: 600; font-size: 0.875rem; margin: 0 0 0.75rem; }
.footer-cta {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.4rem 0; }
.footer-grid a { color: var(--muted-foreground); font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm { min-height: 2.25rem; padding: 0.35rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { min-height: 2.75rem; padding: 0.65rem 1.5rem; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { filter: brightness(0.95); color: var(--primary-foreground); }

.btn-outline {
  background: var(--card);
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); color: var(--foreground); }

.btn-secondary {
  background: var(--sand);
  color: var(--sand-foreground);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #1ebe57;
}
.btn-whatsapp:hover {
  filter: brightness(0.96);
  color: #fff;
}
.btn-whatsapp svg { flex-shrink: 0; }

.btn-whatsapp-outline {
  background: transparent;
  color: #128c7e;
  border-color: color-mix(in srgb, #25d366 55%, var(--border));
}
.btn-whatsapp-outline:hover {
  background: color-mix(in srgb, #25d366 10%, white);
  color: #0f6e63;
  filter: none;
}

.btn-text {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
  padding-inline: 0.35rem;
}
.btn-text:hover {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}

.order-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.product-final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: min(100%, 16rem);
}

.footer-whatsapp {
  margin: 0.75rem 0;
}
.footer-whatsapp a {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}
.footer-whatsapp a:hover { color: var(--primary); }

.whatsapp-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, calc(env(safe-area-inset-bottom) + 0.5rem));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(18, 70, 40, 0.28);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.whatsapp-float:hover {
  color: #fff;
  filter: brightness(0.97);
  transform: translateY(-2px);
}
.whatsapp-float-label { white-space: nowrap; }

@media (max-width: 520px) {
  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, calc(env(safe-area-inset-bottom) + 0.35rem));
    padding: 0.8rem;
  }
  .whatsapp-float-label { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--primary) 6%, white) 0%, var(--background) 58%, var(--muted) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: var(--section-y) 0;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 1rem 0 1.5rem;
  max-width: 36rem;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 26rem;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 1.25rem;
  background: var(--muted);
  box-shadow: 0 1.25rem 2.75rem color-mix(in srgb, var(--foreground) 8%, transparent);
}

.hero-visual picture { display: block; }

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 36rem; margin-bottom: 2rem; }
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  color: var(--foreground);
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--primary) 45%, var(--border));
  background: transparent;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.step-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.step-card p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--foreground) 8%, transparent);
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  display: grid;
  place-items: center;
}

.product-card-media .placeholder {
  width: 70%;
  height: 55%;
  border-radius: 0.75rem;
  background: var(--primary);
  opacity: 0.85;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nfc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--primary) 12%, white);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.product-card .line {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.price { font-size: 0.875rem; font-weight: 700; }

.band {
  border-block: 1px solid var(--border);
  background: var(--muted);
}

.band-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--section-y-sm) 0;
}

.band-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em;
}

.band-lead {
  margin: 0;
  max-width: 36rem;
}

.content-cta { margin-top: 1.5rem; }
.step-card .content-cta { margin-top: 1rem; }
.content-band {
  margin-top: var(--section-y-sm);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.content-band .band-inner { padding: 1.5rem; }

.section-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.placeholder-page {
  padding: 3rem 0 4rem;
  max-width: 40rem;
}

.placeholder-page h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

@media (min-width: 640px) {
  .hide-sm { display: inline-flex !important; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding: 4.5rem 0 5rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.hide-sm { display: none !important; }

@keyframes tap {
  0%, 100% { transform: translate(0, 0); }
  40%, 55% { transform: translate(70px, -8px); }
}
@keyframes pulse-ring {
  0%, 35% { opacity: 0; }
  45%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes fade-link {
  0%, 50% { opacity: 0; transform: translateY(6px); }
  60%, 85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

.anim-tap { transform-origin: center; animation: tap 2.8s ease-in-out infinite; }
.anim-ring { animation: pulse-ring 2.8s ease-in-out infinite; }
.anim-link { animation: fade-link 2.8s ease-in-out infinite; }

/* Product detail */
.product-detail {
  padding-top: var(--section-y-sm);
  padding-bottom: 0;
}

.product-detail h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--foreground);
  font-weight: 700;
}

.product-detail-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.product-detail-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1.25rem;
  background: var(--muted);
  overflow: hidden;
}

.product-detail-media.has-gallery {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.detail-placeholder {
  width: 70%;
  height: 55%;
  margin: 22% auto 0;
  border-radius: 0.85rem;
  background: var(--primary);
  opacity: 0.85;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--muted);
  cursor: zoom-in;
}

.gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--muted);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(12, 14, 20, 0.86);
  padding: 1rem;
}

.lightbox[hidden] { display: none !important; }

body.lightbox-open { overflow: hidden; }

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 56rem);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
}

.lightbox-figure figcaption {
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

@media (max-width: 640px) {
  .gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
  .lightbox-nav { width: 2.25rem; height: 2.25rem; font-size: 1.4rem; }
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 34rem;
}

.product-value {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.65;
}

.product-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.product-benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
}

.product-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.product-hero-actions .btn-primary {
  min-width: min(100%, 14rem);
}

.product-order {
  margin-top: var(--section-y);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: var(--card);
}

.product-order-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.product-order h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.product-order > div > p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 36rem;
}

.product-order .panel {
  max-width: 28rem;
}

@media (min-width: 900px) {
  .product-order-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel h2 { margin: 0; font-size: 1.1rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.875rem; }
.field-label { font-size: 0.875rem; font-weight: 600; margin: 0; }

.field input,
.field textarea,
.panel input[type="text"],
.panel input[type="email"],
.panel input[type="tel"],
.panel input[type="number"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: var(--background);
}

.variant-list { display: flex; flex-direction: column; gap: 0.5rem; }

.variant-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.variant-option:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, white);
}

.package-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--muted);
}

.package-summary > span {
  grid-column: 1 / -1;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-summary > strong {
  color: var(--foreground);
  font-size: 0.95rem;
}

.package-summary > small {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-price {
  margin: 0.25rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.long-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.long-desc p { margin: 0 0 0.75rem; }

.flash-notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  background: color-mix(in srgb, var(--primary) 8%, white);
  font-size: 0.9rem;
}

.flash-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #f0c4c4;
  background: #fff5f5;
  color: #8b1e1e;
  font-size: 0.9rem;
}

.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.25rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

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

.cart-layout,
.checkout-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem;
}

.cart-qty-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cart-qty-form input[type="number"] {
  width: 4.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
  font: inherit;
}

.cart-row-total { font-weight: 700; }

.cart-summary { gap: 1rem; }
.cart-summary h2,
.checkout-form h2 { margin: 0; font-size: 1.1rem; }

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid .span-2 { grid-column: 1 / -1; }

.check-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
}

.check-row a { color: var(--primary); text-decoration: underline; }

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-no {
  margin: 0.15rem 0 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 1.1rem;
}

@media (min-width: 700px) {
  .cart-row {
    grid-template-columns: 1.4fr auto auto auto;
  }
  .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .cart-layout { grid-template-columns: 1.6fr 0.9fr; align-items: start; }
  .checkout-grid { grid-template-columns: 1.5fr 0.9fr; align-items: start; }
}

/* Content pages (H5) */
.content-narrow { max-width: 44rem; }

.lead { font-size: 1.05rem; margin-top: 0.75rem; }

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card .muted { margin: 0.55rem 0 0; font-size: 0.9rem; }

.prose p {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p { margin: 0.75rem 0 0; font-size: 0.9rem; }

.legal-placeholder {
  margin-top: 1.25rem;
  border: 1px dashed var(--border);
  background: var(--muted);
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.legal-placeholder p { margin: 0; }

/* SEO-rich Google review product content */
.seo-product-content {
  max-width: 64rem;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.seo-product-content {
  margin-top: var(--section-y);
  border-top: 1px solid var(--border);
  padding-top: var(--section-y-sm);
}

.seo-section {
  scroll-margin-top: 5.5rem;
  padding: var(--section-y-sm) 0;
  border-bottom: 1px solid var(--border);
}

.seo-section:last-of-type { border-bottom: 0; }

.seo-section h2,
.product-final-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.seo-section h3 { margin: 0; font-size: 1.05rem; }

.seo-section > p,
.seo-intro > p {
  max-width: 48rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.seo-intro > p:first-of-type {
  font-size: 1.08rem;
  color: var(--foreground);
}

.seo-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.seo-heading > span {
  display: grid;
  flex: 0 0 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.seo-heading .eyebrow,
.product-final-cta .eyebrow { margin-bottom: 0.35rem; }

.seo-media-row {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.seo-media-figure {
  min-width: 0;
  margin: 0;
}

.seo-media-row > .seo-media-figure {
  width: min(100%, 20rem);
  justify-self: center;
}

.seo-content-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--muted);
  cursor: zoom-in;
  box-shadow: 0 0.6rem 1.6rem color-mix(in srgb, var(--foreground) 8%, transparent);
}

.seo-content-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.seo-content-image:hover img { transform: scale(1.015); }

.seo-media-figure figcaption {
  margin-top: 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.feature-steps {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}

.feature-steps li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 3.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  counter-increment: steps;
}

.feature-steps li::before {
  content: counter(steps);
  position: absolute;
  top: 1.1rem;
  left: 1.15rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--primary) 45%, var(--border));
  background: transparent;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-steps p {
  margin: 0.45rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-callout,
.policy-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 0.75rem 0.75rem 0;
  background: var(--muted);
}

.info-callout p,
.policy-note {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-callout p { margin: 0.35rem 0 0; }

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 48rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  font-size: 0.9rem;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.product-faq { max-width: 52rem; }

.product-final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: var(--section-y);
  margin-bottom: var(--section-y-sm);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.25rem;
  background: var(--primary);
  color: white;
}

.product-final-cta > div { max-width: 38rem; }
.product-final-cta .eyebrow { color: #dfe6ff; }
.product-final-cta p { margin: 0.7rem 0 0; color: #eef1ff; }
.product-final-cta .btn-primary { background: white; color: var(--primary); }

.metal-product-content .seo-media-row > div > .seo-media-figure {
  width: min(100%, 15rem);
  margin: 1.25rem auto 0;
}

.metal-product-content .seo-media-row {
  margin-top: 1.25rem;
}

.metal-product-content .seo-media-row + .seo-media-row {
  margin-top: 2rem !important;
}

@media (min-width: 760px) {
  .feature-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-media-row { grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); }
  .seo-media-row.seo-media-reverse { grid-template-columns: minmax(15rem, 1fr) minmax(0, 2fr); }
  .seo-media-row > .seo-media-figure { max-width: 20rem; }
  .seo-media-row:not(.seo-media-reverse) > .seo-media-figure { justify-self: end; }
  .seo-media-row.seo-media-reverse > .seo-media-figure { justify-self: start; }
  .seo-media-row .feature-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .seo-product-content { margin-top: 3rem; padding-top: 2rem; }
  .audience-list { grid-template-columns: 1fr; }
  .product-final-cta-actions .btn { width: 100%; text-align: center; }
  .metal-product-content .seo-media-row > div > .seo-media-figure { width: min(100%, 17rem); }
}
