:root {
  --black: #0c0e0c;
  --ink: #171717;
  --muted: #686868;
  --line: #e9e9e9;
  --paper: #f7f7f4;
  --white: #ffffff;
  --accent: #a8c048;
  --accent-dark: #6d8a2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.announcement {
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  text-transform: uppercase;
}

button,
input,
textarea {
  font: inherit;
}

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

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand img {
  display: block;
  height: 44px;
  object-fit: contain;
  width: 92px;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
}

nav a {
  color: #333;
}

.cart-button,
.filter,
.primary,
.secondary,
.whatsapp,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  background: var(--black);
  border-radius: 999px;
  color: var(--white);
  padding: 10px 16px;
}

.cart-button span {
  background: var(--accent);
  border-radius: 999px;
  display: inline-grid;
  margin-left: 6px;
  min-width: 24px;
  padding: 2px 7px;
  place-items: center;
}

main {
  overflow: hidden;
}

.hero {
  background: var(--black);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: 720px;
}

.hero-copy {
  align-content: center;
  background: var(--black);
  color: var(--white);
  display: grid;
  padding: clamp(34px, 7vw, 84px);
}

.hero-logo {
  filter: invert(1);
  margin-bottom: clamp(28px, 5vw, 54px);
  max-width: min(460px, 84vw);
  width: 64%;
}

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  max-width: 770px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.hero-copy p:not(.eyebrow),
.split-section p,
.consult p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 620px;
}

.hero-copy p:not(.eyebrow) {
  color: #d2d2d2;
}

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

.primary,
.secondary,
.whatsapp {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  padding: 14px 22px;
}

.primary {
  background: var(--accent);
  color: var(--black);
}

.primary.dark {
  background: var(--black);
  color: var(--white);
}

.secondary {
  background: var(--white);
  color: var(--ink);
}

.hero-panel {
  background: radial-gradient(circle at 52% 44%, #ffffff 0 26%, #f2f2f2 27% 44%, #111 45% 100%);
  display: grid;
  min-height: 560px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.hero-panel::after {
  background: linear-gradient(145deg, transparent 0 58%, rgba(255, 90, 31, 0.85) 58% 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-product {
  background: var(--white);
  border-radius: 50%;
  display: grid;
  height: clamp(300px, 44vw, 560px);
  place-items: center;
  position: relative;
  width: clamp(300px, 44vw, 560px);
  z-index: 1;
}

.hero-product img {
  height: 66%;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 66%;
}

.hero-badge {
  background: var(--black);
  bottom: clamp(28px, 5vw, 64px);
  color: var(--white);
  display: grid;
  gap: 4px;
  left: clamp(20px, 4vw, 58px);
  padding: 18px 22px;
  position: absolute;
  z-index: 2;
}

.hero-badge span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-strip {
  background: #f3f3f0;
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-strip article {
  border-right: 1px solid #dadad6;
  color: var(--black);
  display: grid;
  gap: 6px;
  padding: 24px clamp(18px, 3vw, 38px);
}

.feature-strip article:nth-child(even) {
  background: #e9e9e5;
}

.feature-strip strong {
  font-size: 1.35rem;
}

.feature-strip span {
  color: #606060;
}

.brand-proof,
.split-section,
.catalog,
.consult {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.brand-proof {
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
}

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

.proof-grid article {
  background: #151515;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.proof-grid strong {
  font-size: 1.08rem;
}

.proof-grid span {
  color: #c5c5c5;
  line-height: 1.45;
}

.split-section {
  align-items: end;
  background: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.9fr 1.1fr;
}

.catalog {
  background: #f7f7f4;
}

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

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

.filter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}

.filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

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

.product-card {
  background: var(--white);
  border: 0;
  border-radius: 0;
  display: grid;
  overflow: hidden;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #d8d8d8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-media {
  align-items: center;
  aspect-ratio: 1 / 0.82;
  background: #eeeeea;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-media img {
  height: 92%;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 82%;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.sku {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-body h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  min-height: 42px;
}

.product-copy {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
  min-height: 50px;
}

.meta {
  color: var(--muted);
  display: flex;
  font-size: 0.86rem;
  justify-content: space-between;
}

.buy-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.price {
  font-size: 1.15rem;
  font-weight: 900;
}

.add {
  background: var(--black);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 13px;
}

.add:hover,
.primary:hover {
  background: var(--accent);
  color: var(--black);
}

.official-link {
  border-top: 1px solid var(--line);
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  padding-top: 12px;
}

.consult {
  align-items: center;
  background: var(--accent);
  color: var(--black);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.consult p,
.consult .eyebrow {
  color: var(--white);
}

.product-page {
  background: var(--white);
}

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 105px);
}

.detail-media {
  align-items: center;
  background: #f1f1ee;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 70px);
}

.detail-media img {
  max-height: 72vh;
  max-width: 88%;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.detail-copy {
  align-content: center;
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 22px;
  padding: clamp(30px, 6vw, 80px);
}

.detail-logo {
  filter: invert(1);
  max-width: 360px;
  width: 70%;
}

.detail-copy h1 {
  font-size: clamp(2.7rem, 6vw, 6.4rem);
}

.detail-copy p:not(.eyebrow) {
  color: #d4d4d4;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 620px;
}

.detail-specs {
  border-top: 1px solid #2a2a2a;
  display: grid;
  gap: 0;
  margin: 8px 0 0;
}

.detail-specs div {
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.detail-specs dt {
  color: #aaa;
}

.detail-specs dd {
  font-weight: 900;
  margin: 0;
}

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

.variant-button {
  background: #171717;
  border: 1px solid #343434;
  color: var(--white);
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 12px 14px;
  text-align: left;
}

.variant-button span {
  color: #cfcfcf;
  font-size: 0.88rem;
}

.variant-button strong {
  font-size: 1rem;
}

.variant-button.active {
  border-color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.gallery-section {
  background: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.7fr 1.3fr;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

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

.detail-gallery img {
  aspect-ratio: 1 / 1;
  background: #f1f1ee;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.detail-proof {
  background: #f7f7f4;
  color: var(--black);
}

.detail-proof .proof-grid article {
  background: var(--white);
  border-color: var(--line);
}

.detail-proof .proof-grid span {
  color: var(--muted);
}

.cart-drawer {
  bottom: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

.cart-panel {
  background: var(--white);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100vw;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(110%);
  transition: transform 180ms ease;
  width: 420px;
}

body.cart-open .cart-drawer {
  pointer-events: auto;
}

body.cart-open .cart-panel {
  transform: translateX(0);
}

.scrim {
  background: rgba(0, 0, 0, 0.45);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 35;
}

body.cart-open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.cart-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.cart-head h2 {
  font-size: 2rem;
}

.icon-button {
  background: var(--black);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.6rem;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 22px 0;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.cart-item-top {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.cart-item-info strong {
  display: block;
  line-height: 1.2;
}

.cart-item-sub {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  margin-top: 3px;
}

.cart-remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 2px;
}

.cart-remove:hover {
  color: var(--accent-dark);
}

.cart-item-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.qty-stepper {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
}

.qty-stepper button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  height: 34px;
  line-height: 1;
  width: 36px;
}

.qty-stepper button:hover {
  background: var(--paper);
}

.qty-stepper span {
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

.lead-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.86rem;
  gap: 6px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  width: 100%;
}

.cart-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.whatsapp {
  background: #19c463;
  color: var(--white);
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .brand-proof,
  .gallery-section,
  .product-hero-detail,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: start;
    flex-wrap: wrap;
    gap: 12px;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .hero {
    min-height: 0;
  }

  .hero-panel {
    min-height: 360px;
  }

  .section-heading,
  .consult {
    align-items: stretch;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-grid,
  .proof-grid,
  .detail-gallery,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 82%;
  }
}

/* Official-style product pages */
.official-product-page {
  background: #fff;
  color: #1a1a1a;
}

.official-product-top {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.92fr);
  gap: clamp(36px, 6vw, 92px);
  margin: 0 auto;
  max-width: 1500px;
  min-height: calc(100vh - 112px);
  padding: clamp(34px, 7vw, 96px) clamp(22px, 5vw, 84px) 42px;
}

.official-gallery {
  align-self: start;
  display: grid;
  gap: 24px;
  position: sticky;
  top: 120px;
}

.official-main-media {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.official-main-media img {
  max-height: 68vh;
  max-width: 92%;
  object-fit: contain;
}

.official-thumbs {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  overflow-x: auto;
  padding: 4px 0 12px;
}

.thumb-button {
  background: #f4f4f4;
  border: 2px solid transparent;
  cursor: pointer;
  height: 92px;
  min-width: 92px;
  padding: 8px;
}

.thumb-button.active {
  border-color: var(--accent);
}

.thumb-button img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.official-summary {
  align-self: center;
  display: grid;
  gap: 22px;
}

.official-summary h1 {
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  line-height: 1;
}

.rating-line {
  align-items: center;
  display: flex;
  gap: 16px;
  font-size: 1.12rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.04em;
}

.official-description {
  background: #f5f5f5;
  color: #6b6b6b;
  display: grid;
  font-size: 1.05rem;
  gap: 8px;
  line-height: 1.55;
  padding: 26px 30px;
}

.official-description p {
  margin: 0;
}

.official-description a {
  color: #5b5b5b;
  font-weight: 900;
  text-decoration: underline;
}

.feature-list {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  display: grid;
  gap: 0;
  padding: 12px 30px 24px;
}

.feature-list div {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 34px 1fr;
  padding: 12px 0;
}

.feature-list span {
  color: #111;
  font-size: 1.6rem;
  text-align: center;
}

.feature-list p {
  color: #666;
  font-size: 1.02rem;
  margin: 0;
}

.color-block h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

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

.variant-card {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: 34px 54px 1fr;
  min-height: 86px;
  padding: 12px;
  text-align: left;
}

.variant-card img {
  height: 50px;
  object-fit: contain;
  width: 54px;
}

.variant-card strong {
  color: #777;
  grid-column: 3;
}

.variant-card.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.variant-check {
  align-items: center;
  background: #777;
  border-radius: 999px;
  color: #fff;
  display: none;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.variant-card.active .variant-check {
  display: flex;
}

.price-row {
  align-items: baseline;
  display: flex;
  gap: 24px;
}

.price-row span {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
}

/* La etiqueta de preventa dentro del precio no debe heredar el tamaño grande */
.price-row [data-detail-price] .preventa-tag {
  font-size: 0.7rem;
  align-self: center;
  margin-bottom: 0;
}
.price-row [data-detail-price] .price-list {
  font-size: 1.1rem;
}

.price-row strong {
  color: #777;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.purchase-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.purchase-row .primary {
  background: var(--accent);
  min-width: 230px;
}

.purchase-row span {
  color: #777;
}

.product-tabs {
  background: #f3f3f3;
  display: flex;
  gap: 36px;
  justify-content: center;
  padding: 20px;
  position: sticky;
  top: 73px;
  z-index: 10;
}

.product-tabs a {
  color: #555;
  font-weight: 700;
}

.award-strip {
  background: #ededed;
  padding: 46px 24px;
  text-align: center;
}

.award-strip h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.official-story {
  display: grid;
  gap: 0;
  margin: 0 auto;
  max-width: 1260px;
  padding: 48px 24px;
}

.story-row {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: 1.15fr 0.85fr;
  padding: 34px 0;
}

.story-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.story-row.reverse img {
  order: 2;
}

.story-row img {
  background: #f5f5f5;
  border-radius: 8px;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

.story-row h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.story-row p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.65;
}

.video-section,
.tech-section,
.box-section,
.compare-section,
.faq-section {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 1260px;
  padding: 64px 24px;
}

.video-section video {
  background: #111;
  border-radius: 8px;
  max-height: 720px;
  width: 100%;
}

.tech-section {
  background: #e8f5f3;
  max-width: none;
  padding-left: clamp(24px, 8vw, 120px);
  padding-right: clamp(24px, 8vw, 120px);
}

.tech-grid,
.box-grid,
.compare-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-grid article,
.box-grid article,
.related-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.tech-grid strong,
.box-grid article,
.related-card strong {
  font-size: 1.05rem;
}

.tech-grid span,
.related-card span {
  color: #777;
}

.related-card img {
  aspect-ratio: 1 / 0.72;
  object-fit: contain;
  width: 100%;
}

.faq-section details {
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
}

.faq-section summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-section p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .official-product-top,
  .story-row,
  .story-row.reverse,
  .tech-grid,
  .box-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .official-gallery {
    position: static;
  }

  .official-main-media {
    min-height: 360px;
  }

  .story-row.reverse img {
    order: 0;
  }

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

  .product-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }
}

.official-main-media video {
  background: #111;
  max-height: 68vh;
  max-width: 96%;
  width: 100%;
}

.thumb-button.video-thumb {
  align-items: center;
  background: #111;
  color: #fff;
  display: grid;
  gap: 4px;
  justify-items: center;
}

.thumb-button.video-thumb span {
  align-items: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  display: flex;
  font-size: 1.25rem;
  height: 38px;
  justify-content: center;
  padding-left: 3px;
  width: 38px;
}

.thumb-button.video-thumb small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Refined home hero carousel */
.hero-carousel {
  background: #0b0b0b;
  display: block;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.hero-slides {
  height: clamp(430px, 56vw, 650px);
  position: relative;
}

.hero-slide {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 34%, rgba(0,0,0,0.16) 68%, rgba(0,0,0,0.04) 100%),
    var(--hero-image) center / cover no-repeat;
  display: grid;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 480ms ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel .hero-copy {
  align-content: center;
  background: transparent;
  color: var(--white);
  display: grid;
  max-width: 680px;
  padding: clamp(40px, 7vw, 86px);
}

.hero-carousel .hero-logo {
  filter: invert(1);
  margin-bottom: 26px;
  max-width: 220px;
  opacity: 0.52;
  width: 34%;
}

.hero-carousel h1 {
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 0.96;
  max-width: 650px;
}

.hero-carousel .hero-copy p:not(.eyebrow) {
  color: #e7e7e7;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
  max-width: 510px;
}

.hero-dots {
  bottom: 24px;
  display: flex;
  gap: 10px;
  left: clamp(40px, 7vw, 86px);
  position: absolute;
  z-index: 3;
}

.hero-dots button {
  background: rgba(255,255,255,0.46);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  width: 34px;
}

.hero-dots button.active {
  background: var(--accent);
}

@media (max-width: 720px) {
  .hero-slides {
    height: 560px;
  }

  .hero-slide {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.58) 50%, rgba(0,0,0,0.18) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-carousel .hero-logo {
    width: 48%;
  }
}

/* Hero CTA/dots refinement */
.hero-carousel .hero-copy {
  grid-template-rows: auto auto minmax(0, max-content) minmax(64px, auto) 78px;
  min-height: 100%;
}

.hero-carousel .hero-actions {
  align-self: end;
  margin-top: 0;
}

.hero-carousel .hero-actions .primary {
  min-width: 210px;
  padding: 16px 28px;
}

.hero-carousel .secondary {
  display: none;
}

.hero-dots {
  bottom: 44px;
  left: auto;
  right: clamp(34px, 5vw, 78px);
}

.hero-dots button {
  height: 9px;
  width: 42px;
}

@media (max-width: 720px) {
  .hero-dots {
    bottom: 24px;
    left: clamp(28px, 7vw, 42px);
    right: auto;
  }
}

/* Bring catalog closer to the top for client preview */
.feature-strip + .catalog {
  padding-top: clamp(34px, 5vw, 64px);
}

.feature-strip + .catalog .section-heading {
  margin-bottom: 22px;
}

/* Prevent hero copy overlap */
.hero-carousel .hero-copy {
  align-content: center;
  grid-template-rows: auto auto auto auto auto;
  row-gap: clamp(12px, 1.6vw, 22px);
}

.hero-carousel .hero-logo {
  margin-bottom: clamp(8px, 1vw, 14px);
}

.hero-carousel .eyebrow {
  margin: 0;
}

.hero-carousel h1 {
  font-size: clamp(2.8rem, 5.15vw, 5.25rem);
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
  text-wrap: balance;
}

.hero-carousel .hero-copy p:not(.eyebrow) {
  font-size: clamp(1rem, 1.28vw, 1.22rem);
  line-height: 1.45;
  margin: 0;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-carousel .hero-actions {
  align-self: start;
  margin-top: clamp(8px, 1.4vw, 20px);
}

@media (max-width: 1100px) {
  .hero-carousel h1 {
    font-size: clamp(2.55rem, 6.3vw, 4.8rem);
    max-width: 650px;
  }

  .hero-carousel .hero-copy p:not(.eyebrow) {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .hero-carousel h1 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .hero-carousel .hero-copy {
    padding-bottom: 86px;
  }
}

/* Floating WhatsApp CTA */
.floating-whatsapp {
  align-items: center;
  background: #19c463;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  position: fixed;
  right: 22px;
  z-index: 34;
}

.floating-whatsapp::before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

body.cart-open .floating-whatsapp {
  display: none;
}

@media (max-width: 680px) {
  .floating-whatsapp {
    bottom: 16px;
    left: 16px;
    justify-content: center;
    right: 16px;
  }
}

.add-cart-msg {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 10px 0 0;
}
.add-cart-msg a {
  color: var(--ink);
  text-decoration: underline;
}

/* ===== Botón Mercado Pago (checkout) ===== */
.mp-pay {
  background: #009ee3;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 14px 22px;
  width: 100%;
}

.mp-pay:hover {
  background: #0081bb;
}

.mp-pay:disabled {
  opacity: 0.6;
  cursor: default;
}

.checkout-msg {
  font-size: 0.85rem;
  margin: 4px 0 0;
  color: var(--muted);
}

.checkout-msg.is-error {
  color: #b3261e;
}

/* ===== Footer MUVIA ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(32px, 5vw, 60px) clamp(18px, 4vw, 56px);
  display: grid;
  gap: 20px;
}

.site-footer-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.site-footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.site-footer-brand img {
  border-radius: 50%;
  display: block;
  height: 66px;
  width: 66px;
}

.site-footer-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.site-footer-instagram {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  padding: 10px 18px;
  text-decoration: none;
}

.site-footer-instagram:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-end;
}

.site-footer-nav a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.site-footer-nav a:hover {
  color: var(--accent);
}

.site-footer-credit {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin: 0;
  text-align: right;
}

.site-footer-credit a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.site-footer-credit a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .site-footer-nav {
    justify-content: flex-start;
  }
  .site-footer-credit {
    text-align: left;
  }
  .site-footer-brand img {
    height: 54px;
    width: 54px;
  }
}

/* ===== MUVIA brand overrides ===== */
.announcement .promo {
  color: var(--accent);
  font-weight: 800;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-list {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: line-through;
}

.price-now {
  color: var(--accent-dark);
  font-weight: 900;
}

.preventa-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.price-row [data-detail-price] {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.variant-card small.price-list {
  display: block;
  font-size: 0.78rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.cart-button span {
  color: var(--black);
}

/* ADO wordmark blanco apaisado: sin invert, ancho de wordmark */
.hero-logo,
.hero-carousel .hero-logo {
  filter: none;
  width: 320px;
  max-width: 70%;
  height: auto;
  margin-bottom: 22px;
}

@media (max-width: 720px) {
  .hero-logo,
  .hero-carousel .hero-logo {
    width: 260px;
    max-width: 80%;
  }
}
