/*
Theme Name: Dasilrod Storefront Theme
Theme URI: https://dasilrod.com
Description: Tema nativo a medida para Inversiones Dasilrod C.A., replicando 100% los valores exactos de la sección de diseño de Sellibrí.
Author: Inversiones Dasilrod C.A.
Version: 1.7.0
*/

:root {
  --topbar-bg: #d2ff00;       /* Amarillo/Verde Neón Oficial */
  --topbar-color: #0c0840;    /* Azul Marino Oscuro */
  --header-bg: #12086B;       /* Azul Marino Profundo Oficial */
  --header-color: #ffffff;
  --bs-secondary: #93cc37;   /* Verde Acento */
  --theme-accent-color: #1833d1; /* Azul Vibrante */
  --theme-btn-primary-bg: #93cc37;
  --footer-bg: #ffffff;
  --footer-color: #12086b;
  --dasilrod-bg: #f8fafc;
}

body {
  font-family: 'Inter', 'Montserrat', 'Roboto', sans-serif;
  background-color: var(--dasilrod-bg);
  margin: 0;
  padding: 0;
  color: #1e293b;
}

/* 1. TOP BAR PROMOCIONAL (NEÓN SELLIBRÍ) */
.dasilrod-topbar {
  background-color: var(--topbar-bg) !important;
  color: var(--topbar-color) !important;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.5px;
}

/* 2. HEADER PRINCIPAL AZUL MARINO (#12086B) */
.dasilrod-header {
  background-color: var(--header-bg) !important;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dasilrod-header .logo-container img {
  max-height: 48px;
}

.dasilrod-header .search-container {
  flex: 1;
  max-width: 550px;
  margin: 0 30px;
  position: relative;
}

.dasilrod-header .search-container input {
  width: 100%;
  padding: 10px 42px 10px 18px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.dasilrod-header .user-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.dasilrod-header .user-nav a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 3. MENÚ DE NAVEGACIÓN SECUNDARIO (BLANCO) */
.dasilrod-subnav {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.dasilrod-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.dasilrod-subnav a {
  color: #1e293b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.dasilrod-subnav a:hover {
  color: var(--theme-accent-color);
}

/* 4. HERO BANNER PRINCIPAL DE LA PORTADA */
.hero-banner-dasilrod {
  background: linear-gradient(135deg, #12086B 0%, #1833D1 60%, #0c0840 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(18, 8, 107, 0.25);
  margin-bottom: 32px;
}

.hero-banner-dasilrod::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(210, 255, 0, 0.15) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-badge-neon {
  background-color: var(--topbar-bg);
  color: var(--topbar-color);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 28px;
}

/* 5. TARJETAS DE CATEGORÍA HIGHLIGHT */
.category-card-dasilrod {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: #1e293b;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.category-card-dasilrod:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(18, 51, 209, 0.12);
  border-color: var(--theme-accent-color);
  color: var(--theme-accent-color);
}

.category-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--header-bg);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.category-card-dasilrod:hover .category-icon-box {
  background: var(--header-bg);
  color: var(--topbar-bg);
}

/* 6. GRID DE 4 COLUMNAS PERFECTO Y ROBUSTO PARA WOOCOMMERCE (/SHOP/ Y CATEGORÍAS) */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 0 30px 0 !important;
  list-style: none !important;
}

ul.products::before,
ul.products::after,
ul.products li.product::before,
ul.products li.product::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 992px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  ul.products {
    grid-template-columns: 1fr !important;
  }
}

ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  min-height: 500px !important;
}

ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
  border-color: #cbd5e1 !important;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  flex-grow: 1 !important;
}

ul.products li.product img {
  height: 180px !important;
  width: 100% !important;
  object-fit: contain !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
}

/* FIX DE TÍTULO PARA EVITAR TEXTO CORTADO Y PERMITIR 2 LÍNEAS COMPLETAS */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3,
.dasilrod-product-card .product-title-link {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  min-height: 2.8rem !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
  padding-bottom: 2px !important;
}

ul.products li.product .dasilrod-price-container {
  margin-top: auto !important;
  margin-bottom: 12px !important;
}

ul.products li.product a.button,
ul.products li.product a.add_to_cart_button {
  margin-top: auto !important;
  width: 100% !important;
  background-color: #12086B !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 10px 16px !important;
  text-align: center !important;
  border: none !important;
  box-shadow: 0 2px 4px rgba(18, 8, 107, 0.15) !important;
}

/* 7. ESTILOS DE TARJETA PERSONALIZADA DASILROD */
.dasilrod-product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  transition: all 0.3s ease;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dasilrod-product-card .product-img-box {
  background: #f8fafc;
  border-radius: 12px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.dasilrod-product-card .product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.badge-discount-neon {
  background-color: var(--topbar-bg);
  color: var(--topbar-color);
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.price-strikethrough {
  color: #dc2626 !important;
  font-weight: 800 !important;
  text-decoration: line-through !important;
  font-size: 0.95rem !important;
}

.price-pvp {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.3rem;
}

.bcv-price-pill {
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  display: inline-block !important;
  line-height: 1.3 !important;
}

/* 8. HOVER Y EFECTOS PARA NAVEGACIÓN DE CATEGORÍAS */
.transition-hover {
  transition: all 0.25s ease-in-out !important;
}

.transition-hover:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(18, 8, 107, 0.08) !important;
  background-color: #f8fafc !important;
}

.dasilrod-subnav a:hover {
  color: #1833d1 !important;
  background-color: #f1f5f9 !important;
}

.dasilrod-cat-badge .badge {
  letter-spacing: 0.2px;
  white-space: nowrap;
}



. p r o d u c t . o u t o f s t o c k   i m g   {   f i l t e r :   g r a y s c a l e ( 1 0 0 % ) ;   o p a c i t y :   0 . 6 ;   }  
 