:root {
  --bg: #081120;
  --bg-soft: #10203c;
  --panel: #ffffff;
  --panel-soft: #f3f6fb;
  --text: #122033;
  --text-light: #67758d;
  --line: #d8e1ee;
  --primary: #377dff;
  --primary-dark: #245fd1;
  --accent: #25c786;
  --success: #15804f;
  --success-soft: #e9fff4;
  --danger: #c43f52;
  --danger-soft: #fff0f2;
  --shadow: 0 18px 45px rgba(7, 20, 44, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #f7f9fc;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

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

.section {
  padding: 88px 0;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(55, 125, 255, 0.42), transparent 28%),
    radial-gradient(circle at left center, rgba(37, 199, 134, 0.18), transparent 24%),
    linear-gradient(145deg, #06101d 0%, #0f1d38 100%);
  color: #fff;
  padding-bottom: 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.nav-links a,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.nav-cart {
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-cart span,
.cart-badge {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  padding-top: 36px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.contact-form h3,
.hero-card h2,
.summary-card h3,
.payment-card h3 {
  margin: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 11ch;
}

.hero-copy p,
.hero-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 62ch;
  margin: 20px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.outline-button,
.ghost-button {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.outline-button:hover,
.ghost-button:hover {
  background: #f4f8ff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.hero-stats article,
.hero-card,
.benefit-card,
.product-card,
.cart-panel,
.summary-card,
.payment-card,
.contact-card,
.contact-form {
  border-radius: var(--radius-lg);
}

.hero-stats article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  box-shadow: var(--shadow);
}

.highlight-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 199, 134, 0.18);
  color: #a8f4cf;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-card h2 {
  font-size: 2rem;
  margin: 18px 0 10px;
}

.price-box {
  margin: 24px 0;
}

.price-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}

.price-box strong {
  font-size: 2.3rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.9;
}

.hero-card-actions {
  margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-copy,
.benefit-card p,
.catalog-heading p,
.cart-empty,
.product-card p,
.product-meta,
.cart-note,
.summary-note,
.payment-card p,
.contact-copy p,
.contact-card p,
.form-status {
  color: var(--text-light);
  line-height: 1.7;
}

.benefits,
.checkout {
  background: #fff;
}

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

.benefit-card {
  background: var(--panel-soft);
  padding: 28px;
  border: 1px solid #edf2f8;
}

.benefit-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.catalog-main {
  min-width: 0;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.search-box input {
  min-width: 280px;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
}

.search-box input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(55, 125, 255, 0.18);
  border-color: var(--primary);
}

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

.filter-button {
  padding: 11px 16px;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--text);
  font-weight: 600;
}

.filter-button.active {
  background: var(--text);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9eef6;
  box-shadow: 0 12px 28px rgba(15, 26, 48, 0.05);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #dfe7f5;
}

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

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-category {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eff4ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.product-card p {
  margin: 0 0 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.product-price {
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 800;
}

.add-button,
.quantity-button {
  background: var(--text);
  color: #fff;
  font-weight: 700;
}

.add-button {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  margin-top: auto;
}

.add-button:hover,
.quantity-button:hover {
  background: #0a1728;
}

.cart-panel {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e9eef6;
  padding: 24px;
  box-shadow: var(--shadow);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.cart-header h3,
.contact-form h3,
.summary-card h3,
.payment-card h3 {
  font-size: 1.45rem;
}

.cart-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.cart-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

.cart-item-top,
.cart-total,
.cart-item-actions,
.summary-row,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-name {
  font-weight: 700;
}

.cart-item-price {
  color: var(--text-light);
}

.item-quantity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quantity-button {
  width: 34px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.remove-button {
  background: transparent;
  color: var(--danger);
  font-weight: 700;
  padding: 0;
}

.cart-total {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.cart-total strong,
.total-row strong {
  font-size: 1.5rem;
}

.cart-note {
  margin: 16px 0 0;
}

.cart-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.summary-card,
.payment-card,
.contact-form,
.contact-card {
  background: #fff;
  border: 1px solid #e6edf7;
  box-shadow: var(--shadow);
}

.summary-card,
.payment-card,
.contact-form {
  padding: 28px;
}

.summary-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.total-row {
  padding-top: 24px;
}

.summary-note {
  margin: 24px 0 16px;
}

.summary-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-light);
  line-height: 1.9;
}

.paypal-box {
  min-height: 46px;
  margin: 20px 0 16px;
}

.payment-status,
.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #dde6f2;
  background: #f5f8fd;
}

.payment-status.is-success,
.form-status.is-success {
  color: var(--success);
  background: var(--success-soft);
  border-color: #b9ead0;
}

.payment-status.is-error,
.form-status.is-error {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: #f3c7cf;
}

.contact {
  background: linear-gradient(180deg, #eef4ff 0%, #f7f9fc 100%);
}

.contact-copy > p {
  max-width: 58ch;
  margin: 18px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  padding: 22px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
}

.form-field textarea {
  resize: vertical;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer {
  background: #081120;
  color: rgba(255, 255, 255, 0.8);
  padding: 24px 0;
}

.floating-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #20c05c;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 20;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: #101e3a;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}

.empty-state {
  display: none;
  margin-top: 18px;
  color: var(--text-light);
}

.empty-state.visible {
  display: block;
}

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

@media (max-width: 1100px) {
  .hero-content,
  .catalog-layout,
  .checkout-layout,
  .contact-layout,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cart-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .nav,
  .section-heading,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .hero-stats,
  .product-grid,
  .form-grid {
    width: 100%;
  }

  .nav-links,
  .toolbar,
  .footer-links,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .product-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .search-box input {
    min-width: 100%;
  }

  .floating-whatsapp,
  .toast {
    left: 16px;
    right: 16px;
  }

  .floating-whatsapp {
    bottom: 80px;
  }

  .toast {
    bottom: 16px;
  }
}
