@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --muted-surface: #eef1f7;
  --accent: #0f172a;
  --accent-soft: #1f2937;
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --brand-light: #eef2ff;
  --text: #111827;
  --text-muted: #4b5563;
  --border: #e2e8f0;
  --radius: 18px;
  --header-height: 72px;
  color-scheme: light;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--brand);
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
}

.section--muted {
  background: var(--muted-surface);
}

.section--accent {
  background: var(--accent);
  color: #f8fafc;
}

.section__heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 3vw, 3.75rem);
}

.section__heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section__heading p {
  color: var(--text-muted);
}

.section--accent .section__heading p {
  color: rgba(248, 250, 252, 0.78);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  border-color: rgba(203, 213, 225, 0.65);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav__link {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  outline: none;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.nav-toggle:focus {
  outline: none;
  box-shadow: none;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

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

.mobile-nav__link {
  padding: 0.65rem 0;
  font-weight: 500;
  color: var(--accent);
}

.hero {
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 1rem 0 1.25rem;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  font-size: 0.95rem;
}

.hero__stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
}

.hero__stats span {
  color: var(--text-muted);
}

.hero__media {
  position: relative;
}

.hero__media img {
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.hero__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
}

.hero__badge span {
  font-size: 0.8rem;
  opacity: 0.75;
}

.hero__badge strong {
  display: block;
  font-size: 1.05rem;
  margin-top: 4px;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.65);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  stroke: var(--brand-dark);
  stroke-width: 2.2;
  fill: none;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.template-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: center;
}

@media (min-width: 768px) {
  .template-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
  }
}

@media (min-width: 1080px) {
  .template-grid {
    grid-template-columns: repeat(3, minmax(280px, 320px));
  }
}

.template-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.template-card__media {
  margin: 0;
  display: block;
  aspect-ratio: 21 / 9;
  min-height: 190px;
  overflow: hidden;
}

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

.template-card__body {
  padding: 1.75rem 1.75rem 0;
  flex: 1;
}

.template-card__title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.template-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1.5rem;
}

.template-card__price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.25);
}

.button--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(15, 23, 42, 0.18);
}

.button--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button--light {
  background: #f8fafc;
  color: var(--accent);
}

.button--light:hover {
  background: #fff;
}

.guaranty {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.guaranty__copy h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.guaranty__copy p {
  color: var(--text-muted);
}

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

.guaranty__list li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta p {
  color: rgba(248, 250, 252, 0.8);
  margin: 0;
}

.site-footer {
  background: #0b1120;
  color: #e2e8f0;
  padding: 3rem 0;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(226, 232, 240, 0.85);
}

.site-footer p {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
}

.go-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}


.go-top:hover {
  background: var(--brand-dark);
}
.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-4px);
}

.go-top svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: opacity 0.4s ease;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  animation: preloader-bounce 0.9s infinite ease-in-out;
}

.preloader__dot:nth-child(2) {
  animation-delay: 0.12s;
}

.preloader__dot:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes preloader-bounce {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    position: static;
    margin-top: 1rem;
    align-self: flex-start;
  }

  .template-card__title {
    white-space: normal;
  }
}

.page-hero {
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: var(--surface);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
  text-align: center;
  align-items: center;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.page-hero__title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.15;
  max-width: 720px;
}

.page-hero__subtitle {
  max-width: 640px;
  color: var(--text-muted);
}

.page-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 620px;
}

.page-hero__meta div {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: var(--muted-surface);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.page-hero__meta strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
}

.catalog-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.catalog-header h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.catalog-header p {
  color: var(--text-muted);
}

.catalog-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}

.filter-pill {
  appearance: none;
  border: none;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill:focus {
  transform: translateY(-2px);
}

.filter-pill.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.25);
}

[data-filter-grid] {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-filter-grid].is-filtering {
  opacity: 0.2;
  transform: translateY(12px);
}

.catalog-perks {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.catalog-perks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.catalog-perks__list li {
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.product-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: var(--surface);
}

.product-hero__grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.product-hero__media {
  display: flex;
  justify-content: center;
}

.media-slider {
  width: min(520px, 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-slider__frame {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: var(--muted-surface);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.media-slider__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.media-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.media-slider__caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.media-slider__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.media-slider__nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
}

.media-slider__nav svg {
  stroke: var(--accent);
  stroke-width: 2.4;
  fill: none;
}

.media-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.media-slider__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.media-slider__dot.is-active {
  background: var(--brand);
  transform: scale(1.15);
}

.media-slider.is-transitioning img {
  opacity: 0;
}

.product-hero__details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.product-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.82rem;
}

.product-hero__details h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  margin: 0;
  line-height: 1.1;
}

.product-hero__summary {
  color: var(--text-muted);
  font-size: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-meta__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.rating {
  display: inline-flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.rating svg {
  fill: currentColor;
  stroke: none;
}

.rating__icon--dim {
  color: rgba(251, 191, 36, 0.4);
}

.product-rating__meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.price-tag {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.product-price__note {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button--lg {
  padding: 1rem 1.8rem;
  font-size: 1rem;
}

.product-highlights {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.6rem;
}

.product-overview {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-pane {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.product-pane h2 {
  margin: 0;
  font-size: 1.6rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}

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

.feature-list--check li::before {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

.product-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.recommended {
  display: grid;
  gap: 2rem;
}

.recommended__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rating svg polygon {
  stroke: none;
}

@media (max-width: 720px) {
  .catalog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .catalog-filters::after {
    content: "";
    flex: 0 0 1px;
  }

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

  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .media-slider__controls {
    gap: 0.8rem;
  }

  .media-slider__nav {
    width: 44px;
    height: 44px;
  }
}

.pulse-updown {
  animation: pulseUpDown 2.8s ease-in-out infinite;
  display: block;
  will-change: transform;
}
@keyframes pulseUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.checkout {
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
}

.checkout__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.checkout__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout__copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
}

.checkout__copy p {
  margin: 0;
  color: var(--text-muted);
}

.checkout__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
}

.checkout__list li {
  position: relative;
  padding-left: 1.6rem;
}

.checkout__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

.checkout-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.input-label {
  font-weight: 600;
  color: var(--accent);
}

.input-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.form-help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkout-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.checkout-alert--error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

[data-submit-button][disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-spinner {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  margin-left: 10px;
  animation: button-spin 0.65s linear infinite;
}

@keyframes button-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.payment-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 1rem;
}

.payment-options {
  display: grid;
  gap: 1rem;
}

.payment-option {
  display: block;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: calc(var(--radius) - 6px);
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.payment-option__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--muted-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.payment-option__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-option strong {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.payment-option__hint {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.payment-option input:focus-visible + .payment-option__card,
.payment-option input:checked + .payment-option__card {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.payment-option:hover .payment-option__card {
  transform: translateY(-1px);
}

.alert-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 120;
}

.alert-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.alert-modal__dialog {
  background: var(--surface);
  border-radius: calc(var(--radius) - 4px);
  padding: 2.2rem;
  max-width: 420px;
  width: min(100%, 420px);
  display: grid;
  gap: 1.6rem;
  border: 1px solid rgba(226, 232, 240, 0.65);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.18);
  transform: translateY(18px);
  transition: transform 0.25s ease;
}

.alert-modal.is-visible .alert-modal__dialog {
  transform: translateY(0);
}

.alert-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.alert-modal__icon svg {
  stroke: currentColor;
  stroke-width: 2.4px;
  fill: none;
}

.alert-modal__body {
  display: grid;
  gap: 0.6rem;
}

.alert-modal__title {
  margin: 0;
  font-size: 1.45rem;
  color: var(--accent);
}

.alert-modal__message {
  margin: 0;
  color: var(--text-muted);
}

.alert-modal__actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .checkout__layout {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    padding: 1.75rem;
  }

  .alert-modal__dialog {
    padding: 1.8rem;
  }
}
.catalog-empty-state {
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.08);
}
