/*
Theme Name: Equacom Store
Theme URI: https://equacom.store
Author: EQUACOM
Author URI: https://equacom.store
Description: Tema WordPress profesional para tienda de personalización textil, imprenta y producción audiovisual. Animaciones avanzadas, diseño tipo Amazon, WooCommerce compatible.
Version: 2.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equacom-store
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, translation-ready, responsive-layout
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #d42a2a;
  --primary-dark: #b51e1e;
  --primary-light: #e85454;
  --secondary: #1a2744;
  --secondary-light: #2a3a5c;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1a2744;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-muted: #f5f7fa;
  --border: #e5e7eb;
  --white: #ffffff;
  --gradient-start: #1a2744;
  --gradient-mid: #7a1a1a;
  --gradient-end: #d42a2a;
  --whatsapp: #25d366;
  --danger: #ef4444;
  --radius: 0.75rem;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===== ANIMATED BACKGROUND ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,42,42,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,39,68,0.04) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(212,42,42,0.03) 0%, transparent 50%);
  animation: bg-drift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -2;
}
@keyframes bg-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -10px) scale(1.02); }
  66% { transform: translate(-10px, 10px) scale(0.98); }
}

/* ===== WATERMARK ===== */
.watermark {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('assets/images/logo-watermark.png') no-repeat center center;
  background-size: 40%;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: var(--shadow-xl); }

.top-bar { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); color: var(--white); padding: 0.5rem 0; font-size: 0.75rem; }
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--primary-light); }

.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all 0.3s; color: rgba(255,255,255,0.8); }
.social-icon:hover { background: var(--primary); color: var(--white); transform: scale(1.15) translateY(-2px); }
.social-icon svg { width: 14px; height: 14px; }

.main-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0.75rem 0; transition: all 0.3s; }
.site-header.scrolled .main-nav { background: var(--secondary); }
.site-header.scrolled .main-nav a { color: rgba(255,255,255,0.9); }
.site-header.scrolled .main-nav a:hover { color: var(--primary-light); }
.site-header.scrolled .nav-brand h1 { color: var(--white); }

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand h1 { font-size: 1.5rem; font-weight: 800; }
.nav-brand h1 span { color: var(--primary); }

.nav-menu { list-style: none; display: flex; gap: 0.25rem; }
.nav-menu li { list-style: none; }
.nav-menu a { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; border-radius: var(--radius); transition: all 0.3s; }
.nav-menu a:hover { color: var(--primary); background: rgba(212,42,42,0.1); transform: scale(1.05); }

.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: var(--white); padding: 0.625rem 1.25rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem; transition: all 0.3s; }
.btn-whatsapp:hover { opacity: 0.9; transform: scale(1.05); box-shadow: 0 4px 15px rgba(212,42,42,0.4); }

.menu-toggle { display: none !important; }

/* ===== HERO ===== */
.hero-section { background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%); min-height: 85vh; display: flex; align-items: center; position: relative; overflow: hidden; color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; margin-bottom: 1.5rem; transition: opacity 0.3s, transform 0.3s; }
.hero-title .accent { color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.hero-dots { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.hero-dots .dot { height: 6px; border-radius: 9999px; border: none; cursor: pointer; transition: all 0.5s; }
.hero-dots .dot.active { width: 2rem; background: var(--accent); }
.hero-dots .dot:not(.active) { width: 1rem; background: rgba(255,255,255,0.3); }

.btn-accent { background: var(--accent); color: var(--text); padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; }
.btn-accent:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(245,158,11,0.4); }

.btn-outline { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; }
.btn-outline:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }

.btn-green { background: var(--whatsapp); color: var(--white); padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; }
.btn-green:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(37,211,102,0.4); }

.hero-stats { display: flex; gap: 2rem; }
.hero-stats .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.hero-stats .stat-label { font-size: 0.75rem; opacity: 0.6; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section-muted { background: var(--bg-muted); }
.section-label { text-align: center; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 0.5rem; }
.section-title { text-align: center; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 40rem; margin: 0 auto 2.5rem; }

/* ===== CATEGORY CARDS ===== */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.category-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; text-align: center; cursor: pointer; border: 1px solid var(--border); transition: all 0.3s; }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-icon { width: 3.5rem; height: 3.5rem; background: rgba(212,42,42,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-size: 1.5rem; transition: all 0.3s; }
.category-card:hover .category-icon { background: var(--primary); color: var(--white); }

/* ===== PRODUCT CARDS ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.product-card .product-image { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .product-image { transform: scale(1.1); }

.product-card .overlay-actions { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(26,39,68,0.4); display: flex; align-items: center; justify-content: center; gap: 0.75rem; opacity: 0; transition: opacity 0.3s; }
.product-card:hover .overlay-actions { opacity: 1; }
.overlay-actions .action-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1rem; }
.overlay-actions .action-btn:hover { background: var(--primary); color: var(--white); transform: scale(1.1); }

.product-card .badge { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 9999px; color: var(--white); background: var(--primary); z-index: 2; }
.product-card .badge-discount { background: var(--primary); position: absolute; top: 0.75rem; right: auto; font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 9999px; color: var(--white); z-index: 2; }

.product-card .price { font-weight: 700; color: var(--primary); font-size: 1.125rem; }
.product-card .price-old { text-decoration: line-through; color: var(--text-light); font-size: 0.75rem; }
.product-card .star { color: var(--accent); }
.product-card .star-empty { color: var(--border); }

/* ===== RECOMMENDED SLIDER ===== */
.recommended-slider { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recommended-slider::-webkit-scrollbar { display: none; }
.recommended-slider .slider-card { min-width: 240px; max-width: 240px; scroll-snap-align: start; flex-shrink: 0; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); transition: all 0.3s; }
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.service-icon { width: 3rem; height: 3rem; background: rgba(212,42,42,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); font-size: 1.5rem; transition: all 0.3s; }
.service-card:hover .service-icon { background: var(--primary); color: var(--white); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.service-tag { font-size: 0.625rem; background: rgba(212,42,42,0.1); color: var(--primary); padding: 0.125rem 0.5rem; border-radius: 9999px; }

/* ===== TESTIMONIALS ===== */
.testimonial-carousel { max-width: 48rem; margin: 0 auto; position: relative; }
.testimonial-carousel .carousel-slide { background: var(--white); border-radius: var(--radius); padding: 2rem 2.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-lg); min-height: 280px; }
.testimonial-carousel .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1.25rem; }
.testimonial-carousel .nav-btn:hover { background: var(--primary); color: var(--white); }
.testimonial-carousel .nav-prev { left: -1rem; }
.testimonial-carousel .nav-next { right: -1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dots .dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all 0.3s; }
.carousel-dots .dot.active { background: var(--primary); width: 2rem; border-radius: 9999px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); cursor: pointer; transition: all 0.3s; }
.testimonial-card:hover, .testimonial-card.active { border-color: var(--primary); box-shadow: var(--shadow-lg); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.15); }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,39,68,0.9), transparent); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: var(--white); }
.gallery-item:hover .overlay { opacity: 1; }

/* ===== CONTACT FORM ===== */
.contact-form p { margin-bottom: 0.75rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; font-family: inherit; margin-top: 0.25rem; transition: all 0.3s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,42,42,0.1); }

.btn-primary { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 0.75rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.02); box-shadow: 0 4px 15px rgba(212,42,42,0.3); }

/* ===== FLOATING CONTACT ===== */
.floating-contact { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100; }
.floating-btn { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary); color: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-lg); transition: all 0.3s; animation: pulse-float 2s ease-in-out infinite; }
.floating-btn:hover { transform: scale(1.1); }

.floating-panel { position: absolute; bottom: 4.5rem; right: 0; width: 20rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-xl); overflow: hidden; display: none; animation: slideUp 0.3s ease; }
.floating-panel.active { display: block; }
.floating-panel .panel-header { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); padding: 1rem; color: var(--white); }
.floating-panel .panel-body { padding: 1rem; }
.floating-panel .contact-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: var(--radius); transition: all 0.3s; color: var(--text); }
.floating-panel .contact-option:hover { background: var(--bg-muted); }
.floating-panel .contact-option .icon-circle { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.25rem; }

@keyframes pulse-float { 0%, 100% { box-shadow: 0 0 20px rgba(212,42,42,0.3); } 50% { box-shadow: 0 0 40px rgba(212,42,42,0.6); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== PROMO POPUP ===== */
.promo-overlay { position: fixed; inset: 0; background: rgba(26,39,68,0.5); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fadeIn 0.3s; }
.promo-modal { background: var(--white); border-radius: 1rem; max-width: 28rem; width: 100%; overflow: hidden; box-shadow: var(--shadow-xl); animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== FOOTER ===== */
.site-footer { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); color: rgba(255,255,255,0.7); padding: 3rem 0; }
.site-footer h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 0.25rem 0; }
.site-footer ul li a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.site-footer ul li a:hover { color: var(--primary-light); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-brand h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.footer-brand h3 span { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; margin-top: 2rem; text-align: center; font-size: 0.75rem; }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); padding: 0.75rem 0; }
.marquee-content { display: inline-block; white-space: nowrap; animation: marquee-scroll 25s linear infinite; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== COUNTDOWN ===== */
.countdown { display: flex; gap: 0.75rem; }
.countdown-item { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 0.75rem 1rem; text-align: center; min-width: 60px; }
.countdown-item .value { font-size: 1.5rem; font-weight: 800; }
.countdown-item .label { font-size: 0.625rem; opacity: 0.6; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat-card { background: var(--primary); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--white); }
.stat-card .value { font-size: 2rem; font-weight: 800; }
.stat-card .label { font-size: 0.75rem; opacity: 0.7; }

/* ===== WOOCOMMERCE ===== */
.woocommerce .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.woocommerce .product { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all 0.4s; }
.woocommerce .product:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.woocommerce .product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.woocommerce .price { color: var(--primary); font-weight: 700; }
.woocommerce .price del { color: var(--text-light); }
.woocommerce .button { background: var(--primary); color: var(--white); border: none; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.3s; }
.woocommerce .button:hover { background: var(--primary-dark); box-shadow: 0 4px 15px rgba(212,42,42,0.3); }
.woocommerce .onsale { background: var(--primary); color: var(--white); border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; }
.woocommerce .star-rating { color: var(--accent); }

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); }
.mobile-menu.active { display: block; animation: fadeIn 0.3s ease; }
.mobile-menu a { display: block; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; border-bottom: 1px solid var(--border); transition: all 0.3s; }
.mobile-menu a:hover { background: var(--primary); color: var(--white); }

/* ===== FOCUS STYLES ===== */
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ===== FILTER BUTTONS ===== */
.filter-btn { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer; background: var(--bg-muted); color: var(--text-light); transition: all 0.3s; }
.filter-btn:hover { background: rgba(212,42,42,0.1); color: var(--primary); transform: scale(1.05); }
.filter-btn.active { background: var(--primary); color: var(--white); box-shadow: 0 4px 12px rgba(212,42,42,0.3); transform: scale(1.05); }

/* ===== HOVER LIFT ===== */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

/* ===== GRADIENT TEXT ===== */
.gradient-text { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== LAZY LOAD ===== */
img[loading="lazy"] { opacity: 0; transition: opacity 0.5s ease; }
img[loading="lazy"].loaded, img.loaded { opacity: 1; }

/* ===== PRODUCT MODAL ===== */
.product-modal-overlay { position: fixed; inset: 0; background: rgba(26,39,68,0.6); backdrop-filter: blur(4px); z-index: 150; display: none; align-items: center; justify-content: center; padding: 1rem; }
.product-modal { background: var(--white); border-radius: 1rem; max-width: 48rem; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); display: none; grid-template-columns: 1fr 1fr; animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s; }
.modal-close:hover { background: var(--danger); color: var(--white); }

/* ===== WordPress Content ===== */
.entry-content p { margin-bottom: 1rem; }
.entry-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.entry-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-quote { border-left: 4px solid var(--primary); padding-left: 1rem; font-style: italic; color: var(--text-light); }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: float 6s ease-in-out infinite; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex !important; }
  .hero-section .container { grid-template-columns: 1fr !important; }
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-cta { flex-direction: column; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .services-grid, .testimonial-grid, .gallery-grid { grid-template-columns: 1fr; }
  .testimonial-carousel .nav-btn { display: none; }
  .hero-section { min-height: auto; padding: 3rem 0; }
  .product-modal { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .hero-title { font-size: 1.75rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print { .site-header, .site-footer, .floating-contact, .watermark, .promo-overlay, .mobile-menu { display: none !important; } }
