/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
  /* Colors - Pink & White Theme */
  --primary-color: #ff2a70; /* Vibrant Pink */
  --primary-hover: #e01b5a;
  --secondary-color: #ffb6c1; /* Light Pink */
  --bg-color: #ffffff;
  --bg-light: #fdf2f6; /* Very light pink/white background for sections */
  --text-dark: #2d2d2d;
  --text-light: #777777;
  --white: #ffffff;
  --border-color: #eeeeee;
  --sale-color: #ff3b30;
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: var(--font-main);
  
  /* Spacing & Layout */
  --container-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(255, 42, 112, 0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 42, 112, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--bg-light);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.top-bar-right {
  display: flex;
  gap: 1rem;
}

.main-header {
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary-color);
}

.search-bar {
  display: flex;
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  border-color: var(--primary-color);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.action-icon {
  position: relative;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s;
}

.action-icon:hover {
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav {
  background-color: var(--primary-color);
  color: var(--white);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.main-nav a {
  display: block;
  padding: 1rem 0;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background-color: var(--bg-light);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideFade 18s infinite linear;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.7); /* Light overlay for readability */
}

.bg-1 {
  background-image: url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&q=80&w=1920');
  animation-delay: 0s;
}

.bg-2 {
  background-image: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?auto=format&fit=crop&q=80&w=1920');
  animation-delay: 6s;
}

.bg-3 {
  background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&q=80&w=1920');
  animation-delay: 12s;
}

@keyframes slideFade {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  28% { opacity: 1; }
  33.33% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.15); }
}

.hero-content-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content-center h1 {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.1;
  font-weight: 500;
}

.hero-content-center h1 span {
  color: var(--primary-color);
  font-family: var(--font-main);
  font-size: 4.5rem;
  font-weight: 900;
  display: block;
  margin-top: 0;
  letter-spacing: -1px;
}

.font-accent {
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-content-center p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ==========================================================================
   Features / Benefits
   ========================================================================== */
.features {
  padding: var(--spacing-md) 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.feature-text h4 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   Banners Grid (Promo)
   ========================================================================== */
.promo-banners {
  padding: var(--spacing-lg) 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  padding: 2rem;
  color: var(--white);
}

.promo-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.promo-banner:hover img {
  transform: scale(1.05);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
}

.promo-content {
  position: relative;
  z-index: 3;
}

.promo-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.promo-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* ==========================================================================
   Categories / Brands
   ========================================================================== */
.categories {
  padding: var(--spacing-lg) 0;
  background-color: var(--bg-light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.category-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.category-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products-section {
  padding: var(--spacing-lg) 0;
}

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

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--sale-color);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 10;
}

.product-badge.new {
  background-color: var(--primary-color);
}

.product-image {
  position: relative;
  padding-top: 75%; /* 4:3 Aspect Ratio — more proportional */
  background-color: var(--bg-light);
  overflow: hidden;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  transition: bottom 0.3s;
  z-index: 10;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.product-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-rating {
  color: #ffc107;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-top: auto;
}

.product-price del {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  margin-right: 0.5rem;
}

.btn-add-cart {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-cart:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   Full Width Banner
   ========================================================================== */
.full-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b31046 100%);
  padding: 4rem 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.full-banner .container {
  position: relative;
  z-index: 2;
}

.full-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.full-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
  background-color: #ffd6e4;
  padding: 3rem 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.newsletter-text i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.newsletter-text h3 {
  margin-bottom: 0.2rem;
}

.newsletter-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  outline: none;
}

.newsletter-form button {
  padding: 0.75rem 2rem;
  border: none;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background-color: var(--bg-light);
  padding: 4rem 0 0;
  color: var(--text-dark);
}

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.payment-methods {
  display: flex;
  gap: 0.5rem;
  font-size: 1.5rem;
}

/* ==========================================================================
   Page Headers (Nosotros, Contacto)
   ========================================================================== */
.page-header {
  background-color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.85);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-dark);
}

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

/* ==========================================================================
   Grid Layouts for Pages
   ========================================================================== */
/* Contact */
.contact-section {
  padding: var(--spacing-lg) 0;
}

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

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
}

/* Shop / Catalog Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  padding: var(--spacing-lg) 0;
}

.sidebar-widget {
  margin-bottom: 2rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-light);
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
}

.category-list a:hover {
  color: var(--primary-color);
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   Responsive Design — Unified
   ========================================================================== */

/* --- Tablet landscape --- */
@media (max-width: 1024px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nike-category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Tablet portrait & Mobile --- */
@media (max-width: 768px) {
  /* Top bar */
  .top-bar { display: none; }

  /* Header */
  .search-bar { display: none; }
  .menu-toggle { display: block !important; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

  .main-header .container {
    flex-wrap: wrap;
  }

  .header-actions {
    gap: 0.8rem !important;
  }
  .header-actions .btn {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  /* Nav — hidden by default, shown via JS toggle */
  .main-nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  .main-nav.active {
    display: block !important;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1rem;
  }
  .main-nav a::after { display: none; }

  /* Hero */
  .hero { height: 55vh; min-height: 350px; }
  .hero-content-center h1 { font-size: 2rem; }
  .hero-content-center h1 span { font-size: 2.5rem; }
  .hero-content-center p { font-size: 1rem; }

  /* Nike Hero */
  .nike-hero { height: 280px; }
  .nike-hero h2 { font-size: 2rem; }
  .nike-hero p { font-size: 0.9rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Promo Banners */
  .promo-grid { grid-template-columns: 1fr; }
  .promo-banner { height: 200px; }

  /* Categories */
  .nike-category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .nike-category-item { height: 280px; }
  .nike-category-item h3 { font-size: 1.3rem; bottom: 15px; left: 15px; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-image { padding-top: 60%; }
  .product-actions { bottom: 0; }
  .product-info { padding: 0.6rem; }
  .product-title { font-size: 0.8rem; }
  .product-category { font-size: 0.65rem; }
  .product-price { font-size: 0.9rem; }
  .product-price del { font-size: 0.75rem; }
  .btn-add-cart, .btn-cotizar { font-size: 0.75rem; padding: 0.5rem; }

  /* Shop page */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-products { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .shop-header { flex-direction: column; gap: 1rem; align-items: flex-start; }

  /* Newsletter */
  .newsletter-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .newsletter-text { flex-direction: column; }
  .newsletter-form { width: 100%; max-width: 100%; flex-direction: column; }
  .newsletter-form input { border-radius: var(--radius-pill); margin-bottom: 0.75rem; }
  .newsletter-form button { border-radius: var(--radius-pill); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .payment-methods { justify-content: center; }

  /* Cutout banner */
  .cutout-inner { flex-direction: column; text-align: center; }
  .cutout-inner h2 { font-size: 2rem; }
  .cutout-image-wrapper { max-width: 100%; }

  /* Full banner */
  .full-banner h2 { font-size: 1.8rem; }
  .full-banner p { font-size: 0.95rem; }

  /* Section titles */
  .section-title h2 { font-size: 2rem !important; }

  /* Modal */
  .modal-box { width: 95%; margin: 1rem; padding: 1.5rem; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .hero { height: 50vh; min-height: 300px; }
  .hero-content-center h1 { font-size: 1.6rem; }
  .hero-content-center h1 span { font-size: 2rem; }

  .nike-hero { height: 220px; }
  .nike-hero h2 { font-size: 1.6rem; }

  .nike-category-grid { grid-template-columns: 1fr; }
  .nike-category-item { height: 250px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-products { grid-template-columns: repeat(2, 1fr); }
  .product-image { padding-top: 55%; }

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

  .logo { font-size: 1.2rem; }

  .btn-add-cart, .btn-cotizar { font-size: 0.85rem; padding: 0.6rem; }
}

/* ==========================================================================
   Animations & Dynamic Effects
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeInDown {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==========================================================================
   Decorative Backgrounds (Vectors/Silhouettes)
   ========================================================================== */
.decorative-bg-1, .decorative-bg-2, .decorative-bg-3 {
  position: relative;
}

.decorative-bg-1::before {
  content: '';
  position: absolute;
  top: 10%; right: 5%;
  width: 150px; height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff2a70" stroke-width="2" stroke-dasharray="5,5" opacity="0.2"/></svg>');
  background-repeat: no-repeat;
  z-index: 0; pointer-events: none;
}

.decorative-bg-2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,160C96,160,192,160,288,144C384,128,480,96,576,90.7C672,85,768,107,864,128C960,149,1056,171,1152,170.7C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-position: bottom;
  background-size: cover;
  z-index: 1; pointer-events: none;
}

.decorative-bg-3 {
  background-color: var(--bg-light);
  background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ==========================================================================
   New Sections (Video & Cutout)
   ========================================================================== */
.video-promo {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  margin: var(--spacing-lg) 0;
}

.video-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.video-overlay p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.cutout-promo {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.cutout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cutout-text {
  flex: 1;
  max-width: 500px;
}

.cutout-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.cutout-image-wrapper img {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: morphShape 8s ease-in-out infinite;
}

.cutout-shape {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1;
  opacity: 0.1;
  animation: morphShape 10s ease-in-out infinite reverse;
}

@keyframes morphShape {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* ==========================================================================
   Nike Style Hero Banners
   ========================================================================== */
.nike-hero {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  padding: 3rem;
}
.nike-hero.full-width {
  border-radius: 0;
  margin: 0 0 3rem 0;
  height: 450px;
}
.nike-hero .bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.nike-hero .overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%); z-index: 2;
}
.nike-hero .content {
  position: relative; z-index: 3; color: white; max-width: 500px;
}
.nike-hero h2 {
  font-size: 3.2rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.1; letter-spacing: -1px; color: #fff;
}
.nike-hero p {
  margin-bottom: 1.5rem; font-size: 1.2rem; opacity: 0.9; color: #fff;
}
@media (max-width: 768px) {
  .nike-hero { height: 300px; padding: 2rem; }
  .nike-hero h2 { font-size: 2.2rem; }
  .nike-hero p { font-size: 1rem; }
}

/* ==========================================================================
   Modal / Popup Styles
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 450px;
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}
.modal-close:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Nike Style Categories
   ========================================================================== */
.nike-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.nike-category-item {
  position: relative;
  height: 450px;
  display: block;
  overflow: hidden;
  background-color: #000;
}

.nike-category-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.8;
}

.nike-category-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  pointer-events: none;
}

.nike-category-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.nike-category-item h3 {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
  z-index: 2;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}



