/* ========================================
   NAYARIT GÜERO CAPS - Estilos principales
   ======================================== */

:root {
  --gold: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f0d77b;
  --black: #0a0a0a;
  --dark: #111111;
  --gray: #1a1a1a;
  --text: #e0e0e0;
  --text-muted: #888;
  --green: #00e676;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gold {
  color: var(--gold);
}

/* ========== LOADER ========== */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s, visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 160px;
  margin-bottom: 2rem;
  animation: pulseLogo 1.5s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: #222;
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: loadProgress 1.2s ease forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 48px;
  transition: transform 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212,175,55,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(212,175,55,0.06) 0%, transparent 40%),
    #0a0a0a;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-desc {
  color: #888;
  font-size: 1rem;
  margin-bottom: 2.2rem;
  max-width: 400px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cap-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-logo-float {
  width: 280px;
  max-width: 80%;
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(212,175,55,0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(212,175,55,0.4);
  border-radius: 12px;
}

.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  margin: 6px auto;
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========== CATÁLOGO ========== */
.catalogo {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(212,175,55,0.1);
}

.product-card .price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e53935;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  z-index: 2;
}

.product-img-wrap {
  background: #1a1a1a;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 160px;
  width: auto;
  transition: transform 0.4s;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-info {
  padding: 1.2rem 1.4rem 1.5rem;
}

.product-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #fff;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.product-info .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

/* ========== VIDEOS ========== */
.videos-section {
  padding: 6rem 0;
  background: #0a0a0a;
}

.video-player-wrapper {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.custom-player {
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: var(--shadow);
}

.custom-player video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  cursor: pointer;
}

.player-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  box-shadow: 0 8px 30px rgba(212,175,55,0.4);
}

.play-btn:hover {
  transform: scale(1.1);
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 1.5rem 1rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-player:hover .player-controls,
.custom-player.playing .player-controls {
  opacity: 1;
}

.ctrl-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.2s;
}

.ctrl-btn:hover {
  color: var(--gold);
}

.progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-filled {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  width: 0%;
  position: relative;
}

.progress-filled::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.time {
  font-size: 0.8rem;
  color: #ccc;
  min-width: 35px;
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 400px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: all 0.25s;
}

.playlist-item:hover,
.playlist-item.active {
  border-color: rgba(212,175,55,0.4);
  background: #1f1f1f;
}

.playlist-item.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.playlist-thumb {
  width: 48px;
  height: 48px;
  background: #222;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.playlist-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.playlist-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== CONTACTO ========== */
.contacto {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0a, #111);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.social-btn i {
  font-size: 1.4rem;
}

.social-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.social-btn.tiktok {
  background: #010101;
  color: #fff;
  border-color: #fff;
}

.social-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: var(--shadow);
}

.map-note {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.footer {
  background: #050505;
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo img {
  height: 50px;
  margin: 0 auto 1.2rem;
  opacity: 0.9;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-dev {
  color: #555;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer-dev strong {
  color: var(--gold);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1.5rem;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--gray);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(212,175,55,0.25);
  transform: scale(0.9);
  transition: transform 0.3s;
  overflow: hidden;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.modal-body img {
  max-height: 200px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4));
}

.modal-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.modal-body .price {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  margin: 1rem 0;
}

.modal-body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-logo-float {
    width: 200px;
  }

  .video-player-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .product-img-wrap {
    height: 160px;
  }

  .product-img-wrap img {
    max-height: 110px;
  }
}

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

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

  .hero-title {
    font-size: 2.8rem;
  }
}

/* Animaciones de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== GALERÍA ========== */
.galeria-section {
  padding: 6rem 0;
  background: #0d0d0d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item .gallery-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ========== PEDIDO ========== */
.pedido-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0a, #111);
}

.pedido-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.pedido-form {
  background: #141414;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.pedido-form .form-group {
  margin-bottom: 1.3rem;
}

.pedido-form label {
  display: block;
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.pedido-form label i {
  color: var(--gold);
  margin-right: 0.3rem;
}

.pedido-form input,
.pedido-form select,
.pedido-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.pedido-form input:focus,
.pedido-form select:focus,
.pedido-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.pedido-form textarea {
  min-height: 90px;
  resize: vertical;
}

.pedido-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.order-total {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(212,175,55,0.08);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.2);
}

.order-total strong {
  color: var(--gold);
  font-size: 1.5rem;
}

.btn-order {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
}

.form-note {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.loading-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

.loading-products i {
  margin-right: 0.5rem;
  color: var(--gold);
}


/* ========== REFINES PROFESIONALES ========== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title {
  letter-spacing: 0.02em;
}

.hero-tag {
  opacity: 0.9;
}

.product-card {
  background: linear-gradient(180deg, #161616 0%, #111 100%);
}

.product-img-wrap {
  background: radial-gradient(ellipse at center, #1f1f1f 0%, #141414 100%);
}

.product-info h3 {
  letter-spacing: 0.01em;
}

.section-title {
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

.social-btn {
  letter-spacing: 1.5px;
  font-size: 0.95rem;
}

.footer-dev strong {
  letter-spacing: 1px;
}

/* Mejor contraste en formularios */
.pedido-form {
  background: linear-gradient(180deg, #161616, #121212);
}

.gallery-item {
  background: #111;
}

/* Logo header más compacto */
.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-logo-float {
  filter: drop-shadow(0 25px 50px rgba(212,175,55,0.25));
}

/* Evitar look "genérico" en botones */
.btn-primary {
  letter-spacing: 1.5px;
}

.btn-outline {
  letter-spacing: 1.5px;
}


/* ========== VIDEOS VERTICALES ========== */
.video-player-wrapper {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 1.5rem;
  align-items: start;
  justify-content: center;
}

.custom-player {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.custom-player video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  max-height: 680px;
}

.video-playlist {
  max-height: 680px;
}

@media (max-width: 900px) {
  .video-player-wrapper {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .custom-player {
    max-width: 100%;
  }
  .custom-player video {
    max-height: 70vh;
  }
  .video-playlist {
    max-height: none;
  }
}


/* ========== CARRUSEL DE VIDEOS VERTICALES ========== */
.videos-section {
  padding: 5rem 0;
  background: #0a0a0a;
}

.videos-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  position: relative;
}

.videos-carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.carousel-video-item {
  flex: 0 0 auto;
  width: min(280px, 70vw);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(212,175,55,0.2);
  position: relative;
  scroll-snap-align: center;
}

.carousel-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.carousel-video-item .video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: opacity 0.25s;
  z-index: 2;
}

.carousel-video-item.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.carousel-video-item .video-play-overlay i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(20,20,20,0.9);
  color: #d4af37;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.2s;
  z-index: 5;
}

.carousel-btn:hover {
  background: #d4af37;
  color: #000;
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 600px) {
  .carousel-video-item {
    width: min(240px, 72vw);
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}


/* ========== MÓVIL COMPACTO ========== */
@media (max-width: 768px) {
  html { font-size: 14px; }

  .header { padding: 0.5rem 0; }
  .header.scrolled { padding: 0.4rem 0; }
  .logo img { height: 32px !important; }

  .hero {
    min-height: auto;
    padding: 5.5rem 0 2.5rem;
  }
  .hero-content {
    gap: 1.5rem;
  }
  .hero-logo-float {
    width: 140px !important;
    max-width: 45vw;
  }
  .cap-glow {
    width: 180px !important;
    height: 180px !important;
  }
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.05;
  }
  .hero-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 0.75rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 0.4rem !important;
  }
  .hero-desc {
    font-size: 0.85rem !important;
    margin-bottom: 1.4rem !important;
  }
  .hero-buttons {
    gap: 0.6rem;
  }
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .section-header {
    margin-bottom: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .section-desc {
    font-size: 0.9rem;
  }
  .catalogo, .galeria-section, .videos-section, .pedido-section, .contacto {
    padding: 3rem 0 !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.7rem !important;
  }
  .product-img-wrap {
    height: 130px !important;
    padding: 0.8rem !important;
  }
  .product-img-wrap img {
    max-height: 95px !important;
  }
  .product-info {
    padding: 0.7rem 0.8rem 0.9rem !important;
  }
  .product-info h3 {
    font-size: 0.85rem !important;
  }
  .product-info p {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-info .price {
    font-size: 1rem !important;
  }
  .price-tag {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
    top: 8px !important;
    left: 8px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .carousel-video-item {
    width: min(200px, 58vw) !important;
  }
  .carousel-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
  }

  .pedido-form {
    padding: 1.2rem !important;
    border-radius: 14px;
  }
  .pedido-form input,
  .pedido-form select,
  .pedido-form textarea {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.9rem !important;
  }
  .order-total {
    font-size: 1rem !important;
    padding: 0.7rem !important;
  }
  .order-total strong {
    font-size: 1.2rem !important;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }
  .social-btn {
    padding: 0.85rem 0.6rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    border-radius: 10px !important;
  }
  .social-btn i {
    font-size: 1.1rem !important;
  }

  .map-container iframe {
    height: 220px !important;
  }

  .footer {
    padding: 2rem 0 1.5rem !important;
  }
  .footer-logo img {
    height: 36px !important;
  }

  .scroll-indicator { display: none; }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem !important; }
  .product-grid { gap: 0.5rem !important; }
  .social-grid { grid-template-columns: 1fr !important; }
}


/* Autoplay: overlay casi invisible cuando reproduce */
.carousel-video-item.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}
.carousel-video-item:not(.playing) .video-play-overlay {
  opacity: 1;
}
.carousel-track {
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* Sin flechas: carrusel limpio */
.carousel-btn { display: none !important; }
.videos-carousel-wrap { gap: 0; }
.videos-carousel { width: 100%; }
