/* ===== Categorias Populares - Verde Barcellona ===== */
/* Ocultar titulo */
.elementor-element-ttbsmrv{display:none!important}
/* Ocultar imagen placeholder */
.category-image img[src*="/img/c/en"]{display:none!important}
/* Contenedor icono */
.category-image{display:flex!important;align-items:center;justify-content:center;border-radius:12px;min-height:100px;position:relative;background:#2D6A2D!important;transition:background 0.2s ease}
.category-image:hover{background:#245624!important}
.category-image::before{content:"";display:block;width:56px;height:56px;background-size:contain;background-repeat:no-repeat;background-position:center}
/* Texto blanco */
.category-name a,.category-name{color:#ffffff!important}
.category-image:has(a[href*="id_category=62"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=62"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMyIvPjxwYXRoIGQ9Ik0xOS4wNyA0LjkzbC0xLjQxIDEuNDFNNC45MyA0LjkzbDEuNDEgMS40MU0xMiAydjJNMTIgMjB2Mk00LjkzIDE5LjA3bDEuNDEtMS40MU0xOS4wNyAxOS4wN2wtMS40MS0xLjQxTTIgMTJoMk0yMCAxMmgyIi8+PC9zdmc+")}
.category-image:has(a[href*="id_category=63"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=63"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE0LjcgNi4zYTEgMSAwIDAwMCAxLjRsMS42IDEuNmExIDEgMCAwMDEuNCAwbDMuNzctMy43N2E2IDYgMCAwMS03Ljk0IDcuOTRsLTYuOTEgNi45MWEyLjEyIDIuMTIgMCAwMS0zLTNsNi45MS02LjkxYTYgNiAwIDAxNy45NC03Ljk0bC0zLjc2IDMuNzZ6Ii8+PC9zdmc+")}
.category-image:has(a[href*="id_category=64"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=64"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTYgMkwzIDZ2MTRhMiAyIDAgMDAyIDJoMTRhMiAyIDAgMDAyLTJWNmwtMy00eiIvPjxsaW5lIHgxPSIzIiB5MT0iNiIgeDI9IjIxIiB5Mj0iNiIvPjxwYXRoIGQ9Ik0xNiAxMGE0IDQgMCAwMS04IDAiLz48L3N2Zz4=")}
.category-image:has(a[href*="id_category=65"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=65"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEyIDIyczgtNCA4LTEwVjVsLTgtMy04IDN2N2MwIDYgOCAxMCA4IDEweiIvPjwvc3ZnPg==")}
.category-image:has(a[href*="id_category=66"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=66"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjMiLz48Y2lyY2xlIGN4PSI2IiBjeT0iMTgiIHI9IjMiLz48bGluZSB4MT0iMjAiIHkxPSI0IiB4Mj0iOC4xMiIgeTI9IjE1Ljg4Ii8+PGxpbmUgeDE9IjE0LjQ3IiB5MT0iMTQuNDgiIHgyPSIyMCIgeTI9IjIwIi8+PGxpbmUgeDE9IjguMTIiIHkxPSI4LjEyIiB4Mj0iMTIiIHkyPSIxMiIvPjwvc3ZnPg==")}
.category-image:has(a[href*="id_category=67"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=67"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBvbHlnb24gcG9pbnRzPSIzIDExIDEyIDIgMjEgMTEiLz48cG9seWdvbiBwb2ludHM9IjUgMTcgMTIgMTAgMTkgMTciLz48bGluZSB4MT0iMTIiIHkxPSIyMiIgeDI9IjEyIiB5Mj0iMTciLz48L3N2Zz4=")}
.category-image:has(a[href*="id_category=68"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=68"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGxpbmUgeDE9IjE2LjUiIHkxPSI5LjQiIHgyPSI3LjUiIHkyPSI0LjIxIi8+PHBhdGggZD0iTTIxIDE2VjhhMiAyIDAgMDAtMS0xLjczbC03LTRhMiAyIDAgMDAtMiAwbC03IDRBMiAyIDAgMDAyIDh2OGEyIDIgMCAwMDEgMS43M2w3IDRhMiAyIDAgMDAyIDBsNy00QTIgMiAwIDAwMjEgMTZ6Ii8+PHBvbHlsaW5lIHBvaW50cz0iMy4yNyA2Ljk2IDEyIDEyLjAxIDIwLjczIDYuOTYiLz48bGluZSB4MT0iMTIiIHkxPSIyMi4wOCIgeDI9IjEyIiB5Mj0iMTIiLz48L3N2Zz4=")}
.category-image:has(a[href*="id_category=70"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=70"])::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iMyIgeT0iOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjEzIi8+PHBhdGggZD0iTTEgOWwxMS03IDExIDciLz48cmVjdCB4PSI5IiB5PSIxNCIgd2lkdGg9IjYiIGhlaWdodD0iOCIvPjwvc3ZnPg==")}

/* ===== SECCION COMPLETA VERDE - Minimalista ===== */

/* Fondo verde en toda la seccion */
.elementor-element-cnqpxih {background-color:#2D6A2D!important}

/* Fichas transparentes - sin contenedor visible */
.style3{background:transparent!important;border:none!important;box-shadow:none!important}
.category-item{background:transparent!important;border:none!important}

/* Separadores entre fichas en el slider */
.categories-container .slick-slide{border:none!important;background:transparent!important}

/* Icono sin fondo - el SVG blanco flotante sobre el verde */
.category-image{
  background:transparent!important;
  border:none!important;
  border-radius:0!important;
  min-height:64px!important;
}
.category-image:hover{background:transparent!important}

/* Texto categoria blanco */
.category-name,.category-name a{color:#ffffff!important}

/* Forzar fondo transparente en todos los :has() */
.category-image:has(a[href*="id_category="]){background:transparent!important}

/* Texto blanco - selector especifico para .name dentro de la seccion */
.elementor-element-cnqpxih .name,
.elementor-element-cnqpxih a.name,
.elementor-element-cnqpxih .category-name,
.elementor-element-cnqpxih .category-name a {
  color: #ffffff !important;
}

/* Hover - texto e icono amarillo del sitio #FFEE56 */
.elementor-element-cnqpxih .style3:hover .name,
.elementor-element-cnqpxih .style3:hover a.name,
.elementor-element-cnqpxih .category-item:hover .name,
.elementor-element-cnqpxih .category-item:hover a {
  color: #FFEE56 !important;
  transition: color 0.2s ease;
}

/* Icono hover - filtro CSS para pasar de blanco a amarillo */
.elementor-element-cnqpxih .style3:hover .category-image::before,
.elementor-element-cnqpxih .category-item:hover .category-image::before {
  filter: brightness(0) saturate(100%) invert(85%) sepia(60%) saturate(800%) hue-rotate(5deg) brightness(105%);
  transition: filter 0.2s ease;
}

/* == MENU-FIX: fila única, distribución uniforme (2025-06) == */
@media (min-width: 1025px) {
  #_desktop_megamenu .menu-content {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  #_desktop_megamenu .menu-content .menu-item {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  #_desktop_megamenu .menu-content .menu-item > a {
    font-size: 12.5px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    padding: 0 6px !important;
    text-align: center !important;
  }
}
/* == END MENU-FIX == */


/* == TEXT-TRANSFORM FIX: quitar capitalize de nombres y titulos (2025-06) == */
/* Menu principal */
.main-menu .pos-menu-horizontal .menu-content .menu-item > a,
.main-menu .pos-menu-vertical .menu-content .menu-item > a { text-transform: none !important; }

/* Headings globales (evita capitalize en titulos de productos y categorias) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { text-transform: none !important; }

/* Nombres de categorias en widgets y listados */
.categories-container .category-item > div .category-content .name,
.categories-container .category-item > div .category-content ul li a,
.categories-container .category-item > div .category-content .count,
.categories-container .category-item > div .category-content .link,
.block-categories a.h6,
.block-categories .category-sub-menu li[data-depth="0"] > a,
#subcategories ul li .subcategory-name { text-transform: none !important; }

/* Nombres y caracteristicas de productos */
.product-features > dl.data-sheet dd.value,
.product-features > dl.data-sheet dt.name { text-transform: none !important; }

/* Filtros de busqueda */
#search_filters_wrapper #search_filters .h6,
#search_filters_wrapper #search_filters .facet .facet-title { text-transform: none !important; }
/* == END TEXT-TRANSFORM FIX == */


/* ========================================
   FOOTER: layout limpio sin newsletter
   ======================================== */

/* Ocultar columna Newsletter */
.elementor-element-yoxmkdm { display: none !important; }

/* Redistribuir anchos: logo 25%, Nosotros 25%, Categorías 50% */
.elementor-element-quoyhxs { width: 25% !important; max-width: 25% !important; }
.elementor-element-ujurmaz { width: 25% !important; max-width: 25% !important; }
.elementor-element-pdzacrq { width: 50% !important; max-width: 50% !important; }

/* Categorías: 2 columnas internas (cada una = 25%, igual a Nosotros) */
.elementor-element-axqbdos ul.links-widget-content {
  column-count: 2 !important;
  column-gap: 24px !important;
}
.elementor-element-axqbdos ul.links-widget-content li {
  break-inside: avoid !important;
}

/* Construccion - id 507 */

.category-image:has(a[href*="id_category=507"]){background:#2D6A2D!important}
.category-image:has(a[href*="id_category=507"])::before{background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0zMiA2QzIwLjQgNiAxMS4yIDE1LjEgMTAgMjYuNUg4QzUuOCAyNi41IDQgMjguMyA0IDMwLjV2NGMwIDIuMiAxLjggNCA0IDRoNDhjMi4yIDAgNC0xLjggNC00di00YzAtMi4yLTEuOC00LTQtNGgtMkM1Mi44IDE1LjEgNDMuNiA2IDMyIDZ6Ii8+PHBhdGggZD0iTTEwIDQzLjVoNDR2NGMwIDEuMS0wLjkgMi0yIDJIMTJjLTEuMSAwLTItMC45LTItMnYtNHoiLz48cGF0aCBkPSJNMTggNDkuNWgyOHY0YzAgMS4xLTAuOSAyLTIgMkgyMGMtMS4xIDAtMi0wLjktMi0ydi00eiIvPjwvc3ZnPg==");base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMyIvPjxwYXRoIGQ9Ik0xOS4wNyA0LjkzbC0xLjQxIDEuNDFNNC45MyA0LjkzbDEuNDEgMS40MU0xMiAydjJNMTIgMjB2Mk00LjkzIDE5LjA3bDEuNDEtMS40MU0xOS4wNyAxOS4wN2wtMS40MS0xLjQxTTIgMTJoMk0yMCAxMmgyIi8+PC9zdmc+")}


/* ===== PRODUCT CARD NUEVO DISEÑO v4 ===== */
.product_content .item-product article.js-product-miniature {
  background: #2D6A2D !important;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none !important;
}
.product_content .item-product article.js-product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
}
.product_content .item-product .img_block {
  background: #fff !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  position: relative;
  flex-shrink: 0;
}
.product_content .item-product .img_block img {
  max-height: 150px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  width: auto !important;
}
.product_content .item-product .product-flags {
  position: absolute !important;
  top: 8px; left: 8px;
  list-style: none; padding: 0; margin: 0; z-index: 2;
}
.product_content .item-product .product-flag {
  background: #FFEE56 !important;
  color: #1A1A1A !important;
  font-size: 11px !important; font-weight: 700 !important;
  padding: 3px 9px !important; border-radius: 4px !important;
  display: inline-block; text-transform: uppercase;
}
.product_content .item-product .product_desc {
  padding: 14px 16px 16px !important;
  flex: 1; display: flex; flex-direction: column;
  background: transparent !important;
}
.product_content .item-product .inner_desc {
  display: flex; flex-direction: column; height: 100%;
}
.product_content .item-product .manufacturer,
.product_content .item-product .manufacturer a {
  font-size: 10px !important;
  color: rgba(255,255,255,0.65) !important;
  text-transform: uppercase; letter-spacing: 1px;
  text-decoration: none !important; margin-bottom: 5px; display: block;
}
.product_content .item-product h3.product_name,
.product_content .item-product h3 {
  font-size: 15px !important; font-weight: 700 !important;
  margin: 0 0 8px !important; line-height: 1.3 !important;
}
.product_content .item-product h3 a,
.product_content .item-product h3.product_name a {
  color: #fff !important; text-decoration: none !important;
}
.product_content .item-product h3 a:hover { color: #FFEE56 !important; }
.product_content .item-product .product-desc {
  font-size: 12px !important;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 10px; flex: 1; line-height: 1.5;
}
.product_content .item-product .product-desc ul,
.product_content .item-product .product-desc ol { padding-left: 16px; margin: 0; }
.product_content .item-product .product-desc li { margin-bottom: 2px; }
.product_content .item-product .product-desc p { margin: 0 0 4px; }
.product_content .item-product .price-box { margin-bottom: 12px; }
.product_content .item-product .product-price-and-shipping {
  display: flex !important; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.product_content .item-product .product-price-and-shipping .price {
  font-size: 22px !important; font-weight: 700 !important;
  color: #FFEE56 !important; line-height: 1;
}
.product_content .item-product .product-price-and-shipping .regular-price {
  font-size: 13px !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: line-through !important;
}
.product_content .item-product .add-to-links { margin-top: auto; }
.product_content .item-product .add-to-links ul { list-style: none; padding: 0; margin: 0; }
.product_content .item-product .add-to-links .btn.add-to-cart,
.product_content .item-product .add-to-links .btn-primary {
  background: #E65C00 !important; border-color: #E65C00 !important;
  color: #fff !important; width: 100% !important;
  border-radius: 6px !important; font-weight: 600 !important;
  padding: 10px 14px !important; font-size: 14px !important;
  display: block !important; text-align: center !important;
}
.product_content .item-product .add-to-links .btn.add-to-cart:hover,
.product_content .item-product .add-to-links .btn-primary:hover {
  background: #cc5200 !important; border-color: #cc5200 !important;
}
.product_content .item-product .availability { margin-top: 6px; }
.product_content .item-product .availability .in-stock {
  color: rgba(255,255,255,0.7); font-size: 11px;
}
/* ============================================ */