/* Keyora — dijital lisans mağazası */

:root {
  --bg: #f3f6f4;
  --bg-elevated: #ffffff;
  --ink: #14201c;
  --ink-soft: #3d4f48;
  --muted: #6b7c74;
  --line: rgba(20, 32, 28, 0.1);
  --accent: #0f766e;
  --accent-deep: #0a5c56;
  --accent-soft: #d8f3ef;
  --warm: #c4a574;
  --danger: #b42318;
  --ok: #067647;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(20, 32, 28, 0.04);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(243, 246, 244, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 246, 244, 0.94);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 55%, #134e4a 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg) translate(1px, -1px);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop > a,
.nav-dropdown-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.92rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-desktop > a:hover,
.nav-dropdown-btn:hover,
.nav-desktop > a.is-active {
  color: var(--ink);
  background: rgba(20, 32, 28, 0.05);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 32, 28, 0.1);
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-dropdown.is-open .nav-dropdown-panel {
  display: flex;
}

.nav-dropdown-panel a {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.nav-dropdown-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

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

.nav-mobile a {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(20, 32, 28, 0.04);
}

.btn-ghost {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink-soft);
  width: 100%;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-text {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link {
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(15, 118, 110, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(196, 165, 116, 0.16), transparent 50%),
    linear-gradient(180deg, #e8efeb 0%, var(--bg) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}

.hero-orb-a {
  width: 320px;
  height: 320px;
  background: #99f6e4;
  top: 10%;
  left: 5%;
}

.hero-orb-b {
  width: 280px;
  height: 280px;
  background: #f0d9a8;
  bottom: 15%;
  right: 8%;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 32, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 28, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -18px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

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

.hero-visual {
  position: absolute;
  z-index: 1;
  right: max(1rem, calc((100% - var(--container)) / 2));
  bottom: 8%;
  width: min(420px, 42vw);
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stack {
  display: grid;
  gap: 0.75rem;
  transform: rotate(-3deg);
}

.hero-tile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 8px 28px rgba(20, 32, 28, 0.12);
  animation: tileIn 0.7s ease backwards;
}

.hero-tile:nth-child(1) { animation-delay: 0.35s; }
.hero-tile:nth-child(2) { animation-delay: 0.45s; margin-left: 1.5rem; }
.hero-tile:nth-child(3) { animation-delay: 0.55s; }
.hero-tile:nth-child(4) { animation-delay: 0.65s; margin-left: 1.5rem; }

@keyframes tileIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-tile span {
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 600;
}

.hero-tile strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-tile[data-tone="win"] { background: linear-gradient(135deg, #0078d4, #005a9e); }
.hero-tile[data-tone="adobe"] { background: linear-gradient(135deg, #e31c23, #9b0d12); }
.hero-tile[data-tone="office"] { background: linear-gradient(135deg, #d83b01, #a12c00); }
.hero-tile[data-tone="seo"] { background: linear-gradient(135deg, #ff622d, #c43a10); }

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }
  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 360px;
    margin: 2.5rem auto 0;
    opacity: 1;
    animation: none;
  }
  .hero-content {
    max-width: none;
  }
}

/* Trust strip */

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.25rem 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-item strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

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

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-head h2,
.section-title-plain,
.page-hero h1,
.product-detail-info h1,
.highlight-copy h2,
.cta-box h2,
.step-card h2,
.cart-summary h2,
.empty-state h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.section-head h2,
.section-title-plain,
.highlight-copy h2,
.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.section-head p,
.page-lead {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 2.75rem 0 1rem;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(15, 118, 110, 0.1), transparent 55%),
    linear-gradient(180deg, #e8efeb, var(--bg));
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.category-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.category-name {
  flex: 1;
  font-weight: 650;
  font-size: 0.9rem;
}

.category-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

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

.product-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
}

.product-card-link {
  display: block;
  flex: 1;
}

.product-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, #fff), #f0f4f2);
}

.product-initials {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  opacity: 0.9;
}

.product-badge,
.discount-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-discount {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-body {
  padding: 1rem 1.1rem 0.5rem;
}

.product-brand {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.product-name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-meta {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-old {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-vat-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-vat-mini {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-cart-form {
  padding: 0 1.1rem 1.1rem;
}

/* Highlight */

.highlight-section {
  padding-top: 2rem;
}

.highlight-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  padding: 2.5rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, #0f766e 0%, #134e4a 55%, #1a2e2a 100%);
  color: #e8f5f2;
}

.highlight-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.highlight-copy p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
}

.highlight-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
}

.highlight-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.highlight-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.highlight-panel li {
  font-weight: 650;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 800px) {
  .highlight-grid {
    grid-template-columns: 1.3fr 1fr;
    padding: 3rem;
  }
}

/* Brand marquee */

.brand-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.brand-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-chip {
  display: inline-flex;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* CTA */

.cta-box {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(15, 118, 110, 0.12), transparent),
    var(--bg-elevated);
  border: 1px solid var(--line);
}

.cta-box p {
  margin: 0 auto 1.5rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* Catalog */

.catalog-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .catalog-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
}

.filter-group h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
}

.filter-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.4rem;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 550;
}

.filter-link:hover,
.filter-link.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--muted));
}

.result-count {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

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

/* Product detail */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  padding-top: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--accent-deep);
}

.product-detail {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
}

.product-detail-visual {
  position: relative;
  aspect-ratio: 1;
  max-height: 480px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, #fff), #e8efeb);
  border: 1px solid var(--line);
}

.detail-initials {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6rem);
  color: var(--accent);
  line-height: 1;
}

.detail-brand-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.product-detail-info .product-short {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.discount-tag {
  position: static;
  background: var(--accent);
}

.spec-row {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.spec-row li {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-right: 1px solid var(--line);
}

.spec-row li:last-child {
  border-right: 0;
}

.spec-row span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.spec-row strong {
  font-size: 0.92rem;
}

.buy-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.qty-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.qty-label input,
.cart-qty-form input {
  width: 72px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
}

.product-desc h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.5rem 0 0.6rem;
}

.product-desc p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Cart */

.flash {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.flash-ok {
  background: #ecfdf3;
  color: var(--ok);
  border: 1px solid #abefc6;
}

.cart-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  align-items: center;
}

.cart-visual {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 20%, #fff), #e8efeb);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

.cart-info h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 750;
}

.cart-info p {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-line {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.cart-summary {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin: 0.5rem 0 1.25rem;
  padding-top: 1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.summary-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-form {
  margin-top: 0.5rem;
}

.checkout-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.checkout-form .field input,
.checkout-form .field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
  font-family: inherit;
}

.checkout-form .field textarea {
  resize: vertical;
  min-height: 56px;
}

/* Steps & FAQ */

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-grid {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background: #14201c;
  color: rgba(243, 246, 244, 0.78);
}

.site-footer .logo-text {
  color: #fff;
}

.site-footer .logo-mark {
  background: linear-gradient(145deg, #2dd4bf, #0f766e);
}

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

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.55;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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