/*
Theme Name: EQUACOM Store Theme
Theme URI: https://github.com/equacom/wordpress-theme
Author: EQUACOM
Author URI: https://equacom.com
Description: Tema profesional para EQUACOM Store - Damos vida a tu imaginación. Diseño moderno con animaciones avanzadas, contacto directo por WhatsApp y correo. Sin carrito ni checkout.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equacom-store
Tags: responsive, modern, animations, whatsapp, contact-only

EQUACOM Store Theme - Damos vida a tu imaginación
Solo compras por WhatsApp o correo electrónico
*/

/* ==========================================
   CSS VARIABLES / DESIGN TOKENS
   ========================================== */
:root {
  /* Primary Colors - EQUACOM Red */
  --primary: 352 85% 49%;
  --primary-light: 352 85% 59%;
  --primary-dark: 352 85% 42%;
  --primary-foreground: 0 0% 100%;
  
  /* Secondary Colors */
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 13%;
  
  /* Background & Foreground */
  --background: 0 0% 100%;
  --foreground: 0 0% 13%;
  
  /* Card */
  --card: 0 0% 100%;
  --card-foreground: 0 0% 13%;
  
  /* Muted */
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  
  /* Border */
  --border: 0 0% 90%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(352, 85%, 49%), hsl(352, 85%, 62%));
  --gradient-dark: linear-gradient(135deg, hsl(220, 20%, 15%), hsl(220, 20%, 25%));
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px hsla(352, 85%, 49%, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-primary);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================
   LAYOUT / CONTAINER
   ========================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================
   ANIMATIONS KEYFRAMES
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes pulseSlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px hsla(352, 85%, 49%, 0.3); }
  50% { box-shadow: 0 0 40px hsla(352, 85%, 49%, 0.5); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
  }
  50% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Animation Classes */
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-pulseSlow { animation: pulseSlow 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Animations */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
}

.btn-secondary:hover {
  background: hsl(var(--muted));
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20BD5C;
  transform: scale(1.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Top Bar */
.top-bar {
  background: var(--gradient-primary);
  color: white;
  padding: 0.625rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .top-bar-contact {
    display: flex;
  }
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.top-bar-contact a:hover {
  opacity: 1;
}

.top-bar-slogan {
  flex: 1;
  text-align: center;
  font-weight: 500;
}

.top-bar-slogan span {
  animation: pulse 2s ease-in-out infinite;
}

.top-bar-social {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .top-bar-social {
    display: flex;
  }
}

.top-bar-social a {
  color: white;
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.top-bar-social a:hover {
  opacity: 1;
  transform: scale(1.2);
}

.top-bar-social svg {
  width: 16px;
  height: 16px;
}

/* Main Header */
.header-main {
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem 0;
}

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

/* Logo */
.site-logo {
  flex-shrink: 0;
}

.site-logo a {
  display: block;
  padding: 0.25rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.site-logo img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  animation: logoEntrance 1s ease-out;
}

.site-logo a:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 600px;
  display: none;
}

@media (min-width: 768px) {
  .search-bar {
    display: block;
  }
}

.search-form {
  position: relative;
  display: flex;
}

.search-form input {
  width: 100%;
  height: 48px;
  padding: 0 4rem 0 3rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.search-form input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(352, 85%, 49%, 0.1);
}

.search-form .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
}

.search-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 1.25rem;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-form button:hover {
  background: hsl(var(--primary-dark));
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .whatsapp-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

@media (min-width: 1024px) {
  .header-actions .whatsapp-link {
    display: flex;
  }
}

.header-actions .whatsapp-link:hover {
  background: #20BD5C;
  transform: scale(1.05);
}

.header-actions .icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.header-actions .icon-btn:hover {
  background: hsla(352, 85%, 49%, 0.1);
  color: hsl(var(--primary));
}

.mobile-menu-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Navigation */
.main-nav {
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.nav-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  transition: width var(--transition-normal);
}

.nav-menu li a:hover {
  color: hsl(var(--primary));
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 120px;
  background: hsl(var(--background));
  z-index: 999;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav li a {
  display: block;
  padding: 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.mobile-nav li a:hover {
  background: hsla(352, 85%, 49%, 0.1);
  color: hsl(var(--primary));
}

/* Mobile Search */
.mobile-search {
  display: block;
  padding: 0.75rem 1rem;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .mobile-search {
    display: none;
  }
}

.mobile-search .search-form input {
  height: 40px;
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  margin: 1.5rem 0;
}

.hero-slider {
  position: relative;
  height: 500px;
}

@media (min-width: 768px) {
  .hero-slider {
    height: 550px;
  }
}

@media (min-width: 1024px) {
  .hero-slider {
    height: 600px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.05);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.hero-slide-text {
  max-width: 600px;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-badge::before {
  content: '●';
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out 0.1s forwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out 0.3s forwards;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

/* Hero Bottom */
.hero-bottom {
  position: relative;
  z-index: 20;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 2rem;
}

.hero-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-bottom-content {
    flex-direction: row;
  }
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-stats {
    gap: 3rem;
  }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Hero Dots */
.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  width: 32px;
  background: hsl(var(--primary));
  box-shadow: var(--shadow-glow);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   PROMOTIONAL BANNER
   ========================================== */
.promo-banner {
  background: var(--gradient-primary);
  padding: 1rem 0;
  overflow: hidden;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: white;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.promo-item svg {
  width: 18px;
  height: 18px;
}

/* ==========================================
   CATEGORIES GRID
   ========================================== */
.categories-section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  color: hsl(var(--muted-foreground));
}

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

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: hsl(var(--card));
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
  padding: 1rem;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: hsla(352, 85%, 49%, 0.1);
  color: hsl(var(--primary));
  transition: all var(--transition-normal);
}

.category-card:hover .icon {
  background: hsl(var(--primary));
  color: white;
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.category-card span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
  padding: 3rem 0;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-header .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsla(352, 85%, 49%, 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-badges .badge {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-featured {
  background: hsl(var(--primary));
  color: white;
}

.badge-sale {
  background: #22c55e;
  color: white;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.product-rating svg {
  width: 16px;
  height: 16px;
  fill: #facc15;
  color: #facc15;
}

.product-rating span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.product-price {
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.price-original {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.product-actions .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 4rem 0;
  background: hsl(var(--secondary));
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(352, 85%, 49%, 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .services-header h2 {
    font-size: 2.5rem;
  }
}

.services-header p {
  max-width: 600px;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: white;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.service-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.service-icon.purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.service-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.service-icon.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.service-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.service-card:hover h3 {
  color: hsl(var(--primary));
}

.service-card p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  padding: 4rem 0;
  background: hsla(0, 0%, 0%, 0.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  fill: hsl(var(--primary));
  color: hsl(var(--primary));
}

.testimonial-text {
  font-style: italic;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================
   FEATURES GRID
   ========================================== */
.features-section {
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: white;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--gradient-dark);
  color: white;
}

/* Newsletter */
.footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .newsletter-content {
    flex-direction: row;
  }
}

.newsletter-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-text p {
  opacity: 0.7;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: white;
  font-size: 0.9375rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

/* Footer Main */
.footer-main {
  padding: 4rem 0;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-brand .site-logo img {
  height: 56px;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  background: white;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: hsl(var(--primary));
  transform: scale(1.1);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer-column li a:hover {
  opacity: 1;
  color: hsl(var(--primary));
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: hsl(var(--primary));
}

.footer-contact a:hover {
  color: hsl(var(--primary));
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: hsl(var(--primary));
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

/* ==========================================
   AD WIDGETS
   ========================================== */
.ad-widget {
  background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--secondary)));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ad-widget.horizontal {
  padding: 2rem;
}

.ad-widget.vertical {
  position: sticky;
  top: 180px;
}

.ad-content {
  text-align: center;
}

.ad-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ad-content p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* ==========================================
   SIDEBAR
   ========================================== */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

/* ==========================================
   CONTENT LAYOUT
   ========================================== */
.content-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr 300px;
  }
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.breadcrumbs a {
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: hsl(var(--primary));
}

.breadcrumbs .separator {
  margin: 0 0.5rem;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pagination a {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.pagination a:hover {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.pagination .current {
  background: hsl(var(--primary));
  color: white;
}

/* ==========================================
   POSTS / BLOG
   ========================================== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.post-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.25rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   404 PAGE
   ========================================== */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.error-content h1 {
  font-size: 8rem;
  font-weight: 900;
  color: hsl(var(--primary));
  line-height: 1;
  margin-bottom: 1rem;
}

.error-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-content p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}

.hidden-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
}

/* ==========================================
   WORDPRESS SPECIFIC
   ========================================== */
.wp-block-image img {
  border-radius: var(--radius-lg);
}

.wp-block-quote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

/* Screen reader text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
