/**
 * Classic Bootstrap Theme for PrestaShop 8.2.3
 * Replicates the PrestaShop 1.6 default-bootstrap visual design
 * Child theme of "classic"
 *
 * Design tokens from PS 1.6 default-bootstrap:
 * - Font: "Open Sans", sans-serif (300, 600)
 * - Body text: #777
 * - Dark text: #333, #3a3939, #555454
 * - Links: #515151
 * - Header bg: #fff
 * - Nav bar bg: #333
 * - Banner bg: #000
 * - Footer bg: #333
 * - Breadcrumb border: #d6d4d4
 * - Sale/special price: #f13340
 * - New badge: #6ad4ff
 * - Success: #55c65e
 * - Warning/cart: #fe9126
 * - Danger: #f3515c
 * - Input border: #d6d4d4
 * - Input focus: #66afe9
 */

/* ================================================================
   FONTS
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* ================================================================
   BASE / RESET
   ================================================================ */
body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  font-size: 13px;
  line-height: 1.42857;
  color: #777 !important;
  background-color: #fff;

}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  color: #555454;
}

a {
  color: #515151;
  text-decoration: none;
}

a:hover, a:focus {
  color: #333;
  text-decoration: underline;
}
a:active, a:hover {
  outline: 0;
}

p {
  line-height: 24px;
  color: #777;
}

/* ================================================================
   HEADER
   ================================================================ */
#header {
  background: #fff;
  box-shadow: none;
  border-bottom: none;
}

/* Top nav bar (displayNav1, displayNav2) */
#header .header-nav {
  background: #333 !important;
  border-bottom: none;
  min-height: 40px;
  max-height: 40px;
  margin-bottom: 0;
}

#header .header-nav .container {
 /* padding-top: 10px; */
  padding-bottom: 0;
}
#header .header-nav .language-selector,
#header .header-nav .user-info {
  margin: 10px;
  text-align: center;
}

#header .header-nav,
#header .header-nav a,
#header .header-nav .language-selector,
#header .header-nav .material-icons {
  color: #fff !important;
  font-size: 14px;
  font-weight: bold;
}

#header .header-nav a:hover {
  color: #fff !important;
  text-decoration: none;
}

.dropdown .expand-more {
  color: #fff;
}

/* Header top (logo + search + cart) */
#header .header-top {
  background: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: none;
}
#header .header-nav .material-icons {
  line-height:normal;
  height: unset;
}

/* Logo */
#header .header-top .logo {
  max-height: 130px;
}

#_desktop_language_selector:hover, #_desktop_user_info:hover{
  background-color: #719f41;
}
#_desktop_language_selector, #_desktop_user_info{
  border-left: 1px solid #515151;
  border-right: 1px solid #515151;
}
.dropdown-menu {
  background-color: #000;
}
.dropdown-menu .current{
  background-color: #719f41;
}
.dropdown:hover .expand-more{color:#fff;}
#languages-block-top div.current {
  font-weight: bold;
  padding: 8px 10px 10px 10px;
  line-height: 18px;
  color: #fff;
  text-shadow: 1px 1px rgba(0,0,0,0.2);
  cursor: pointer;
}
.dropdown-menu {
  top: 130%;
  left: -28px;
  background-color: #333333;
}
/* ================================================================
   SEARCH BAR
   ================================================================ */

#search_widget form i{background-color: #719f41;}
#search_widget .material-icons {
  display: inline-block;
  width: 1.55em;
  height: 100%;
  color:#fff;
}


#header .header-top #search_widget form input[type="text"],
#search_widget form input[type="text"] {
  border: 1px solid #d6d4d4;
}

#header .header-top #search_widget form input[type="text"]:focus,
#search_widget form input[type="text"]:focus {
  border-color: #66afe9;
  outline: none;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
  #search_widget {
    float: left;
    margin-left: 10em;
  }

/* ================================================================
   SEARCH BAR — MOBILE (100% ancho)
   ================================================================ */
@media (max-width: 767px) {
  #search_widget {
    float: none;
    margin-left: 0;
    width: 100%;
  }

  #search_widget form {
    width: 100%;
    display: flex;
  }

  #search_widget form input[type="text"],
  #header .header-top #search_widget form input[type="text"] {
    width: 100%;
    flex: 1 1 auto;
  }
}


#search_widget form button[type="submit"]:hover {
  background: #555;
  border-color: #555;
}

/* ================================================================
   SHOPPING CART (Header)
   Acotamos los estilos al carrito del header-top y ocultamos
   el del nav en desktop para evitar el doble carrito.
   ================================================================ */

/* Ocultar el carrito del nav en desktop */
.header-nav #_desktop_cart {
  display: none;
}

#header .header-top .blockcart {
  background-color: #000;
  width: 40%;
  float: right;
  height: 100%;
  font-size: 16px;
  padding: 6px 12px;
}
#header .header-top .blockcart a {
  color:#fff !important;
}
/*
.blockcart .header {
  background: #fff;
  color: #333;
}



.blockcart .header .cart-products-count {
  background: #333;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  display: inline-block;
}
*/
/* ================================================================
   MAIN MENU / NAVIGATION
   ================================================================ */
#header .header-top .position-static,
#header .main-menu {
  background: #fff;
}

/* Top horizontal menu */
.top-menu {
  margin-bottom: 0;
}

.top-menu > li > a {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #333 !important;
  padding: 10px 15px;
}

.top-menu > li > a:hover,
.top-menu > li.sfHoverForce > a {
  background: #333;
  color: #fff !important;
}

/* Sub menus */
.top-menu .sub-menu {
  background: #fff;
  border: 1px solid #d6d4d4;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.top-menu .sub-menu a {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}
/*
.top-menu .sub-menu a:hover {
  color: #515151;
}
*/

/* ================================================================
   BREADCRUMB (PS 1.6 style with arrow chevrons)
   ================================================================ */
#wrapper .breadcrumb {
  display: inline-block;
  padding: 0 11px;
  border: 1px solid #d6d4d4;
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  min-height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
}

#wrapper .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

#wrapper .breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #777;
}

#wrapper .breadcrumb li a {
  color: #333;
  padding: 0 8px;
  font-weight: 700;
}

#wrapper .breadcrumb li a:hover {
  color: #777;
  text-decoration: none;
}

#wrapper .breadcrumb li:first-child a {
  font-size: 17px;
  color: #777;
  padding-left: 0;
}

#wrapper .breadcrumb li span[itemprop="name"] {
  color: #333;
}

#wrapper .breadcrumb li:last-child span {
  color: #777;
}

#wrapper .breadcrumb li + li::before {
  content: "›";
  color: #d6d4d4;
  font-size: 14px;
  padding: 0 2px;
}

/* ================================================================
   PRODUCT LISTINGS (Category pages, Home featured)
   ================================================================ */
.products {
  display: flex;
  flex-wrap: wrap;
}

/* ── Tarjeta de producto (grid) ── */
.product-miniature {
  margin-bottom: 25px;
  font-family: "Open Sans", sans-serif;
}

/* Contenedor principal de la tarjeta: borde y sombra en hover */
.product-miniature .grid-item {
  background: #fff;
  border: 1px solid #d6d4d4;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .3s;
}

.product-miniature .grid-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* Zona de imagen: overflow hidden solo aquí para el quick-view */
.product-miniature .grid-item-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-miniature .grid-item-img-wrap .product-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* Zona de info: título + precio + botones */
.product-miniature .grid-item-body {
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.product-miniature .product-title {
  font-size: 14px;
  line-height: 20px;
  color: #3a3939;
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
}

.product-miniature .product-title a {
  color: #3a3939;
  font-weight: 400;
  font-size: 14px;
}

.product-miniature .product-title a:hover {
  color: #719f41;
  text-decoration: none;
}

/* Precio */
.product-miniature .product-price-and-shipping {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

.product-miniature .product-price-and-shipping .price,
.product-miniature .price {
  font: 700 21px/26px "Open Sans", sans-serif !important;
  color: #719f41 !important;
}

.product-miniature .product-price-and-shipping .regular-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  display: block;
}

/* Discount badge */
.product-miniature .discount-percentage,
.product-miniature .discount-amount,
.product-miniature .discount {
  background: #f13340;
  border: 1px solid #d02a2c;
  color: #fff;
  font: 700 14px/17px Arial, Helvetica, sans-serif;
  padding: 1px 6px;
}

/* New / Sale flags */
.product-flag {
  font: 700 14px/12px Arial, Helvetica, sans-serif;
  padding: 8px 10px;
  text-transform: uppercase;
  position: absolute;
  z-index: 2;
}

.product-flag.new {
  background: #6ad4ff;
  color: #fff;
  top: 0;
  left: 0;
}

.product-flag.on-sale,
.product-flag.discount {
  background: #f13340;
  color: #fff;
  top: 0;
  right: 0;
}

.product-flag.pack,
.product-flag.online-only {
  background: #fe9126;
  color: #fff;
}

/* Quick view */
.product-miniature .quick-view,
.product-miniature .highlighted-informations {
  background: rgba(51, 51, 51, 0.8);
  color: #fff;
}

.product-miniature .quick-view:hover {
  background: rgba(51, 51, 51, 0.95);
}

/* ── Botones en tarjeta grid ── */
.grid-item-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: auto;
}

.grid-item-buttons form {
  width: 100%;
}

.grid-item-buttons .btn-add-to-cart {
  display: block;
  width: 100%;
  background: #418600 !important;
  border: none !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  font-family: "Open Sans", sans-serif;
}

.grid-item-buttons .btn-add-to-cart:hover {
  background: #336900 !important;
}

.grid-item-buttons .btn-more {
  display: block;
  width: 100%;
  background: #f5f5f5 !important;
  border: 1px solid #ccc !important;
  color: #333 !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  font-family: "Open Sans", sans-serif;
}

.grid-item-buttons .btn-more:hover {
  background: #e8e8e8 !important;
  text-decoration: none;
}

/* Add to cart button in listing (legacy) */
.product-miniature .add-to-cart,
.product-list .ajax_add_to_cart_button {
  background: #418600;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font: 700 13px/16px "Open Sans", sans-serif;
  padding: 8px 15px;
  border-radius: 2px;
}

.product-miniature .add-to-cart:hover {
  background: #336900;
}

/* ================================================================
   PRODUCT PAGE
   ================================================================ */
.product-container h1 {
  font: 600 25px/30px "Open Sans", sans-serif;
  color: #555454;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* Main product price */
.current-price .current-price-value,
.product-price .current-price-value {
  font: 600 28px/34px "Open Sans", sans-serif !important;
  color: #333 !important;
}

.product-price .regular-price {
  font-size: 20px;
  color: #6f6f6f;
  text-decoration: line-through;
}

.has-discount .discount {
  background: #f13340;
  border: 1px solid #d02a2c;
  font: 600 21px/24px "Open Sans", sans-serif;
  color: #fff;
  padding: 0 5px 0 3px;
  display: inline-block;
}

/* Product reference/sku */
.product-reference span,
.product-quantities span {
  color: #9c9b9b;
  font-size: 13px;
}

/* Product description */
.product-description {
  color: #777;
  font-size: 13px;
  line-height: 22px;
}

/* Section headings on product page */
.product-container .tabs .nav-tabs {
  border-bottom: 3px solid #333;
}

.product-container .tabs .nav-tabs .nav-link {
  font: 600 14px/18px "Open Sans", sans-serif;
  color: #777;
  text-transform: uppercase;
  background: #f0f0f0;
  border: 1px solid #d6d4d4;
  border-bottom: none;
  margin-right: 3px;
  border-radius: 3px 3px 0 0;
  padding: 10px 20px;
}

.product-container .tabs .nav-tabs .nav-link.active,
.product-container .tabs .nav-tabs .nav-link:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* ================================================================
   ADD TO CART BUTTON
   ================================================================ */
.product-add-to-cart .add-to-cart,
.product-container .add-to-cart,
.btn-primary {
  background: #333 !important;
  border: none !important;
  color: #fff !important;
  text-transform: uppercase;
  font: 700 16px/20px "Open Sans", sans-serif !important;
  padding: 10px 28px;
  border-radius: 3px !important;
  letter-spacing: 0;
  transition: background .3s;
}

.product-add-to-cart .add-to-cart:hover,
.product-container .add-to-cart:hover,
.btn-primary:hover {
  background: #555 !important;
  color: #fff !important;
}

/* Quantity input */
.product-quantity .qty .input-group {
  box-shadow: none;
}

.product-quantity .qty input[type="number"] {
  border: 2px solid #d6d4d4;
  border-radius: 3px;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  height: 40px;
}

.product-quantity .qty .input-group .btn {
  background: #f0f0f0;
  border: 2px solid #d6d4d4;
  color: #333;
}

.product-quantity .qty .input-group .btn:hover {
  background: #e0e0e0;
}

/* ================================================================
   CATEGORY PAGE
   ================================================================ */
#category .block-category {
  margin-bottom: 20px;
}

#category .block-category h1 {
  font: 600 22px/26px "Open Sans", sans-serif;
  color: #555454;
  text-transform: uppercase;
  padding: 14px 20px;
  border: 1px solid #d6d4d4;
  border-bottom: 3px solid #333;
  background: #fbfbfb;
  margin-bottom: 0;
}

#category .block-category #category-description {
  color: #777;
  font-size: 13px;
  padding: 10px 0;
}

/* Sort by / Showing results bar */
.products-sort-order .select-title,
.products-sort-order .select-list {
  font-size: 13px;
  color: #333;
}

.products-selection .total-products {
  font-size: 13px;
  color: #999;
}

/* ================================================================
   LEFT COLUMN / SIDEBAR
   ================================================================ */
#left-column .block-categories,
#left-column .facet,
#left-column .block {
  margin-bottom: 20px;
}

#left-column .block-categories .category-top-menu,
#left-column h4,
#left-column .facet .facet-title,
.block .title_block {
  font: 600 14px/18px "Open Sans", sans-serif !important;
  color: #555454 !important;
  text-transform: uppercase;
  padding: 14px 20px 17px;
  margin: 0;
  border: 1px solid #d6d4d4;
  border-bottom: 3px solid #333;
  background: #fbfbfb;
}

#left-column .block-categories .category-sub-menu li a,
#left-column .facet .facet-label a {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 10px;
  display: block;
  border-bottom: 1px solid #f6f6f6;
}

#left-column .block-categories .category-sub-menu li a:hover,
#left-column .facet .facet-label a:hover {
  color: #333;
  background: #f6f6f6;
  text-decoration: none;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 18px;
  transition: all .3s;
}

/* Primary button */
.btn-primary {
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #555 !important;
  border-color: #555 !important;
}

/* Secondary button */
.btn-secondary,
.btn-outline-secondary {
  background: #f0f0f0;
  border: 1px solid #d6d4d4;
  color: #333;
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
  background: #e0e0e0;
  border-color: #ccc;
  color: #333;
}

/* Tertiary - Warning */
.btn-warning {
  background: #fe9126;
  border-color: #e4752b;
  color: #fff;
}

.btn-warning:hover {
  background: #fe840d;
  border-color: #da681c;
  color: #fff;
}

/* Danger */
.btn-danger {
  background: #f3515c;
  border-color: #d4323d;
  color: #fff;
}

.btn-danger:hover {
  background: #f13946;
  border-color: #c32933;
  color: #fff;
}

/* Success */
.btn-success {
  background: #55c65e;
  border-color: #48b151;
  color: #fff;
    max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  box-sizing: border-box;
}

.btn-success:hover {
  background: #42c04c;
  border-color: #419f49;
  color: #fff;
}

/* ================================================================
   FORMS / INPUTS
   ================================================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea,
.form-control {
  border: 1px solid #d6d4d4;
  color: #9c9b9b;
  background: #fff;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 3px;
  box-shadow: none;
  font-family: "Open Sans", sans-serif;
  height: auto;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: #66afe9 !important;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6) !important;
}

label {
  font-weight: 600;
  color: #333;
  font-size: 13px;
}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination {
  display: inline-flex;
}

.pagination .page-item .page-link {
  border: 1px solid #d6d4d4;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  padding: 5px 12px;
  margin: 0 2px;
  border-radius: 3px;
}

.pagination .page-item .page-link:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.pagination .page-item.active .page-link,
.pagination .page-item.current .page-link {
  background: #333;
  border-color: #333;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #d6d4d4;
  background: #fff;
}

/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: #333 !important;
  color: #777;
  font-family: "Open Sans", sans-serif;
  padding-top: 45px;
  padding-bottom: 50px;
}

#footer .container {
  padding-bottom: 40px;
}

#footer .footer-container {
  background: #333;
}

#footer a {
  color: #777;
  font-weight: 700;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}

#footer a:hover {
  color: #fff;
  text-decoration: none;
}

#footer h4, #footer h4 a,
#footer .h4 {
  font: 600 18px/22px "Open Sans", sans-serif !important;
  color: #719f41 !important;
  margin: 0 0 13px 0;
  text-transform: none;
}

#footer ul li {
  padding-bottom: 8px;
}

#footer .links .collapse {
  display: block;
}

/* Footer - Contact info block */
#footer .block-contact {
  border-left: 1px solid #515151;
  padding-left: 20px;
}

#footer .block-contact .block-contact-title {
  color: #fff;
}

#footer .block-contact i,
#footer .block-contact .material-icons {

  text-align: center;
  padding-right: 12px;
 
  color: #7a7a7a;
}

/* Footer social block */
#footer .social-sharing {
  float: left;
  padding: 22px 15px 0;
}

#footer .social-sharing a {
  display: inline-block;
  color: #908f8f;
  font-size: 28px;
  width: 40px;
  text-align: center;
}

#footer .social-sharing a:hover {
  color: #fff;
}

/* Footer bottom */
#footer .footer-copyright {
  border-top: 1px solid #515151;
  padding-top: 15px;
  color: #777;
  font-size: 12px;
}

/* ================================================================
   NEWSLETTER BLOCK
   ================================================================ */
.block_newsletter {
  background: #333;
  padding: 20px 0;
}

.block_newsletter input[type="email"] {
  border: 2px solid #d6d4d4;
  border-right: none;
  padding: 8px 15px;
  height: 42px;
  font-size: 13px;
  border-radius: 3px 0 0 3px;
  background: #fff;
}

.block_newsletter .btn-primary,
.block_newsletter [type="submit"] {
  background: #333 !important;
  border: 2px solid #d6d4d4 !important;
  border-left: none !important;
  color: #fff !important;
  height: 42px;
  border-radius: 0 3px 3px 0 !important;
}

/* ================================================================
   CHECKOUT / CART
   ================================================================ */
.cart-grid .cart-container {
  background: #fff;
}

.cart-grid .cart-items .cart-item {
  border-bottom: 1px solid #d6d4d4;
  padding: 15px 0;
}

.cart-grid .cart-item .product-line-info .label {
  color: #333;
  font-weight: 600;
}

.cart-grid .cart-item .product-price {
  font: 600 18px/22px "Open Sans", sans-serif;
  color: #333;
}

.cart-grid .cart-summary {
  background: #fbfbfb;
  border: 1px solid #d6d4d4;
  padding: 20px;
}

.cart-grid .cart-summary .cart-summary-line {
  padding: 5px 0;
}

.cart-grid .cart-summary .cart-total {
  font: 600 18px/22px "Open Sans", sans-serif;
  color: #333;
  border-top: 1px solid #d6d4d4;
  padding-top: 15px;
}

/* Checkout button */
.checkout .btn-primary,
a.btn-primary {
  background: #333 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* ================================================================
   CHECKOUT STEPS
   ================================================================ */
.checkout-step {
  border-bottom: 1px solid #d6d4d4;
  padding: 15px 0;
}

.checkout-step .step-title {
  font: 600 18px/22px "Open Sans", sans-serif;
  color: #333;
  text-transform: uppercase;
}

.checkout-step .step-number {
  display: inline-block;
  background: #333;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  font-weight: 700;
}

.checkout-step.-complete .step-title {
  color: #55c65e;
}

.checkout-step.-complete .step-number {
  background: #55c65e;
}

/* ================================================================
   CUSTOMER / MY ACCOUNT PAGES
   ================================================================ */
.page-my-account #content .links a {
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.page-my-account #content .links a:hover {
  color: #515151;
}

.page-my-account #content .links a i,
.page-my-account #content .links a .material-icons {
  font-size: 50px;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

/* ================================================================
   ALERTS & NOTIFICATIONS
   ================================================================ */
.alert {
  font-weight: 700;
  font-size: 13px;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

/* ================================================================
   TABLES
   ================================================================ */
.table {
  border: 1px solid #d6d4d4;
}

.table thead th {
  background: #fbfbfb;
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #d6d4d4;
  font-size: 13px;
  padding: 10px;
}

.table td {
  color: #777;
  font-size: 13px;
  padding: 10px;
  border-top: 1px solid #d6d4d4;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #f9f9f9;
}

/* ================================================================
   SECTION HEADINGS (page_product_box style)
   ================================================================ */
.featured-products h2,
.product-accessories h2,
.products-section-title,
#content h1 {
  font: 600 18px/20px "Open Sans", sans-serif;
  color: #555454;
  text-transform: uppercase;
  padding: 14px 20px 17px;
  margin: 0 0 20px;
  position: relative;
  border: 1px solid #d6d4d4;
  border-bottom: 3px solid #333;
  background: #fbfbfb;
}

/* ================================================================
   COLUMNS / CONTAINER
   ================================================================ */
#columns,
.columns-container {
  background: #fff;
}

#wrapper {
  padding-top: 15px;
  padding-bottom: 50px;
  background: #fff;
}

/* ================================================================
   REASSURANCE BLOCK
   ================================================================ */
.blockreassurance {
  border-top: 1px solid #d6d4d4;
  padding: 20px 0;
}

.blockreassurance .block-icon {
  color: #333;
}

.blockreassurance .block-title {
  font-weight: 700;
  color: #333;
  font-size: 13px;
}

/* ================================================================
   SLIDER / BANNER
   ================================================================ */
#carousel {
  margin-bottom: 0;
}

.ps-banner {
  margin: 20px 0;
}

/* ================================================================
   SOCIAL SHARING
   ================================================================ */
.social-sharing li a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #333;
  color: #fff;
  border-radius: 50%;
  margin-right: 5px;
  font-size: 16px;
}

.social-sharing li a:hover {
  background: #555;
  color: #fff;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-form .form-group label {
  font-weight: 600;
  color: #333;
}

/* ================================================================
   CMS PAGES
   ================================================================ */
/*.cms-page-content {
  color: #777;
  line-height: 24px;
}

.cms-page-content h2 {
  font: 600 18px/22px "Open Sans", sans-serif;
  color: #555454;
  border-bottom: 1px solid #d6d4d4;
  padding-bottom: 10px;
  margin-bottom: 15px;
} */
.page-content img {margin-bottom: 10px;}

/* ================================================================
   404 PAGE
   ================================================================ */
.page-not-found h1 {
  font-size: 60px;
  color: #333;
}

.page-not-found .search-widget {
  margin: 30px auto;
  max-width: 450px;
}
#search_widget form input {
  padding: 10px 20px 10px 50px;
}
/* ================================================================
   SPECIAL PRICE COLORS
   ================================================================ */
.has-discount .discount,
.product-price .discount {
  color: #f13340;
}

.product-price .regular-price,
.has-discount .regular-price {
  color: #6f6f6f;
  text-decoration: line-through;
}

/* ================================================================
   PRODUCT VARIANTS
   ================================================================ */
.product-variants .product-variants-item label {
  font-weight: 600;
  color: #333;
  font-size: 13px;
}

.product-variants .color {
  width: 24px;
  height: 24px;
  border: 1px solid #d6d4d4;
  border-radius: 50%;
  margin-right: 5px;
}

.product-variants .color.active,
.product-variants .color:hover {
  border: 2px solid #333;
}

.product-variants select {
  border: 1px solid #d6d4d4;
  color: #555;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 3px;
}

/* ================================================================
   PRODUCT COMMENTS / REVIEWS
   ================================================================ */
.product-comment-list-item {
  border-bottom: 1px solid #d6d4d4;
  padding: 15px 0;
}

.product-comment-list-item .comment-author {
  font-weight: 700;
  color: #333;
}

.product-comment-list-item .star-content .star-full {
  color: #fe9126;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 767px) {
  #header .header-nav {
    max-height: none;
    padding: 5px 0;
  }

  #header .header-top .logo {
    max-height: 45px;
    margin: 0 auto;
    display: block;
  }

  .product-miniature .thumbnail-container {
    margin-bottom: 15px;
  }

  /* ================================================================
     FOOTER MÓVIL — acordeón con icono + circular (estilo captura)
     ================================================================ */

  #footer {
    background: #3a3939 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer-container {
    background: #3a3939 !important;
  }

  /* Eliminar márgenes negativos de Bootstrap .row */
  #footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #footer .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Cada bloque ocupa el 100% con separador inferior */
  #footer .links,
  #footer [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #4a4a4a;
  }

  /* Ocultar el <h4> estático de desktop */
  #footer .links h4,
  #footer .links .h4 {
    display: none !important;
  }
  #footer .h3, #footer h3{
  color:#719f41;
  text-transform:none;
}


  /* Título del acordeón (.title): flex con texto a la izq e icono a la der */
  #footer .links .title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font: 700 17px/1.3 "Open Sans", sans-serif !important;
    color: #719f41 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 22px 15px !important;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    text-transform: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
  }

  /* Ocultar el chevron/icono original del módulo */
  #footer .links .title .material-icons,
  #footer .links .title i {
    display: none !important;
  }

  /* Icono + dentro de un círculo verde (igual que la captura) */
  #footer .links .title::after {
    content: "\002B";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 2px solid #719f41;
    border-radius: 50%;
    color: #719f41;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin-left: 10px;
  }

  /* Cuando está expandido: cambia a − */
  #footer .links .title[aria-expanded="true"]::after {
    content: "\2212";
  }

  /* Contenido colapsado por defecto */
  #footer .links .collapse {
    display: none !important;
  }

  #footer .links .collapse.show,
  #footer .links .collapse.in {
    display: block !important;
  }

  /* Lista de links interior */
  #footer ul {
    padding: 0 15px 18px 15px !important;
    margin: 0 !important;
    list-style: none !important;
    background-color: #3a3939;
  }

  #footer ul li {
    padding-bottom: 8px;
  }

  #footer a {
    color: #888;
  }

  #footer .block-contact {
    border-left: none;
    padding-left: 0;
  }

  #footer .social-sharing {
    float: none;
    padding: 15px;
    border-bottom: 1px solid #4a4a4a;
  }

  .featured-products h2,
  .product-accessories h2,
  .products-section-title,
  #content h1 {
    font-size: 16px;
    padding: 10px 15px 13px;
  }

  #category .block-category h1 {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .product-miniature .product-title a {
    font-size: 13px;
  }

  .product-miniature .price {
    font-size: 18px !important;
  }
}

@media (min-width: 992px) {
  .top-menu > li {
    display: inline-block;
  }

  .top-menu > li > a {
    padding: 10px 20px;
  }
}

/* ================================================================
   UTILITIES / HELPERS
   ================================================================ */
.dark {
  color: #333;
}

.text-muted {
  color: #999 !important;
}

.bold,
strong {
  font-weight: 700;
}

.separator {
  border-top: 1px solid #d6d4d4;
}

/* Override any remaining Material Design / Noto Sans fonts from classic */
.material-icons {
  font-family: 'Material Icons';
}

* {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

/* Ensure all price displays are consistent */
.price,
[itemprop="price"],
.product-price {
  font-family: "Open Sans", sans-serif;
}

/* Override classic theme card shadows */
.card {
  border: 1px solid #d6d4d4;
  border-radius: 0;
  box-shadow: none;
}

.card-header {
  background: #fbfbfb;
  border-bottom: 1px solid #d6d4d4;
}

/* Modal overrides */
.modal-header {
  background: #333;
  color: #fff;
}

.modal-header .close {
  color: #fff;
  opacity: .8;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  font-size: 13px;
  color: #777;
}

/* Ensure consistent border style */
hr {
  border-top: 1px solid #d6d4d4;
}

/* Product availability */
.product-availability {
  font-size: 13px;
  font-weight: 700;
}

.product-availability .material-icons {
  font-size: 16px;
}

.product-availability .product-available {
  color: #55c65e;
}

.product-availability .product-unavailable {
  color: #f13340;
}

.product-availability .product-last-items {
  color: #fe9126;
}

/* Home */
#home-page-tabs > li a {
  font: 600 21px/24px "Open Sans",sans-serif;
  color: #555454;
  text-transform: uppercase;
  border: none;
  outline: none;
  margin: 0;
  padding: 10px;
  background: #719f41;
  color: white;
}
@media (min-width: 991px) {
  #home-page-tabs > li {
    border-left: 1px solid #d6d4d4;
    margin: 0 0 0 9px;
    padding: 0 0 0 9px;
  }
}
#home-page-tabs > li {
  margin-bottom: 0;
  float:left;
}

table {
  max-width: 100%;
  background-color: transparent;
  vertical-align: baseline;
  margin-bottom:15px;
}

table td {
  padding: 9px 10px;
}

/* ============================================================
   COLUMNA 3 — Precio + Carrito (estilo euro-soccer-cards)
   ============================================================ */

/* Contenedor general: borde y fondo ligero como en la referencia */
.col-md-3 .product-actions {
  border: 1px solid #d6d4d4;
  background: #fff;
  padding: 15px;
  margin-bottom: 12px;
}

/* ── PRECIO ── */
/* Tamaño grande, negro, sin márgenes extra */
.col-md-3 .product-prices {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.col-md-3 .product-price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
}

/* Texto "impuestos inc." en gris y más pequeño */
.col-md-3 .tax-shipping-delivery-label {
  font-size: 0.8rem;
  color: #777;
  display: block;
  margin-top: 2px;
}

/* Precio tachado (si hay descuento) */
.col-md-3 .regular-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
}

/* ── CANTIDAD ── */
/* Label "Cantidad" en negrita encima del input */
.col-md-3 .product-quantity {
  margin-bottom: 10px;
}

.col-md-3 .product-quantity .label,
.col-md-3 .product-quantity label {
  display: block;
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #333;
  text-transform: uppercase;
}

/* Input de cantidad: borde simple, sin decoración extra */
.col-md-3 #quantity_wanted {
  width: 60px;
  height: 34px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 1rem;
  padding: 0 6px;
}

/* Botones +/- del spinner (si los tiene el tema) */
.col-md-3 .input-group-btn-vertical .btn {
  background: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  padding: 2px 8px;
}

/* ── BOTÓN AÑADIR AL CARRITO ── */
/* Verde, ancho completo, mayúsculas */
.col-md-3 .add-to-cart {
  width: 100%;
  background-color: #418600;
  border-color: #418600;
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: 2px;
  margin-top: 8px;
  transition: background-color 0.2s;
}

.col-md-3 .add-to-cart:hover {
  background-color: #336900;
  border-color: #336900;
}

/* ── AVISO STOCK ── */
/* Texto naranja con fondo claro cuando quedan pocas unidades */
.col-md-3 .product-availability {
  font-size: 0.85rem;
  padding: 5px 0;
}

/* ── LOGO DE PAGO ── */
.col-md-3 .payment-logos {
  border: 1px solid #d6d4d4;
  background: #fff;
  padding: 10px;
  text-align: center;
}

.col-md-3 .payment-logos img {
  max-width: 100%;
  height: auto;
}

/* ── MENSAJE MÍNIMO DE CANTIDAD ── */
.col-md-3 .product-minimal-quantity {
  font-size: 0.8rem;
  color: #555;
  margin-top: 4px;
}

/* ============================================================
   COLUMNA 3 — Spinner de cantidad (TouchSpin, tema Classic PS)
   ============================================================ */

/* Contenedor del grupo input+botones */
.col-md-3 .product-quantity .input-group {
  width: auto;
  display: flex;
  align-items: stretch;
  border: 1px solid #ccc;
  border-radius: 2px;
  overflow: hidden;
}

/* Input de cantidad */
.col-md-3 .product-quantity input#quantity_wanted {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-radius: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  padding: 0;
  box-shadow: none;
  -moz-appearance: textfield; /* quita flechas nativas en Firefox */
}

/* Quita flechas nativas en Chrome/Safari */
.col-md-3 .product-quantity input#quantity_wanted::-webkit-inner-spin-button,
.col-md-3 .product-quantity input#quantity_wanted::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Botones + y − generados por TouchSpin */
.col-md-3 .product-quantity .input-group-btn button.btn.js-touchspin,
.col-md-3 .product-quantity .bootstrap-touchspin-up,
.col-md-3 .product-quantity .bootstrap-touchspin-down {
  width: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-md-3 .product-quantity .input-group-btn button.btn.js-touchspin:hover,
.col-md-3 .product-quantity .bootstrap-touchspin-up:hover,
.col-md-3 .product-quantity .bootstrap-touchspin-down:hover {
  background: #e0e0e0;
  color: #000;
}

/* Icono — el tema Classic usa .material-icons dentro del botón */
.col-md-3 .product-quantity .btn.js-touchspin .material-icons {
  font-size: 1rem;
  line-height: 1;
}

/* Etiqueta "Cantidad" encima del spinner */
.col-md-3 .product-quantity > label,
.col-md-3 .product-quantity .product-quantity-label {
  display: block;
  font-weight: bold;
  font-size: 0.82rem;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Mensaje de mínimo bajo el spinner */
.col-md-3 .product-quantity .product-minimal-quantity {
  font-size: 0.78rem;
  color: #888;
  margin-top: 5px;
  display: block;
}



/* ── Contenedor de paginación ── */
nav.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: #333;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin: 10px 0 20px;
}

.pagination-summary {
  font-size: 13px;
  color: #333;
}

/* ── Lista de páginas ── */
nav.pagination ul.page-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3px;
}

nav.pagination ul.page-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

nav.pagination ul.page-list li a:hover {
  background: #f0f0f0;
  color: #000;
}

/* Página activa */
nav.pagination ul.page-list li.current a {
  background: #fff;
  border-color: #333;
  font-weight: bold;
  color: #000;
}

/* Previo / Siguiente — sin borde de caja, solo texto */
nav.pagination ul.page-list li a.previous,
nav.pagination ul.page-list li a.next {
  border: none;
  background: transparent;
  font-weight: 600;
  padding: 0 8px;
  min-width: auto;
}

nav.pagination ul.page-list li a.previous:hover,
nav.pagination ul.page-list li a.next:hover {
  background: transparent;
  text-decoration: underline;
}

/* Spacer (...) */
nav.pagination ul.page-list li .spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  font-size: 13px;
  color: #333;
}

/* ── Botón Mostrar todos ── */
.btn-show-all {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  margin-left: 12px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-show-all:hover {
  background: #f0f0f0;
  color: #000;
}

/* ══════════════════════════════════════════
   SELECTOR VISTA CUADRÍCULA / LISTA
   ══════════════════════════════════════════ */

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 15px;
}

.view-toggle-label {
  font-size: 13px;
  color: #333;
  margin-right: 4px;
  white-space: nowrap;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: #fff;
  color: #bbb;
  text-decoration: none;
  transition: all 0.2s;
}

.view-toggle-btn:hover {
  border-color: #999;
  color: #555;
  text-decoration: none;
}

.view-toggle-btn.active {
  border-color: #333;
  color: #333;
}


/* ══════════════════════════════════════════
   VISTA CUADRÍCULA (por defecto)
   ══════════════════════════════════════════ */

#js-product-list.grid-view .products {
  display: flex;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════
   VISTA CUADRÍCULA — ocultar list-item
   ══════════════════════════════════════════ */
.product-miniature .list-item { display: none; }
.product-miniature .grid-item { display: flex; flex-direction: column; }

#js-product-list.grid-view .products {
  display: flex;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   VISTA LISTA
   ══════════════════════════════════════════ */

/* En lista: ocultar grid-item, mostrar list-item */
#js-product-list.list-view .product-miniature .grid-item { display: none !important; }
#js-product-list.list-view .product-miniature .list-item { display: flex !important; }

/* Cada miniatura ocupa 100% del ancho */
#js-product-list.list-view .products {
  display: flex;
  flex-direction: column;
}

#js-product-list.list-view .product-miniature {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Fila de lista: 3 columnas ── */
.list-item {
  display: none; /* oculto por defecto (vista grid) */
  flex-direction: row;
  align-items: stretch;
  border-bottom: 1px solid #e0e0e0;
  min-height: 180px;
}

/* Col 1: Imagen */
.list-item-img {
  display: block;
  flex: 0 0 270px;
  width: 270px;
  border-right: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

.list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

/* Col 2: Info (título + descripción + stock) */
.list-item-info {
  flex: 1 1 auto;
  padding: 20px 25px;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.list-item-info .product-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: left;
  text-transform: none;
  border: none;
  background: none;
  padding: 0;
}

.list-item-info .product-title a {
  color: #333;
  text-decoration: none;
}

.list-item-info .product-title a:hover {
  color: #719f41;
}

.list-item-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* Badges de disponibilidad */
.badge-availability {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  color: #fff;
}

.badge-available   { background: #55c65e; }
.badge-last        { background: #fe9126; }
.badge-unavailable { background: #f13340; }

/* Col 3: Precio + botones */
.list-item-actions {
  flex: 0 0 220px;
  width: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  background: #fff;
}

.list-item-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-item-price .price {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #719f41 !important;
  line-height: 1.2;
}

.list-item-price .regular-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.list-item-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item-buttons .btn-add-to-cart {
  display: block;
  width: 100%;
  background: #418600 !important;
  border: none !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.list-item-buttons .btn-add-to-cart:hover {
  background: #336900 !important;
}

.list-item-buttons .btn-more {
  display: block;
  width: 100%;
  background: #f5f5f5 !important;
  border: 1px solid #ccc !important;
  color: #333 !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.list-item-buttons .btn-more:hover {
  background: #e8e8e8 !important;
  text-decoration: none;
}

/* Ocultar quick view en lista */
#js-product-list.list-view .highlighted-informations {
  display: none !important;
}
/* ================================================================
   BARRA SUPERIOR DE LISTADO (productos-top)
   ================================================================ */
#js-product-list-top.products-selection {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  margin-bottom: 15px;
}

.products-selection-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Total de productos — izquierda */
.products-selection-row .total-products {
  flex: 1 1 auto;
  font-size: 13px;
  color: #333;
  margin: 0;
  min-width: 120px;
}

.products-selection-row .total-products p {
  margin: 0;
  line-height: 1.4;
}

/* Bloque ordenar por — centro */
.products-selection-row .sort-by-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.products-selection-row .sort-by-label {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  font-weight: 600;
}

.products-selection-row .products-sort-order {
  position: relative;
}

.products-selection-row .products-sort-order .select-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #333;
  border: 1px solid #d6d4d4;
  padding: 5px 10px;
  background: #fff;
  cursor: pointer;
  min-width: 160px;
  justify-content: space-between;
}

.products-selection-row .products-sort-order .dropdown-menu {
  min-width: 160px;
  z-index: 100;
}

/* Botones de vista — derecha */
.products-selection-row .view-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================================
   COLUMNA 3 — Botón Añadir al carrito: verde, ancho completo,
   debajo del spinner. Sobreescribe el !important del gris.
   ============================================================ */

/* Forzar display en bloque para que quede DEBAJO del spinner */
.col-md-3 .product-add-to-cart,
.col-md-3 .product-quantity {
  display: block !important;
  width: 100%;
}

/* El botón ocupa todo el ancho y va separado del spinner */
.col-md-3 .product-add-to-cart .add-to-cart,
.col-md-3 .product-actions .add-to-cart,
.col-md-3 .js-product-actions .add-to-cart {
  display: block !important;
  width: 100% !important;
  background: #418600 !important;
  background-color: #418600 !important;
  border: 2px solid #418600 !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-align: center;
  padding: 5px 7px !important;
  border-radius: 3px !important;
  margin-top: 12px !important;
  cursor: pointer;
  transition: background 0.2s !important;
  letter-spacing: 0.03em;
}

.col-md-3 .product-add-to-cart .add-to-cart:hover,
.col-md-3 .product-actions .add-to-cart:hover,
.col-md-3 .js-product-actions .add-to-cart:hover {
  background: #336900 !important;
  background-color: #336900 !important;
  border-color: #336900 !important;
  color: #fff !important;
}


.col-md-3 .add-to-cart .material-icons {
  vertical-align: top;
  font-size: 1.3rem;
}
.material-icons .product-last-items,
.material-icons .product-unavailable{vertical-align: text-bottom;}
/* ================================================================
   LOGO MÓVIL — encima de la búsqueda, grande y centrado
   ================================================================ */
@media (max-width: 991px) {

  /* Logo: ancho completo, centrado y grande */
  #header .header-top #_desktop_logo {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
  }

  #header .header-top #_desktop_logo a {
    display: block !important;
  }

  #header .header-top #_desktop_logo .logo {
    max-height: none !important;
    width: 50% !important;
    max-width: 360px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Reordenar header-top: logo arriba, búsqueda abajo */
  #header .header-top .container > .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #header .header-top .container > .row > #_desktop_logo {
    order: 1 !important;
  }

  #header .header-top .container > .row > .header-top-right {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ================================================================
   IDIOMA + SESIÓN MÓVIL — visibles como texto en la barra oscura
   ================================================================ */
@media (max-width: 991px) {

  /* Contenedor general del nav móvil: flex para alinear bien */
  .header-nav .mobile {
    display: flex !important;
    justify-content: flex-end !important;

    width: 100% !important;
    padding: 0 10px !important;
    min-height: 40px !important;
  }


  /* Selector de idioma — texto blanco */
  #_mobile_language_selector {
    float: none !important;
    order: 2;
    display: flex !important;
    align-items: center !important;
  }

  #_mobile_language_selector .language-selector,
  #_mobile_language_selector a,
  #_mobile_language_selector .expand-more,
  #_mobile_language_selector .current {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
  }

  #_mobile_language_selector .dropdown-toggle,
  #_mobile_language_selector button {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    padding: 5px 8px !important;
  }

  /* Iniciar sesión — texto blanco */
  #_mobile_user_info {
    float: none !important;
    order: 3;
    display: flex !important;
    align-items: center !important;
  }

  #_mobile_user_info a,
  #_mobile_user_info .user-info {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
  }

  /* Ocultar icono de persona, mostrar solo el texto */
  #_mobile_user_info .material-icons {
    display: none !important;
  }

  #_mobile_user_info .hidden-sm-down {
    display: inline !important;
  }
}

/* Ocultar etiqueta "Language:" en el selector móvil */
#language-selector-label {
  display: none !important;
}
@media (max-width: 767px) {
  .footer-container .links ul > li {
    border-bottom: none !important;
  }
}

/* ================================================================
   TABLA .egt — RESPONSIVE
   ================================================================ */

/* Eliminar el ancho/alto fijo del atributo HTML */
table.egt {
  width: 100% !important;
  height: auto !important;
}

/* En móvil: convertir filas y celdas en bloques apilados */
@media (max-width: 767px) {
  table.egt,
  table.egt tbody,
  table.egt tr,
  table.egt td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  table.egt td {
    text-align: center !important;
    padding: 15px 10px !important;
    border-bottom: 1px solid #e5e5e5;
  }

  table.egt td img {
    max-width: 60% !important;
    height: auto !important;
  }
}

/* En tablet: 2 columnas */
@media (min-width: 768px) and (max-width: 991px) {
  table.egt,
  table.egt tbody,
  table.egt tr {
    display: block !important;
  }

  table.egt tr {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  table.egt td {
    display: block !important;
    width: 50% !important;
    box-sizing: border-box;
    padding: 15px !important;
  }

  table.egt td img {
    max-width: 80% !important;
    height: auto !important;
  }
}

/* Escritorio: corregir el error width: 33px → 33% */
@media (min-width: 992px) {
  table.egt td {
    width: 33.333% !important;
  }

  table.egt td img {
    height: auto !important;
  }
}


/* En móvil: ocultar botones de cambio de vista (siempre cuadrícula) */
@media (max-width: 767px) {
  .view-toggle {
    display: none !important;
  }

  #header .header-top .blockcart,
  .blockcart {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
    margin-top:20px;
  }
}

/* ================================================================
   BOTÓN AÑADIR AL CARRITO — Sin stock (disabled)
   ================================================================ */

/* Ficha de producto */
.product-add-to-cart .add-to-cart:disabled,
.product-container .add-to-cart:disabled,
.col-md-3 .add-to-cart:disabled {
  background: #999 !important;
  border-color: #999 !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}
.product-add-to-cart .add-to-cart:disabled:hover,
.product-container .add-to-cart:disabled:hover,
.col-md-3 .add-to-cart:disabled:hover {
  background: #888 !important;
  border-color: #888 !important;
}

/* Listados (grid y list view) */
.grid-item-buttons .btn-add-to-cart:disabled,
.list-item-buttons .btn-add-to-cart:disabled {
  background: #999 !important;
  border-color: #999 !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}
.grid-item-buttons .btn-add-to-cart:disabled:hover,
.list-item-buttons .btn-add-to-cart:disabled:hover {
  background: #888 !important;
  border-color: #888 !important;
}

#custom-text{padding: 0px !important;}
/* Iconos sociales del footer — cambia el color con filter */
.block-social ul li{background-color: #333;}
.tiktok{
  background-image: url(../css/tiktok.svg);
}

/* ================================================================
   PÁGINAS CMS — Tarjetas de archivo (Fifa 365, etc.)
   Igualar alturas, alinear botones al fondo y que no desborden,
   tanto en móvil como en escritorio.
   ================================================================ */
 
/* Cada .row se comporta como contenedor flex para igualar columnas */
.page-cms .container-fluid .row,
.page-cms #content .row {
  display: flex;
  flex-wrap: wrap;
}
 
/* Cada columna apila su contenido en vertical */
.page-cms .container-fluid .row > [class*="col-md-"],
.page-cms #content .row > [class*="col-md-"] {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}
 
/* El último párrafo (el que lleva el botón) se empuja al fondo
   para que todos los botones queden alineados a la misma altura */
.page-cms .container-fluid .row > [class*="col-md-"] > p:last-child,
.page-cms #content .row > [class*="col-md-"] > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
}
 
/* El enlace que envuelve el botón ocupa todo el ancho de la tarjeta */
.page-cms .row > [class*="col-md-"] > p:last-child > a {
  display: block;
  width: 100%;
}
 
/* Botón verde: ancho completo, texto que salta de línea sin desbordar */
.page-cms .btn-success {
  display: block;
  width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  padding: 10px 15px;
  box-sizing: border-box;
}
 
/* Imágenes de las tarjetas: que nunca se salgan del contenedor */
.page-cms .row [class*="col-md-"] img {
  max-width: 100%;
  height: auto;
}
 
/* En móvil cada tarjeta ocupa el ancho completo y se apila */
@media (max-width: 767px) {
  .page-cms .container-fluid .row,
  .page-cms #content .row {
    flex-direction: column;
  }
 
  .page-cms .container-fluid .row > [class*="col-md-"],
  .page-cms #content .row > [class*="col-md-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.block-social a{color:#fff;}