/* ==========================================================================
   NIKE COLOMBIA OFFICIAL DESIGN SYSTEM & STYLES (EXACT CLONE - PERFECTED)
   ========================================================================== */

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

:root {
  --nike-black: #111111;
  --nike-white: #ffffff;
  --nike-gray-light: #f5f5f5;
  --nike-gray-mid: #e5e5e5;
  --nike-gray-input: #f7f7f7;
  --nike-gray-text: #757575;
  --nike-gray-dark: #222222;
  --nike-orange: #d35400;
  --nike-red: #fa541c;
  --nike-green: #00875a;
  --nike-blue: #0275d8;
  --nike-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nike-transition: all 0.2s ease-in-out;
  --nike-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --nike-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--nike-font);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--nike-white);
  color: var(--nike-black);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* ==========================================================================
   1. TOP PROMO BANNER & UTILITY HEADER (exact match to nike.com.co)
   ========================================================================== */

.top-promo-bar {
  background-color: var(--nike-gray-light);
  color: var(--nike-black);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--nike-gray-mid);
}
.top-promo-bar a {
  color: var(--nike-black);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

.utility-header {
  background-color: var(--nike-gray-light);
  padding: 6px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid #eaeaea;
}

.utility-brand-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-brand-logo-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 800;
  font-size: 13px;
  color: var(--nike-black);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-links button, .utility-links a {
  background: none;
  border: none;
  color: var(--nike-black);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--nike-transition);
}
.utility-links button:hover, .utility-links a:hover {
  color: var(--nike-gray-text);
}

/* ==========================================================================
   2. MAIN HEADER & NAVIGATION (sticky, exact match)
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  background-color: var(--nike-white);
  z-index: 1000;
  padding: 0 48px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.main-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--nike-black);
  text-decoration: none;
  padding: 18px 0;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--nike-black);
  transition: var(--nike-transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  background-color: var(--nike-gray-light);
  border: none;
  border-radius: 20px;
  padding: 9px 16px 9px 40px;
  font-size: 14px;
  width: 180px;
  outline: none;
  transition: var(--nike-transition);
}
.search-input:focus {
  width: 240px;
  background-color: #ededed;
}

.search-icon-btn {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--nike-transition);
}
.icon-btn:hover {
  background-color: var(--nike-gray-light);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--nike-black);
  color: var(--nike-white);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 340px;
  background-color: var(--nike-white);
  box-shadow: var(--nike-shadow);
  border-radius: 12px;
  border: 1px solid var(--nike-gray-mid);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1005;
  display: none;
}
.search-results-dropdown.active { display: block; }

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f4f4f4;
  transition: var(--nike-transition);
}
.search-item:hover { background-color: var(--nike-gray-light); }
.search-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */

.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000;
  height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.hero-bg-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.4) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-bg-img,
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.9;
  z-index: 0;
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-card:hover .hero-bg-img {
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--nike-white);
  max-width: 680px;
  animation: nikeFadeInUp 0.6s ease-out forwards;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  text-transform: uppercase;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 28px;
  line-height: 1.5;
}

.btn-nike-primary {
  background-color: var(--nike-white);
  color: var(--nike-black);
  border: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-nike-primary:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-nike-primary:active {
  transform: scale(0.97);
}

.btn-nike-secondary {
  background-color: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(6px);
  color: var(--nike-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-nike-secondary:hover {
  background-color: var(--nike-white);
  color: var(--nike-black);
  transform: translateY(-2px);
}
.btn-nike-secondary:active {
  transform: scale(0.97);
}

/* Animations */
@keyframes nikeFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ==========================================================================
   4. CATALOG & SIDEBAR FILTERS
   ========================================================================== */

.catalog-section-container {
  max-width: 1440px;
  margin: 40px auto;
  padding: 0 48px;
}

.catalog-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.catalog-main-title {
  font-size: 24px;
  font-weight: 800;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-toggle-filters {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.catalog-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
}
.catalog-main-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.filters-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-group {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.filter-group-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-checkbox-label {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.filter-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--nike-black);
  cursor: pointer;
}

/* Product Cards Grid */
.nike-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.nike-product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: 8px;
  padding: 8px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nike-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.nike-card-img-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #f6f6f6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.nike-card-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nike-product-card:hover .nike-card-img-box img {
  transform: scale(1.06);
}

.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.card-fav-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.nike-card-badge {
  color: var(--nike-red);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.nike-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--nike-black);
  line-height: 1.25;
  margin-bottom: 2px;
}

.nike-card-subtitle {
  font-size: 14px;
  color: var(--nike-gray-text);
  margin-bottom: 4px;
}

.nike-card-colors {
  font-size: 13px;
  color: var(--nike-gray-text);
  margin-bottom: 8px;
}

.nike-card-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-top: auto;
}

/* ==========================================================================
   5. MINICART DROPDOWN (exact match to nike.com.co "Carrito de compras")
   The real site shows a dropdown panel from the top-right corner of the bag icon, 
   NOT a full side drawer.
   ========================================================================== */

.minicart-dropdown {
  position: fixed;
  top: 64px;
  right: 48px;
  width: 380px;
  background-color: var(--nike-white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border-radius: 0 0 12px 12px;
  z-index: 2500;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 80px);
  overflow: hidden;
  animation: slideDown 0.25s ease-out;
}
.minicart-dropdown.open {
  display: flex;
}

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

.minicart-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  padding: 20px 20px 16px 20px;
  border-bottom: 1px solid #eee;
}

.minicart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  max-height: 340px;
}

.minicart-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #f4f4f4;
}
.minicart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: #f6f6f6;
  flex-shrink: 0;
}
.minicart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.minicart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--nike-black);
  line-height: 1.3;
}
.minicart-item-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--nike-gray-text);
  text-transform: uppercase;
}
.minicart-item-size {
  font-size: 13px;
  color: var(--nike-gray-text);
}
.minicart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--nike-black);
  margin-top: auto;
}

.minicart-footer {
  padding: 16px 20px 20px 20px;
  border-top: 1px solid #eee;
}

.minicart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}
.minicart-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--nike-black);
  margin-bottom: 16px;
}

.minicart-buttons {
  display: flex;
  gap: 10px;
}
.minicart-btn-outline {
  flex: 1;
  padding: 12px 0;
  border: 2px solid var(--nike-black);
  background: var(--nike-white);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--nike-transition);
}
.minicart-btn-outline:hover {
  background: var(--nike-gray-light);
}
.minicart-btn-black {
  flex: 1;
  padding: 12px 0;
  border: none;
  background: var(--nike-black);
  color: var(--nike-white);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--nike-transition);
}
.minicart-btn-black:hover {
  background: var(--nike-gray-dark);
}

.minicart-empty {
  text-align: center;
  padding: 40px 20px;
}
.minicart-empty svg {
  margin-bottom: 12px;
}

/* Minicart overlay to close when clicking outside */
.minicart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2499;
  display: none;
}
.minicart-overlay.open {
  display: block;
}

/* ==========================================================================
   5B. FULL CART PAGE (shown inside vtex-checkout-container as cart view)
   Exact match to nike.com.co /checkout/#/cart layout
   ========================================================================== */

.cart-page-wrapper {
  max-width: 1140px;
  margin: 10px auto 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
}
@media (max-width: 900px) {
  .cart-page-wrapper { grid-template-columns: 1fr; }
}

.cart-item-card {
  background: var(--nike-white);
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 24px;
}
.cart-item-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  background: #f6f6f6;
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-item-details {
  flex: 1;
}
.cart-item-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-item-sub {
  font-size: 14px;
  color: var(--nike-gray-text);
  margin-bottom: 2px;
}
.cart-item-size-link {
  font-size: 14px;
  color: var(--nike-gray-text);
  text-decoration: underline;
  cursor: pointer;
}
.cart-item-price {
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid #e2e2e2;
  border-radius: 30px;
  padding: 6px 14px;
}
.cart-qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--nike-gray-text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.cart-qty-btn:hover { color: var(--nike-black); }
.cart-qty-num {
  font-size: 14px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* Cart Summary Sidebar */
.cart-summary-card {
  background: var(--nike-white);
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 90px;
}

.cart-summary-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}
.cart-summary-row.total {
  font-size: 20px;
  font-weight: 900;
  color: var(--nike-black);
  border-top: 1px dashed #ccc;
  padding-top: 16px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.free-shipping-bar {
  background: #f0faf4;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.free-shipping-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--nike-green);
  margin-bottom: 6px;
}
.free-shipping-progress {
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
}
.free-shipping-progress-fill {
  height: 100%;
  background: var(--nike-green);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.btn-checkout-main {
  width: 100%;
  background-color: var(--nike-black);
  color: var(--nike-white);
  border: none;
  padding: 16px 0;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--nike-transition);
}
.btn-checkout-main:hover {
  background-color: var(--nike-gray-dark);
}

/* Delivery box inside cart summary */
.delivery-info-box {
  background: var(--nike-gray-light);
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  padding: 16px;
  margin-bottom: 16px;
}
.delivery-info-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.delivery-info-sub {
  font-size: 14px;
  color: var(--nike-gray-text);
  margin-bottom: 8px;
}
.delivery-option-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  align-items: center;
}
.delivery-option-row .radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--nike-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}
.delivery-option-row .radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nike-black);
}

/* ==========================================================================
   6. VTEX CHECKOUT CONTAINER (also reused for Cart Page)
   ========================================================================== */

.vtex-checkout-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  z-index: 3000;
  overflow-y: auto;
  display: none;
}
.vtex-checkout-container.active {
  display: block;
}

.vtex-checkout-header {
  background-color: var(--nike-white);
  height: 70px;
  border-bottom: 1px solid var(--nike-gray-mid);
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vtex-checkout-logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.vtex-checkout-subnav {
  max-width: 1140px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vtex-btn-back {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--nike-black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vtex-checkout-heading {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.vtex-checkout-wrapper {
  max-width: 1140px;
  margin: 10px auto 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
}
@media (max-width: 900px) {
  .vtex-checkout-wrapper { grid-template-columns: 1fr; }
}

/* Step Cards */
.vtex-step-card {
  background-color: var(--nike-white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e2e2e2;
  margin-bottom: 20px;
}

.vtex-step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.vtex-step-card-header h3 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vtex-step-num {
  font-size: 20px;
  font-weight: 900;
}

.vtex-btn-edit-step {
  background: none;
  border: none;
  color: var(--nike-black);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.vtex-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #757575;
  margin-bottom: 6px;
}

.vtex-form-input, .vtex-form-select {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--nike-gray-input);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.vtex-form-input:focus, .vtex-form-select:focus {
  border-color: var(--nike-black);
  background-color: var(--nike-white);
}

.vtex-btn-continue {
  background-color: var(--nike-black);
  color: var(--nike-white);
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
}
.vtex-btn-continue:hover {
  background-color: var(--nike-gray-dark);
}

/* Payment Option Cards — Cards with Radio Circles (exact VTEX match) */
.vtex-payment-option-row {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.vtex-payment-option-row.selected {
  border-color: var(--nike-black);
  border-width: 2px;
}

.vtex-payment-header-btn {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--nike-gray-input);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  gap: 12px;
}
.vtex-payment-header-btn.active {
  background-color: var(--nike-white);
}

.vtex-radio-circle {
  width: 22px;
  height: 22px;
  border: 2px solid #bbb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--nike-transition);
}
.vtex-radio-circle.checked {
  border-color: var(--nike-blue);
}
.vtex-radio-circle.checked::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--nike-blue);
}

.vtex-payment-body {
  padding: 20px;
  background-color: var(--nike-white);
  border-top: 1px solid #eee;
  display: none;
}
.vtex-payment-body.active {
  display: block;
}

/* Card brand logos */
.card-brand-logos {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-brand-logos img {
  height: 24px;
}

/* Credit/Debit Card Form Fields */
.cc-field-group {
  margin-bottom: 16px;
}
.cc-field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #757575;
  margin-bottom: 6px;
}
.cc-field-group input, .cc-field-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  background: var(--nike-gray-input);
  outline: none;
  transition: border-color 0.2s ease;
}
.cc-field-group input:focus, .cc-field-group select:focus {
  border-color: var(--nike-black);
  background: var(--nike-white);
}
.cc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Right Summary Sidebar */
.vtex-summary-card {
  background-color: var(--nike-white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e2e2;
  position: sticky;
  top: 90px;
}

.vtex-summary-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.vtex-promo-accordion {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.vtex-promo-toggle {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: #333;
}

.vtex-promo-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Buy Now Button (gray like real VTEX) */
.vtex-btn-buy-now {
  width: 100%;
  background-color: #7e7e7e;
  color: var(--nike-white);
  border: none;
  padding: 16px 0;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--nike-transition);
}
.vtex-btn-buy-now:hover {
  background-color: #666;
}

/* Summary product list */
.vtex-summary-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4f4f4;
}
.vtex-summary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.vtex-summary-item-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.vtex-summary-item-img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: #f6f6f6;
  border: 1px solid #eee;
}
.vtex-summary-item-qty {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--nike-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vtex-summary-item-info {
  flex: 1;
}
.vtex-summary-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--nike-black);
  line-height: 1.3;
  margin-bottom: 2px;
}
.vtex-summary-item-meta {
  font-size: 12px;
  color: var(--nike-gray-text);
}
.vtex-summary-item-delivery {
  font-size: 12px;
  color: var(--nike-blue);
  margin-top: 2px;
}
.vtex-summary-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--nike-black);
  white-space: nowrap;
}

/* ==========================================================================
   7. MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background-color: var(--nike-white);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  padding: 32px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--nike-gray-light);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  font-weight: 700;
}
.modal-close-btn:hover {
  background-color: #ddd;
}

/* Product Detail Modal - Thumbnails on left (PDP like real nike.com.co) */
.pdp-layout {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .pdp-layout { grid-template-columns: 1fr; }
}

.pdp-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 420px;
}
.pdp-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f6f6f6;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.pdp-thumb.active, .pdp-thumb:hover {
  border-color: var(--nike-black);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-main-image-wrap {
  width: 100%;
  height: 420px;
  background: #f6f6f6;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.pdp-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-carousel-nav {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}
.pdp-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--nike-transition);
}
.pdp-carousel-btn:hover {
  background: var(--nike-white);
  border-color: var(--nike-black);
}

.pdp-details {
  display: flex;
  flex-direction: column;
}

.pdp-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--nike-orange);
  margin-bottom: 4px;
}
.pdp-name {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}
.pdp-subcategory {
  font-size: 15px;
  font-weight: 600;
  color: var(--nike-black);
  margin-bottom: 12px;
}
.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pdp-price {
  font-size: 22px;
  font-weight: 800;
}
.pdp-list-price {
  font-size: 16px;
  color: var(--nike-gray-text);
  text-decoration: line-through;
}

/* Color Swatch (single thumbnail like real nike.com.co) */
.pdp-color-swatch-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.pdp-color-swatch {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  border: 2px solid var(--nike-black);
  overflow: hidden;
  cursor: pointer;
  background: #f6f6f6;
}
.pdp-color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Size selector exactly like real nike.com.co */
.pdp-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pdp-size-title {
  font-size: 16px;
  font-weight: 700;
}
.pdp-size-guide {
  font-size: 14px;
  color: var(--nike-gray-text);
  text-decoration: underline;
  cursor: pointer;
}

.pdp-size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.size-btn {
  padding: 12px 0;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: var(--nike-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--nike-transition);
}
.size-btn:hover {
  border-color: var(--nike-black);
}
.size-btn.selected {
  border: 2px solid var(--nike-black);
  font-weight: 800;
}
.size-btn.out-of-stock {
  color: #ccc;
  text-decoration: line-through;
  cursor: not-allowed;
}

.btn-add-bag {
  width: 100%;
  background-color: var(--nike-black);
  color: var(--nike-white);
  border: none;
  padding: 16px 0;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--nike-transition);
  margin-bottom: 10px;
}
.btn-add-bag:hover {
  background-color: var(--nike-gray-dark);
}

.btn-fav {
  width: 100%;
  background: var(--nike-white);
  color: var(--nike-black);
  border: 2px solid #e0e0e0;
  padding: 14px 0;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--nike-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-fav:hover {
  border-color: var(--nike-black);
}

/* Shipping info below buttons */
.pdp-shipping-info {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #444;
}
.pdp-shipping-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.pdp-shipping-row svg {
  flex-shrink: 0;
}

/* Description accordion */
.pdp-accordion {
  border-top: 1px solid #eee;
  margin-top: 16px;
}
.pdp-accordion-btn {
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}
.pdp-accordion-body {
  display: none;
  padding: 12px 0 16px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
}
.pdp-accordion-body.open {
  display: block;
}

/* ==========================================================================
   8. FOOTER (exact match to real nike.com.co footer)
   ========================================================================== */

.site-footer {
  background-color: #111;
  color: var(--nike-white);
  padding: 60px 48px 0 48px;
  margin-top: 80px;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a, .footer-col ul li button {
  background: none;
  border: none;
  color: #7e7e7e;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover, .footer-col ul li button:hover {
  color: var(--nike-white);
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7e7e7e;
}
.footer-country svg {
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 0 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  color: #7e7e7e;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  max-width: 600px;
  line-height: 1.5;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: #7e7e7e;
  text-decoration: none;
  font-size: 11px;
}
.footer-legal-links a:hover {
  color: var(--nike-white);
}

/* ==========================================================================
   9. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1024px) {
  .main-header { padding: 0 24px; }
  .hero-banner { padding: 0 24px; }
  .catalog-section-container { padding: 0 24px; }
  .site-footer { padding: 60px 24px 0 24px; }
  .utility-header { padding: 6px 24px; }
  .vtex-checkout-header { padding: 0 24px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .catalog-main-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; }
  .hero-card { height: 350px; padding: 30px; }
  .pdp-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .minicart-dropdown { width: 100%; right: 0; }
}

/* Spinner de Pago estilo Nike */
#payment-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#payment-loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nike-spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #fca311; /* Nike Orange */
  border-right-color: #000; /* Black */
  border-bottom-color: #e51b24; /* Nike Red */
  border-left-color: #00875a; /* Nike Green */
  animation: nikeSpin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

@keyframes nikeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.infobar-icon, [class*="infobar-icon"] { display: none !important; opacity: 0 !important; pointer-events: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important; }

/* Custom Premium Nike Toast Notifications */
#nike-toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.nike-toast {
  background-color: #111111;
  color: #ffffff;
  padding: 15px 24px;
  border-radius: 4px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  border-left: 4px solid #ffffff;
  transform: translateX(120%);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             fadeOut 0.3s 3.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nike-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.nike-toast-message {
  flex-grow: 1;
  line-height: 1.4;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
