:root {
  --ink: #10131a;
  --muted: #687082;
  --paper: #f6f8fc;
  --panel: #ffffff;
  --line: #dce3ef;
  --forest: #2357ff;
  --jade: #10b981;
  --coral: #ff5f8f;
  --gold: #dff747;
  --sky: #13c8ff;
  --mist: #eaf0ff;
  --lilac: #efe7ff;
  --shadow: 0 28px 80px rgba(38, 62, 122, 0.16);
  --soft-shadow: 0 16px 44px rgba(38, 62, 122, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(35, 87, 255, 0.08), transparent 38%),
    linear-gradient(260deg, rgba(19, 200, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, var(--paper) 48%, #edf3ff 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a,
button,
input,
textarea,
.product-card,
.feature-card,
.category-card,
.promo-panel,
.lookbook-card,
.journal-card,
.cart-item,
.order-card {
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease),
    color 320ms var(--ease),
    border-color 320ms var(--ease),
    opacity 320ms var(--ease),
    filter 320ms var(--ease);
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(220, 227, 239, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: linear-gradient(135deg, var(--forest), var(--sky));
  box-shadow: 0 14px 26px rgba(35, 87, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #38443e;
  font-weight: 700;
  background: transparent;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(35, 87, 255, 0.10);
  color: var(--forest);
  transform: translateY(-1px);
}

.cart-link {
  gap: 8px;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  color: white;
  background: var(--forest);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(35, 87, 255, 0.16);
  background: white;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

#app {
  min-height: calc(100vh - 236px);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  margin: 0 auto 78px;
  padding: 118px max(32px, calc((100vw - 1180px) / 2)) 170px;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(360px, 1.15fr);
  gap: 40px;
  align-items: stretch;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.18), transparent 12rem),
    linear-gradient(100deg, #073f73 0%, #064577 42%, #42225f 68%, #b10039 100%);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(35, 87, 255, 0.14);
  color: var(--ink);
  background: rgba(223, 247, 71, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: white;
  font-size: clamp(3.9rem, 7vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(211, 234, 255, 0.88);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.hero-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
}

.hero-dots button.active {
  width: 72px;
  background: white;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 560px;
  overflow: visible;
  border: 0;
  box-shadow: none;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: slowDrift 14s ease-in-out infinite alternate;
}

.hero-visual::after {
  display: none;
}

.carousel-arrows {
  position: absolute;
  right: 0;
  bottom: 106px;
  z-index: 8;
  display: inline-flex;
  gap: 10px;
}

.carousel-arrows button,
.slider-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: white;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  font-size: 1.55rem;
  line-height: 1;
}

.carousel-arrows button:hover,
.slider-controls button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.launch-button {
  background: linear-gradient(100deg, #3f83f8, #d40b46);
  box-shadow: 0 18px 42px rgba(193, 19, 72, 0.28);
}

.orbit-line {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0.75;
}

.orbit-one {
  width: 360px;
  height: 290px;
  right: 150px;
  top: 92px;
  transform: rotate(28deg) skew(-16deg);
}

.orbit-two {
  width: 430px;
  height: 250px;
  right: 20px;
  top: 238px;
  transform: rotate(-18deg) skew(18deg);
}

.floating-device {
  position: absolute;
  z-index: 4;
  width: 108px;
  height: 132px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(30, 102, 198, 0.9), rgba(255, 255, 255, 0.16));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.24);
  animation: floatItem 5.6s var(--ease) infinite alternate;
}

.floating-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-one {
  left: 70px;
  top: 54px;
  transform: rotate(-39deg);
}

.device-two {
  left: 86px;
  bottom: 136px;
  width: 88px;
  height: 112px;
  transform: rotate(-23deg);
  animation-delay: 600ms;
}

.device-three {
  right: 108px;
  top: 148px;
  width: 92px;
  height: 120px;
  transform: rotate(17deg);
  animation-delay: 1100ms;
}

.rocket-rider {
  position: absolute;
  z-index: 6;
  left: 208px;
  top: 170px;
  width: 360px;
  height: 260px;
  transform: rotate(-18deg);
  animation: rocketFloat 4.8s var(--ease) infinite alternate;
}

.helmet {
  position: absolute;
  right: 66px;
  top: 0;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  color: #0b4c84;
  background: radial-gradient(circle at 62% 42%, #0b1b2c 0 27%, #ffffff 29% 100%);
  border: 12px solid #dceeff;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.26);
  font-size: 2.6rem;
  font-weight: 900;
}

.rocket {
  position: absolute;
  left: 18px;
  bottom: 28px;
  width: 268px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #173d68;
  background: linear-gradient(180deg, #f7fbff, #aebccd);
  box-shadow: inset -18px -12px 0 rgba(16, 19, 26, 0.14), 0 28px 42px rgba(0, 0, 0, 0.24);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rocket::before,
.rocket::after {
  position: absolute;
  content: "";
}

.rocket::before {
  left: -74px;
  top: 0;
  border-top: 41px solid transparent;
  border-bottom: 41px solid transparent;
  border-right: 74px solid #dce5ee;
}

.rocket::after {
  right: -54px;
  top: 0;
  border-top: 41px solid transparent;
  border-bottom: 41px solid transparent;
  border-left: 54px solid #dce5ee;
}

.flame {
  position: absolute;
  left: -88px;
  bottom: 56px;
  width: 88px;
  height: 54px;
  background: linear-gradient(90deg, #ffea52, #ff4c28 72%, transparent);
  filter: blur(0.2px);
  animation: flamePulse 720ms ease-in-out infinite alternate;
}

.star {
  position: absolute;
  z-index: 7;
  color: #f7b52c;
  font-size: 2rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.star-one {
  right: 230px;
  top: 114px;
}

.star-two {
  left: 214px;
  bottom: 148px;
}

.cloud {
  position: absolute;
  z-index: 5;
  right: -120px;
  bottom: -110px;
  width: 420px;
  height: 220px;
  background: white;
  box-shadow:
    -110px -6px 0 34px white,
    -190px 44px 0 44px white,
    -302px 90px 0 34px white,
    78px -38px 0 52px white;
}

.cloud-two {
  right: 270px;
  bottom: -160px;
  width: 180px;
  height: 120px;
  opacity: 0.96;
  box-shadow:
    -92px 22px 0 28px white,
    96px 0 0 34px white,
    174px 36px 0 28px white;
}

.hero-service-cards {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2 + 70px));
  right: max(32px, calc((100vw - 1180px) / 2 + 70px));
  bottom: -78px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-service-cards article {
  min-height: 174px;
  padding: 30px;
  display: grid;
  align-content: end;
  gap: 18px;
  color: white;
  background: linear-gradient(145deg, rgba(4, 62, 112, 0.98), rgba(4, 47, 88, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 55px rgba(2, 38, 73, 0.30);
  overflow: hidden;
}

.hero-service-cards img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.hero-service-cards strong {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--forest), #5678ff);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(35, 87, 255, 0.26);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(35, 87, 255, 0.34);
  filter: saturate(1.08);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 87, 255, 0.14);
  box-shadow: 0 10px 28px rgba(38, 62, 122, 0.08);
}

.button.ghost {
  color: var(--forest);
  background: rgba(35, 87, 255, 0.10);
  box-shadow: none;
}

.button.danger {
  color: #9d2c24;
  background: rgba(242, 107, 94, 0.14);
  box-shadow: none;
}

.button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.page-title p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  color: white;
  text-align: left;
  box-shadow: 0 18px 46px rgba(38, 62, 122, 0.12);
  isolation: isolate;
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 12%, rgba(35, 87, 255, 0.26) 48%, rgba(16, 19, 26, 0.82));
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card span {
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(223, 247, 71, 0.88);
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.category-card strong {
  max-width: 220px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.55fr) minmax(220px, 0.55fr);
  gap: 20px;
}

.promo-panel {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  color: white;
  background:
    linear-gradient(120deg, rgba(35, 87, 255, 0.90), rgba(16, 19, 26, 0.62)),
    url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f?auto=format&fit=crop&w=1000&q=80") center/cover;
  box-shadow: var(--shadow);
}

.promo-panel h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.promo-panel p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.promo-small {
  min-height: 230px;
  gap: 12px;
  color: var(--ink);
  background: linear-gradient(160deg, #ffffff, var(--mist));
}

.promo-small.warm {
  background: linear-gradient(160deg, #ffffff, #fff8c9);
}

.promo-small span {
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-small strong {
  font-size: 1.55rem;
  line-height: 1.16;
}

.index-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.index-stat {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.index-stat:last-child {
  border-right: 1px solid rgba(35, 87, 255, 0.12);
}

.index-stat strong {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
}

.index-stat span {
  color: var(--muted);
  font-weight: 800;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.split-feature > div:first-child {
  padding: 34px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(16, 19, 26, 0.94), rgba(35, 87, 255, 0.74)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 34px 34px;
  color: white;
  box-shadow: var(--shadow);
}

.split-feature h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.split-feature p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: 0;
  background: transparent;
}

.feature-matrix span {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
  font-weight: 900;
  text-align: center;
}

.feature-matrix span:nth-child(2n) {
  border-right: 0;
}

.feature-matrix span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.lookbook-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid rgba(35, 87, 255, 0.12);
  color: white;
  isolation: isolate;
  box-shadow: var(--soft-shadow);
}

.lookbook-card:first-child {
  min-height: 460px;
}

.lookbook-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.lookbook-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 18%, rgba(35, 87, 255, 0.20) 45%, rgba(16, 19, 26, 0.84));
}

.lookbook-card:hover img {
  transform: scale(1.08);
}

.lookbook-card div {
  padding: 24px;
}

.lookbook-card span,
.journal-card span {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lookbook-card h3 {
  margin: 10px 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.lookbook-card p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.journal-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.journal-card:nth-child(2) {
  background: linear-gradient(160deg, #ffffff, #f6ffd6);
}

.journal-card:nth-child(2) span {
  color: var(--ink);
}

.journal-card h3 {
  margin: 28px 0 12px;
  font-size: 1.55rem;
}

.journal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 231, 255, 0.74)),
    linear-gradient(90deg, rgba(35, 87, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 40px 40px;
  box-shadow: var(--shadow);
}

.newsletter-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.newsletter-panel p {
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.newsletter-form input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(35, 87, 255, 0.18);
  background: rgba(255, 255, 255, 0.88);
  outline: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-controls button {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.product-rail {
  display: grid;
  grid-auto-columns: minmax(260px, 320px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.feature-card {
  scroll-snap-align: start;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.feature-card span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3 {
  min-height: 52px;
  margin: 8px 0;
  font-size: 1.14rem;
  line-height: 1.35;
}

.feature-card strong {
  color: var(--forest);
  font-size: 1.18rem;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.search-box {
  width: min(420px, 100%);
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(35, 87, 255, 0.14);
  background: white;
  outline: 0;
}

.search-box:focus {
  border-color: rgba(25, 161, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(25, 161, 127, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(35, 87, 255, 0.10);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--soft-shadow);
  animation: cardIn 420ms ease both;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 87, 255, 0.24);
  box-shadow: 0 24px 56px rgba(38, 62, 122, 0.16);
}

.product-media {
  position: relative;
  aspect-ratio: 1.16;
  overflow: hidden;
  background: var(--mist);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 520ms var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.product-info {
  padding: 18px;
}

.product-info h3 {
  min-height: 48px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.price {
  color: var(--forest);
  font-size: 1.18rem;
  font-weight: 900;
}

.rating {
  color: #68721b;
  font-size: 0.88rem;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--coral), #ff89ae);
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(242, 107, 94, 0.24);
}

.icon-button:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.1);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pagination button {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(35, 87, 255, 0.14);
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.pagination button:hover,
.pagination button.active {
  color: white;
  background: var(--forest);
  transform: translateY(-2px);
}

.page-title {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 8px;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.details-gallery {
  display: grid;
  gap: 14px;
}

.details-image {
  overflow: hidden;
  border: 1px solid rgba(35, 87, 255, 0.10);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.details-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 380ms var(--ease);
}

.zoom-frame {
  cursor: zoom-in;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail-row button {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(35, 87, 255, 0.10);
  background: white;
  box-shadow: var(--soft-shadow);
}

.thumbnail-row button:hover,
.thumbnail-row button.active {
  border-color: var(--forest);
  transform: translateY(-2px);
}

.thumbnail-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.details-panel {
  padding: 12px 0;
}

.details-panel h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.details-panel .price {
  display: block;
  margin-top: 22px;
  font-size: 2rem;
}

.details-panel p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.details-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.spec {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  margin-top: 6px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-list,
.summary-box,
.checkout-form,
.empty-state,
.success-card,
.order-card {
  border: 1px solid rgba(35, 87, 255, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.cart-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(35, 87, 255, 0.10);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item img {
  width: 108px;
  height: 108px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 6px;
  border: 1px solid rgba(35, 87, 255, 0.14);
  background: white;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--mist);
  color: var(--ink);
  font-weight: 900;
}

.quantity-control span {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.summary-box {
  position: sticky;
  top: 100px;
  padding: 22px;
}

.summary-box h2 {
  margin: 0 0 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(35, 87, 255, 0.10);
  color: var(--muted);
}

.summary-row.total {
  border-bottom: 0;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 900;
}

.checkout-form {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #44514a;
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 87, 255, 0.14);
  background: white;
  color: var(--ink);
  outline: 0;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(25, 161, 127, 0.58);
  box-shadow: 0 0 0 4px rgba(25, 161, 127, 0.12);
}

.field-error {
  min-height: 18px;
  color: #b43a30;
  font-size: 0.78rem;
  font-weight: 700;
}

.empty-state,
.success-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 46px;
  text-align: center;
}

.empty-state h2,
.success-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

.empty-state p,
.success-card p {
  margin: 16px auto 26px;
  color: var(--muted);
  line-height: 1.7;
}

.success-card .button + .button {
  margin-left: 10px;
}

.success-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: white;
  background: linear-gradient(135deg, var(--jade), var(--sky));
  font-size: 2.1rem;
  box-shadow: 0 20px 34px rgba(25, 161, 127, 0.24);
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 36px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(16, 30, 72, 0.94);
  box-shadow: var(--shadow);
  animation: toastIn 240ms ease both;
}

.order-history {
  display: grid;
  gap: 18px;
}

.order-card {
  padding: 22px;
}

.order-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.order-card-header h2 {
  margin: 12px 0 8px;
  font-size: 1.45rem;
}

.order-card-header p,
.order-customer p {
  margin: 0;
  color: var(--muted);
}

.order-card-header > strong {
  color: var(--forest);
  font-size: 1.35rem;
}

.order-items {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #3d4842;
}

.order-customer {
  padding-top: 18px;
}

.order-customer span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.order-customer strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding: 32px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(35, 87, 255, 0.12);
  color: var(--muted);
}

.site-footer p {
  max-width: 520px;
  margin: 10px 0 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
  color: var(--ink);
}

.footer-links a[aria-label] {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(35, 87, 255, 0.14);
  background: white;
  font-size: 0.78rem;
}

.loading {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.skeleton-page {
  display: grid;
  gap: 22px;
}

.skeleton,
.skeleton-row .skeleton {
  display: block;
  background: linear-gradient(90deg, #e7edfb, #ffffff, #e7edfb);
  background-size: 220% 100%;
  animation: shimmer 1.1s linear infinite;
}

.skeleton-hero {
  min-height: 420px;
}

.skeleton-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skeleton-row .skeleton {
  min-height: 210px;
}

.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid rgba(35, 87, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(35, 87, 255, 0.92), rgba(16, 19, 26, 0.88)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: auto, 36px 36px;
  color: white;
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.mini-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stack a {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 14px;
  isolation: isolate;
}

.mini-stack img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.mini-stack a::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(35, 87, 255, 0.20) 52%, rgba(16, 19, 26, 0.76));
}

.mini-stack a:hover img {
  transform: scale(1.08);
}

.mini-stack span {
  font-weight: 900;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1.04) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.10) translate3d(1%, -1%, 0);
  }
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes rocketFloat {
  from {
    transform: rotate(-18deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-14deg) translate3d(16px, -18px, 0);
  }
}

@keyframes floatItem {
  from {
    translate: 0 0;
  }
  to {
    translate: 12px -18px;
  }
}

@keyframes flamePulse {
  from {
    transform: scaleX(0.8);
    opacity: 0.76;
  }
  to {
    transform: scaleX(1.08);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero,
  .details-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 84px 24px 150px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .rocket-rider {
    left: 50%;
    top: 145px;
    transform: translateX(-48%) rotate(-18deg);
  }

  .hero-service-cards {
    left: 24px;
    right: 24px;
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-grid,
  .cta-strip,
  .split-feature,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .index-strip,
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-stat:nth-child(2n) {
    border-right: 1px solid rgba(35, 87, 255, 0.12);
  }

  .index-stat {
    border-bottom: 1px solid rgba(35, 87, 255, 0.12);
  }

  .index-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
  }

  .summary-box {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(35, 87, 255, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--soft-shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.5rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-badge {
    align-items: start;
    flex-direction: column;
  }

  .hero-service-cards {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: -96px;
  }

  .hero-service-cards article {
    min-height: 130px;
    padding: 22px;
  }

  .rocket-rider {
    width: 280px;
    height: 210px;
    left: 48%;
    top: 128px;
  }

  .helmet {
    width: 96px;
    height: 96px;
    border-width: 9px;
  }

  .rocket {
    width: 210px;
    height: 66px;
  }

  .rocket::before {
    left: -54px;
    border-top-width: 33px;
    border-bottom-width: 33px;
    border-right-width: 54px;
  }

  .rocket::after {
    right: -38px;
    border-top-width: 33px;
    border-bottom-width: 33px;
    border-left-width: 38px;
  }

  .floating-device {
    width: 74px;
    height: 92px;
  }

  .device-one {
    left: 8px;
  }

  .device-three {
    right: 12px;
  }

  .cloud {
    right: -220px;
    bottom: -130px;
  }

  .section-heading,
  .toolbar,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .mini-stack,
  .skeleton-row,
  .index-strip,
  .journal-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .index-stat,
  .index-stat:nth-child(2n),
  .index-stat:nth-last-child(-n + 2) {
    border-right: 1px solid rgba(35, 87, 255, 0.12);
    border-bottom: 1px solid rgba(35, 87, 255, 0.12);
  }

  .index-stat:last-child {
    border-bottom: 0;
  }

  .feature-matrix {
    grid-template-columns: 1fr;
  }

  .feature-matrix span,
  .feature-matrix span:nth-child(2n),
  .feature-matrix span:nth-last-child(-n + 2) {
    min-height: 110px;
    border-right: 1px solid rgba(35, 87, 255, 0.12);
    border-bottom: 1px solid rgba(35, 87, 255, 0.12);
  }

  .feature-matrix span:last-child {
    border-bottom: 0;
  }

  .category-card,
  .mini-stack a {
    min-height: 220px;
  }

  .promo-panel {
    min-height: 210px;
    padding: 22px;
  }

  .cta-strip {
    padding: 22px;
  }

  .details-specs,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .cart-item img {
    width: 84px;
    height: 84px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: stretch;
  }

  .cart-item-actions .button {
    width: 100%;
  }

  .checkout-form,
  .empty-state,
  .success-card {
    padding: 24px;
  }

  .success-card .button + .button {
    margin: 10px 0 0;
  }

  .success-card .button {
    width: 100%;
  }

  .order-card-header,
  .order-item {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
