﻿/* ===== VARIABLES ===== */
:root {
  --bg: #080705;
  --bg2: #0f0e0b;
  --bg3: #181510;
  --gold: #C9A25E;
  --gold2: #e8c47a;
  --gold-dim: rgba(201,162,94,0.15);
  --text: #f0ece4;
  --text-dim: #9a9080;
  --border: rgba(201,162,94,0.2);
  --card-bg: #111009;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 16px 0 32px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(8,7,5,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 88px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  transition: opacity 0.3s;
}
.nav-logo-img:hover { opacity: 0.85; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  transition: color 0.3s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-count {
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  display: none;
}
.cart-count.has-items { display: flex; }
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,7,5,0.88) 0%,
    rgba(8,7,5,0.55) 55%,
    rgba(8,7,5,0.72) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  overflow: hidden;
}
.eyebrow-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: lineGrow 0.8s 0.3s ease forwards;
}
@keyframes lineGrow { to { width: 48px; } }
.eyebrow-text {
  font-size: 0.78rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  animation: fadeSlide 0.7s 0.6s ease forwards;
}

/* Word reveal */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) skewY(3deg);
  animation: wordReveal 0.7s ease forwards;
}
.word-reveal.delay-1 { animation-delay: 0.15s; }
.word-reveal.delay-2 { animation-delay: 0.3s; }
.word-reveal.delay-3 { animation-delay: 0.42s; }
.word-reveal.delay-4 { animation-delay: 0.54s; }
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) skewY(0); }
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 780px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  -webkit-text-stroke: 0px;
}

.hero-desc-reveal {
  color: var(--text-dim);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlide 0.7s 0.8s ease forwards;
}
.hero-actions-reveal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlide 0.7s 1s ease forwards;
}
@keyframes fadeSlide {
  to { opacity: 1; transform: translateX(0) translateY(0); }
  from { opacity: 0; transform: translateY(16px); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,162,94,0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* Slide counter */
.slide-counter {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.slide-sep {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.slide-current { color: var(--gold); font-weight: 700; }

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(201,162,94,0.12);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(201,162,94,0.25);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.ticker-dot { color: var(--gold); opacity: 0.5; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 56px;
  left: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { opacity: 1; transform: scaleY(1) translateY(0); }
  100% { opacity: 0; transform: scaleY(0.5) translateY(20px); }
}

@media (max-width: 768px) {
  .slide-counter { display: none; }
  .hero-scroll { left: 16px; bottom: 70px; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 4rem); }
}

/* ===== FRAME SCROLL SCRUB ===== */
.fscrub-section {
  height: 400vh;
  position: relative;
  background: #060504;
}
.fscrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.fscrub-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.fscrub-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 52px 40px;
  background: linear-gradient(180deg, rgba(6,5,4,0.5) 0%, transparent 25%, transparent 60%, rgba(6,5,4,0.80) 100%);
  pointer-events: none;
  z-index: 2;
}
.fscrub-eyebrow {
  font-size: 0.70rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.fscrub-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.fscrub-info { flex: 1; }
.fscrub-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.15;
}
.fscrub-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
}
.fscrub-prog-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  align-self: center;
}
.fscrub-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}
.fscrub-cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,162,94,0.4);
  padding: 10px 20px;
  border-radius: 6px;
  pointer-events: all;
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}
.fscrub-cta:hover { border-color: var(--gold); background: rgba(201,162,94,0.10); }
@media (max-width: 768px) {
  .fscrub-section { height: 350vh; }
  .fscrub-overlay { padding: 28px 20px 32px; }
  .fscrub-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fscrub-prog-wrap { width: 100%; }
}

/* ===== FEATURES BAND ===== */
.features-band {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-text span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { margin-bottom: 16px; }
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: all 0.3s;
  background: transparent;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 30px 80px rgba(201,162,94,0.1), var(--shadow);
  border-color: rgba(201,162,94,0.4);
}
.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0d0c09;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33,1,0.68,1);
}
.product-card:hover .card-image-wrap img { transform: scale(1.08); }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.card-body { padding: 20px; }
.card-category {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.5;
}
.card-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.card-spec {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-spec::before {
  content: 'â–¸';
  color: var(--gold);
  font-size: 0.6rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.card-price-unit {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
  margin-left: 4px;
}
.card-add-btn {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.card-add-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.card-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.color-chip {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
}

/* ===== SHOWCASE SECTION ===== */
.showcase-section {
  padding: 80px 0 0;
  background: #080705;
}
.showcase-list {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.showcase-item {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.showcase-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.showcase-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(8,7,5,0.93) 0%,
    rgba(8,7,5,0.68) 38%,
    rgba(8,7,5,0.22) 65%,
    transparent 100%);
  z-index: 1;
}
.showcase-veil-right {
  background: linear-gradient(270deg,
    rgba(8,7,5,0.93) 0%,
    rgba(8,7,5,0.68) 38%,
    rgba(8,7,5,0.22) 65%,
    transparent 100%);
}
.showcase-content {
  position: absolute;
  top: 50%;
  left: 72px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 440px;
  color: #fff;
}
.sc-reverse .showcase-content {
  left: auto;
  right: 72px;
  text-align: right;
}
.sc-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  opacity: 0.9;
}
.sc-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 22px;
  opacity: 0.6;
  transition: width 0.5s ease, opacity 0.3s;
}
.sc-reverse .sc-line { margin-left: auto; }
.showcase-item:hover .sc-line { width: 80px; opacity: 1; }
.sc-name {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 700;
}
.sc-name em {
  font-style: italic;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
.sc-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 360px;
}
.sc-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}
.sc-price strong {
  font-size: 1.45rem;
  font-weight: 700;
  margin-right: 2px;
}
.sc-price small {
  font-size: 0.8rem;
  color: rgba(201,162,94,0.6);
}
.sc-cta {
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,162,94,0.4);
  padding: 11px 22px;
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s, gap 0.25s;
}
.showcase-item:hover .sc-cta {
  background: rgba(201,162,94,0.1);
  border-color: rgba(201,162,94,0.75);
  gap: 14px;
}
@media (max-width: 768px) {
  .showcase-item { height: 440px; }
  .showcase-content {
    left: 24px;
    right: 24px;
    max-width: none;
    top: auto;
    bottom: 0;
    transform: none;
    padding-bottom: 36px;
  }
  .sc-reverse .showcase-content { left: 24px; right: 24px; text-align: left; }
  .sc-reverse .sc-line { margin-left: 0; }
  .sc-name { font-size: 2.1rem; }
  .showcase-veil,
  .showcase-veil-right {
    background: linear-gradient(to top,
      rgba(8,7,5,0.97) 0%,
      rgba(8,7,5,0.6) 55%,
      rgba(8,7,5,0.15) 100%);
  }
}

/* ===== TRABAJOS SECTION ===== */
.trabajos-section {
  padding: 80px 0;
  background: #080705;
}
.obra {
  margin-top: 56px;
  border-top: 1px solid rgba(201,162,94,0.15);
  padding-top: 32px;
}
.obra-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.obra-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(201,162,94,0.2);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.obra-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
}
.obra-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(201,162,94,0.65);
  margin: 0;
  letter-spacing: 0.5px;
}
.obra-photos {
  display: grid;
  gap: 5px;
  height: 340px;
}
.obra-photos--3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.obra-photos--2 {
  grid-template-columns: 2fr 1fr;
}
.obra-photos--full {
  grid-template-columns: 1fr;
  height: 420px;
}
.obra-photo {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.obra-photo:hover { transform: scale(1.015); }
.obra-photo--hero {
  grid-row: span 2;
}
.obra-photos--2 .obra-photo--hero {
  grid-row: span 1;
}
.obra-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(8,7,5,0.75);
  border: 1px solid rgba(201,162,94,0.3);
  padding: 4px 9px;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .obra-photos { height: auto; }
  .obra-photos--3,
  .obra-photos--2 { grid-template-columns: 1fr; }
  .obra-photo { height: 240px; }
  .obra-photo--hero { height: 300px; grid-row: span 1; }
  .obra-photos--full { height: auto; }
  .obra-photos--full .obra-photo--hero { height: 280px; }
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33,1,0.68,1), filter 0.4s;
  filter: brightness(0.85);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}
.gallery-item:nth-child(1) { grid-column: span 6; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(8,7,5,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== CALCULATOR ===== */
.calculator-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.calc-intro .section-title { margin-bottom: 8px; }
.calc-intro p { color: var(--text-dim); margin-bottom: 24px; font-size: 1rem; }
.calc-intro ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-intro li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.calc-intro li::before {
  content: 'âœ¦';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}
.calc-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.calc-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-group select,
.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select option { background: #1a1710; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-result {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  display: none;
}
.calc-result.visible { display: block; animation: fadeInUp 0.4s ease; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.result-row:last-child { border-bottom: none; }
.result-row.total {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  padding-top: 12px;
}
.result-row span:first-child { color: var(--text-dim); }
.calc-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  flex: 1;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ===== CART MODAL ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-panel {
  background: var(--bg2);
  border-left: 1px solid var(--border);
  width: 440px;
  max-width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.33,1,0.68,1);
}
.cart-overlay.open .cart-panel { transform: translateX(0); }
.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 { font-family: var(--font-serif); font-size: 1.4rem; }
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 1.2rem;
  transition: all 0.3s;
}
.cart-close:hover { border-color: var(--gold); color: var(--gold); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-dim);
  gap: 12px;
  font-size: 0.9rem;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: fadeInUp 0.3s ease;
}
.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg3);
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-val { font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-dim);
  font-size: 1rem;
  align-self: flex-start;
  padding: 4px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #e05555; }
.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.cart-total strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); }
.btn-cart-wa {
  width: 100%;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  margin-bottom: 10px;
}
.btn-cart-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-clear-cart {
  width: 100%;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 8px;
  text-align: center;
  transition: color 0.2s;
}
.btn-clear-cart:hover { color: #e05555; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--card-bg);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.33,1,0.68,1);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: var(--gold); font-size: 1.1rem; }

/* ===== WHY US ===== */
.why-section { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { border-color: rgba(201,162,94,0.3); transform: translateY(-4px); }
.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.why-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.contact-info p { color: var(--text-dim); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.contact-item a { font-size: 0.9rem; color: var(--text-dim); transition: color 0.2s; }
.contact-item a:hover { color: var(--gold); }
.contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.contact-cta-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
}
.contact-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.contact-cta-box p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; }
.contact-btns { display: flex; flex-direction: column; gap: 12px; }
.btn-wa-full {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  font-size: 0.95rem;
}
.btn-wa-full:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-ig {
  background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  font-size: 0.95rem;
}
.btn-ig:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
footer .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
footer p { font-size: 0.8rem; color: var(--text-dim); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text);
    transition: color 0.3s;
  }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--text-dim);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .calc-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item { grid-column: span 1 !important; height: 200px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section { padding: 60px 0; }
}

/* ===== PRODUCT CARD CLICK HINT ===== */
.product-card { cursor: pointer; }
.card-image-wrap { position: relative; overflow: hidden; }
.card-image-wrap::after {
  content: 'Ver detalles';
  position: absolute;
  inset: 0;
  background: rgba(8,7,5,0.72);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .card-image-wrap::after { opacity: 1; }

/* ===== PRODUCT DETAIL MODAL ===== */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px;
  background: rgba(8,7,5,0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pm-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.pm-panel {
  position: relative;
  background: #111009;
  border: 1px solid rgba(201,162,94,0.18);
  border-radius: 3px;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(32px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(201,162,94,0.2) transparent;
  align-self: flex-start;
}
.pm-overlay.open .pm-panel {
  transform: translateY(0) scale(1);
}
.pm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(201,162,94,0.06);
  border: 1px solid rgba(201,162,94,0.22);
  color: var(--gold);
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}
.pm-close:hover {
  background: rgba(201,162,94,0.14);
  border-color: rgba(201,162,94,0.5);
}
.pm-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.pm-media-col {
  background: #0c0b09;
  border-right: 1px solid rgba(201,162,94,0.1);
}
.pm-img-wrap {
  position: sticky;
  top: 0;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}
.pm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pm-img-wrap:hover .pm-img { transform: scale(1.04); }
.pm-info-col {
  padding: 48px 38px 38px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pm-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.pm-name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}
.pm-rule {
  width: 38px;
  height: 1px;
  background: rgba(201,162,94,0.4);
  margin-bottom: 18px;
}
.pm-desc {
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.pm-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.pm-spec-chip {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 5px 11px;
}
.pm-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 26px;
}
.pm-color-chip {
  font-size: 0.67rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,94,0.07);
  border: 1px solid rgba(201,162,94,0.22);
  border-radius: 2px;
  padding: 4px 10px;
}
.pm-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(201,162,94,0.12);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pm-price-group { display: flex; align-items: baseline; gap: 6px; }
.pm-price {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
}
.pm-price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pm-btn-add {
  background: var(--gold);
  color: #080705;
  border: none;
  padding: 11px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.pm-btn-add:hover { background: #d4ad6a; transform: translateY(-1px); }
.pm-btn-wa {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.pm-btn-wa:hover { border-color: rgba(37,211,102,0.4); color: #25d366; }

/* ===== DESCRIPCION COMPLETA MODAL ===== */
.pm-full-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pm-full-desc p { margin-bottom: 10px; }
.pm-full-desc p:last-child { margin-bottom: 0; }
.pm-full-desc .pm-desc-note {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-top: -4px;
}
.pm-full-desc .pm-specs-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 14px;
}
.pm-full-desc .pm-specs-list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 4px;
}
.pm-full-desc .pm-specs-list li strong {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  white-space: nowrap;
}

/* ===== MEDIOS DE PAGO (MODAL) ===== */
.pm-payment {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
}
.pm-payment-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.pm-payment-item svg { flex-shrink: 0; opacity: 0.6; }

/* ===== MINI CALCULADORA (MODAL) ===== */
.pm-calc {
  margin-top: 18px;
  padding: 18px;
  background: rgba(201,162,94,0.05);
  border: 1px solid rgba(201,162,94,0.15);
  border-radius: 3px;
}
.pm-calc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}
.pm-calc-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-calc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 60px;
}
.pm-calc-field--full { flex: none; width: 100%; }
.pm-calc-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.pm-calc-input {
  background: rgba(8,7,5,0.6);
  border: 1px solid rgba(201,162,94,0.2);
  border-radius: 2px;
  color: var(--text);
  font-size: 0.88rem;
  padding: 7px 10px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.pm-calc-input:focus { border-color: rgba(201,162,94,0.5); }
.pm-calc-input::placeholder { color: rgba(255,255,255,0.2); }
.pm-calc-sep {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 8px;
  flex-shrink: 0;
}
.pm-calc-btn {
  margin-top: 12px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(201,162,94,0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-sans);
}
.pm-calc-btn:hover { background: rgba(201,162,94,0.1); border-color: rgba(201,162,94,0.6); }
.pm-calc-result {
  margin-top: 16px;
  display: none;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,162,94,0.1);
}
.pm-calc-result.show { display: flex; }
.pm-calc-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pm-calc-res-row span:last-child { color: var(--text); font-weight: 500; }
.pm-calc-res-row.total span { color: var(--gold); font-weight: 700; }
.pm-calc-res-row.total span:first-child { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }
.pm-calc-add-qty {
  margin-top: 10px;
  width: 100%;
  background: var(--gold);
  border: none;
  color: #080705;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: var(--font-sans);
}
.pm-calc-add-qty:hover { background: #d4ad6a; }

@media (max-width: 700px) {
  .pm-body { grid-template-columns: 1fr; }
  .pm-img-wrap { position: relative; min-height: 240px; height: 240px; }
  .pm-info-col { padding: 26px 18px 26px; }
  .pm-name { font-size: 1.4rem; }
  .pm-price { font-size: 1.5rem; }
  .pm-buy { flex-direction: column; align-items: flex-start; }
  .pm-btn-add { width: 100%; text-align: center; }
  .pm-calc-row { gap: 6px; }
}

/* ===== SIMULADOR DE AMBIENTES ===== */
.sim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,3,2,0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sim-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.sim-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 1140px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
  position: relative;
  flex-shrink: 0;
}
.sim-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.sim-close:hover { color: var(--gold); }

.sim-header { margin-bottom: 22px; }
.sim-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 4px;
}
.sim-subtitle {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Dimensiones */
.sim-dims-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sim-dim-field {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sim-dim-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.sim-dim-input {
  width: 68px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 5px 8px;
  text-align: center;
  -moz-appearance: textfield;
}
.sim-dim-input::-webkit-outer-spin-button,
.sim-dim-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sim-dim-input:focus { outline: none; border-color: var(--gold); }
.sim-dim-unit {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}
.sim-dim-sep {
  color: var(--text-dim);
  font-size: 1.1rem;
  font-weight: 300;
  padding: 0 2px;
}

/* Combos */
.sim-combos-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sim-combos-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  white-space: nowrap;
}
.sim-combos-list { display: flex; gap: 8px; flex-wrap: wrap; }
.sim-combo-btn {
  background: transparent;
  border: 1px solid rgba(201,162,94,0.25);
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.sim-combo-btn:hover,
.sim-combo-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,94,0.08);
}

/* Layout principal */
.sim-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* Escena perspectiva */
.sim-scene-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#simCanvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

.sim-scene-hint {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
  opacity: 0.6;
}

/* Sidebar */
.sim-sidebar { display: flex; flex-direction: column; gap: 18px; }

.sim-selectors { display: flex; flex-direction: column; gap: 12px; }
.sim-sel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.sim-sel-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--bg);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.sim-sel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.sim-sel-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
}
.sim-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  padding: 5px 8px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C9A25E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}
.sim-select:focus { outline: none; border-color: var(--gold); }

/* Presupuesto */
.sim-budget {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.sim-budget-empty {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  padding: 8px 0;
}
.sim-budget-table { width: 100%; border-collapse: collapse; }
.sim-budget-table th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  text-align: left;
  padding-bottom: 8px;
  font-weight: 500;
}
.sim-budget-table td {
  font-size: 0.78rem;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  vertical-align: top;
}
.sim-budget-table td:last-child {
  text-align: right;
  color: var(--gold);
  font-weight: 600;
}
.sim-budget-row-surface { color: var(--text-dim); font-size: 0.7rem; }
.sim-budget-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gold-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sim-budget-total-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.sim-budget-total-val {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold2);
}

/* Acciones */
.sim-actions { display: flex; gap: 10px; }
.sim-btn-wa {
  flex: 1;
  background: #1A8A41;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}
.sim-btn-wa:hover { background: #1faa4f; }
.sim-btn-cart {
  flex: 1;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-btn-cart:hover { background: var(--gold); color: #080705; }

/* Nav button */
.sim-open-btn {
  background: transparent;
  border: 1px solid rgba(201,162,94,0.35);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-open-btn:hover {
  background: rgba(201,162,94,0.1);
  border-color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .sim-content { grid-template-columns: 1fr; }
  .sim-scene-wrap { min-height: 280px; }
}
@media (max-width: 600px) {
  .sim-panel { padding: 20px 16px; }
  .sim-dims-bar { gap: 6px; padding: 10px 12px; }
  .sim-scene { padding: 40px 40px; }
}

/* ===== SIMULA TU FOTO ===== */
.sf-section { padding-top: 80px; padding-bottom: 80px; background: var(--bg); }

/* Steps bar */
.sf-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.sf-step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  opacity: 0.45;
  transition: all 0.3s;
}
.sf-step-item.sf-step-active {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201,162,94,0.07);
}
.sf-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sf-step-item.sf-step-active .sf-step-num { background: var(--gold); color: #080705; }
.sf-step-lbl { font-size: 0.78rem; color: var(--text-dim); white-space: nowrap; }
.sf-step-item.sf-step-active .sf-step-lbl { color: var(--text); }
.sf-step-sep { width: 28px; height: 1px; background: var(--border); flex-shrink: 0; }

/* Layout */
.sf-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* Drop zone */
.sf-drop-zone {
  border: 2px dashed rgba(201,162,94,0.3);
  border-radius: 14px;
  background: var(--bg2);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  text-align: center;
}
.sf-drop-zone:hover, .sf-drop-zone.sf-drag-over {
  border-color: var(--gold);
  background: rgba(201,162,94,0.04);
}
.sf-drop-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.sf-drop-icon {
  width: 56px; height: 56px;
  color: var(--gold);
  opacity: 0.6;
}
.sf-drop-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
}
.sf-drop-sub { font-size: 0.85rem; color: var(--text-dim); }
.sf-upload-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.sf-upload-btn:hover { background: var(--gold); color: #080705; }
.sf-drop-note { font-size: 0.68rem; color: var(--text-dim); opacity: 0.5; }

/* Canvas wrap */
.sf-canvas-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
#sfCanvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
  touch-action: none;
}
.sf-canvas-bar {
  background: rgba(8,7,5,0.9);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.sf-instr {
  font-size: 0.75rem;
  color: var(--text-dim);
  flex: 1;
  min-width: 0;
}
.sf-bar-btns { display: flex; gap: 6px; flex-shrink: 0; }
.sf-tool-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.sf-tool-btn:hover { border-color: var(--gold); color: var(--gold); }
.sf-tool-btn--dim { opacity: 0.6; }

/* Product sidebar */
.sf-prod-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sf-prod-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 2px;
}
.sf-prod-sub { font-size: 0.78rem; color: var(--text-dim); }
.sf-cat-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sf-cat-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.sf-cat-btn.sf-cat-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,94,0.08);
}
.sf-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-right: 2px;
}
.sf-prod-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  background: var(--bg3);
}
.sf-prod-thumb:hover { border-color: rgba(201,162,94,0.4); transform: translateY(-1px); }
.sf-prod-thumb.sf-prod-selected { border-color: var(--gold); }
.sf-prod-thumb img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
}
.sf-prod-thumb-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: center;
  padding: 4px 6px;
  line-height: 1.2;
}

/* Opacity */
.sf-opacity-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.sf-opacity-lbl { font-size: 0.72rem; color: var(--text-dim); display: flex; justify-content: space-between; }
.sf-opacity-range { width: 100%; accent-color: var(--gold); }

/* Result bar */
.sf-result-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}
.sf-act-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  border: none;
}
.sf-act-secondary { background: transparent; border: 1px solid var(--border); color: var(--text-dim); }
.sf-act-secondary:hover { border-color: var(--gold); color: var(--gold); }
.sf-act-primary { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.sf-act-primary:hover { background: var(--gold); color: #080705; }
.sf-act-wa { background: #1A8A41; color: #fff; }
.sf-act-wa:hover { background: #1faa4f; }

/* Utility */
.sf-hidden { display: none !important; }

/* Responsive */
@media (max-width: 860px) {
  .sf-main { grid-template-columns: 1fr; }
  .sf-prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .sf-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-result-bar { flex-direction: column; }
  .sf-act-btn { justify-content: center; }
}

/* ===== SF ZONES LIST ===== */
.sf-zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-top: 8px;
}
.sf-zone-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.sf-zone-chip:hover { border-color: var(--gold); }
.sf-zone-chip.sf-zone-active { border-color: var(--gold); background: rgba(201,162,94,0.08); }
.sf-zone-swatch {
  width: 28px; height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.sf-zone-name { font-size: 0.72rem; color: var(--text); max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-zone-del {
  width: 18px; height: 18px;
  background: none; border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  margin-left: 2px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.sf-zone-del:hover { color: #e05050; background: rgba(224,80,80,0.1); }
