:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --border: #E2E8F0;
  --text: #1E293B;
  --muted: #64748B;
  --primary: #FF5A5F;
  --primary-glow: #FF7A7F;
  --primary-dark: #E6484D;
  --success: #22C55E;
  --info: #3B82F6;
  --warning: #F97316;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-coral: 0 18px 45px rgba(255, 90, 95, 0.28);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 90, 95, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.10), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 42%, #F1F5F9 100%);
  z-index: -2;
}

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

button {
  font: inherit;
}

.site-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}

.nav-wrapper {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.site-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 22px;
  box-shadow: var(--shadow-coral);
}

.site-brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.ghost-link {
  color: #475569;
  font-weight: 800;
  font-size: 14px;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--primary);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-link,
.secondary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  box-shadow: var(--shadow-coral);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.secondary-link {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.primary-link.large,
.secondary-link.large {
  min-height: 56px;
  padding-inline: 26px;
  font-size: 15px;
}

.hero-section {
  padding: 82px 0 74px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 70px;
  align-items: center;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #FFF1F2;
  color: var(--primary-dark);
  border: 1px solid rgba(255, 90, 95, 0.18);
  font-size: 13px;
  font-weight: 950;
}

.hero-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
}

.hero-content h1 {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-content p {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 660px;
  margin-top: 34px;
}

.hero-metrics div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.app-preview-card {
  width: min(390px, 100%);
  padding: 18px;
  border-radius: 42px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.18);
  position: relative;
  z-index: 2;
}

.app-preview-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50px;
  border: 10px solid #1E293B;
  z-index: -1;
  box-shadow: 0 28px 70px rgba(30, 41, 59, 0.22);
}

.app-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 6px 16px;
}

.app-preview-header small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-preview-header strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.app-preview-header span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 950;
  font-size: 13px;
}

.app-map {
  height: 275px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 90, 95, 0.36), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(34, 197, 94, 0.28), transparent 24%),
    linear-gradient(135deg, #F8FAFC, #E2E8F0);
  border: 1px solid var(--border);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(100, 116, 139, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(100, 116, 139, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-route {
  position: absolute;
  left: 84px;
  top: 72px;
  width: 190px;
  height: 130px;
  border: 5px dashed rgba(255, 90, 95, 0.72);
  border-left: none;
  border-bottom: none;
  border-radius: 0 100px 0 0;
  transform: rotate(8deg);
}

.map-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 17px 17px 17px 6px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 950;
  transform: rotate(-45deg);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.map-pin.pickup {
  left: 62px;
  top: 76px;
  background: var(--primary);
}

.map-pin.destination {
  right: 58px;
  bottom: 54px;
  background: var(--success);
}

.map-pin.pickup,
.map-pin.destination {
  color: transparent;
}

.map-pin.pickup::after {
  content: "A";
  color: white;
  transform: rotate(45deg);
}

.map-pin.destination::after {
  content: "B";
  color: white;
  transform: rotate(45deg);
}

.driver-marker {
  position: absolute;
  left: 150px;
  top: 132px;
  padding: 11px 15px;
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-weight: 950;
  box-shadow: var(--shadow-soft);
}

.app-offer {
  margin-top: 13px;
  padding: 16px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.app-offer.selected {
  border-color: rgba(255, 90, 95, 0.45);
  box-shadow: 0 16px 35px rgba(255, 90, 95, 0.13);
}

.app-offer strong {
  display: block;
  color: var(--text);
  letter-spacing: -0.02em;
}

.app-offer span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-offer b {
  color: var(--success);
  white-space: nowrap;
}

.mock-button {
  width: 100%;
  height: 54px;
  margin-top: 14px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  font-weight: 950;
  box-shadow: var(--shadow-coral);
  cursor: default;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 250px;
  padding: 19px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  display: block;
  color: var(--text);
  letter-spacing: -0.02em;
}

.floating-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.floating-card.top {
  top: 96px;
  right: 8px;
}

.floating-card.bottom {
  left: 6px;
  bottom: 98px;
}

.section-block {
  padding: 88px 0;
}

.section-block.soft {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, 0.08), transparent 28%),
    #F1F5F9;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #FFE4E6;
}

.section-heading h2,
.city-grid h2,
.join-card.main h2,
.download-card h2 {
  color: var(--text);
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading p,
.city-grid p,
.join-card p,
.download-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.step-card,
.trust-card,
.join-card,
.review-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.join-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  background: #FFF1F2;
  color: var(--primary);
  font-size: 27px;
}

.service-icon.small {
  width: 50px;
  height: 50px;
  font-size: 23px;
}

.service-card h3,
.join-card h3,
.step-card h3 {
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.service-card p,
.join-card p,
.step-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-note {
  max-width: 940px;
  margin: 30px auto 0;
  padding: 19px 22px;
  border-radius: 22px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #9A3412;
  line-height: 1.65;
  font-weight: 800;
}

.legal-note.neutral {
  background: #F8FAFC;
  border-color: var(--border);
  color: #475569;
}

.reviews-section {
  padding: 44px 0;
  background: rgba(255, 255, 255, 0.52);
  border-block: 1px solid rgba(226, 232, 240, 0.76);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.review-card p {
  color: #475569;
  line-height: 1.7;
  font-weight: 650;
}

.review-card strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
}

.review-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  display: flex;
  gap: 18px;
  padding: 21px;
}

.step-card > span {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  font-weight: 950;
  box-shadow: 0 12px 25px rgba(255, 90, 95, 0.22);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 24px;
  text-align: center;
}

.trust-card strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.trust-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.city-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 122, 127, 0.34), transparent 30%),
    linear-gradient(135deg, #E6484D, #FF5A5F);
  color: white;
}

.city-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.city-grid h2,
.city-grid p {
  color: white;
}

.city-grid p {
  opacity: 0.92;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zone-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.75fr;
  gap: 18px;
}

.join-card {
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-card.main {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, 0.14), transparent 34%),
    linear-gradient(135deg, #FFFFFF, #FFF1F2);
}

.join-card.main .primary-link {
  margin-top: 22px;
}

.faq-wrap {
  max-width: 920px;
}

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

.faq-item {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  font-size: 16px;
}

.faq-question b {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #FFF1F2;
  color: var(--primary);
  transition: transform 0.18s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-item.open .faq-question b {
  transform: rotate(45deg);
}

.download-section {
  padding: 42px 0 90px;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-glow));
  color: white;
  box-shadow: var(--shadow-coral);
}

.download-card h2,
.download-card p {
  color: white;
}

.download-card p {
  opacity: 0.93;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.store-btn {
  min-width: 165px;
  min-height: 66px;
  padding: 13px 18px;
  border-radius: 20px;
  background: white;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn small {
  color: var(--muted);
  font-weight: 850;
}

.store-btn strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.site-footer {
  padding: 48px 0 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer h4 {
  margin-bottom: 12px;
  color: var(--text);
}

.site-footer a:not(.site-brand) {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 850;
}

.site-footer a:not(.site-brand):hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

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

  .hero-grid,
  .split-grid,
  .city-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .trust-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .store-buttons {
    justify-content: flex-start;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrapper {
    min-height: 72px;
  }

  .ghost-link {
    display: none;
  }

  .site-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero-section {
    padding: 48px 0 36px;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-metrics,
  .service-grid,
  .trust-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding: 26px 0 72px;
  }

  .app-preview-card {
    width: min(345px, 100%);
  }

  .app-preview-card::before {
    inset: -8px;
    border-width: 8px;
    border-radius: 47px;
  }

  .app-map {
    height: 240px;
  }

  .floating-card {
    position: relative;
    width: 100%;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 14px;
  }

  .section-block {
    padding: 62px 0;
  }

  .section-heading.left {
    text-align: center;
  }

  .step-card {
    flex-direction: column;
  }

  .download-card {
    padding: 30px;
    border-radius: 30px;
  }

  .store-buttons {
    display: grid;
  }

  .store-btn {
    width: 100%;
  }

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

@media (max-width: 430px) {
  .site-actions .primary-link {
    padding-inline: 14px;
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .map-route {
    left: 70px;
    width: 165px;
  }

  .driver-marker {
    left: 126px;
  }
}


/* Productos MistiRide */
.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.shop-summary-card,
.cart-panel,
.purchase-legal-strip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-soft);
}

.shop-summary-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.shop-summary-card span,
.product-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ECFDF5;
  color: #047857;
  font-size: 12px;
  font-weight: 950;
}

.shop-summary-card strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.shop-summary-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

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

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-soft);
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.18;
}

.product-body p {
  min-height: 54px;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.product-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.product-buy-row strong {
  color: var(--text);
  font-size: 22px;
}

.add-cart-btn,
.remove-cart-btn {
  border: 0;
  cursor: pointer;
  font-weight: 950;
}

.add-cart-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0F172A;
  color: white;
  transition: transform 0.18s ease, background 0.18s ease;
}

.add-cart-btn:hover {
  transform: translateY(-1px);
  background: var(--primary);
}

.cart-panel {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-radius: var(--radius-md);
}

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

.cart-header h3 {
  margin-top: 4px;
  font-size: 28px;
}

.cart-header > strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #FFF1F2;
  color: var(--primary-dark);
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 86px;
  margin-top: 18px;
}

.cart-empty {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.5;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line strong {
  color: var(--text);
  font-size: 14px;
}

.cart-line span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.remove-cart-btn {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: white;
  color: var(--primary-dark);
}

.cart-totals {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.cart-totals strong {
  color: var(--text);
}

.cart-totals .cart-total {
  color: var(--text);
  font-size: 19px;
}

.checkout-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 13px;
  background: white;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.checkout-form small {
  color: var(--muted);
  line-height: 1.45;
}

.purchase-legal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-md);
}

.purchase-legal-strip strong,
.purchase-legal-strip span {
  display: block;
}

.purchase-legal-strip strong {
  color: var(--text);
}

.purchase-legal-strip span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .shop-hero,
  .shop-layout,
  .purchase-legal-strip {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

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

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

  .add-cart-btn {
    width: 100%;
  }

  .shop-summary-card,
  .cart-panel,
  .purchase-legal-strip {
    border-radius: 22px;
  }
}
