/* =============================================
   DIEGO SPORTS - CONSOLIDATED FIXES v2
   Fecha: 2026-08-20
   ============================================= */

/* === 1. OCULTAR BARRA DE BÚSQUEDA SUPERIOR (div suelto sin clase) === */
body > div:first-child {
  display: none !important;
}

/* === 2. REMOVER LOGO VACÍO === */
a.ds-logo-link:empty {
  display: none !important;
}

/* === 3. FOOTER GRID (reemplaza Tailwind) === */
.ds-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.5rem !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}
@media (min-width: 640px) {
  .ds-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .ds-footer-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    padding: 4rem 2rem !important;
  }
}

/* === 4. FOOTER BRAND COLUMN === */
.ds-footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}
.ds-footer-brand > div:first-child {
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
}
.ds-footer-brand > div:first-child img {
  max-height: 2.5rem !important;
  width: auto !important;
}

/* === 5. FOOTER SOCIAL ICONS === */
.ds-footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}
.ds-footer-social a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  transition: background-color 200ms ease, color 200ms ease !important;
  text-decoration: none !important;
}
.ds-footer-social a:hover {
  background-color: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
}

/* === 6. FOOTER COLUMNS (nav lists) === */
.ds-footer-col ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ds-footer-col ul a {
  font-size: 0.875rem !important;
  color: var(--ds-text-muted, #94a3b8) !important;
  text-decoration: none !important;
  transition: color 200ms ease !important;
}
.ds-footer-col ul a:hover {
  color: var(--ds-primary, #22c55e) !important;
}
.ds-footer-col h3 {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-style: italic !important;
  color: #fff !important;
  margin-bottom: 1.25rem !important;
}

/* === 7. NEWSLETTER FORM === */
.ds-newsletter-form {
  display: flex !important;
  gap: 0.5rem !important;
}
.ds-newsletter-form input[type="email"] {
  flex: 1 !important;
  border-radius: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  font-size: 0.875rem !important;
  color: #fff !important;
  background-color: var(--ds-surface, #1a1d24) !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  outline: none !important;
  font-family: var(--ds-font, 'Inter', sans-serif) !important;
  transition: border-color 200ms ease !important;
}
.ds-newsletter-form input[type="email"]:focus {
  border-color: var(--ds-primary, #22c55e) !important;
}
.ds-newsletter-form input[type="email"]::placeholder {
  color: #64748b !important;
}
.ds-newsletter-form button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  background-color: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  border: none !important;
  cursor: pointer !important;
  transition: opacity 200ms ease !important;
}
.ds-newsletter-form button:hover {
  opacity: 0.9 !important;
}

/* === 8. FOOTER BOTTOM BAR === */
.ds-footer-bottom {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 1.5rem 1rem !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
}
@media (min-width: 640px) {
  .ds-footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
}
.ds-footer-bottom p {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: var(--ds-text-muted, #94a3b8) !important;
  margin: 0 !important;
}
.ds-footer-bottom nav {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}
@media (min-width: 640px) {
  .ds-footer-bottom nav {
    gap: 1.5rem !important;
  }
}
.ds-footer-bottom nav a {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--ds-text-muted, #94a3b8) !important;
  text-decoration: none !important;
  transition: color 200ms ease !important;
}
.ds-footer-bottom nav a:hover {
  color: var(--ds-primary, #22c55e) !important;
}

/* === 9. PRODUCT GRID (asegurar que <li> funciona como grid item) === */
.ds-products-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ds-products-grid > li {
  list-style: none !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  .ds-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (min-width: 1200px) {
  .ds-products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* === 10. PRODUCT CARD HOVER Y ESTILOS === */
.ds-product-card {
  background: var(--ds-surface, #13151a) !important;
  border-radius: var(--ds-radius, 12px) !important;
  overflow: hidden !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.06)) !important;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease !important;
}
.ds-product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4) !important;
  border-color: var(--ds-primary, #22c55e) !important;
}
.ds-product-card-image {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
}
.ds-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 500ms ease !important;
}
.ds-product-card:hover .ds-product-card-image img {
  transform: scale(1.05) !important;
}
.ds-add-cart-btn {
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 300ms ease, transform 300ms ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(34,197,94,0.3) !important;
}
.ds-product-card:hover .ds-add-cart-btn {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.ds-favorite-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(4px) !important;
  border: none !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 200ms ease, color 200ms ease !important;
  z-index: 2 !important;
}
.ds-favorite-btn:hover {
  background: #ef4444 !important;
  color: #fff !important;
}
.ds-favorite-btn .material-symbols-outlined {
  font-size: 18px !important;
}
.ds-product-card-info {
  padding: 1rem !important;
}
.ds-product-card-category {
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--ds-text-muted, #64748b) !important;
  margin-bottom: 0.35rem !important;
}
.ds-product-card-category a {
  color: var(--ds-text-muted, #64748b) !important;
  text-decoration: none !important;
}
.ds-product-card-category a:hover {
  color: var(--ds-primary, #22c55e) !important;
}
.ds-product-card-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--ds-text, #e2e8f0) !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.3 !important;
}
.ds-product-card-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.ds-product-card-title a:hover {
  color: var(--ds-primary, #22c55e) !important;
}
.ds-product-card-rating {
  margin-bottom: 0.5rem !important;
  display: flex !important;
  gap: 2px !important;
}
.ds-product-card-rating .material-symbols-outlined {
  font-size: 16px !important;
}
.ds-rating-filled {
  color: #f59e0b !important;
}
.ds-rating-empty {
  color: var(--ds-border, #334155) !important;
}
.ds-product-card-price {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--ds-primary, #22c55e) !important;
}
.ds-product-card-price .price {
  color: inherit !important;
}
.ds-product-card-price .woocommerce-Price-amount {
  color: inherit !important;
}

/* === 11. CATEGORIES GRID === */
.ds-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
  padding: 0 1.5rem !important;
  max-width: var(--ds-max-width, 1280px) !important;
  margin: 0 auto !important;
}
@media (min-width: 640px) {
  .ds-categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
  }
}
@media (min-width: 1024px) {
  .ds-categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
.ds-category-card {
  position: relative !important;
  border-radius: var(--ds-radius, 12px) !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
  display: block !important;
  text-decoration: none !important;
}
.ds-category-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 500ms ease !important;
}
.ds-category-card:hover img {
  transform: scale(1.08) !important;
}
.ds-category-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%) !important;
  transition: background 300ms ease !important;
}
.ds-category-card:hover .ds-category-card-overlay {
  background: linear-gradient(to top, rgba(34,197,94,0.3) 0%, rgba(0,0,0,0.1) 60%, transparent 100%) !important;
}
.ds-category-card-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 1.25rem !important;
  z-index: 1 !important;
}
.ds-category-card-content h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 0.25rem 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}
.ds-cat-link {
  font-size: 0.8rem !important;
  color: var(--ds-primary, #22c55e) !important;
  margin: 0 !important;
  opacity: 0.8 !important;
  transition: opacity 200ms ease !important;
}
.ds-category-card:hover .ds-cat-link {
  opacity: 1 !important;
}
/* Wholesale card */
.ds-category-wholesale {
  background: linear-gradient(135deg, #0a0c10 0%, #13151a 100%) !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 2rem 1.5rem !important;
  gap: 0.75rem !important;
}
.ds-category-wholesale .material-symbols-outlined {
  font-size: 2.5rem !important;
  color: var(--ds-primary, #22c55e) !important;
}
.ds-category-wholesale h3 {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.ds-category-wholesale p {
  color: var(--ds-text-muted, #94a3b8) !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
}

/* === 12. HERO SECTION === */
.ds-hero {
  position: relative !important;
  min-height: 70vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.ds-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}
.ds-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(ellipse at 20% 50%, rgba(34,197,94,0.08) 0%, transparent 70%) !important;
}
.ds-hero-content {
  position: relative !important;
  z-index: 1 !important;
  max-width: var(--ds-max-width, 1280px) !important;
  margin: 0 auto !important;
  padding: 4rem 2rem !important;
}
.ds-hero-badge {
  display: inline-block !important;
  background: rgba(34,197,94,0.15) !important;
  color: var(--ds-primary, #22c55e) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border: 1px solid rgba(34,197,94,0.3) !important;
  margin-bottom: 1.5rem !important;
}
.ds-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.05 !important;
  margin: 0 0 1rem 0 !important;
  text-transform: uppercase !important;
}
.ds-hero h1 span {
  background: linear-gradient(135deg, var(--ds-primary, #22c55e) 0%, #4ade80 50%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.ds-hero-desc {
  font-size: 1.1rem !important;
  color: var(--ds-text-muted, #94a3b8) !important;
  max-width: 500px !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
}
.ds-hero-actions {
  display: flex !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}
.ds-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.8rem 1.8rem !important;
  border-radius: var(--ds-radius, 8px) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  transition: all 300ms ease !important;
  cursor: pointer !important;
  border: none !important;
}
.ds-btn-primary {
  background: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(34,197,94,0.3) !important;
}
.ds-btn-primary:hover {
  box-shadow: 0 0 30px rgba(34,197,94,0.5) !important;
  transform: translateY(-2px) !important;
}
.ds-btn-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
.ds-btn-secondary:hover {
  border-color: var(--ds-primary, #22c55e) !important;
  color: var(--ds-primary, #22c55e) !important;
}
.ds-btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.8rem !important;
}

/* === 13. TRUST BAR === */
.ds-trust-bar {
  background: var(--ds-surface, #0f1117) !important;
  border-top: 1px solid var(--ds-border, rgba(255,255,255,0.06)) !important;
  border-bottom: 1px solid var(--ds-border, rgba(255,255,255,0.06)) !important;
  padding: 1.5rem 0 !important;
}
.ds-trust-bar-inner {
  max-width: var(--ds-max-width, 1280px) !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
}
@media (min-width: 768px) {
  .ds-trust-bar-inner {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
.ds-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.5rem !important;
}
.ds-trust-item .material-symbols-outlined {
  font-size: 1.5rem !important;
  color: var(--ds-primary, #22c55e) !important;
  flex-shrink: 0 !important;
}
.ds-trust-item h4 {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--ds-text, #e2e8f0) !important;
  margin: 0 !important;
}
.ds-trust-item p {
  font-size: 0.75rem !important;
  color: var(--ds-text-muted, #64748b) !important;
  margin: 0 !important;
}

/* === 14. SECTION HEADERS === */
.ds-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2rem !important;
  max-width: var(--ds-max-width, 1280px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1.5rem !important;
}
.ds-section-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--ds-text, #e2e8f0) !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}
.ds-section-line {
  width: 40px !important;
  height: 3px !important;
  background: var(--ds-primary, #22c55e) !important;
  margin-top: 0.5rem !important;
  border-radius: 2px !important;
}
.ds-section-link {
  font-size: 0.85rem !important;
  color: var(--ds-primary, #22c55e) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  transition: opacity 200ms ease !important;
}
.ds-section-link:hover {
  opacity: 0.8 !important;
}

/* === 15. PROMO BANNER === */
.ds-promo-banner {
  position: relative !important;
  overflow: hidden !important;
  margin: 3rem auto !important;
  max-width: var(--ds-max-width, 1280px) !important;
  padding: 0 1.5rem !important;
  border-radius: var(--ds-radius, 16px) !important;
}
.ds-promo-banner-inner {
  position: relative !important;
  border-radius: var(--ds-radius, 16px) !important;
  overflow: hidden !important;
  min-height: 250px !important;
  display: flex !important;
  align-items: center !important;
}
.ds-promo-banner img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.ds-promo-banner-gradient {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(10,12,16,0.9) 0%, rgba(10,12,16,0.4) 100%) !important;
}
.ds-promo-banner-content {
  position: relative !important;
  z-index: 1 !important;
  padding: 3rem !important;
  max-width: 500px !important;
}
.ds-promo-banner-content h2 {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 0.75rem 0 !important;
}
.ds-promo-banner-content p {
  color: var(--ds-text-muted, #94a3b8) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
}

/* === 16. ANNOUNCEMENT BAR === */
.ds-announcement-bar {
  background: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  text-align: center !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.ds-announcement-bar a {
  color: #000 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* === 17. HEADER === */
.ds-header {
  background: rgba(16,22,34,0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--ds-border, rgba(255,255,255,0.08)) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}
.ds-header-inner {
  max-width: var(--ds-max-width, 1280px) !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}
.ds-header-inner .custom-logo-link img {
  max-height: 45px !important;
  width: auto !important;
}
.ds-nav {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
}
.ds-nav a {
  color: var(--ds-text, #e2e8f0) !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  transition: color 200ms ease !important;
  position: relative !important;
}
.ds-nav a:hover {
  color: var(--ds-primary, #22c55e) !important;
}
.ds-nav a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: var(--ds-primary, #22c55e) !important;
  transition: width 300ms ease !important;
}
.ds-nav a:hover::after {
  width: 100% !important;
}
.ds-search-bar {
  display: none !important;
}
@media (min-width: 1024px) {
  .ds-search-bar {
    display: block !important;
    position: relative !important;
  }
}
.ds-search-bar form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}
.ds-search-icon {
  position: absolute !important;
  left: 12px !important;
  font-size: 20px !important;
  color: var(--ds-text-muted, #64748b) !important;
  pointer-events: none !important;
}
.ds-search-bar input[type="search"] {
  width: 280px !important;
  background: var(--ds-surface, #13151a) !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  border-radius: var(--ds-radius, 8px) !important;
  padding: 0.6rem 1rem 0.6rem 2.5rem !important;
  font-family: var(--ds-font, 'Inter', sans-serif) !important;
  font-size: 0.85rem !important;
  color: var(--ds-text, #e2e8f0) !important;
  outline: none !important;
  transition: border-color 200ms ease, box-shadow 200ms ease !important;
}
.ds-search-bar input[type="search"]:focus {
  border-color: var(--ds-primary, #22c55e) !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15) !important;
}
.ds-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}
.ds-header-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--ds-text, #e2e8f0) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 200ms ease !important;
  text-decoration: none !important;
  position: relative !important;
}
.ds-header-btn:hover {
  background: var(--ds-surface, #13151a) !important;
  border-color: var(--ds-border, rgba(255,255,255,0.1)) !important;
  color: var(--ds-primary, #22c55e) !important;
}
.ds-cart-count {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ds-theme-toggle {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--ds-text, #e2e8f0) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 200ms ease !important;
}
.ds-theme-toggle:hover {
  background: var(--ds-surface, #13151a) !important;
  color: #f59e0b !important;
}
.ds-mobile-only {
  display: flex !important;
}
@media (min-width: 1024px) {
  .ds-mobile-only {
    display: none !important;
  }
}
.ds-mobile-menu-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  color: var(--ds-text, #e2e8f0) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 200ms ease !important;
}
.ds-mobile-menu-btn:hover {
  border-color: var(--ds-primary, #22c55e) !important;
  color: var(--ds-primary, #22c55e) !important;
}
@media (min-width: 1024px) {
  .ds-nav { display: flex !important; }
  .ds-mobile-menu-btn { display: none !important; }
}
@media (max-width: 1023px) {
  .ds-nav { display: none !important; }
  .ds-header-inner .custom-logo-link img { max-height: 35px !important; }
}

/* === 18. MOBILE MENU === */
.ds-mobile-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.7) !important;
  z-index: 1999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms ease, visibility 300ms ease !important;
}
.ds-mobile-menu-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}
.ds-mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 300px !important;
  max-width: 85vw !important;
  background: var(--ds-bg-dark, #0a0c10) !important;
  z-index: 2000 !important;
  transform: translateX(-100%) !important;
  transition: transform 300ms ease !important;
  overflow-y: auto !important;
  padding: 1.5rem !important;
}
.ds-mobile-menu.is-open {
  transform: translateX(0) !important;
}
.ds-mobile-menu-close {
  background: transparent !important;
  border: none !important;
  color: var(--ds-text, #e2e8f0) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
}
.ds-mobile-menu nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}
.ds-mobile-menu nav a {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  color: var(--ds-text, #e2e8f0) !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  border-radius: var(--ds-radius, 8px) !important;
  transition: background 200ms ease, color 200ms ease !important;
}
.ds-mobile-menu nav a:hover {
  background: var(--ds-surface, #13151a) !important;
  color: var(--ds-primary, #22c55e) !important;
}
.ds-mobile-menu nav a .material-symbols-outlined {
  font-size: 20px !important;
}
.ds-mobile-menu nav hr {
  border: none !important;
  border-top: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  margin: 0.5rem 0 !important;
}

/* === 19. PARENT THEME OVERRIDES === */
.site-header, .site-footer {
  display: none !important;
}
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
body {
  background: var(--ds-bg-dark, #0a0c10) !important;
  color: var(--ds-text, #e2e8f0) !important;
  font-family: var(--ds-font, 'Inter', sans-serif) !important;
}

/* === 20. WOOCOMMERCE OVERRIDES === */
.woocommerce-result-count, .woocommerce-ordering {
  color: var(--ds-text-muted, #94a3b8) !important;
}

/* === 21. PAGINATION === */
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 0.5rem !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
}
.woocommerce-pagination a, .woocommerce-pagination span {
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--ds-radius, 6px) !important;
  background: var(--ds-surface, #13151a) !important;
  border: 1px solid var(--ds-border, rgba(255,255,255,0.1)) !important;
  color: var(--ds-text, #e2e8f0) !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
}
.woocommerce-pagination span.current {
  background: var(--ds-primary, #22c55e) !important;
  color: #000 !important;
  border-color: var(--ds-primary, #22c55e) !important;
  font-weight: 700 !important;
}/* ============================================
   FIXES v2.1 — Visual Polish (2026-08-20)
   ============================================ */

/* 1. Nav links — improve contrast on dark bg */
html.dark .ds-nav a {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}
html.dark .ds-nav a:hover {
  color: #4ade80 !important;
}

/* 2. Product category text — better contrast */
.ds-product-card-category,
.ds-product-card-category a {
  color: #94a3b8 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.03em !important;
  opacity: 1 !important;
}
.ds-product-card-category a:hover {
  color: #4ade80 !important;
}

/* 3. Trust bar — subtle dividers + readable subtitles */
.ds-trust-bar {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.ds-trust-item p {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}
.ds-trust-item h4 {
  font-size: 0.95rem !important;
}

/* 4. Hero secondary button — add backdrop for legibility */
.ds-hero-actions a:not(.ds-btn-primary) {
  background: rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
}
.ds-hero-actions a:not(.ds-btn-primary):hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
/* ============================================
   FIXES v2.1 — Visual Polish (2026-08-20)
   ============================================ */

/* 1. Nav links — improve contrast on dark bg */
html.dark .ds-nav a {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}
html.dark .ds-nav a:hover {
  color: #4ade80 !important;
}

/* 2. Product category text — better contrast */
.ds-product-card-category,
.ds-product-card-category a {
  color: #94a3b8 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.03em !important;
  opacity: 1 !important;
}
.ds-product-card-category a:hover {
  color: #4ade80 !important;
}

/* 3. Trust bar — subtle dividers + readable subtitles */
.ds-trust-bar {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.ds-trust-item p {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}
.ds-trust-item h4 {
  font-size: 0.95rem !important;
}

/* 4. Hero secondary button — add backdrop for legibility */
.ds-hero-actions a:not(.ds-btn-primary) {
  background: rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
}
.ds-hero-actions a:not(.ds-btn-primary):hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
/* ============================================
   FIXES v2.2 — Layout & Responsive (2026-08-20)
   ============================================ */

/* 1. Nav desktop — single row, compact */
.ds-header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.ds-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.1rem !important;
    align-items: center !important;
}
.ds-nav a {
    white-space: nowrap !important;
    font-size: 0.85rem !important;
}

/* 2. Hero — prevent text cutoff */
.ds-hero {
    min-height: 82vh !important;
    overflow: hidden !important;
}
.ds-hero-content h1 {
    font-size: clamp(1.9rem, 5.5vw, 4rem) !important;
    line-height: 1.08 !important;
    overflow: visible !important;
}
@media (max-width: 768px) {
    .ds-hero {
        min-height: 65vh !important;
    }
    .ds-hero-content h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
    }
}

/* 3. Trust bar — spacing before categories */
.ds-trust-bar {
    margin-bottom: 0 !important;
    padding-bottom: 16px !important;
}
section.ds-section {
    padding-top: 64px !important;
}

/* 4. Products section — consistent width with categories */
section:has(.ds-products-grid) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ds-products-grid {
    max-width: var(--ds-max-width, 1280px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 24px !important;
}
/*  5. Promo banner — mobile text fix */
.ds-promo-banner-inner {
    position: relative !important;
    min-height: 320px !important;
    overflow: hidden !important;
}
.ds-promo-banner-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 2.5rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    .ds-promo-banner-inner {
        min-height: 260px !important;
    }
    .ds-promo-banner-content {
        padding: 1.5rem 1.25rem !important;
    }
    .ds-promo-banner-content h2 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }
    .ds-promo-banner-content p {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.75rem !important;
    }
    .ds-promo-banner-content .ds-btn {
        width: fit-content !important;
    }
}
/* ============================================
   FIXES v2.3 — Mobile & Hero corrections
   ============================================ */

/* 1. CRITICAL: Hide desktop nav on mobile */
@media (max-width: 900px) {
    .ds-nav {
        display: none !important;
    }
    .ds-search-bar {
        display: none !important;
    }
    .ds-mobile-menu-btn {
        display: flex !important;
    }
}

/* 2. CRITICAL: Hero overflow - fix LÍMITES cutoff */
.ds-hero {
    overflow: visible !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    min-height: 85vh !important;
}
.ds-hero-content {
    overflow: visible !important;
    max-width: 100% !important;
    padding: 3rem 1.5rem !important;
}
.ds-hero-content h1 {
    font-size: clamp(1.8rem, 5.5vw, 4.2rem) !important;
    line-height: 1.1 !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word !important;
}
.ds-hero-content h1 span {
    overflow: visible !important;
    display: inline !important;
}
@media (max-width: 768px) {
    .ds-hero {
        min-height: 70vh !important;
    }
    .ds-hero-content {
        padding: 2rem 1.25rem !important;
    }
    .ds-hero-content h1 {
        font-size: clamp(1.5rem, 9vw, 2.8rem) !important;
    }
}
/*  3. Categories grid mobile - 2 columns */
@media (max-width: 768px) {
    .ds-categories-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 16px !important;
    }
    .ds-category-card {
        min-height: 140px !important;
    }
    .ds-category-card h3 {
        font-size: 0.8rem !important;
    }
}
@media (max-width: 480px) {
    .ds-categories-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
}
/* ============================================
   FIXES v2.4 — Mobile header & cleanup
   ============================================ */

/* 1. Hide broken search toggle in mobile header actions */
.ds-header-actions .ds-mobile-only {
    display: none !important;
}

/* 2. Header mobile - better layout */
@media (max-width: 900px) {
    .ds-header-inner {
        padding: 0 12px !important;
        height: auto !important;
        min-height: 56px !important;
    }
    .ds-logo-link img {
        max-height: 32px !important;
        width: auto !important;
    }
    .ds-header-actions {
        gap: 4px !important;
    }
    .ds-header-btn {
        padding: 6px !important;
    }
    .ds-cart-count {
        font-size: 0.6rem !important;
        min-width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
    }
    .ds-theme-toggle {
        display: none !important;
    }
    .ds-announcement-bar {
        font-size: 0.65rem !important;
        padding: 6px 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
/*  3. Trust bar mobile - bigger icons and text */
@media (max-width: 768px) {
    .ds-trust-bar-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 20px 16px !important;
    }
    .ds-trust-item .material-symbols-outlined {
        font-size: 24px !important;
    }
    .ds-trust-item h4 {
        font-size: 0.8rem !important;
    }
    .ds-trust-item p {
        font-size: 0.72rem !important;
    }
}
/* =============================================
   FIXES v2.5 — Trust icons + Hero fix + Categories grid
   ============================================ */

/* 1. Trust bar - iconos en negro sobre verde neon */
.ds-trust-item .material-symbols-outlined {
    color: #000000 !important;
}

/* 2. Hero - no cortar texto LIMITES */
.ds-hero {
    overflow: visible !important !important;
}

/* 3. Categories - grid sinítrico sin superposición */
.ds-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
}
.ds-category-card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3/4 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}
@media (max-width: 900px) {
    .ds-categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}/* ==================================
   FIXES v2.6 — Hero text fix
   ================================== */
.ds-hero, .ds-hero-content, .ds-hero-content h1, .ds-hero-content h1 span {
    overflow: visible !important;
    max-width: 100% !important;
}
.ds-hero-content {
    padding-right: 30px !important;
}/* ========================================
   FIXES v2.7 — Trust verde + Anluncio negro + Category borders
   ======================================== */

/* 1. Trust bar icons - VERDE neon como en prototipo */
.ds-trust-item .material-symbols-outlined {
    color: var(--ds-primary, #39FF14) !important;
}

/* 2. Announcement bar - camion en negro */
.ds-announcement-bar .material-symbols-outlined {
    color: #000000 !important;
}

/* 3. Category cards - borde verde neon + hover glow */
.ds-category-card {
    border: 2px solid rgba(57,255,20,0.15) !important;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s !important;
}
.ds-category-card:hover {
    border-color: #39FF14 !important;
    box-shadow: 0 0 15px rgba(57,255,20,0.35), 0 0 30px rgba(57,255,20,0.1) !important;
    transform: translateY(-4px) !important;
}
/* ========================================
   FIXES v2.8 — Hero fix definitivo
   ========================================= */
.ds-hero {
    overflow: visible !important;
}
.ds-hero-content {
    overflow: visible !important;
    padding-right: 5rem !important;
}
.ds-hero-content h1,
.ds-hero-content h1 span {
    overflow: visible !important;
    max-width: none !important;
}
/* ===============================
   FIXES v2.8 — Hero text solid green + glow (replace gradient)
   =============================== */
.ds-hero h1 span {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--ds-primary, #39FF14) !important;
    -webkit-text-fill-color: var(--ds-primary, #39FF14) !important;
    text-shadow: 0 0 20px rgba(57,255,20,0.5), 0 0 40px rgba(57,255,20,0.2) !important;
    display: inline-block !important;
}/* ================================================================
   FIX v5 — WC Shop Header: fondo negro + letras blancas
   ================================================================ */

/* Forzar el contenedor del header WC (Tienda) a fondo negro */
body.woocommerce-page .wp-block-group.has-base-background-color.has-background {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Links de navegacion en blanco */
body.woocommerce-page .wp-block-navigation a,
body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__content,
body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__label {
    color: #ffffff !important;
}

body.woocommerce-page .wp-block-navigation a:hover,
body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #39ff14 !important;
}

/* Current menu item en verde neón */
body.woocommerce-page .wp-block-navigation .current-menu-item .wp-block-navigation-item__label,
body.woocommerce-page .wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
    color: #39ff14 !important;
}

/* Iconos SVG (cuenta, carrito) en blanco */
body.woocommerce-page .wc-block-customer-account__account-icon,
body.woocommerce-page .wc-block-mini-cart__icon,
body.woocommerce-page .wc-block-mini-cart__button,
body.woocommerce-page .wc-block-customer-account__link,
body.woocommerce-page .wp-block-woocommerce-customer-account,
body.woocommerce-page .wc-block-mini-cart {
    color: #ffffff !important;
}

/* Boton hamburguesa del menu responsive en blanco */
body.woocommerce-page .wp-block-navigation__responsive-container-open svg,
body.woocommerce-page .wp-block-navigation__responsive-container-close svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}

/* Dialog/modal del menu responsive */
body.woocommerce-page .wp-block-navigation__responsive-dialog {
    background-color: #0a0c10 !important;
    color: #ffffff !important;
}

body.woocommerce-page .wp-block-navigation__responsive-container-content a,
body.woocommerce-page .wp-block-navigation__responsive-container-content .wp-block-navigation-item__label {
    color: #e2e8f0 !important;
}

body.woocommerce-page .wp-block-navigation__responsive-container-content a:hover,
body.woocommerce-page .wp-block-navigation__responsive-container-content .wp-block-navigation-item__label:hover {
    color: #39ff14 !important;
}

body.woocommerce-page .wp-block-navigation__responsive-container-content .current-menu-item .wp-block-navigation-item__label {
    color: #39ff14 !important;
}

/* Padding del contenedor */
body.woocommerce-page .wp-block-site-logo img {
    max-height: 40px;
    width: auto !important;
}
/* ================================================================
   FIX v6 — WC Shop: Busqueda + Tarjetas de Producto
   ================================================================ */

/* --- 1. RESTAURAR BUSQUEDA EN TIENDA WC --- */
/* Asegurar que el bloque de busqueda WC sea visible en paginas WC */
body.woocommerce-page .wp-block-search,
body.woocommerce-page .wp-block-woocommerce-product-search,
body.woocommerce-page .wc-block-product-search,
body.woocommerce-page form[role="search"],
body.woocommerce-page .ds-search-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* No ocultar divs directos de body que contengan search dentro */
body.woocommerce-page > div:not([class]):has(form[role="search"]),
body.woocommerce-page > div:not([class]):has(.wp-block-search),
body.woocommerce-page > div:not([class]):has(input[type="search"]) {
    display: block !important;
}

/* --- 2. TARJETAS DE PRODUCTO: ESTETICA DARK COHERENTE --- */

/* Contenedor principal de cada producto en el grid */
.wc-block-grid__product,
.wp-block-woocommerce-product-query .wc-block-grid__product,
.woocommerce ul.products li.product {
    background: var(--ds-surface, #12151a) !important;
    border: 1px solid var(--ds-border, rgba(255,255,255,0.06)) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wc-block-grid__product:hover,
.wp-block-woocommerce-product-query .wc-block-grid__product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    border-color: var(--ds-primary, #39ff14) !important;
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.08) !important;
}

/* Imagen del producto: bordes redondeados */
.wc-block-components-product-image__inner-container,
.wc-block-grid__product .wc-block-components-product-image,
.wc-block-grid__product .wp-block-image,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.wc-block-components-product-image {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Sobreimagen con gradiente sutil */
.wc-block-components-product-image::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 40% !important;
    background: linear-gradient(to top, rgba(18, 21, 26, 0.5), transparent) !important;
    pointer-events: none !important;
    border-radius: 0 0 10px 10px !important;
}

.wc-block-components-product-image {
    position: relative !important;
}

/* Titulo del producto */
.wc-block-components-product-name,
.wc-block-grid__product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product h2,
.wc-block-grid__product h3,
.wc-block-grid__product h4 {
    color: #ffffff !important;
    font-family: var(--ds-font, "Inter", sans-serif) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    padding: 10px 14px 4px 14px !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.wc-block-components-product-name a,
.wc-block-grid__product .woocommerce-loop-product__title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.wc-block-components-product-name a:hover,
.wc-block-grid__product .woocommerce-loop-product__title a:hover {
    color: var(--ds-primary, #39ff14) !important;
}

/* Precio del producto */
.wc-block-components-product-price,
.wc-block-grid__product .price,
.woocommerce ul.products li.product .price,
.wc-block-components-product-price span,
.wc-block-components-product-price .woocommerce-Price-amount {
    color: var(--ds-primary, #39ff14) !important;
    font-family: var(--ds-font, "Inter", sans-serif) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 2px 14px 2px 14px !important;
}

/* Precio tachado (oferta) */
.wc-block-components-product-price del,
.wc-block-grid__product .price del,
.woocommerce ul.products li.product .price del {
    color: #64748b !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
}

/* Descripcion / Categoria del producto */
.wc-block-components-product-summary,
.wc-block-components-product-category,
.wc-block-grid__product .product-category,
.wc-block-grid__product .ds-product-card-category,
.woocommerce ul.products li.product .product-category,
.woocommerce ul.products li.product .ds-product-card-category {
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    padding: 0 14px 6px 14px !important;
    letter-spacing: 0.02em !important;
}

.wc-block-components-product-category a,
.wc-block-grid__product .product-category a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.wc-block-components-product-category a:hover,
.wc-block-grid__product .product-category a:hover {
    color: var(--ds-primary, #39ff14) !important;
}

/* Rating / Estrellas */
.wc-block-components-product-rating,
.wc-block-grid__product .star-rating,
.woocommerce ul.products li.product .star-rating {
    padding: 0 14px 4px 14px !important;
}

/* Boton Agregar al carrito */
.wc-block-grid__product .button,
.wc-block-grid__product .add_to_cart_button,
.wc-block-grid__product a.added_to_cart,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button a {
    background: var(--ds-primary, #39ff14) !important;
    color: #000000 !important;
    font-family: var(--ds-font, "Inter", sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    margin: 8px 14px 14px 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
    text-align: center !important;
}

.wc-block-grid__product .button:hover,
.wc-block-grid__product .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover,
.wc-block-components-product-button .wp-block-button__link:hover {
    background: #2ed90f !important;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3) !important;
    transform: scale(1.02) !important;
}

/* Badge de oferta */
.wc-block-grid__product .onsale,
.woocommerce ul.products li.product .onsale,
.wc-block-components-product-sale-badge {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-family: var(--ds-font, "Inter", sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 10px 10px 0 auto !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
}

/* --- 3. GRID ESPACIADO --- */
.wc-block-grid__products,
.wp-block-woocommerce-product-query,
.woocommerce ul.products {
    gap: 20px !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
}

@media (max-width: 767px) {
    .wc-block-grid__products,
    .wp-block-woocommerce-product-query,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
/* FIX v7a - WC Dark: bg, header, text */
body.woocommerce-page,body.woocommerce-page:not(.home){background-color:#0a0c10!important;color:#e2e8f0!important}
body.woocommerce-page .wp-block-group.has-base-background-color.has-background{background-color:#000000!important;background:#000000!important}
body.woocommerce-page .wp-block-navigation a,body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__content,body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__label{color:#ffffff!important}
body.woocommerce-page .wp-block-navigation a:hover,body.woocommerce-page .wp-block-navigation .wp-block-navigation-item__content:hover{color:#39ff14!important}
body.woocommerce-page .wp-block-navigation .current-menu-item .wp-block-navigation-item__label,body.woocommerce-page .wp-block-navigation .current-menu-item .wp-block-navigation-item__content{color:#39ff14!important}
body.woocommerce-page .wc-block-customer-account__account-icon,body.woocommerce-page .wc-block-mini-cart__icon,body.woocommerce-page .wc-block-mini-cart__button,body.woocommerce-page .wc-block-customer-account__link,body.woocommerce-page .wp-block-woocommerce-customer-account,body.woocommerce-page .wc-block-mini-cart{color:#ffffff!important}
body.woocommerce-page .wp-block-navigation__responsive-container-open svg,body.woocommerce-page .wp-block-navigation__responsive-container-close svg{fill:#ffffff!important;stroke:#ffffff!important;color:#ffffff!important}
body.woocommerce-page .wp-block-navigation__responsive-dialog{background-color:#0a0c10!important;color:#ffffff!important}
body.woocommerce-page .wp-block-navigation__responsive-container-content a,body.woocommerce-page .wp-block-navigation__responsive-container-content .wp-block-navigation-item__label{color:#e2e8f0!important}
body.woocommerce-page .wp-block-navigation__responsive-container-content a:hover,body.woocommerce-page .wp-block-navigation__responsive-container-content .wp-block-navigation-item__label:hover{color:#39ff14!important}
body.woocommerce-page .wp-block-site-logo img{max-height:40px;width:auto!important}
body.woocommerce-page .entry-content,body.woocommerce-page .wp-block-post-content,body.woocommerce-page .page-content,body.woocommerce-page main{background-color:#0a0c10!important;color:#e2e8f0!important}
body.woocommerce-page h1,body.woocommerce-page h2,body.woocommerce-page h3,body.woocommerce-page h4,body.woocommerce-page h5,body.woocommerce-page h6,body.woocommerce-page p,body.woocommerce-page span,body.woocommerce-page label,body.woocommerce-page td,body.woocommerce-page th,body.woocommerce-page li,body.woocommerce-page div,body.woocommerce-page a,body.woocommerce-page section,body.woocommerce-page article,body.woocommerce-page header,body.woocommerce-page footer,body.woocommerce-page figcaption,body.woocommerce-page summary,body.woocommerce-page details{color:#e2e8f0!important}
body.woocommerce-page a:hover{color:#39ff14!important}
body.woocommerce-page .wp-block-group,body.woocommerce-page .wp-block-columns,body.woocommerce-page .wp-block-column,body.woocommerce-page .wc-block-cart,body.woocommerce-page .wc-block-cart__contents,body.woocommerce-page .wc-block-components-sidebar,body.woocommerce-page .wc-block-components-main,body.woocommerce-page .wp-block-woocommerce-cart,body.woocommerce-page .wp-block-woocommerce-checkout,body.woocommerce-page .wp-block-woocommerce-order-summary,body.woocommerce-page .wp-block-woocommerce-mini-cart-contents{background-color:#0a0c10!important}
body.woocommerce-page .site-header{display:none!important}
/* FIX v7b - WC Dark: forms, buttons, cart, checkout */
body.woocommerce-page input[type="text"],body.woocommerce-page input[type="email"],body.woocommerce-page input[type="tel"],body.woocommerce-page input[type="number"],body.woocommerce-page input[type="password"],body.woocommerce-page input[type="search"],body.woocommerce-page input[type="url"],body.woocommerce-page select,body.woocommerce-page textarea{background-color:#12151a!important;color:#e2e8f0!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important;padding:10px 14px!important;font-family:"Inter",sans-serif!important}
body.woocommerce-page input:focus,body.woocommerce-page select:focus,body.woocommerce-page textarea:focus{border-color:#39ff14!important;outline:none!important;box-shadow:0 0 0 2px rgba(57,255,20,0.15)!important}
body.woocommerce-page input::placeholder,body.woocommerce-page textarea::placeholder{color:#64748b!important}
body.woocommerce-page .wc-block-cart-items,body.woocommerce-page .wc-block-components-order-summary-item,body.woocommerce-page table{background-color:#0a0c10!important;border-color:rgba(255,255,255,0.06)!important}
body.woocommerce-page .wc-block-cart-item__image img{border-radius:8px!important}
body.woocommerce-page .wc-block-cart-item__product-name,body.woocommerce-page .wc-block-components-order-summary-item__name{color:#ffffff!important;font-weight:600!important}
body.woocommerce-page .wc-block-cart-item__price,body.woocommerce-page .wc-block-components-order-summary-item__individual-prices{color:#39ff14!important;font-weight:700!important}
body.woocommerce-page .wc-block-cart__totals,body.woocommerce-page .wc-block-components-totals-item,body.woocommerce-page .wc-block-components-totals-footer-item{background-color:#12151a!important;border-color:rgba(255,255,255,0.06)!important}
body.woocommerce-page .wc-block-components-totals-item__value{color:#ffffff!important;font-weight:600!important}
body.woocommerce-page .wc-block-components-button,body.woocommerce-page .wp-block-button__link,body.woocommerce-page button,body.woocommerce-page .button,body.woocommerce-page input[type="submit"]{background-color:#39ff14!important;color:#000000!important;font-family:"Inter",sans-serif!important;font-weight:700!important;border:none!important;border-radius:8px!important;text-transform:uppercase!important;letter-spacing:0.03em!important;transition:all 0.2s ease!important}
body.woocommerce-page .wc-block-components-button:hover,body.woocommerce-page .wp-block-button__link:hover,body.woocommerce-page button:hover,body.woocommerce-page .button:hover{background-color:#2ed90f!important;box-shadow:0 0 20px rgba(57,255,20,0.3)!important}
body.woocommerce-page .wc-block-components-button--secondary,body.woocommerce-page .wp-block-button.is-style-outline .wp-block-button__link{background-color:transparent!important;color:#39ff14!important;border:1px solid #39ff14!important}
body.woocommerce-page .wc-block-components-quantity-selector{background-color:#12151a!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important}
body.woocommerce-page .wc-block-components-quantity-selector__button{color:#ffffff!important;background:transparent!important}
body.woocommerce-page .wc-block-components-quantity-selector__input{color:#ffffff!important}
body.woocommerce-page .woocommmerce-message,body.woocommerce-page .woocommerce-info{background-color:rgba(57,255,20,0.1)!important;border-color:rgba(57,255,20,0.3)!important;color:#39ff14!important}
body.woocommerce-page.woocommmerce-error{background-color:rgba(239,68,68,0.1)!important;border-color:rgba(239,68,68,0.3)!important;color:#ef444!important}
body.woocommerce-page .cart-empty,body.woocommerce-page .wc-block-cart__empty-cart{color:#94a3b8!important}
body.woocommerce-page hr,body.woocommerce-page .wc-block-components-divider{border-color:rgba(255,255,255,0.06)!important}
body.woocommerce-page .wc-block-checkout__sidebar,body.woocommerce-page .wp-block-woocommerce-order-summary{background-color:#12151a!important;border:1px solid rgba(255,255,255,0.06)!important;border-radius:12px!important}
body.woocommerce-page .wc-block-mini-cart__drawer{background-color:#0a0c10!important;color:#e2e8f0!important}
body.woocommerce-page .woocommmerce-MyAccount-navigation li a{color:#94a3b8!important;border-color:rgba(255,255,255,0.06)!important}
body.woocommerce-page.woocommmerce-MyAccount-navigation li a:hover{color:#39ff14!important}
body.woocommmerce-page.woocommmerce-MyAccount-navigation li.is-active a{color:#39ff14!important;border-bottom-color:#39ff14!important}
body.woocommmerce-page .woocommerce-MyAccount-content{color:#e2e8f0!important}
body.woocommerce-page .woocommerce-MyAccount-content table{color:#e2e8f0!important}
body.woocommerce-page .woocommerce-MyAccount-content table th{color:#ffffff!important;border-bottom-color:rgba(255,255,255,0.1)!important}
body.woocommerce-page .woocommerce-MyAccount-content table td{border-bottom-color:rgba(255,255,255,0.06)!important}
body.woocommerce-page .woocommerce-pagination span.current{background:#39ff14!important;color:#000000!important;border-color:#39ff14!important;font-weight:700!important}
body.woocommerce-page .woocommmerce-pagination a{background:#12151a!important;color:#e2e8f0!important;border-color:rgba(255,255,255,0.1)!important}
body.woocommerce-page .woocommerce-pagination a:hover{color:#39ff14!important;border-color:#39ff14!important}
body.woocommerce-page .wp-block-search input[type="search"]{background-color:#12151a!important;color:#e2e8f0!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important}
body.woocommerce-page .wp-block-search button[type="submit"]{background-color:#39ff14!important;color:#000000!important}
body.woocommmerce-page .select2-container--default .select2-selection--single{background-color:#12151a!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important}
body.woocommerce-page .select2-container--default .select2-selection--single{background-color:#12151a!important;border:1px solid rgba(255,255,255,0.1)!important}
body.woocommerce-page .select2-container--default .select2-results__option{color:#e2e8f0!important}
body.woocommmerce-page .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:rgba(57,255,20,0.15)!important;color:#39ff14!important}

/* === FIX v8 - Product card dark backgrounds === */
.wp-block-woocommerce-product-image img,
.wp-block-woocommerce-product-image picture { background: #1a1a2e !important; }
.wc-block-components-product-image img { background: #1a1a2e !important; }
.woocommerce img, .woocommerce-page img { background: #1a1a2e !important; }

/* Cross-sell cards in cart - dark theme */
.wc-block-cart__cross-sells-product,
.wp-block-woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image { background: #1a1a2e !important; }
.wp-block-woocommerce-product-collection { --woocommerce-product-collection-item-background: #1e1e30 !important; }

/* Pagination styling */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span { background: #1e1e30; color: #e2e8f0; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 14px; margin: 0 2px; }
.woocommerce-pagination ul.page-numbers li a:hover { background: #2a2a40; }
.woocommerce-pagination ul.page-numbers li span.current { background: var(--ds-primary, #39ff14); color: #000; border-color: var(--ds-primary, #39ff14); }

/* === FIX v9 - Green buttons BLACK text === */
.wp-block-woocommerce-product-button .wp-block-button__link,
.wc-block-components-product-button__button,
.ds-btn-primary,
button.ds-neon-glow,
.wp-block-button__link[style*="background"],
.wp-block-button.is-style-fill .wp-block-button__link,
a.wc-block-components-button {
    color: #000 !important;
}
.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wc-block-components-product-button__button:hover {
    color: #000 !important;
}

/* Ensure send icon in buttons renders properly */
button .material-symbols-outlined,
.ds-btn .material-symbols-outlined {
    font-family: "Material Symbols Outlined" !important;
    font-size: 18px !important;
    vertical-align: middle !important;
    margin-left: 6px !important;
}

/* === FIX v9b - Green buttons BLACK text (aggressive) === */
a.wp-element-button,
a.wp-block-button__link,
a.wc-block-components-product-button__button,
a.wp-element-button span,
a.wp-block-button__link span,
a.wc-block-components-product-button__button span,
.wp-block-button.is-style-outline a.wp-block-button__link {
    color: #000000 !important;
}

/* === FIX v9c - Nuclear: ALL green buttons BLACK text === */
html.dark a.product_type_variable,
html.dark a.product_type_simple,
html.dark a.product_type_variable span,
html.dark a.product_type_simple span,
html.dark .wc-block-components-product-button__button,
html.dark .wp-block-woocommerce-product-button a,
html.dark .wp-block-woocommerce-product-button a span {
    color: #000000 !important;
}

/* === FIX v9d - Ver carrito links with green bg need black text === */
html.dark a.added_to_cart,
html.dark a.added_to_cart span {
    color: #000000 !important;
}

/* === FIX v10 - NUCLEAR: ALL green bg elements get BLACK text === */
/* Mini-cart button (header cart icon) */
.wc-block-mini-cart__button,
.wc-block-mini-cart__button span,
.wc-block-mini-cart__button svg,
.wc-block-mini-cart__button svg * {
    color: #000000 !important;
    fill: #000000 !important;
}
/* All <button> elements with WC button classes */
button.wp-element-button,
button.wc-block-components-button,
button.wp-block-button__link,
button.wc-block-components-product-button__button,
button.add_to_cart_button,
button.wc-block-mini-cart__button,
button.single_add_to_cart_button {
    color: #000000 !important;
}
button.wp-element-button span,
button.wc-block-components-button span,
button.wp-block-button__link span,
button.add_to_cart_button span,
button.single_add_to_cart_button span {
    color: #000000 !important;
}
/* All <input> submit buttons */
input[type=submit] {
    color: #000000 !important;
}
/* Header search button with inline color:#fff */
.wp-block-search button[type=submit],
header button[style*=color] {
    color: #000000 !important;
}
/* Catch-all: any link or button inside WC product button blocks */
.wp-block-woocommerce-product-button * {
    color: #000000 !important;
}

/* === FIX v11 - Cart items: dark backgrounds & readable text === */
/* Cart table and cells */
table.wc-block-cart-items,
table.wc-block-cart-items td,
table.wc-block-cart-items th,
.wc-block-cart-items__row,
.wc-block-cart-items__header {
    background-color: rgb(18, 21, 26) !important;
    color: rgb(226, 232, 240) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
/* Product name in cart */
.wc-block-cart-item__product-name,
.wc-block-cart-item__product-name a,
.wc-block-components-cart-item__product-name,
.wc-block-components-cart-item__product-name a {
    color: rgb(255, 255, 255) !important;
}
/* Product meta (variants like Talle, Color) */
.wc-block-cart-item__product-metadata,
.wc-block-cart-item__product-metadata span,
.wc-block-cart-item__product-metadata a,
.wc-block-components-cart-item__product-metadata {
    color: rgb(148, 163, 184) !important;
}
/* Prices in cart */
.wc-block-cart-item__price,
.wc-block-cart-item__total-price,
.wc-block-components-cart-item__price,
.wc-block-components-cart-item__prices,
.wc-block-cart-item__product-price,
.wc-block-cart-totals__item-price,
.wc-block-cart-totals__item-value {
    color: rgb(226, 232, 240) !important;
}
/* Quantity selector */
.wc-block-cart-item__quantity,
.wc-block-components-cart-item__quantity {
    color: rgb(226, 232, 240) !important;
}
.wc-block-cart-item__quantity input,
.wc-block-components-cart-item__quantity input {
    background-color: rgb(26, 26, 46) !important;
    color: rgb(255, 255, 255) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
/* Remove link */
.wc-block-cart-item__remove-link,
.wc-block-cart-item__remove-link a {
    color: rgb(239, 68, 68) !important;
}
/* Cart totals section */
.wc-block-cart__totals,
.wc-block-cart-totals {
    background-color: rgb(18, 21, 26) !important;
    color: rgb(226, 232, 240) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.wc-block-cart-totals__heading,
.wc-block-cart-totals__item-label {
    color: rgb(226, 232, 240) !important;
}
/* Coupon code input */
.wc-block-cart__coupon .wc-block-components-text-input input,
.wc-block-components-text-input input[type=text] {
    background-color: rgb(26, 26, 46) !important;
    color: rgb(255, 255, 255) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
/* Checkout form fields */
.wc-block-checkout__form,
.wc-block-checkout-field,
.wc-block-checkout-field input,
.wc-block-checkout-field select,
.wc-block-checkout-field textarea {
    background-color: rgb(18, 21, 26) !important;
    color: rgb(226, 232, 240) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.wc-block-checkout-field label {
    color: rgb(226, 232, 240) !important;
}
/* Order summary in checkout */
.wc-block-order-summary,
.wc-block-order-summary__heading,
.wc-block-order-summary__items th {
    background-color: rgb(18, 21, 26) !important;
    color: rgb(226, 232, 240) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* === FIX v12 - NUCLEAR: Override WP color variables for dark theme === */
/* This fixes ALL WooCommerce blocks at once - cart, checkout, mini-cart, etc. */
body,
body.woocommerce-page {
    --wp--preset--color--base: #12151a !important;
    --wp--preset--color--contrast: #e2e8f0 !important;
    --wp--preset--color--foreground: #e2e8f0 !important;
}
/* Also override on :root for blocks that check there */
:root {
    --wp--preset--color--base: #12151a;
    --wp--preset--color--contrast: #e2e8f0;
    --wp--preset--color--foreground: #e2e8f0;
}
/* Mini-cart drawer and contents */
.wp-block-woocommerce-mini-cart-contents,
.wc-block-components-drawer,
.wc-block-mini-cart__drawer {
    background-color: rgb(10, 12, 16) !important;
    color: rgb(226, 232, 240) !important;
}
/* Sticky submit bar on mobile */
.wc-block-cart__submit-container--sticky {
    background-color: rgb(10, 12, 16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* Notice banners */
.wc-block-components-notice-banner {
    background-color: rgba(57, 255, 20, 0.1) !important;
    border-color: rgba(57, 255, 20, 0.3) !important;
    color: rgb(226, 232, 240) !important;
}
.wc-block-components-notice-banner > svg {
    fill: rgb(57, 255, 20) !important;
    background-color: transparent !important;
}

/* === FIX v13 - ROOT CAUSE: Override light-theme CSS variables === */
:root,
html.dark,
body,
body.woocommerce-page {
    --ds-surface: #12151a !important;
    --ds-surface-2: #1a1e2e !important;
    --ds-bg-dark: #0a0c10 !important;
    --ds-border: rgba(255, 255, 255, 0.08) !important;
    --ds-text: #e2e8f0 !important;
    --ds-text-muted: #94a3b8 !important;
}

/* =============================================
   FIX: Separar badge de oferta del corazón wishlist
   ============================================= */

/* Mover el corazón/wishlist a la esquina superior derecha */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .yith-wcwl-add-to-wishlist a,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .tinv-wraper,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .wishlist-button,
.ds-ofertas .woocommerce ul.products li.product a.wishlist-button,
.ds-ofertas .woocommerce ul.products li.product .tinv-wraper,
.ds-ofetas .woocommerce ul.products li.product .yith-wcwl-add-to-wishlist {
    right: 10px !important;
    left: auto !important;
    top: 10px !important;
}

/* FIX: Badge oferta a la izquierda */
.woocommerce ul.products li.product span.onsale,
.ds-ofertas .woocommerce span.onsale {
  left: 10px !important;
  right: auto !important;
  z-index: 3 !important;
}

/* FIX: Material Symbols - forzar renderizado de iconos */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-smoothing: antialiased !important;
}

/* FIX: Mapa oscuro en pagina Sucursales */
#ds-map-iframe {
  filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(1.1) !important;
}

/* =============================================
   FIXES Mobile - Logo, Botones, Busqueda
   ============================================= */

/* Logo transparente en header */
.ds-header-inner .custom-logo-link,
.ds-header-inner .custom-logo-link img,
.ds-logo-link,
.ds-logo-link img {
  background: transparent !important;
  border-radius: 0 !important;
}

/* Texto negro en botones verdes de WC */
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce a.button.wc-forward,
body.woocommerce-page a.button,
body.woocommerce-page a.button.alt,
body.woocommerce-page a.button.wc-forward,
body.woocommerce-page .return-to-shop a.button {
  color: #000000 !important;
}

/* Ocultar busqueda desktop en mobile */
@media (max-width: 768px) {
  .ds-search-bar {
    display: none !important;
  }
}

/* =============================================
   FIXES Mobile completos v2
   ============================================= */

/* Ocultar navegacion responsive WC en mobile */
.wp-block-navigation__responsive-container,
.wp-block-navigation__responsive-container.is-menu-open {
    display: none !important;
}

/* Fondo oscuro body */
body {
    background-color: #0a0c10 !important;
}

/* Grid productos mobile - 2 columnas bien dimensionadas */
@media (max-width: 768px) {
    .ds-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.5rem !important;
    }
    .ds-products-grid .ds-product-card-info {
        padding: 0.5rem !important;
    }
    .ds-products-grid .ds-product-card-category,
    .ds-products-grid .ds-product-card-title {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .ds-products-grid .price,
    .ds-products-grid .woocommerce-Price-amount {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
}

/* Botones WC - texto negro SIEMPRE */
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce a.button.wc-forward,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt,
body.woocommerce-page a.button,
body.woocommerce-page a.button.alt,
body.woocommerce-page a.button.wc-forward,
body.woocommerce-page button.button,
body.woocommerce-page button.button.alt,
body.woocommerce-page input.button,
body.woocommerce-page .return-to-shop a.button,
body.woocommerce-page .wc-block-components-button,
body.woocommerce-page .wp-block-button__link {
    color: #000000 !important;
}

/* === FIX Mobile v3 === */
.wp-block-navigation__responsive-container,
.wp-block-navigation__responsive-container.is-menu-open{display:none!important}
body{background-color:#0a0c10!important}
@media(max-width:768px){.ds-products-grid{grid-template-columns:repeat(2,1fr)!important;gap:.75rem!important;padding:0 .5rem!important}.ds-products-grid .ds-product-card-info{padding:.5rem!important}.ds-products-grid .ds-product-card-title{font-size:.7rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ds-products-grid .price,.ds-products-grid .woocommerce-Price-amount{font-size:.8rem!important;white-space:nowrap!important}}
.woocommerce a.button,.woocommerce a.button.alt,.woocommerce a.button.wc-forward,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce input.button,.woocommerce input.button.alt,body.woocommerce-page a.button,body.woocommerce-page a.button.alt,body.woocommerce-page a.button.wc-forward,body.woocommerce-page button.button,body.woocommerce-page button.button.alt,body.woocommerce-page input.button,body.woocommerce-page .return-to-shop a.button,body.woocommerce-page .wc-block-components-button,body.woocommerce-page .wp-block-button__link{color:#000000!important}

/* === FIX v5: Fondo, Grid, Botones === */
main,.site-main,.entry-content,.page-content,.hentry,.woocommerce-page .woocommerce,.woocommerce-page #primary,.wp-block-post-content,.wp-block-group,.wp-block-group__inner-container{background-color:#0a0c10!important}
@media(max-width:768px){.ds-container{max-width:100%!important;padding-left:.5rem!important;padding-right:.5rem!important}.ds-products-grid,.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:.75rem!important;margin:0!important;padding:0!important}.ds-products-grid .ds-product-card-title,.woocommerce ul.products .woocommerce-loop-product__title,.woocommerce-page ul.products .woocommerce-loop-product__title{font-size:.7rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ds-products-grid .price,.woocommerce ul.products .price,.woocommerce-page ul.products .price{font-size:.8rem!important;white-space:nowrap!important}}
body.woocommerce-page .button,body.woocommerce-page a.button,body.woocommerce-page button.button,body.woocommerce-page .wp-block-button__link,body.woocommerce-page .wc-block-components-button__text{color:#000000!important}

/* === FIX v6: Grid, Logo, Carrito Mobile === */
@media(max-width:768px){
.ds-container{max-width:100%!important;width:100%!important;padding-left:.75rem!important;padding-right:.75rem!important}
.ds-products-section{padding:2rem 0!important}
.ds-products-grid{grid-template-columns:repeat(2,1fr)!important;gap:.5rem!important}
.ds-products-grid .ds-product-card-info{padding:.5rem!important}
.ds-products-grid .price,.ds-products-grid .woocommerce-Price-amount{font-size:.8rem!important;white-space:nowrap!important}
.ds-products-grid .ds-product-card-title{font-size:.7rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.woocommerce-cart table.shop_table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;font-size:.85rem!important}
.woocommerce-cart .shop_table th,.woocommerce-cart .shop_table td{padding:.5rem!important}
.woocommerce-cart .cart_totals{width:100%!important;float:none!important}
.woocommerce-cart .wc-proceed-to-checkout{width:100%!important}
.woocommerce-cart .wc-proceed-to-checkout a{display:block!important;width:100%!important;text-align:center!important}
}
.ds-logo-link,.ds-logo-link *,.custom-logo-link,.custom-logo-link *,.custom-logo-link img{background:transparent!important}

/* === FIX v7: Shop mobile === */
body.woocommerce-page .ds-mobile-menu-btn{background:transparent!important;color:var(--ds-text,#e2e8f0)!important;border-radius:50%!important;padding:8px!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#13151a!important;border-radius:8px!important;overflow:hidden!important}
.woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img{aspect-ratio:1/1!important;object-fit:cover!important;width:100%!important;display:block!important}
.woocommerce span.onsale,.woocommerce-page span.onsale{background:#dc2626!important;color:#fff!important;z-index:5!important}
@media(max-width:768px){.woocommerce ul.products li.product{margin-bottom:.75rem!important}}

/* === MOBILE FIXES v9 === */
@media(max-width:768px){
.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog,.wp-block-navigation__responsive-container.is-menu-open,.wp-block-navigation__responsive-container-open{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;position:static!important;width:0!important;height:0!important;overflow:hidden!important;max-height:0!important;clip:rect(0,0,0,0)!important;z-index:-9999!important;}
.ds-mobile-menu-overlay{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;background:rgba(0,0,0,0.6)!important;z-index:99998!important;display:none!important;}
.ds-mobile-menu-overlay.is-open{display:block!important;}
.ds-mobile-menu{position:fixed!important;top:0!important;right:0!important;width:85%!important;max-width:320px!important;height:100%!important;background:#0d0f13!important;z-index:99999!important;transform:translateX(100%)!important;transition:transform 0.3s ease!important;overflow-y:auto!important;display:flex!important;flex-direction:column!important;padding:24px!important;box-sizing:border-box!important;}
.ds-mobile-menu.is-open{transform:translateX(0)!important;}
.ds-mobile-menu-close{position:absolute!important;top:16px!important;right:16px!important;z-index:100000!important;background:none!important;border:none!important;color:#fff!important;font-size:28px!important;cursor:pointer!important;padding:8px!important;}
ul.products li.product,.wp-block-query-loop .wp-block-post,.ds-products-grid .ds-product-card{background-color:#14161a!important;border-color:#2a2d35!important;}
span.onsale{background-color:#e53935!important;color:#ffffff!important;border-radius:4px!important;padding:2px 8px!important;font-weight:700!important;line-height:1.4!important;min-width:auto!important;min-height:auto!important;font-size:12px!important;}
.ds-favorite-btn,.ds-favorite-btn .material-symbols-outlined{color:#e53935!important;}
.ds-favorite-btn{background:rgba(229,57,53,0.12)!important;border-radius:50%!important;width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.ds-container{max-width:100%!important;padding-left:12px!important;padding-right:12px!important;}
.woocommerce-cart .shop_table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;}
.woocommerce-cart .shop_table thead{display:none!important;}
.woocommerce-cart .shop_table tr{display:flex!important;flex-wrap:wrap!important;padding:12px 0!important;border-bottom:1px solid #2a2d35!important;gap:8px!important;}
.woocommerce-cart .shop_table td{display:block!important;padding:4px 8px!important;}
.woocommerce-cart .product-thumbnail img{max-width:80px!important;height:auto!important;}
.woocommerce-cart .coupon .input-text{width:100%!important;box-sizing:border-box!important;}
.woocommerce-cart .actions{display:flex!important;flex-direction:column!important;gap:12px!important;}
.woocommerce-cart .actions .button{width:100%!important;text-align:center!important;}
.woocommerce-cart .cart_totals{width:100%!important;float:none!important;}
}
/* === HOTFIX v9.1 === */
@media(max-width:768px){
.ds-mobile-menu{display:none!important;}
.ds-mobile-menu.is-open{display:flex!important;flex-direction:column!important;}
.ds-mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;background:none!important;border:none!important;color:#fff!important;font-size:24px!important;cursor:pointer!important;padding:8px!important;z-index:1000!important;position:relative!important;}
.ds-search-bar{display:none!important;}
}
/* === HOTFIX v9.2 carrito === */
body.woocommerce-cart .ds-mobile-menu-btn, body.woocommerce-checkout .ds-mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;background:none!important;border:none!important;color:#fff!important;font-size:24px!important;cursor:pointer!important;padding:8px!important;z-index:1000!important;position:relative!important;}
/* === Floating hamburger v9.3 === */
@media(max-width:768px){.ds-floating-hamburger{position:static!important;top:auto!important;right:auto!important;z-index:1000!important;width:auto!important;height:auto!important;background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font-size:24px!important;}}

/* === OCULTAR SECCION ACERCA DE DEL FOOTER === */
nav[aria-label="Acerca de"] {
  display: none !important;
}

/* Ocultar titulo h2 Acerca de y su contenedor */
.site-footer nav[aria-label="Acerca de"] {
  display: none !important;
}
h2.wp-block-heading + div:has(> nav[aria-label="Acerca de"]) {
  display: none !important;
}

/* === FIX: Forzar imagenes de producto visibles === */
.ds-product-card-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}
.ds-product-card-image img.ds-product-card-img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: relative !important;
    z-index: 2 !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask-image: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* === FIX: Override height:0 de ul.products li.product img (linea 2593 style.css) === */
ul.products li.product .ds-product-card-image img.ds-product-card-img {
    height: 100% !important;
    padding-bottom: 0 !important;
}

/* === FIX: Grid 4 columnas centrado para pagina ofertas === */
@media (min-width: 1024px) {
    .woocommerce ul.products.columns-4 {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .woocommerce ul.products.columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* === FIX: Full-width para pagina de ofertas (override is-layout-constrained) === */
.page-id-5618 .entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
}
.page-id-5618 .entry-content.is-layout-constrained {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
.page-id-5618 .entry-content.is-layout-constrained > ul.products {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === FIX NUCLEAR: Romper constrained layout para ofertas === */
.page-id-5618 .entry-content.is-layout-constrained {
    --wp--style--global--content-size: 1400px !important;
    --wp--style--global--wide-size: 1400px !important;
}
.page-id-5618 .entry-content > ul.products {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}
.page-id-5618 .entry-content > *:not(ul.products):not(.wp-block-post-title):not(h1) {
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === FIX IMÁGENES OSCURAS - Alta especificidad === */
ul.products li.product .ds-product-card-image img,
ul.products li.product .ds-product-card-image img.attachment-woocommerce_thumbnail,
ul.products li.product .ds-product-card-image img.wp-post-image,
ul.products li.product .ds-product-card-image img[class*="attachment-"],
ul.products li.product .ds-product-card-image img[class*="wp-image-"] {
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    display: block !important;
    width: 100% !important;
    object-fit: cover !important;
    filter: none !important;
    -webkit-filter: none !important;
}
p.stock.out-of-stock{color:#ef4444!important;font-weight:700!important;}
p.stock.out-of-stock{color:#ef4444!important;font-weight:700!important;} p.stock.in-stock{color:#22c55e!important;font-weight:700!important;}


/* === Guia de Talles - Dark Mode Safe === */
.page-id-5610 .entry-content h3 {
    margin-top: 2.5em;
    margin-bottom: 1em;
    font-size: 1.3em;
    letter-spacing: 0.02em;
    border-bottom: 2px solid currentColor;
    padding-bottom: 8px;
}
.page-id-5610 .entry-content h2 {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 3px solid #16a34a;
}
.page-id-5610 .entry-content p {
    line-height: 1.7;
}
.page-id-5610 .wp-block-table {
    margin: 1.5em 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(128,128,128,0.2);
}
.page-id-5610 .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.95em;
}
.page-id-5610 .wp-block-table thead th {
    background-color: #16a34a;
    color: #ffffff;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.page-id-5610 .wp-block-table tbody td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(128,128,128,0.3);
}
.page-id-5610 .wp-block-table tbody tr:last-child td {
    border-bottom: none;
}
.page-id-5610 .wp-block-table tbody tr:nth-child(even) {
    background-color: rgba(128,128,128,0.08);
}
.page-id-5610 .wp-block-table tbody tr:hover {
    background-color: rgba(22,163,74,0.15);
    transition: background-color 0.2s ease;
}
.page-id-5610 .wp-block-table tbody td:first-child {
    font-weight: 700;
}
.page-id-5610 .entry-content ol {
    padding-left: 1.5em;
    line-height: 2;
}
.page-id-5610 .entry-content ol li {
    margin-bottom: 0.5em;
    font-size: 1em;
}
.page-id-5610 .entry-content p strong:first-child {
    color: #16a34a;
}

