/* ==========================================================================
   RANHILL BOUTIQUE MASCULINA — Colección Verano & Fiestas 2026
   Hoja de estilos editorial (Verano Mediterráneo + Elegancia Festiva)
   ========================================================================== */

:root {
  --brand-bordo: #611219;
  --brand-bordo-light: #801C25;
  --brand-bordo-dark: #3F0B10;
  --brand-gold: #B88D36;
  --brand-gold-light: #D4AF5A;
  --brand-gold-pale: #F5E9CE;
  --brand-dark: #1C1516;
  --brand-cream: #FAF6F0;
  --brand-sand: #F2EAE0;
  --brand-travertine: #EDE4D7;
  --wa-green: #25D366;
  --wa-green-dark: #1EB856;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FCF9F4;
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(168, 212, 224, 0.24) 0%, rgba(168, 212, 224, 0) 48%),
    radial-gradient(ellipse at 88% 24%, rgba(236, 206, 138, 0.26) 0%, rgba(236, 206, 138, 0) 50%),
    radial-gradient(ellipse at 50% 82%, rgba(138, 36, 48, 0.05) 0%, rgba(138, 36, 48, 0) 55%),
    linear-gradient(180deg, #FDFBF7 0%, #F7F4EE 50%, #FBF7F0 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--brand-dark);
}

/* Editorial Summer + Fashion Silhouettes Section Backgrounds (entire grid tilted -18deg) */
.summer-pattern-bg {
  position: relative;
  overflow: hidden;
  background-color: #FCF9F4;
  background-image:
    radial-gradient(circle at 8% 15%, rgba(168, 212, 224, 0.24) 0%, rgba(168, 212, 224, 0) 46%),
    radial-gradient(circle at 92% 20%, rgba(236, 206, 138, 0.26) 0%, rgba(236, 206, 138, 0) 48%),
    radial-gradient(circle at 50% 90%, rgba(138, 36, 48, 0.05) 0%, rgba(138, 36, 48, 0) 52%),
    linear-gradient(180deg, #FDFBF7 0%, #F7F4EE 50%, #FBF7F0 100%);
  background-repeat: no-repeat;
}

.summer-pattern-bg-warm {
  position: relative;
  overflow: hidden;
  background-color: #F6F1E8;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(168, 212, 224, 0.24) 0%, rgba(168, 212, 224, 0) 48%),
    radial-gradient(circle at 15% 85%, rgba(236, 206, 138, 0.28) 0%, rgba(236, 206, 138, 0) 52%),
    linear-gradient(135deg, #FBF8F2 0%, #F2ECE1 55%, #F7F4EC 100%);
  background-repeat: no-repeat;
}

.summer-pattern-bg::before,
.summer-pattern-bg-warm::before {
  content: "";
  position: absolute;
  inset: -45%;
  background-image: url('img/bg_pattern_verano.svg');
  background-size: 360px 360px;
  background-repeat: repeat;
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: 0;
}

.summer-pattern-bg > *,
.summer-pattern-bg-warm > * {
  position: relative;
  z-index: 1;
}

/* Custom Brand Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-bordo-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold-light);
}

/* Sunlit Summer + Festive Editorial Hero Background */
.hero-summer-bg {
  background:
    radial-gradient(circle at 82% 28%, rgba(212, 175, 90, 0.24) 0%, rgba(212, 175, 90, 0) 48%),
    radial-gradient(circle at 12% 85%, rgba(97, 18, 25, 0.35) 0%, rgba(97, 18, 25, 0) 50%),
    linear-gradient(125deg, #2B080C 0%, #4A0E14 42%, #241715 100%);
}

/* Subtle linen weave texture overlay */
.linen-texture {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
}

/* Hero slide transitions (Full-bleed Video Slideshow) */
.hero-slide {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.9s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Left-to-right directional vignette for razor-sharp text legibility over video */
.hero-video-overlay {
  background:
    linear-gradient(95deg, rgba(35, 6, 10, 0.88) 0%, rgba(58, 11, 16, 0.65) 42%, rgba(28, 21, 22, 0.22) 78%, rgba(28, 21, 22, 0.35) 100%),
    linear-gradient(180deg, rgba(28, 21, 22, 0.25) 0%, transparent 30%, rgba(28, 21, 22, 0.55) 100%);
}

/* Subtle atelier video overlay for WhatsApp Community section */
.community-video-overlay {
  background: linear-gradient(135deg, rgba(50, 8, 13, 0.90) 0%, rgba(97, 18, 25, 0.80) 50%, rgba(35, 7, 11, 0.92) 100%);
}

/* Festive Gold Divider */
.gold-divider {
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

/* Product Card Styling */
.product-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -14px rgba(63, 11, 16, 0.16);
  border-color: rgba(184, 141, 54, 0.65);
}

/* Landscape vs Portrait Image Framing */
.product-img-wrap {
  background-color: #EFE9E0;
}

/* Price breakdown list inside product cards */
.garment-row + .garment-row {
  border-top: 1px dashed rgba(184, 141, 54, 0.25);
  padding-top: 0.45rem;
  margin-top: 0.45rem;
}

/* Summer Seasonal Ribbon */
.summer-banner {
  background: linear-gradient(90deg, #3F0B10 0%, #611219 50%, #3F0B10 100%);
}

/* Lightbox Modal */
#lightbox-modal {
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
}

#lightbox-modal.hidden {
  display: none;
}

/* Floating WhatsApp Button */
.wa-float {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* Active Header Scrolled State */
header.scrolled {
  box-shadow: 0 8px 24px -12px rgba(28, 21, 22, 0.18);
}

/* Filter Pill Scrollbar Hide on Mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
