:root {
  --red: #ff1026;
  --red-deep: #ba0918;
  --red-soft: #ffe5e8;
  --white: #ffffff;
  --ink: #121216;
  --muted: #62656d;
  --line: rgba(18, 18, 22, 0.08);
  --shadow: 0 24px 60px rgba(123, 17, 27, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 16, 38, 0.18), transparent 33%),
    radial-gradient(circle at top right, rgba(255, 16, 38, 0.08), transparent 24%),
    linear-gradient(180deg, #fffefe, #fff7f8);
}

body.overlay-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 16, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 16, 38, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 78%);
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 22px 0 40px;
  position: relative;
}

.nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(123, 17, 27, 0.1);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.logo img {
  width: 280px;
  max-width: 48vw;
  height: 86px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: inline-flex;
  gap: 22px;
  align-items: center;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-links a,
.cart-pill span,
.btn,
.product-card h3,
.section-head h2,
.hero h1,
.checkout-card h2,
.summary-card h3 {
  font-family: "Space Grotesk", sans-serif;
}

.nav-links a {
  font-size: 0.96rem;
  color: var(--muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 12px 30px rgba(255, 16, 38, 0.28);
}

.cart-pill strong {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-cart-pill {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0 10px;
}

.hero-copy,
.hero-visual,
.stat,
.product-card,
.checkout-card,
.why-card,
.footer {
  animation: fadeUp 650ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red);
}

.hero h1,
.section-head h2,
.checkout-card h2,
.summary-card h3 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero p,
.section-head p,
.why-card p,
.summary-note,
.checkout-note,
.footer p,
.stat p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 18px 40px rgba(255, 16, 38, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(18, 18, 22, 0.1);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.hero-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 16, 38, 0.12);
}

.hero-visual {
  min-height: 540px;
  position: relative;
  isolation: isolate;
}

.glass {
  position: absolute;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-slider-shell {
  position: absolute;
  inset: 0 0 84px 0;
  display: grid;
  align-content: center;
  justify-items: center;
  z-index: 0;
}

.hero-slider {
  position: relative;
  z-index: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-slider-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 280px);
  min-height: 220px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  box-shadow: none;
  overflow: hidden;
}

.hero-slider-image,
.hero-slider-video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  padding: 0;
}

.hero-slider-video {
  border-radius: 20px;
  background: #fff;
}
.glass-main p,
.glass-side small,
.glass-stat small {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.7;
}

.hero-slider-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 16, 38, 0.2);
  transition:
    width 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  transform: translateY(-1px);
}

.hero-slider-dot.active {
  width: 38px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--red);
  background: rgba(255, 16, 38, 0.1);
}

.glass-side,
.glass-stat {
  width: 230px;
  padding: 20px 22px;
}

.glass-side {
  right: 0;
  top: 56px;
}

.glass-stat {
  right: 30px;
  bottom: 0;
}

.glass-side strong,
.glass-stat strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 12px 0 46px;
}

.stat,
.product-card,
.checkout-card,
.admin-card,
.why-card,
.footer {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 46px;
}

.confirmation-shell {
  padding-bottom: 48px;
}

.confirmation-page {
  display: grid;
  gap: 24px;
  padding: 28px 0 12px;
}

.confirmation-hero,
.confirmation-card {
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 16, 38, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.confirmation-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 24px;
  overflow: hidden;
}

.confirmation-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 16, 38, 0.22), transparent 68%);
  pointer-events: none;
}

.confirmation-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.confirmation-confetti-piece {
  position: absolute;
  top: -12%;
  display: block;
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: confirmationConfettiDrop 3.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.confirmation-page.is-celebrating .confirmation-ribbon {
  animation: confirmationRibbonIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.confirmation-page.is-celebrating .confirmation-hero h1,
.confirmation-page.is-celebrating .confirmation-copy {
  animation: confirmationContentIn 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.confirmation-page.is-celebrating .confirmation-copy {
  animation-delay: 90ms;
}

.confirmation-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
}

.confirmation-ribbon {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 16, 38, 0.14), rgba(255, 16, 38, 0.04));
  color: var(--red-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.confirmation-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.04;
}

.confirmation-copy {
  margin: 12px 0 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.75;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.confirmation-celebrate {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confirmation-celebrate span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 16, 38, 0.12);
  color: var(--muted);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(123, 17, 27, 0.08);
}

.confirmation-page.is-celebrating .confirmation-celebrate span {
  animation: confirmationChipIn 740ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.confirmation-page.is-celebrating .confirmation-celebrate span:nth-child(1) {
  animation-delay: 120ms;
}

.confirmation-page.is-celebrating .confirmation-celebrate span:nth-child(2) {
  animation-delay: 210ms;
}

.confirmation-page.is-celebrating .confirmation-celebrate span:nth-child(3) {
  animation-delay: 300ms;
}

.confirmation-nav-button {
  min-width: 180px;
}

.confirmation-seal {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.confirmation-seal-core {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(255, 228, 232, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 248, 0.9));
  border: 10px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 26px 70px rgba(255, 16, 38, 0.18),
    inset 0 0 0 2px rgba(255, 16, 38, 0.08);
}

.confirmation-page.is-celebrating .confirmation-seal-core {
  animation: confirmationSealPop 960ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.confirmation-seal-core::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 16, 38, 0.28);
}

.confirmation-seal-check {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--red);
}

.confirmation-seal-core strong,
.confirmation-seal-core small {
  position: relative;
  z-index: 1;
}

.confirmation-seal-core strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.confirmation-seal-core small {
  color: var(--muted);
}

.confirmation-seal-orbit {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 16, 38, 0.9), rgba(186, 9, 24, 0.65));
  box-shadow: 0 18px 30px rgba(255, 16, 38, 0.18);
  animation: confirmationFloat 4.2s ease-in-out infinite;
}

.confirmation-page.is-celebrating .confirmation-seal-orbit {
  animation:
    confirmationOrbitIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both,
    confirmationFloat 4.2s ease-in-out 900ms infinite;
}

.orbit-one {
  width: 18px;
  height: 18px;
  top: 44px;
  left: 22px;
}

.orbit-two {
  width: 12px;
  height: 12px;
  right: 30px;
  top: 86px;
  animation-delay: 0.7s;
}

.orbit-three {
  width: 22px;
  height: 22px;
  right: 52px;
  bottom: 42px;
  animation-delay: 1.2s;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.confirmation-items {
  display: grid;
  gap: 12px;
}

.confirmation-total {
  margin-top: 18px;
}

.confirmation-empty[hidden] {
  display: none !important;
}

@keyframes confirmationFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes confirmationRibbonIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes confirmationContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes confirmationChipIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes confirmationSealPop {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-10deg);
  }

  55% {
    opacity: 1;
    transform: scale(1.06) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes confirmationOrbitIn {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes confirmationConfettiDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-drift, 0px), 360px, 0) rotate(var(--confetti-rotate, 300deg));
  }
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.admin-zone,
.checkout-zone,
.checkout-review-zone,
.checkout-confirmation-zone {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: center;
  padding: 20px;
  background: rgba(18, 18, 22, 0.5);
  backdrop-filter: blur(12px);
  overflow-y: auto;
}

.admin-zone[hidden],
.checkout-zone[hidden],
.checkout-review-zone[hidden],
.checkout-confirmation-zone[hidden],
.admin-login-form[hidden],
.admin-session[hidden],
#admin-management[hidden] {
  display: none !important;
}

.admin-modal,
.checkout-modal,
.checkout-review-modal,
.checkout-confirmation-modal {
  width: min(1120px, 100%);
  margin: auto;
  padding: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 16, 38, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 36px 90px rgba(18, 18, 22, 0.24);
}

.checkout-modal {
  width: min(1080px, 100%);
}

.checkout-review-modal {
  width: min(1040px, 100%);
}

.checkout-confirmation-modal {
  width: min(760px, 100%);
}

.admin-modal-bar,
.checkout-modal-bar,
.checkout-review-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.admin-modal-bar h2,
.checkout-modal-bar h2,
.checkout-review-bar h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.admin-modal-copy,
.checkout-modal-copy,
.checkout-review-copy {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}

.admin-close,
.checkout-close,
.checkout-review-close {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(18, 18, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.admin-close:hover,
.admin-close:focus-visible,
.checkout-close:hover,
.checkout-close:focus-visible,
.checkout-review-close:hover,
.checkout-review-close:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 16, 38, 0.24);
  box-shadow: 0 14px 28px rgba(123, 17, 27, 0.12);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.checkout-layout .checkout-card {
  position: static;
  top: auto;
}

.checkout-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-bottom: 24px;
}

.checkout-review-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.checkout-review-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.checkout-review-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.checkout-review-fields,
.checkout-review-items {
  display: grid;
  gap: 12px;
}

.checkout-review-field,
.checkout-review-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 18, 22, 0.08);
}

.checkout-review-field:last-child,
.checkout-review-item:last-child {
  border-bottom: 0;
}

.checkout-review-field strong,
.checkout-review-item strong {
  font-family: "Space Grotesk", sans-serif;
}

.checkout-review-field span,
.checkout-review-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: right;
}

.checkout-review-item-copy {
  display: grid;
  gap: 4px;
}

.checkout-review-item-copy p {
  text-align: left;
}

.checkout-review-total {
  margin-top: 18px;
}

.checkout-payment-card {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-method-button {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(18, 18, 22, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.payment-method-button strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.payment-method-button span {
  color: var(--muted);
  line-height: 1.6;
}

.payment-method-button:hover,
.payment-method-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 16, 38, 0.12);
}

.payment-method-button.active {
  border-color: rgba(255, 16, 38, 0.36);
  background: linear-gradient(145deg, rgba(255, 16, 38, 0.12), rgba(255, 255, 255, 0.96));
}

.checkout-payment-status {
  margin: 0;
}

.checkout-review-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-review-note {
  margin: 0;
}

.admin-login-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(18, 18, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.admin-login-toggle:hover,
.admin-login-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 16, 38, 0.24);
  box-shadow: 0 14px 28px rgba(123, 17, 27, 0.12);
}

.admin-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff4f6;
  color: var(--muted);
  line-height: 1.7;
}

.admin-auth-card {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-login-form input {
  width: 100%;
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff4f6;
}

.admin-session-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-bottom: 24px;
}

.admin-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.admin-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-field-note {
  margin: -2px 0 4px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.admin-field-note code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 16, 38, 0.08);
  color: var(--red-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
}

.full-span {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-form-actions .btn {
  flex: 1 1 220px;
}

.admin-inline-form {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-inline-form input {
  flex: 1;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #fff4f6;
}

.admin-row strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
}

.admin-row p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-actions input {
  width: 170px;
}

.admin-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(18, 18, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.admin-button:hover,
.admin-button:focus-visible {
  transform: translateY(-2px);
}

.admin-button-danger {
  color: var(--red-deep);
  border-color: rgba(186, 9, 24, 0.16);
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.admin-products-card {
  display: grid;
  gap: 16px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
}

.admin-product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 22px rgba(123, 17, 27, 0.08);
}

.admin-product-meta strong {
  display: block;
  margin-bottom: 4px;
}

.admin-product-meta .stock-tag {
  margin-top: 10px;
}

.admin-empty {
  padding: 18px;
  border-radius: 18px;
  background: #fff4f6;
  color: var(--muted);
  line-height: 1.7;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filters button {
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.filters button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 30px rgba(255, 16, 38, 0.22);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.art {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.84), transparent 32%),
    linear-gradient(145deg, rgba(255, 16, 38, 0.1), rgba(255, 16, 38, 0.28));
}

.art::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 140px;
  height: 140px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(16deg);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.art-gallery {
  min-height: 320px;
}

.product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 212px;
  margin-top: 24px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(123, 17, 27, 0.16);
}

.thumbs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(123, 17, 27, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.thumb:hover,
.thumb:focus-visible {
  transform: translateY(-2px);
}

.thumb.active {
  border-color: var(--red);
  box-shadow: 0 14px 28px rgba(255, 16, 38, 0.2);
}

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

.shape {
  position: absolute;
  inset: 0;
}

.shape.phone::before,
.shape.phone::after,
.shape.laptop::before,
.shape.tablet::before,
.shape.watch::before,
.shape.watch::after,
.shape.audio::before,
.shape.audio::after,
.shape.hub::before,
.shape.hub::after {
  content: "";
  position: absolute;
}

.shape.phone::before {
  width: 96px;
  height: 170px;
  right: 38px;
  bottom: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #ffe3e7);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.72),
    0 16px 40px rgba(255, 16, 38, 0.24);
  transform: rotate(-12deg);
}

.shape.phone::after {
  width: 66px;
  height: 8px;
  right: 53px;
  bottom: 172px;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.12);
  transform: rotate(-12deg);
}

.shape.laptop::before {
  width: 156px;
  height: 110px;
  right: 26px;
  bottom: 58px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 228, 232, 0.98));
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(255, 16, 38, 0.24);
}

.shape.laptop::after {
  content: "";
  position: absolute;
  width: 188px;
  height: 12px;
  right: 10px;
  bottom: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 26px rgba(255, 16, 38, 0.18);
}

.shape.audio::before,
.shape.audio::after {
  width: 54px;
  height: 92px;
  bottom: 52px;
  border-radius: 28px 28px 22px 22px;
  background: linear-gradient(180deg, #fff, #ffe3e7);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.74),
    0 16px 34px rgba(255, 16, 38, 0.24);
}

.shape.audio::before {
  left: 68px;
  transform: rotate(-12deg);
}

.shape.audio::after {
  right: 52px;
  transform: rotate(10deg);
}

.shape.watch::before {
  width: 94px;
  height: 116px;
  right: 46px;
  bottom: 42px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #ffe4e8);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.74),
    0 16px 34px rgba(255, 16, 38, 0.24);
}

.shape.watch::after {
  width: 36px;
  height: 172px;
  right: 75px;
  bottom: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  z-index: -1;
}

.shape.tablet::before {
  width: 160px;
  height: 118px;
  right: 28px;
  bottom: 38px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 228, 232, 0.98));
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.72),
    0 18px 38px rgba(255, 16, 38, 0.24);
  transform: rotate(-9deg);
}

.shape.hub::before {
  width: 168px;
  height: 58px;
  right: 22px;
  bottom: 76px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 228, 232, 0.92));
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.7),
    0 18px 36px rgba(255, 16, 38, 0.24);
}

.shape.hub::after {
  width: 84px;
  height: 84px;
  right: 132px;
  bottom: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.7);
}

.meta,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.stock-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stock-tag-in {
  color: #0f7a43;
  background: rgba(15, 122, 67, 0.12);
}

.stock-tag-out {
  color: var(--red-deep);
  background: rgba(186, 9, 24, 0.12);
}

.product-card h3 {
  font-size: 1.36rem;
  margin: 0 0 8px;
}

.product-note {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.qty {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  background: #fff4f6;
}

.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--red);
  background: #fff;
  box-shadow: 0 10px 20px rgba(255, 16, 38, 0.12);
}

.qty button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.checkout-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.checkout-note {
  padding: 18px;
  border-radius: 18px;
  background: #fff4f6;
}

.order-form {
  display: grid;
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.order-form input,
.order-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-inline-form input,
.admin-login-form input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.order-form input:focus,
.order-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-inline-form input:focus,
.admin-login-form input:focus {
  outline: none;
  border-color: rgba(255, 16, 38, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 16, 38, 0.12);
}

.summary-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: #fff4f6;
}

.summary-card h3 {
  font-size: 1.3rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 18, 22, 0.08);
}

.summary-line:last-child {
  border-bottom: 0;
}

.summary-line p {
  margin: 0;
  color: var(--muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.cta-stack {
  display: grid;
  gap: 12px;
}

.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.why-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(255, 16, 38, 0.1);
  color: var(--red);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.why-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  min-width: 260px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.92);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .shop-layout,
  .confirmation-hero,
  .confirmation-grid,
  .admin-grid,
  .checkout-layout,
  .checkout-review-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

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

  .admin-modal-bar,
  .checkout-modal-bar,
  .checkout-review-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-card {
    position: static;
  }

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

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 14px;
    padding-bottom: 112px;
  }

  .nav {
    top: 10px;
    padding: 12px 14px;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .cart-pill {
    display: none;
  }

  .mobile-cart-pill {
    position: fixed;
    right: 14px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    z-index: 35;
    display: inline-flex;
    width: auto;
    min-height: 52px;
    padding: 10px 14px 10px 16px;
    box-shadow: 0 16px 36px rgba(255, 16, 38, 0.3);
  }

  .logo img {
    width: 220px;
    max-width: 56vw;
    height: 72px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .hero-slider-shell {
    position: relative;
    inset: auto;
    width: 100%;
    justify-items: center;
  }

  .glass-side {
    position: static;
    width: min(100%, 260px);
    padding: 18px;
  }

  .glass-stat {
    position: static;
    width: min(100%, 260px);
    padding: 18px;
  }

  .hero-slider-stage {
    width: min(100%, 210px);
    min-height: 170px;
    padding: 12px;
  }

  .hero-slider-image,
  .hero-slider-video {
    height: 100%;
  }

  .products,
  .stats,
  .why {
    grid-template-columns: 1fr;
  }

  .admin-zone,
  .checkout-zone,
  .checkout-review-zone,
  .checkout-confirmation-zone {
    padding: 14px;
  }

  .admin-modal,
  .checkout-modal,
  .checkout-review-modal,
  .checkout-confirmation-modal {
    padding: 18px;
    border-radius: 24px;
  }

  .confirmation-hero,
  .confirmation-card {
    padding: 22px;
    border-radius: 24px;
  }

  .confirmation-seal {
    min-height: 230px;
  }

  .confirmation-seal-core {
    width: min(100%, 210px);
  }

  .confirmation-seal-check {
    font-size: 3.6rem;
  }

  .admin-form,
  .admin-login-form,
  .admin-product-row {
    grid-template-columns: 1fr;
  }

  .admin-inline-form,
  .admin-session,
  .admin-actions,
  .admin-row,
  .admin-modal-bar,
  .checkout-modal-bar,
  .checkout-review-bar,
  .checkout-review-field,
  .checkout-review-item {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions input {
    width: 100%;
  }

  .admin-close,
  .checkout-close,
  .checkout-review-close {
    width: 100%;
  }

  .checkout-review-actions {
    grid-template-columns: 1fr;
  }

  .payment-method-options {
    grid-template-columns: 1fr;
  }

  .btn,
  .cart-pill {
    width: 100%;
  }

  .confirmation-actions {
    display: grid;
  }

  .confirmation-celebrate {
    gap: 8px;
  }

  .confirmation-celebrate span {
    width: 100%;
    justify-content: center;
  }

  .confirmation-confetti-piece {
    animation-duration: 3.2s;
  }

  .mobile-cart-pill {
    width: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .confirmation-confetti {
    display: none !important;
  }
}
