:root {
  --bg: #f6ede5;
  --bg-soft: #fff8f3;
  --text: #241f1c;
  --muted: #655b54;
  --line: rgba(36, 31, 28, 0.1);
  --primary: #ef6a3a;
  --primary-dark: #d94f25;
  --olive: #6f7650;
  --card: rgba(255, 255, 255, 0.75);
  --shadow: 0 18px 60px rgba(63, 42, 32, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #fff9f4 0%, var(--bg) 55%, #fdf5ee 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(239, 106, 58, 0.12), transparent 30%),
    radial-gradient(circle at right, rgba(111, 118, 80, 0.12), transparent 28%);
  pointer-events: none;
  z-index: -1;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 243, 0.72);
  border-bottom: 1px solid rgba(36, 31, 28, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand:hover {
  opacity: 0.96;
}

.brand:focus-visible {
  outline: 2px solid rgba(239, 106, 58, 0.35);
  outline-offset: 6px;
  border-radius: 18px;
}

.brand,
.brand:visited {
  color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  .brand {
    transition: opacity 0.2s ease;
  }
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 44px;
  background: var(--bg-soft);
  box-shadow: 0 10px 24px rgba(36, 31, 28, 0.08);
  border: 1px solid rgba(36, 31, 28, 0.04);
}

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

.brand > div:last-child {
  flex: 0 1 auto;
}

.brand-name,
.brand-tag {
  white-space: nowrap;
}

.brand-tag {
  display: block;
}

@media (max-width: 640px) {
  .brand-name,
  .brand-tag {
    white-space: normal;
  }
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--text);
  font-weight: 800;
}

.brand-name strong {
  color: var(--olive);
  font-weight: 900;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-links .btn {
  padding: 0.72rem 1.1rem;
  font-size: 0.92rem;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 30px rgba(239, 106, 58, 0.22);
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(36, 31, 28, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.btn-contact {
  color: white;
  border: 1px solid rgba(36, 31, 28, 0.08);
  background: linear-gradient(135deg, #4b463f, #262320);
  box-shadow: 0 12px 22px rgba(36, 31, 28, 0.12);
}

.btn-contact:hover {
  background: linear-gradient(135deg, #57524a, #2e2a27);
}

.hero {
  padding: 0.85rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--olive);
}

.hero-copy h1,
.section-heading h2,
.process-grid h2,
.cta-box h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: grid;
  align-content: center;
  grid-template-rows: auto minmax(40px, auto) minmax(40px, auto) minmax(84px, auto) auto auto;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 9ch;
  min-height: 1.2em;
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--olive);
  line-height: 1.3;
  min-height: 1.6em;
}

.hero-copy p,
.section-heading p,
.feature-card p,
.product-content p,
.steps p,
.testimonial-card p,
.faq-list p,
.cta-box p {
  color: var(--muted);
  line-height: 1.7;
}

#hero-description {
  min-height: 5.2em;
  max-width: 52ch;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.5rem;
}

.hero-points {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.hero-points li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.6rem;
}

.hero-carousel {
  position: relative;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 31, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.88);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 31, 28, 0.1);
}

.hero-arrow-left {
  left: -10px;
}

.hero-arrow-right {
  right: -10px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 31, 28, 0.18);
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.hero-phone {
  position: absolute;
  top: 50%;
  max-width: 44%;
  transition: transform 0.8s ease, left 0.8s ease, right 0.8s ease, width 0.8s ease, filter 0.8s ease, opacity 0.8s ease;
}

.hero-phone.is-left {
  width: 212px;
  z-index: 1;
  left: 42px;
  right: auto;
  transform: translateY(-50%) scale(0.92);
  filter: drop-shadow(0 14px 24px rgba(36, 31, 28, 0.12));
}

.hero-phone.is-center {
  width: 228px;
  z-index: 3;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 28px 46px rgba(36, 31, 28, 0.2));
}

.hero-phone.is-right {
  width: 220px;
  z-index: 2;
  left: auto;
  right: 42px;
  transform: translateY(-50%) scale(0.96);
  filter: drop-shadow(0 20px 34px rgba(36, 31, 28, 0.15));
}

.hero-phone.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.84);
}

.trust-strip {
  padding-bottom: 2rem;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-strip-grid div,
.product-card,
.feature-card,
.testimonial-card,
.faq-list details,
.cta-box {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.trust-strip-grid div {
  padding: 1.25rem 1.2rem;
  border-radius: 22px;
}

.trust-strip-grid strong,
.product-content h3,
.feature-card h3,
.steps h3 {
  display: block;
  margin-bottom: 0.45rem;
}

.trust-strip-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 5rem 0;
}

.alt-section {
  background: rgba(255, 255, 255, 0.28);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2,
.section-heading h1,
.process-grid h2,
.cta-box h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.product-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 1.4rem;
}

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

.product-card,
.feature-card,
.testimonial-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.product-image {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: visible;
}

.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 74%;
}

.gradient-orange {
  background: linear-gradient(135deg, #ffb278, #ef6a3a 48%, #32231d);
}

.gradient-olive {
  background: linear-gradient(135deg, #dde6b9, #78815a 40%, #28211e);
}

.gradient-dark {
  background: linear-gradient(135deg, #8d8d8d, #252525 60%, #101010);
}

.product-content {
  padding: 2.2rem 1.4rem 1.4rem;
  display: grid;
  gap: 1rem;
  flex: 1;
  align-content: start;
}

.product-content h3 {
  margin: 0;
}

.product-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: auto;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(111, 118, 80, 0.1);
  color: var(--olive);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
}

.product-footer a {
  color: var(--primary-dark);
  font-weight: 700;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.catalog-group {
  margin-bottom: 3rem;
}

.color-dots {
  display: flex;
  gap: 0.45rem;
  margin: 0;
}

.color-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(36, 31, 28, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.color-dot:hover {
  transform: scale(1.12);
  border-color: rgba(36, 31, 28, 0.36);
}

.color-dot.is-active {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px rgba(239, 106, 58, 0.22);
  transform: scale(1.12);
}

.color-dot.is-unavailable {
  opacity: 0.45;
  filter: grayscale(0.4);
  cursor: not-allowed;
}

.color-dot-ban {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(36, 31, 28, 0.75);
}

.color-dot.is-unavailable .color-dot-ban {
  display: flex;
}

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

.feature-card,
.testimonial-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.steps {
  display: grid;
  gap: 1rem;
}

.steps article {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 31, 28, 0.08);
}

.steps span {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.cta-section {
  padding-top: 1rem;
  padding-bottom: 5.5rem;
}

.cta-box {
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.catalog-hero {
  padding-top: 2.2rem;
  padding-bottom: 0.8rem;
}

.catalog-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.42));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.catalog-hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(222, 193, 160, 0.28), transparent 40%),
    radial-gradient(circle at bottom left, rgba(244, 199, 211, 0.22), transparent 36%);
  pointer-events: none;
}

.catalog-hero-copy {
  position: relative;
  z-index: 1;
  gap: 0.8rem;
}

.catalog-hero-copy h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.catalog-hero-copy p {
  max-width: 42rem;
}

.catalog-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.catalog-hero-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(36, 31, 28, 0.08);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(36, 31, 28, 0.05);
}

.catalog-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-hero-phone {
  position: absolute;
  max-height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(36, 31, 28, 0.12));
}

.catalog-hero-phone-far-left {
  max-height: 168px;
  transform: translateX(-7.2rem) translateY(0.6rem) rotate(-20deg);
  opacity: 0.36;
  z-index: 0;
}

.catalog-hero-phone-back {
  transform: translateX(-2.6rem) rotate(-10deg);
  opacity: 1;
  z-index: 1;
}

.catalog-hero-phone-front {
  transform: translateX(2.2rem) rotate(10deg);
  z-index: 3;
}

.catalog-hero-phone-far-right {
  max-height: 172px;
  transform: translateX(6.8rem) translateY(0.4rem) rotate(17deg);
  opacity: 0.42;
  z-index: 0;
}

.catalog-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
}

.catalog-filter-group {
  display: grid;
  gap: 0.5rem;
}

.catalog-filter-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.catalog-filter-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 31, 28, 0.12);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font: inherit;
}

.catalog-group + .catalog-group {
  margin-top: 3rem;
}

.catalog-group-heading {
  margin-bottom: 1.4rem;
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.catalog-item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.catalog-item h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.catalog-item p {
  color: var(--muted);
  line-height: 1.7;
}

.catalog-item a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.catalog-empty {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
  text-align: center;
}

.catalog-empty h2 {
  margin-top: 0;
}

.catalog-empty p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(36, 31, 28, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
  gap: 3rem;
  align-items: start;
  color: var(--muted);
}

.footer-brand-row {
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand-row .brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.footer-brand-row .brand-name {
  margin: 0;
  line-height: 1;
}

.footer-brand p {
  margin: 0 0 1.1rem;
  line-height: 1.8;
  max-width: 34ch;
}

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-links,
.footer-socials {
  display: grid;
  gap: 0.85rem;
}

.footer-links a,
.footer-socials a {
  color: var(--muted);
  width: fit-content;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--primary-dark);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(36, 31, 28, 0.1);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 24px rgba(36, 31, 28, 0.06);
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-socials a.social-whatsapp svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(36, 31, 28, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .process-grid,
  .cta-box,
  .product-grid,
  .feature-grid,
  .testimonial-grid,
  .trust-strip-grid,
  .catalog-list,
  .footer-grid,
  .catalog-hero-shell,
  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.8rem;
  }

  .catalog-hero-shell {
    padding: 1.5rem;
  }

  .catalog-hero-visual {
    justify-content: flex-start;
  }

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

  .hero-arrow-left {
    left: 0;
  }

  .hero-arrow-right {
    right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    min-height: auto;
    display: block;
  }

  .hero-copy h1,
  #hero-description {
    min-height: auto;
  }

  .hero-phone {
    max-width: none;
  }

  .hero-phone.is-left {
    width: 168px;
    left: 10%;
  }

  .hero-phone.is-center {
    width: 180px;
  }

  .hero-phone.is-right {
    width: 172px;
    right: 10%;
  }

  .hero-phone.is-hidden {
    transform: translateY(-50%) scale(0.82);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, 1120px);
  }

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

  .hero-actions,
  .footer-row,
  .footer-row div,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
  }

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

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .hero-phone.is-left {
    width: 110px;
    left: 4%;
  }

  .hero-phone.is-center {
    width: 120px;
  }

  .hero-phone.is-right {
    width: 112px;
    right: 4%;
  }

  .hero-phone.is-hidden {
    transform: translateY(-50%) scale(0.8);
  }
}

/* ── Tarjeta clickeable ── */
.card-clickable {
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(63, 42, 32, 0.18);
}

.card-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Galería con zoom ── */
.detail-gallery {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.gallery-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 72px;
  flex-shrink: 0;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--card);
  transition: border-color 0.15s;
}

.gallery-thumb.is-active {
  border-color: var(--primary-dark);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main-wrap {
  position: relative;
  flex: 1;
}

.zoom-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.25);
  cursor: crosshair;
  display: none;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

.zoom-result {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: var(--radius-lg);
  background-repeat: no-repeat;
  background-color: var(--card);
  display: none;
  z-index: 100;
  box-shadow: 0 24px 80px rgba(63, 42, 32, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  pointer-events: none;
}

/* ── Página de detalle ── */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.detail-breadcrumb a {
  color: var(--muted);
  font-weight: 600;
}

.detail-breadcrumb a:hover {
  color: var(--primary-dark);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.detail-main-img {
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 500px;
}

.detail-main-img img {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  display: block;
}

.detail-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e0d8, #c8bfb5);
}


.detail-info {
  padding-top: 0.5rem;
}

.detail-info h1 {
  margin: 0.5rem 0 0.3rem;
  font-size: 2rem;
  font-weight: 800;
}

.detail-capacity {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 1.2rem;
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 1.5rem;
}

.detail-capacities,
.detail-colors {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.detail-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-color-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 88px;
}

.capacity-options {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.capacity-option {
  border: 1px solid rgba(36, 31, 28, 0.14);
  background: rgba(255,255,255,0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s ease;
}

.capacity-option:hover {
  border-color: rgba(36, 31, 28, 0.28);
}

.capacity-option.is-active {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px rgba(239, 106, 58, 0.18);
}

.capacity-option.is-unavailable {
  opacity: 0.45;
  filter: grayscale(0.35);
  cursor: not-allowed;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 320px;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1rem;
  text-align: center;
}

.detail-extra {
  margin-top: 4rem;
}

.detail-story-grid,
.detail-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.detail-extra-grid-bottom {
  margin-top: 1.4rem;
}

.detail-extra-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.detail-extra-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.detail-description-card p {
  font-size: 1rem;
}

.detail-extra-card-full {
  grid-column: 1 / -1;
}

.detail-highlights-card {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 1rem;
}

.detail-highlights-slider {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.detail-highlights-track {
  position: relative;
  flex: 1;
  min-height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.65);
}

.detail-highlight-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.detail-highlight-image.is-active {
  opacity: 1;
}

.detail-highlights-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(36, 31, 28, 0.1);
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  z-index: 2;
}

.detail-highlights-prev {
  left: 10px;
}

.detail-highlights-next {
  right: 10px;
}

.detail-highlights-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.detail-highlights-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(36, 31, 28, 0.18);
  padding: 0;
  cursor: pointer;
}

.detail-highlights-dot.is-active {
  background: var(--primary-dark);
}

.detail-highlights-empty {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(36, 31, 28, 0.16);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.detail-extra-card p,
.detail-extra-card li {
  color: var(--muted);
  line-height: 1.75;
}

.detail-extra-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-not-found {
  text-align: center;
  padding: 4rem 0;
}

@media (max-width: 980px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Card slider */
.card-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: 22px;
}
.card-slides {
  position: relative;
  flex: 1;
  min-height: 246px;
}
.card-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 78%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card-slides img.is-active {
  opacity: 1;
}
.card-slide-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 18px;
  padding-top: 12px;
}
.card-slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted, #bbb);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.card-slide-dot.is-active {
  background: var(--primary, #e65c00);
}

.card-arrow {
  position: absolute;
  top: calc(50% - 10px);
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.card-slider:hover .card-arrow {
  opacity: 1;
}
.card-arrow-prev { left: 6px; }
.card-arrow-next { right: 6px; }
