/*
Theme Name: Moda Académica Theme
Theme URI: https://modaacademica.pe/
Author: Antigravity Team
Author URI: https://modaacademica.pe/
Description: Tema revolucionario y ultra-premium de WordPress para marcas de ropa escolar y uniformes académicos de alta costura. Incluye animaciones canvas 3D, catálogo interactivo, vista previa en modal, carrito integrado y mapa de ubicación.
Version: 1.0.0
Text Domain: moda-academica
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, luxury, fashion, dark-mode, custom-logo, custom-menu, featured-images, full-width-template
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  /* Color Palette - Luxury Navy & Radiant Gold */
  --bg-main: #050811;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-border-glow: rgba(255, 215, 0, 0.6);
  
  --primary-gold: #D4AF37;
  --primary-gold-bright: #FFD700;
  --primary-gold-dark: #997A15;
  --accent-blue: #1A365D;
  --accent-cyan: #00F2FE;
  --accent-purple: #7928CA;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-gold: #F3E5AB;

  /* Typography */
  --font-heading: 'Syne', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions & Shadows */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 242, 254, 0.25);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Background Ambient Lighting */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: pulseLight 8s infinite alternate ease-in-out;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: pulseLight 10s infinite alternate-reverse ease-in-out;
}

@keyframes pulseLight {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.3) translate(30px, -20px); opacity: 0.9; }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFF 0%, #FFE699 40%, var(--primary-gold) 70%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: var(--tr-smooth);
}

.glass-panel:hover {
  border-color: var(--glass-border-glow);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15), var(--shadow-glow);
}

/* Header & Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 8, 17, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--tr-fast);
}

.navbar.scrolled {
  padding: 0.8rem 4rem;
  background: rgba(5, 8, 17, 0.95);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transition: var(--tr-smooth);
}

.nav-brand:hover .nav-logo {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 25px var(--primary-gold-bright);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links, .nav-links ul, .nav-links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--tr-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links li.menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 0.8rem;
  transition: var(--tr-fast);
  display: inline-block;
  background: none;
  -webkit-text-fill-color: initial;
}

.nav-links li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-cyan));
  transition: var(--tr-smooth);
  border-radius: 2px;
}

.nav-links li a:hover, .nav-links li.current-menu-item > a, .nav-links li.current-menu-ancestor > a {
  color: var(--text-main);
}

.nav-links li a:hover::after, .nav-links li.current-menu-item > a::after {
  width: 100%;
}

/* Submenu / Dropdown Styling (Fix for unstyled bullets in WordPress menus) */
.nav-links .sub-menu,
.nav-links .children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.nav-links li:hover > .sub-menu,
.nav-links li:hover > .children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .sub-menu li,
.nav-links .children li {
  width: 100%;
  display: block;
}

.nav-links .sub-menu li a,
.nav-links .children li a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--tr-fast);
}

.nav-links .sub-menu li a::after,
.nav-links .children li a::after {
  display: none !important;
}

.nav-links .sub-menu li a:hover,
.nav-links .children li a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold-bright);
  padding-left: 1.8rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--tr-smooth);
}

.cart-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--primary-gold);
  color: var(--primary-gold-bright);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.5);
}

/* Custom Luxury Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #B8860B 100%);
  color: #000;
  font-weight: 800;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-gold);
  transition: var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, var(--primary-gold-bright) 0%, var(--primary-gold) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--tr-smooth);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-gold);
  color: var(--primary-gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   HERO SECTION - EXPLOSIVE MOTION & PARTICLES
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 10rem 4rem 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  overflow: hidden;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-bright);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-slogan {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  border-left: 3px solid var(--primary-gold);
  padding-left: 1.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-gold-bright);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 580px;
  perspective: 1000px;
}

.hero-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0, 242, 254, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-image-card {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border-glow);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-card:hover img {
  transform: scale(1.06);
}

.floating-tag {
  position: absolute;
  padding: 0.8rem 1.4rem;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  z-index: 5;
  animation: floatTag 5s infinite alternate ease-in-out;
}

.floating-tag.tag-top {
  top: 30px;
  right: -20px;
}

.floating-tag.tag-bottom {
  bottom: 40px;
  left: -20px;
  animation-delay: -2.5s;
}

@keyframes floatTag {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.tag-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-gold), #B8860B);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tag-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.tag-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BEST SELLERS CATALOG SECTION
   ========================================================================== */

.section-padding {
  padding: 7rem 4rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  color: var(--primary-gold-bright);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--tr-smooth);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  background: linear-gradient(135deg, var(--primary-gold), #B8860B);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-thumb {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-quick-view {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 15, 29, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  border: 1px solid var(--primary-gold);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr-smooth);
  opacity: 0;
  white-space: nowrap;
}

.product-card:hover .product-quick-view {
  bottom: 20px;
  opacity: 1;
}

.product-quick-view:hover {
  background: var(--primary-gold);
  color: #000;
}

.product-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr-fast);
}

.product-title a:hover {
  color: var(--primary-gold-bright);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-gold-bright);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-gold-bright);
}

.add-cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--tr-smooth);
}

.add-cart-btn:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold-bright);
  color: #000;
  transform: rotate(90deg) scale(1.1);
}

.catalog-cta-wrapper {
  margin-top: 4rem;
  text-align: center;
}

.btn-catalog-large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  border-radius: 50px;
  letter-spacing: 1.5px;
}

/* ==========================================================================
   FEATURES / EXPERIENCE SECTION
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0, 242, 254, 0.1));
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--tr-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 0 25px var(--primary-gold-bright);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   GOOGLE MAPS LOCATION SECTION
   ========================================================================== */

.maps-container-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.location-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.location-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-detail strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

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

.map-wrapper {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.1) saturate(1.2);
}

/* ==========================================================================
   CATALOG PAGE STYLES
   ========================================================================== */

.catalog-hero {
  padding: 9rem 4rem 4rem 4rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, var(--bg-main) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-controls {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 15, 29, 0.5);
  backdrop-filter: blur(10px);
}

.filter-categories {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--tr-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold-bright);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 0.7rem 1.2rem 0.7rem 2.8rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: var(--tr-fast);
}

.search-box input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.search-box i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL & CART DRAWER
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--tr-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 100%;
  max-width: 900px;
  background: #0D1322;
  border: 1px solid var(--primary-gold);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
  transform: scale(0.9);
  transition: var(--tr-smooth);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--tr-fast);
}

.modal-close:hover {
  background: var(--primary-gold);
  color: #000;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.modal-info-col {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-price {
  font-size: 1.8rem;
  color: var(--primary-gold-bright);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.modal-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.size-selector {
  margin-bottom: 2rem;
}

.size-selector label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.size-options {
  display: flex;
  gap: 0.8rem;
}

.size-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr-fast);
}

.size-btn.active, .size-btn:hover {
  border-color: var(--primary-gold);
  background: var(--primary-gold);
  color: #000;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  height: 100vh;
  background: #0B101D;
  border-left: 1px solid var(--primary-gold);
  z-index: 2500;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: var(--tr-smooth);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-body {
  padding: 1.8rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-price {
  color: var(--primary-gold-bright);
  font-weight: 800;
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 17, 0.8);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--primary-gold);
  color: var(--text-main);
  padding: 1rem 1.8rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), var(--shadow-gold);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--tr-smooth);
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

footer {
  background: #03050B;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 4rem 2rem 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--primary-gold-bright);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--tr-fast);
}

.footer-links a:hover {
  color: var(--primary-gold-bright);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    padding-top: 8rem;
    text-align: center;
  }

  .hero-slogan {
    border-left: none;
    padding-left: 0;
  }

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

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

  .maps-container-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .section-padding {
    padding: 4rem 1.5rem;
  }

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

  .modal-content {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

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

/* ==========================================================================
   ELEMENTOR PAGE BUILDER COMPATIBILITY & STYLING
   ========================================================================== */
.elementor-page-container,
.elementor-full-width-container {
  color: var(--text-main);
}

.elementor-section.elementor-section-boxed .elementor-container {
  max-width: 1200px;
}

.entry-content .elementor {
  margin: 0;
  padding: 0;
}

.elementor-widget-heading .elementor-heading-title {
  color: var(--text-main);
  font-family: var(--font-heading);
}

.elementor-button {
  border-radius: 50px !important;
  transition: var(--tr-fast) !important;
}

.elementor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

