:root {
  --bg: #090b0f;
  --bg-2: #10131a;
  --bg-3: #151922;
  --panel: rgba(16, 19, 26, 0.88);
  --panel-solid: #11151c;
  --panel-strong: #171c26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f5f7;
  --muted: #98a2b3;
  --soft: #cfd6df;
  --amber: #f5aa4a;
  --amber-soft: #ffe36d;
  --cyan: #74dfff;
  --violet: #b573ff;
  --green: #73ffc3;
  --danger: #f77974;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 18px;
  --radius-xs: 14px;
  --shell: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 900px at 85% -10%, rgba(245, 170, 74, 0.08), transparent 60%),
    radial-gradient(1000px 800px at -10% 20%, rgba(116, 223, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #06080c 0%, #090b10 22%, #0c1017 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: -0.015em;
  overflow-x: hidden;
}

body.has-overlay {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: rgba(152, 162, 179, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(245, 170, 74, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(245, 170, 74, 0.12);
}

ul,
ol {
  padding-left: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--soft);
}

h1,
h2,
h3,
h4,
strong {
  color: var(--text);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.9rem, 4vw + 1rem, 5.4rem);
}

h2 {
  font-size: clamp(1.8rem, 1.4vw + 1rem, 3rem);
}

h3 {
  font-size: clamp(1.18rem, 0.9vw + 1rem, 1.55rem);
}

strong {
  font-weight: 700;
}

small {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  inset-inline-start: -9999px;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 3rem 0 1rem;
}

.section--compact {
  padding-top: 1.6rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.65rem;
}

.section-heading > * {
  max-width: 62rem;
}

.eyebrow,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--amber-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.meta-label {
  margin-bottom: 0;
  color: rgba(245, 170, 74, 0.9);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--soft);
  font-weight: 600;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link:hover {
  color: var(--amber-soft);
  border-color: rgba(245, 170, 74, 0.35);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button-row--stacked {
  flex-direction: column;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
  white-space: nowrap;
}

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

.button--primary {
  color: #160e02;
  background: linear-gradient(135deg, #f7bd68, #f29a2f 60%, #ffcf80);
  box-shadow: 0 12px 36px rgba(242, 154, 47, 0.28);
}

.button--primary:hover {
  box-shadow: 0 18px 42px rgba(242, 154, 47, 0.34);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.button--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: var(--line);
  color: var(--soft);
}

.button--small {
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.94rem;
}

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

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 15px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 170, 74, 0.26);
}

.icon-button--square {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.icon-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.icon-ghost:hover,
.icon-ghost.is-active {
  color: var(--amber-soft);
  border-color: rgba(245, 170, 74, 0.28);
  background: rgba(245, 170, 74, 0.08);
}

.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-button {
  color: var(--soft);
  font-size: 0.92rem;
  padding: 0;
  transition: color 180ms var(--ease);
}

.text-button:hover {
  color: var(--amber-soft);
}

.pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
  padding: 0.36rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.88rem;
  white-space: nowrap;
}

.pill--interactive {
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.pill--interactive:hover {
  border-color: rgba(245, 170, 74, 0.24);
  background: rgba(245, 170, 74, 0.08);
  transform: translateY(-1px);
}

.filter-chip {
  cursor: pointer;
  background: rgba(245, 170, 74, 0.08);
  border-color: rgba(245, 170, 74, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 1;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient--one {
  width: 22rem;
  height: 22rem;
  top: 5rem;
  right: -3rem;
  background: rgba(245, 170, 74, 0.22);
}

.ambient--two {
  width: 20rem;
  height: 20rem;
  top: 30rem;
  left: -6rem;
  background: rgba(116, 223, 255, 0.2);
  animation-duration: 18s;
}

.ambient--three {
  width: 16rem;
  height: 16rem;
  top: 18rem;
  right: 14rem;
  background: rgba(181, 115, 255, 0.16);
  animation-duration: 15s;
}

.ambient--four {
  width: 20rem;
  height: 20rem;
  top: 46rem;
  right: 4rem;
  background: rgba(115, 255, 195, 0.16);
  animation-duration: 20s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -24px, 0) scale(1.06); }
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.92), rgba(8, 10, 14, 0.68));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.site-header.is-scrolled::before {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.96), rgba(8, 10, 14, 0.82));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.nav-shell {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-lockup {
  display: grid;
  gap: 0.05rem;
}

.brand-lockup strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-lockup small {
  font-size: 0.82rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.primary-nav a {
  padding: 0.72rem 1rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-search-button {
  padding-inline: 0.95rem;
}

.cart-button {
  min-width: 100px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: rgba(245, 170, 74, 0.14);
  color: var(--amber-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.menu-toggle {
  position: relative;
  display: none;
  min-width: 48px;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle.is-active span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 1rem;
  gap: 0.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.2rem;
  padding: 5.4rem 0 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 44rem;
}

.hero-copy p {
  max-width: 38rem;
  font-size: 1.08rem;
}

.inline-search,
.catalog-search,
.promo-form,
.command-input-wrap {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.inline-search {
  margin: 1.6rem 0 1rem;
  max-width: 40rem;
}

.inline-search input,
.catalog-search input,
.command-input-wrap input {
  min-height: 56px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-visual {
  min-width: 0;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(10, 13, 18, 0.85);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-surface img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  min-width: 13rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.floating-panel strong {
  font-size: 1.05rem;
}

.floating-panel small {
  line-height: 1.35;
}

.floating-label {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.floating-panel--top {
  top: 1.2rem;
  right: 1.2rem;
}

.floating-panel--bottom {
  bottom: 1.2rem;
  left: 1.2rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.stat-strip,
.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.2rem;
}

.stat-card,
.mini-stat,
.feature-card,
.quote-card,
.category-card,
.intro-surface,
.list-surface,
.copy-block,
.summary-card,
.form-surface,
.filter-panel,
.results-toolbar,
.tab-surface,
.purchase-panel,
.gallery-main,
.cta-surface,
.bundle-surface,
.release-note,
.checkout-item,
.drawer-item,
.command-panel,
.empty-state,
.side-drawer,
.product-card,
.command-result,
.modal-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.stat-card,
.mini-stat {
  padding: 1.35rem 1.5rem;
}

.stat-card strong,
.mini-stat strong {
  display: block;
  font-size: clamp(1.65rem, 2vw + 0.6rem, 2.6rem);
  margin-bottom: 0.22rem;
}

.stat-card span,
.mini-stat span {
  color: var(--muted);
  font-size: 0.96rem;
}

.category-grid,
.feature-grid,
.testimonial-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

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

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

.category-card,
.feature-card,
.quote-card {
  padding: 1.45rem 1.5rem;
}

.category-card p,
.feature-card p,
.quote-card p {
  margin-top: 0.8rem;
}

.category-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: var(--amber-soft);
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  isolation: isolate;
}

.product-card:hover,
.category-card:hover,
.bundle-surface:hover,
.cta-surface:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 170, 74, 0.2);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.36);
}

.spotlight-card::before,
.product-card::before,
.category-card::before,
.bundle-surface::before,
.cta-surface::before,
.gallery-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb, 245, 170, 74), 0.18), transparent 58%),
    radial-gradient(260px circle at 80% 20%, rgba(var(--accent-2-rgb, 116, 223, 255), 0.12), transparent 54%);
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

.product-card > *,
.category-card > *,
.bundle-surface > *,
.cta-surface > *,
.gallery-main > * {
  position: relative;
  z-index: 1;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge,
.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(245, 170, 74, 0.14);
  border: 1px solid rgba(245, 170, 74, 0.16);
  color: var(--amber-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
}

.product-badge--inline {
  align-self: flex-start;
}

.product-card__body {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.product-card__title-link h3 {
  font-size: 1.18rem;
}

.product-card__copy {
  color: var(--soft);
  font-size: 0.97rem;
  min-height: 4.6rem;
}

.product-card__tags,
.product-chip-row,
.trust-row,
.active-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-card__rating,
.product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-stars {
  color: #ffd16d;
  letter-spacing: 0.08em;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-top: auto;
}

.price-label,
.price-prefix {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

.product-card__footer strong,
.price-cluster strong {
  font-size: 1.25rem;
}

.product-card__actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.bundle-surface,
.cta-surface,
.intro-surface {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem;
}

.bundle-surface {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1.2rem 0 1rem;
}

.bundle-price strong {
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
}

.bundle-price span {
  color: var(--muted);
}

.bundle-list,
.detail-list,
.step-list,
.product-bullet-list,
.confirmation-list {
  display: grid;
  gap: 0.8rem;
  color: var(--soft);
}

.bundle-list {
  padding-left: 1rem;
  margin: 0 0 1.4rem;
}

.bundle-art img {
  width: 100%;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid var(--line);
}

.quote-card span {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 0;
}

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

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

.faq-item summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "–";
  color: var(--amber-soft);
  border-color: rgba(245, 170, 74, 0.24);
}

.faq-item__content {
  padding: 0 1.2rem 1.2rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0), rgba(7, 9, 12, 0.86));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-brand p {
  max-width: 28rem;
  margin-top: 0.35rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.footer-columns h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-columns a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.65rem;
  transition: color 180ms var(--ease);
}

.footer-columns a:hover {
  color: var(--soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-top: 2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb-row a:hover {
  color: var(--soft);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.4rem;
  padding-top: 1.2rem;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 1rem;
}

.gallery-main {
  min-height: 24rem;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

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

.gallery-thumb {
  padding: 0.3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: rgba(245, 170, 74, 0.24);
  transform: translateY(-1px);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.purchase-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.purchase-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-headline {
  font-size: 1.15rem;
  color: var(--text);
}

.product-blurb {
  font-size: 1rem;
}

.product-bullet-list {
  margin: 0;
  padding-left: 1rem;
}

.price-cluster {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.price-compare {
  margin-left: 0.6rem;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.license-grid {
  display: grid;
  gap: 0.75rem;
}

.license-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.license-card span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.license-card em {
  color: var(--amber-soft);
  font-style: normal;
  font-weight: 700;
}

.license-card.is-active,
.license-card:hover {
  background: rgba(245, 170, 74, 0.08);
  border-color: rgba(245, 170, 74, 0.28);
  transform: translateY(-1px);
}

.qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.qty-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
}

.qty-stepper span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  font-weight: 700;
}

.qty-stepper--large button {
  width: 40px;
  height: 40px;
}

.spec-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.spec-row,
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  color: var(--soft);
}

.spec-row span,
.summary-line span {
  color: var(--muted);
}

.intro-surface {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.tab-button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.tab-button.is-active {
  background: rgba(245, 170, 74, 0.1);
  border-color: rgba(245, 170, 74, 0.26);
  color: var(--amber-soft);
}

.tab-surface {
  padding: 1.4rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.copy-block,
.list-surface {
  padding: 1.25rem;
}

.copy-block p:last-child {
  margin-bottom: 0;
}

.release-note-list {
  display: grid;
  gap: 0.9rem;
}

.release-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.release-note__meta {
  display: inline-grid;
  align-content: start;
}

.release-note__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(245, 170, 74, 0.12);
  border: 1px solid rgba(245, 170, 74, 0.14);
  color: var(--amber-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-hero {
  display: grid;
  gap: 1.2rem;
  padding: 4rem 0 2rem;
}

.page-hero__copy {
  max-width: 52rem;
}

.page-hero--checkout {
  gap: 2rem;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.filter-panel,
.form-surface,
.summary-card {
  padding: 1.35rem;
}

.filter-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 1.15rem;
}

.filter-panel__header,
.filter-group__row,
.summary-card__header,
.form-surface__heading,
.checkout-item__top,
.drawer-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.filter-group {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.1rem;
}

.filter-group h3,
.summary-card__header h2,
.form-surface__heading h2 {
  font-size: 1.05rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--soft);
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--amber);
}

.range-input {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.range-input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5aa4a, #ffe36d);
  border: none;
}

.input-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 6px), calc(100% - 13px) calc(1em + 6px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}

.results-panel {
  display: grid;
  gap: 1rem;
}

.results-toolbar {
  padding: 1.1rem 1.2rem;
}

.empty-state {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
  justify-items: start;
  text-align: left;
}

.empty-state--compact {
  border-radius: 18px;
  padding: 1rem;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.progress-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.progress-step.is-active {
  color: var(--text);
  border-color: rgba(245, 170, 74, 0.18);
  background: rgba(245, 170, 74, 0.08);
}

.progress-step.is-active span {
  background: rgba(245, 170, 74, 0.18);
  color: var(--amber-soft);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.checkout-forms {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.55rem;
}

.field span {
  color: var(--soft);
  font-size: 0.94rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.payment-card {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
}

.payment-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-card.is-active {
  background: rgba(245, 170, 74, 0.08);
  border-color: rgba(245, 170, 74, 0.24);
  color: var(--text);
}

.toggle-list {
  display: grid;
  gap: 0.9rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.toggle-row p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.toggle-row input {
  width: 46px;
  height: 26px;
  accent-color: var(--amber);
}

.checkout-summary {
  position: sticky;
  top: 98px;
}

.summary-card {
  display: grid;
  gap: 1rem;
}

.checkout-items {
  display: grid;
  gap: 0.8rem;
}

.checkout-item,
.drawer-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 20px;
}

.checkout-item__image,
.drawer-item__image,
.command-result__image {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.checkout-item__content,
.drawer-item__content {
  min-width: 0;
}

.checkout-item__top p,
.drawer-item__top p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.drawer-item__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.promo-form input {
  min-height: 48px;
}

.promo-hint {
  margin: -0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.summary-totals {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-line--total {
  padding-top: 0.7rem;
  margin-top: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-line--total strong {
  font-size: 1.2rem;
}

.breadcrumb-row + .product-hero,
.page-hero + .search-layout,
.page-hero + .checkout-layout {
  padding-top: 0.5rem;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 10, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  z-index: 40;
}

.overlay-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer,
.command-palette,
.modal-shell {
  position: fixed;
  z-index: 50;
  pointer-events: none;
}

.side-drawer {
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: min(420px, calc(100vw - 2rem));
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(calc(100% + 1rem));
  transition: transform 240ms var(--ease);
}

.side-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.side-drawer__header,
.side-drawer__footer {
  padding: 1rem 1rem 0;
}

.side-drawer__body {
  padding: 1rem;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.side-drawer__footer {
  padding-bottom: 1rem;
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.command-palette {
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 8vh 1rem 1rem;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.command-panel {
  width: min(860px, 100%);
  padding: 1rem;
}

.command-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--amber-soft);
  flex: 0 0 auto;
}

.command-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-top: 1rem;
}

.command-column {
  display: grid;
  gap: 0.75rem;
}

.command-links,
.command-results {
  display: grid;
  gap: 0.65rem;
}

.command-links a,
.command-result {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}

.command-links a:hover,
.command-result:hover {
  border-color: rgba(245, 170, 74, 0.24);
  background: rgba(245, 170, 74, 0.08);
  transform: translateY(-1px);
}

.command-result {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.command-result span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.modal-shell {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.modal-shell.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: min(720px, 100%);
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.order-confirmation {
  display: grid;
  gap: 1rem;
  padding-top: 0.8rem;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.confirmation-grid > div {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.confirmation-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.65rem;
  z-index: 60;
}

.toast {
  min-width: 220px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 15, 22, 0.94);
  color: var(--soft);
  box-shadow: var(--shadow-soft);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

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

.toast--success {
  border-color: rgba(115, 255, 195, 0.22);
}

@media (max-width: 1180px) {
  .hero,
  .product-hero,
  .checkout-layout,
  .search-layout,
  .bundle-surface,
  .intro-surface,
  .content-grid,
  .footer-grid,
  .command-content {
    grid-template-columns: 1fr;
  }

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

  .product-grid--compact,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-panel,
  .filter-panel,
  .checkout-summary {
    position: static;
  }

  .hero {
    padding-top: 4.4rem;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(1240px, calc(100vw - 32px));
  }

  .primary-nav,
  .nav-search-button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .stat-strip,
  .mini-stat-grid,
  .payment-grid,
  .confirmation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .field--wide {
    grid-column: auto;
  }

  .command-panel {
    padding: 0.9rem;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .nav-shell {
    min-height: 74px;
  }

  .hero,
  .page-hero {
    padding-top: 3.2rem;
  }

  .button-row,
  .inline-search,
  .catalog-search,
  .promo-form,
  .command-input-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .product-grid,
  .product-grid--compact,
  .category-grid,
  .feature-grid,
  .testimonial-grid,
  .stat-strip,
  .mini-stat-grid,
  .payment-grid,
  .checkout-progress,
  .gallery-thumbs,
  .footer-columns,
  .confirmation-grid {
    grid-template-columns: 1fr;
  }

  .product-card__footer,
  .price-cluster,
  .section-heading,
  .summary-card__header,
  .form-surface__heading,
  .filter-panel__header,
  .filter-group__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-surface {
    border-radius: 24px;
  }

  .floating-panel {
    position: static;
    margin: 0.8rem;
  }

  .gallery-main img {
    min-height: 18rem;
  }

  .checkout-item,
  .drawer-item,
  .command-result {
    grid-template-columns: 1fr;
  }

  .checkout-item__image,
  .drawer-item__image,
  .command-result__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.6 / 1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .side-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    max-height: 86vh;
    border-radius: 26px 26px 0 0;
    transform: translateY(100%);
  }

  .side-drawer.is-open {
    transform: translateY(0);
  }
}
