/*
 * agence14bis Theme for PrestaShop 9.x
 * Faithful port from PS 1.5.x original CSS
 * Designed by crear & co — https://www.crear-digital.com/
 * Design: mitinta.es - Ink Cartridges Shop (Spain)
 *
 * COLOR PALETTE:
 *   Dark nav:     #1e1e21
 *   Orange accent:#F2532F
 *   Pink accent:  #FF029B / #FF0299
 *   Light blue:   #01B7E9  (footer background)
 *   Body text:    #3D3D3D
 *   Background:   #fff
 *
 * FONTS:
 *   Body:         PT Sans Narrow, sans-serif
 *   Headers/Nav:  Oswald, sans-serif
 */

/* Base grid/components from the parent "classic" theme (bootstrap-based).
   Without this, every hook template (cart, account, listing, forms) renders
   with no layout at all, since only the active theme's own theme.css is
   auto-loaded by PrestaShop — the parent's is not included automatically. */
@import url('../../../classic/assets/css/theme.css');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&family=PT+Sans+Narrow:wght@400;700&display=swap');

/* =========================================================
   RESET / BASE
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f5f5;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 20px 20px;
  color: #3D3D3D;
  font-size: 13px;
  font-family: 'PT Sans Narrow', PTSansNarrow, Arial, sans-serif;
}

/* =========================================================
   COLUMNA DERECHA HOMEPAGE
   ========================================================= */
.index-right-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  padding-left: 10px;
  font-family: 'PT Sans Narrow', PTSansNarrow, Arial, sans-serif;
}
.irc-block {
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  margin: 0 4px 10px;
}
.irc-block-icon { font-size: 24px; margin-bottom: 4px; display: block; }
.irc-stars {
  background: #ff3399;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}
.irc-stars .irc-pct { font-size: 28px; font-weight: 900; }
.irc-stars .irc-stars-row { font-size: 20px; letter-spacing: 2px; color: #ffe082; }
.irc-price {
  background: #f9e200;
  color: #1e1e21;
}
.irc-price .irc-price-val { font-size: 26px; font-weight: 900; color: #ff3399; }
.irc-price .irc-price-lbl { font-size: 12px; text-transform: uppercase; }
.irc-saving {
  background: #ff3399;
  color: #fff;
}
.irc-saving .irc-saving-pct { font-size: 28px; font-weight: 900; }
.irc-saving small { font-size: 11px; }
.irc-delivery {
  background: #f9e200;
  color: #1e1e21;
}
.irc-delivery .irc-del-num { font-size: 32px; font-weight: 900; line-height: 1; }
.irc-delivery .irc-del-lbl { font-size: 13px; font-weight: bold; }
.irc-delivery small { font-size: 11px; }
.irc-trust {
  background: #01B7E9;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}
.irc-reasons {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
  text-align: left;
}
.irc-reasons h4 { font-size: 13px; font-weight: 700; margin: 0 0 8px; text-transform: uppercase; }
.irc-reasons ul { margin: 0; padding: 0; list-style: none; }
.irc-reasons ul li { margin-bottom: 6px; padding-left: 20px; position: relative; }
.irc-reasons ul li::before { content: '✔'; position: absolute; left: 0; color: #01B7E9; font-size: 11px; }

a {
  color: #3D3D3D;
  text-decoration: none;
  transition: all 200ms ease-in-out;
}
a:hover {
  text-decoration: underline;
  color: #000;
}
:focus { outline: 0; }

img { border: 0; vertical-align: top; }

h1 { font-weight: 300; }
h2, h3, h4, h5, h6 {
  color: #3d3d3d;
  font-weight: 300;
  margin-bottom: .45em;
}
h2 { font-size: 24px; }
h3 { font-size: 1.7em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.05em; }

ul, ol { list-style: none; }
p { margin: 0 0 1em; }
strong { font-weight: bold; }

/* =========================================================
   LAYOUT - WRAPPER / PAGE
   ========================================================= */
#wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Two-column layout — let Bootstrap flex handle widths */
#left-column { padding: 0 0 1px; }
#main { padding: 0 0 1px; position: relative; }
#right-column { padding: 0 0 1px 10px; background: transparent; }
body#index #right-column { align-self: flex-start; }

/* Full-width override */
.layout-full-width #left-column,
.layout-full-width #right-column { display: none; }
.layout-full-width #main { width: 100%; float: none; }

body#checkout #left-column,
body#checkout #right-column { display: none !important; }
body#checkout #main { width: 100%; float: none; }

body#category #left-column { display: none !important; }

/* Product page: hide empty left column, expand main */
body#product #left-column { display: none !important; }
body#product #right-column { display: none !important; }
body#product #main { width: 100% !important; max-width: 100%; }

/* Área de cliente: ocultar columna izquierda y ampliar el contenido */
body#authentication #left-column,
body#password #left-column,
body#my-account #left-column,
body#identity #left-column,
body#history #left-column,
body#order-detail #left-column,
body#order-slip #left-column,
body#addresses #left-column,
body#address #left-column,
body#discount #left-column,
body#order-follow #left-column,
body#registration #left-column,
body#authentication #right-column,
body#password #right-column,
body#my-account #right-column,
body#identity #right-column,
body#history #right-column,
body#order-detail #right-column,
body#order-slip #right-column,
body#addresses #right-column,
body#address #right-column,
body#discount #right-column,
body#order-follow #right-column,
body#registration #right-column,
body#contact #left-column,
body#contact #right-column,
body#cms #left-column,
body#cms #right-column { display: none !important; }
body#authentication #content-wrapper,
body#password #content-wrapper,
body#my-account #content-wrapper,
body#identity #content-wrapper,
body#history #content-wrapper,
body#order-detail #content-wrapper,
body#order-slip #content-wrapper,
body#addresses #content-wrapper,
body#address #content-wrapper,
body#discount #content-wrapper,
body#order-follow #content-wrapper,
body#registration #content-wrapper,
body#contact #content-wrapper,
body#cms #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }

/* Footer: bloque de información de la tienda más legible */
.custom-footer .block-contact,
.custom-footer .block-contact #contact-infos {
  color: #ffffff !important;
  font-size: 13px;
  line-height: 1.8;
}
.custom-footer .block-contact #contact-infos {
  opacity: .95;
}
.custom-footer .block-contact a {
  color: #ffe082 !important;
  font-weight: bold;
  text-decoration: none;
}
.custom-footer .block-contact a:hover { text-decoration: underline; }
.custom-footer .block-contact-title {
  color: #ffffff !important;
  font-weight: bold;
  letter-spacing: .5px;
}

/* Footer: logos de pago con tarjeta */
.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-payments .pay-badge {
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .3px;
}
.footer-payments .pay-visa   { color: #1a1f71; font-style: italic; }
.footer-payments .pay-mc     { color: #eb001b; }
.footer-payments .pay-redsys { color: #e8590c; }
.footer-payments .pay-lock   { color: #2a8a2a; background: transparent; padding: 0; font-size: 15px; }

/* Seguimiento de pedido invitado: columna derecha al lado, sin col. izquierda */
body#guest-tracking #left-column { display: none !important; }
body#guest-tracking #content-wrapper { width: 75% !important; max-width: 75% !important; flex: 0 0 75% !important; }
body#guest-tracking #right-column { display: block !important; width: 25% !important; max-width: 25% !important; flex: 0 0 25% !important; }

/* Landing SEO: contenido 75% + columna al lado (no debajo) */
body#module-landingseo-tinta #left-column { display: none !important; }
body#module-landingseo-tinta #content-wrapper { width: 75% !important; max-width: 75% !important; flex: 0 0 75% !important; }
body#module-landingseo-tinta #right-column { display: block !important; width: 25% !important; max-width: 25% !important; flex: 0 0 25% !important; }

/* Buscador avanzado: columna derecha al lado del formulario */
body#module-ai_advancedsearch-default #content-wrapper { width: 75% !important; max-width: 75% !important; flex: 0 0 75% !important; }
body#module-ai_advancedsearch-default #right-column   { display: block !important; width: 25% !important; max-width: 25% !important; flex: 0 0 25% !important; }

/* Product page: fix category products block width */
body#product .product-accessories,
body#product #category-products,
body#product .js-product-list-footer,
body#product [class*="category-product"] { max-width: 100%; box-sizing: border-box; overflow: hidden; }

/* ps_categoryproducts block on product page */
.mit-cat-products { margin-top: 30px; border-top: 2px solid #e0e0e0; padding-top: 20px; }
.mit-cat-products-title { font-family: 'Oswald', sans-serif; font-size: 16px; text-transform: uppercase; color: #1e1e21; margin-bottom: 16px; }
.mit-cat-products .productContainer { width: 100%; max-width: 100%; margin: 0 0 10px 0; }

/* Category reassurance right column */
.cat-reassurance {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 12px;
  margin-top: 10px;
}
.cat-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cat-reassurance-item:last-child { border-bottom: none; }
.cat-reass-icon { font-size: 22px; color: #aaa; margin-top: 2px; flex-shrink: 0; }
.cat-reassurance-item div { display: flex; flex-direction: column; }
.cat-reassurance-item strong { font-size: 13px; font-weight: 700; color: #1e1e21; text-transform: uppercase; }
.cat-reassurance-item span { font-size: 12px; color: #777; }
.cat-reass-highlight { color: #FF029B !important; }
body#checkout .cart-grid-body { flex: 0 0 58%; max-width: 58%; }
body#checkout .cart-grid-right { flex: 0 0 42%; max-width: 42%; }

/* =========================================================
   TOP HEADER MENU BAR
   ========================================================= */
#header-menu-bg {
  height: 44px;
  width: 100%;
  background: #f3f3f3;
}
#header_menu {
  height: 44px;
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
#header_menu .links-left { flex: 1; text-align: left; }
#header_menu .links { text-align: right; display: flex; align-items: center; gap: 18px; }
#header_menu a {
  color: #555;
  text-decoration: none;
  font-size: 18px;
}
#header_menu a:hover { text-decoration: underline; }
.topbar-contact { display: flex; align-items: center; gap: 6px; position: absolute; left: 50%; transform: translateX(-50%); }
.topbar-contact .material-icons { font-size: 16px; color: #555; }
.topbar-sep { color: #aaa; }
.topbar-wa-icon { flex-shrink: 0; }
.topbar-wa-label { color: #25D366; font-size: 18px; font-weight: 700; }

/* Móvil: teléfono + WhatsApp en una sola línea (sin partir números) */
@media (max-width: 768px) {
  .topbar-contact {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 4px;
    font-size: 10px;
    max-width: 96vw;
    transform: translateX(calc(-50% - 20px));
  }
  .topbar-contact a,
  .topbar-sep { white-space: nowrap; flex-shrink: 0; font-size: 10px; }
  /* Ocultar la palabra "WhatsApp:" en móvil (el icono verde ya lo identifica) */
  .topbar-wa-label { display: none !important; }
  .topbar-contact .material-icons { font-size: 13px; }
  .topbar-wa-icon { width: 13px; height: 13px; }
}
#header_menu .user-info,
#header_menu #contact-link { display: inline-block; }
#header_menu .blockcart .header {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
#header_menu .material-icons { font-size: 18px; vertical-align: middle; }

/* =========================================================
   MAIN HEADER (logo + search + cart)
   ========================================================= */
#header {
  background: #fff;
}
.header-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 105px;
  gap: 20px;
}
.logo-wrapper { flex-shrink: 0; width: 225px; }
.logo {
  display: block;
  max-width: 267px;
  height: auto;
  margin-top: 5px;
}
.header-top-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
/* Mirrors .logo-wrapper's width so the search bar in-between is truly
   centered on the page, not just on the leftover space after the logo. */
.header-spacer { flex-shrink: 0; width: 225px; }

#search_widget { order: 1; }

/* =========================================================
   NAVIGATION BAR (ps_mainmenu output, lives in .header-top-wrapper)
   ========================================================= */
.menu.js-top-menu { width: 100%; order: 2; }
ul.top-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  background: #1e1e21;
}
ul.top-menu > li {
  border-top: 5px solid #1e1e21;
  padding: 16px 15px;
  position: relative;
  transition: all 200ms ease-in-out;
}
ul.top-menu > li > a {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  border: 0;
  white-space: nowrap;
}
ul.top-menu > li:hover,
ul.top-menu > li.current {
  border-top: 5px solid #F2532F;
  background-color: #fff;
}
ul.top-menu > li:hover > a,
ul.top-menu > li.current > a { color: #1e1e21; }

/* Dropdown */
ul.top-menu .collapse {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  z-index: 9999;
  border-top: 3px solid #F2532F;
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
}
ul.top-menu li:hover > .collapse { display: block; }
ul.top-menu .collapse li a {
  color: #1e1e21;
  display: block;
  padding: 10px 15px;
  font-size: 13px;
  text-transform: none;
  font-family: 'PT Sans Narrow', sans-serif;
}
ul.top-menu .collapse li a:hover {
  color: #F2532F;
  text-decoration: none;
  background: #f5f5f5;
}

/* Autocomplete dropdown — precio con IVA */
.searchbar-autocomplete .autocomplete-price {
  display: block;
  color: #F2532F;
  font-weight: bold;
  font-size: 13px;
  margin-top: 2px;
}
.searchbar-autocomplete li a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.searchbar-autocomplete li a .product {
  flex: 1;
}

/* Search bar (ps_searchbar) — centered on the page, see .header-top-wrapper above */
#search_widget form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
#search_widget input[type="text"] {
  background: transparent;
  border: 0;
  color: #3D3D3D;
  width: 320px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 14px;
}
#search_widget input[type="text"]::placeholder { color: #999; }
#search_widget .material-icons { color: #01B7E9; }

/* "Búsqueda avanzada" link (ai_advancedsearch, displayTop) — hidden from header */
#ai_search_top { display: none; }
#block-reassurance { display: none; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.top-bread { display: none; }
.breadcrumb {
  margin: 11px 0 0 10px;
}
.breadcrumb-list {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb-item { font-size: 12px; color: #888; }
.breadcrumb-item a { color: #888; }
.breadcrumb-item a:hover { color: #F2532F; }
.breadcrumb-item .sep { margin: 0 4px; }
.breadcrumb-item.current { color: #3D3D3D; }

/* =========================================================
   HOME PAGE - SEARCH HERO
   ========================================================= */
#accroche {
  display: none;
}

#index .col-search {
  background: linear-gradient(135deg, #01B7E9 0%, #0aa3d1 100%);
  color: #fff;
  padding: 18px 24px 16px;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 30px;
  min-height: auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(1, 183, 233, .3);
}

.search-marques { display: flex; flex-wrap: wrap; gap: 10px; }

.tx-search-marque {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  float: left;
  font-size: 16px;
  width: 100%;
  letter-spacing: 0.2px;
}
.tx-search-marque .big {
  display: block;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.tx-search-marque .big h1 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: #fff;
}

/* Home hero quick-search form (ai_advancedsearch displayAdvancedSearchCustom) */
.ai-search-page-box {
  border: 2px solid #01B7E9;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: #fff;
}
.ai-search-page-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1e1e21;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}
.home-advanced-search { margin-top: 10px; }
.home-advanced-search .block { background: none; }
.home-advanced-search a#drop { display: none; }
.home-advanced-search fieldset#ai_fielset { border: 0; padding: 0; margin: 0; }
.home-advanced-search fieldset#ai_fielset legend { display: none; }
.home-advanced-search .dropdown[style*="display: none"] { display: none !important; }
.home-advanced-search label#ai_label { display: none; }

.home-advanced-search .ai-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 620px;
}
.home-advanced-search .ai-criterion,
.home-advanced-search .ai_product { display: contents; }
.ai-category-select-hidden { display: none; }

/* Brand typeahead — sits to the left of the search pill, same line */
#ai_category_typeahead {
  box-sizing: border-box !important;
  height: 46px !important;
  line-height: 46px !important;
  border: 0 !important;
  background: #fff;
  color: #3D3D3D;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 15px;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 4px;
  width: 170px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: box-shadow 150ms;
}
#ai_category_typeahead:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.6);
}
#ai_category_typeahead::placeholder { color: #999; }

/* Keyword input + OK button, same line, OK styled like the brand chips below */
.ai-search-submit-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 46px;
  flex: 1;
  min-width: 220px;
}
#ai_search_input {
  box-sizing: border-box !important;
  background: #fff;
  border: 0 !important;
  border-radius: 4px;
  color: #3D3D3D;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 15px;
  padding: 0 14px !important;
  margin: 0 !important;
  flex: 1;
  min-width: 0;
  height: 46px !important;
  line-height: 46px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
#ai_search_input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
#ai_search_input::placeholder { color: #999; }
#ai_search_input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #3D3D3D;
}
#ai_search_btn {
  box-sizing: border-box;
  height: 100%;
  line-height: 46px;
  background: #f9e200;
  border: 1px solid #f9e200;
  border-radius: 20px;
  color: #1e1e21;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  padding: 0 22px;
  cursor: pointer;
  transition: background-color 200ms;
  flex-shrink: 0;
}
#ai_search_btn:hover { background: #e0cb00; border-color: #e0cb00; }

.quick-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.quick-brand {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 200ms;
}
.quick-brand:hover { background: rgba(255,255,255,.35); }
.quick-brand.active { background: #1e1e21; border-color: #1e1e21; color: #fff; }

/* Advanced search results (module/ai_advancedsearch/default) */
.ai-search-results { margin-top: 20px; }
.ai-results-categories { margin-bottom: 24px; }
.ai-results-categories h3,
.ai-results-products h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #1e1e21;
}
.ai-results-categories ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-results-categories li a {
  display: inline-block;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 16px;
  color: #1e1e21;
  font-size: 13px;
}
.ai-results-categories li a:hover { background: #eee; text-decoration: none; }
.ai-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.ai-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 12px;
  color: #3D3D3D;
  transition: box-shadow 200ms;
}
.ai-result-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.ai-result-card a { text-decoration: none; color: #3D3D3D; display: flex; flex-direction: column; align-items: center; flex: 1; }
.ai-result-card a:hover { color: #3D3D3D; }
.ai-result-card img { max-width: 100%; height: 120px; object-fit: contain; margin-bottom: 8px; }
.ai-result-name { font-size: 13px; margin-bottom: 6px; }
.ai-result-price { font-family: 'Oswald', sans-serif; font-weight: bold; color: #F2532F; margin: 6px 0; }
.ai-atc-btn { margin-top: auto; background: #F2532F; color: #fff; border: none; border-radius: 3px; padding: 6px 10px; font-size: 12px; cursor: pointer; width: 100%; }
.ai-atc-btn:hover { background: #d9401d; }
.ai-atc-btn:disabled { opacity: .6; cursor: not-allowed; }
.ai-section-sep { border: none; border-top: 2px solid #01B7E9; margin: 16px 0; }

/* Product page: smaller image column */
.mit-product-img-col { max-width: 340px; }
.mit-product-img-col .product-cover img { max-height: 280px; object-fit: contain; }
.mit-product-img-col .thumb-container img { max-height: 60px; object-fit: contain; }

/* Vignette (icono de color del cartucho) */
.mit-vignette {
  margin-top: 16px;
  text-align: center;
}
.mit-vignette img {
  max-width: 111px;
  height: auto;
}

/* Compatible printers box */
.mit-compat-printers {
  margin-top: 16px;
  border: 1px solid #d0eef8;
  border-radius: 6px;
  overflow: hidden;
}
.mit-compat-title {
  background: #e8f7fc;
  padding: 10px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1e1e21;
  border-bottom: 1px solid #c5e6f5;
}
.mit-compat-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  columns: 2;
  column-gap: 0;
}
.mit-compat-list li { padding: 3px 14px; break-inside: avoid; }
.mit-compat-list li a { font-size: 12px; color: #0099c7; text-decoration: none; }
.mit-compat-list li a:hover { text-decoration: underline; color: #006a8e; }

/* Category header override */
.mit-cat-header { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 0 20px; }
.mit-cat-label { font-family: 'Oswald', sans-serif; font-size: 18px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.mit-cat-name { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 600; color: #1e1e21; text-transform: uppercase; }

/* ── SEO por modelo de impresora (categoría hoja) ── */
.mit-cat-tagline .mit-cat-label { margin-bottom: 6px; display: block; }
.mit-cat-tagline .mit-cat-name { font-size: 22px; }
.mit-cat-header .mit-seo-h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #1e1e21;
  line-height: 1.2;
  margin: 14px 0 10px;
  max-width: 900px;
}
.mit-cat-header .mit-seo-intro,
.mit-cat-header .mit-seo-desc {
  font-size: 15px;
  color: #5a6472;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 18px;
}
.mit-cat-header .mit-seo-desc { text-align: left; }
.mit-cat-header .mit-seo-h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #0d6fb8;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 6px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eceef1;
  width: 100%;
}
.mit-cat-name--branch { text-transform: uppercase; }

/* FAQ de la página de modelo (con datos estructurados FAQPage) */
.mit-faq { width: 100%; max-width: 820px; margin: 22px auto 0; text-align: left; }
.mit-faq-item { border: 1px solid #eceef1; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.mit-faq-item > summary {
  cursor: pointer; list-style: none; padding: 14px 16px;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; color: #1e1e21;
  position: relative;
}
.mit-faq-item > summary::-webkit-details-marker { display: none; }
.mit-faq-item > summary::after { content: '+'; position: absolute; right: 16px; top: 12px; font-size: 20px; color: #0d6fb8; }
.mit-faq-item[open] > summary::after { content: '−'; }
.mit-faq-item[open] > summary { color: #0d6fb8; }
.mit-faq-a { padding: 0 16px 14px; font-size: 14px; color: #5a6472; line-height: 1.6; }

/* Header compacto: el H2 de arriba etiqueta los productos (sin empujar tanto) */
.mit-cat-header .mit-seo-h2--top { margin-top: 10px; }

/* ── Bloque SEO al PIE de la categoría (debajo de los productos) ── */
.mit-cat-seo-footer {
  max-width: 900px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid #eceef1;
  text-align: left;
}
.mit-cat-seo-footer .mit-seo-intro,
.mit-cat-seo-footer .mit-seo-desc {
  text-align: left;
  max-width: 100%;
  margin: 0 0 20px;
}
.mit-cat-seo-footer .mit-seo-h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1e1e21;
  text-transform: none;
  letter-spacing: 0;
  border: 0;
  padding: 0;
  margin: 6px 0 14px;
  width: auto;
}
.mit-cat-seo-footer .mit-faq { margin: 0; max-width: 100%; }

@media (max-width: 768px) {
  .mit-cat-header .mit-seo-h1 { font-size: 22px; }
  .mit-cat-header .mit-seo-h2 { font-size: 17px; }
  .mit-cat-seo-footer .mit-seo-h2 { font-size: 18px; }
  .mit-faq-item > summary { font-size: 14px; }
}

.shadow { display: block; width: 100%; margin-bottom: 20px; }

/* ── Add to cart toast notification ── */
.mit-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: #1e1e21;
  color: #fff;
  padding: 18px 36px;
  border-radius: 8px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 99999;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
  border-left: 5px solid #01B7E9;
  white-space: nowrap;
}
.mit-toast-show {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.mit-toast-error { border-left-color: #e53935; }
.mit-toast-icon { font-size: 18px; margin-right: 8px; color: #01B7E9; font-weight: 900; }
.mit-toast-error .mit-toast-icon { color: #e53935; }

/* ── Cart bounce animation ── */
@keyframes mit-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.mit-cart-bounce { animation: mit-bounce 0.5s ease; }

.pubint { margin: 20px 0; }

.promo-block { margin-top: 50px; }

/* =========================================================
   PRODUCT LIST (Category / Search results)
   ========================================================= */
.productContainer {
  display: flex;
  border: 1px solid #eee;
  border-radius: 3px;
  margin: 10px 0 10px 10px;
  padding: 12px;
  background: #fff;
  transition: box-shadow 200ms;
}
.productContainer:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }

.productContainer .div1 {
  display: flex;
  flex: 1;
  gap: 12px;
}

.imageBox {
  flex-shrink: 0;
  width: 126px;
}
.imageBox img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border: 1px solid #eee;
}

.productTitleBox {
  font-size: 14px;
  font-weight: bold;
  color: #1e1e21;
  flex: 1;
  padding-right: 10px;
}
.productTitleBox a { color: #1e1e21; }
.productTitleBox a:hover { color: #F2532F; text-decoration: none; }

.productInfosBox { flex: 1; }
.caracteristiques {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}
.magenta { color: #FF029B !important; }
.desc.std { color: #888; font-size: 12px; margin-top: 8px; }

.productContainer .div2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 200px;
  flex-shrink: 0;
}

.priceBoxContainer { text-align: right; margin-bottom: 10px; }
.innerPriceBox { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.pretaxe_price { color: #5C5C5C; font-size: 13px; }
.our_price_display2 {
  color: #F2532F;
  font-size: 22px;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
}

.economieBox { font-size: 12px; color: #555; margin-top: 6px; text-align: right; }
.ovale {
  background: #FF029B;
  color: #fff;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 13px;
}

.addCartContainer { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.btn-ver {
  display: inline-block;
  background: #01B7E9;
  color: #fff !important;
  font-weight: bold;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 3px;
  text-decoration: none !important;
  letter-spacing: 1px;
  transition: background 200ms;
}
.btn-ver:hover { background: #0aa3d1; }
.quantitybox input {
  width: 50px;
  padding: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
  text-align: center;
}
.addcartBox { }
.add-to-cart {
  background: #F2532F;
  border: 0;
  color: #fff;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms;
}
.add-to-cart:hover { background: #d4411f; }
.add-to-cart:disabled { background: #ccc; cursor: default; }

.vignette_ { margin-top: 8px; }

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
#main.product-page { }
.product-container { margin-top: 20px; }
.product-images img { max-width: 100%; border: 1px solid #eee; }
.product-information { padding-left: 20px; }

.product-information h1 {
  font-size: 26px;
  font-weight: 300;
  color: #3d3d3d;
  margin-bottom: 10px;
}
.product-reference { font-size: 12px; color: #888; margin-bottom: 8px; }
.product-reference label,
.product-condition label { font-weight: bold; margin-right: 5px; }

.product-prices { margin: 15px 0; }
.price {
  font-size: 28px;
  font-weight: bold;
  color: #F2532F;
  font-family: 'Oswald', sans-serif;
}
.regular-price {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
  margin-right: 8px;
}

.product-description-short { font-size: 13px; line-height: 1.6; margin: 15px 0; }

.product-add-to-cart {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-add-to-cart input.quantity_wanted {
  width: 60px;
  padding: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  text-align: center;
}
.product-add-to-cart button.add-to-cart {
  background: #F2532F;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 24px;
  cursor: pointer;
  font-family: 'PT Sans Narrow', sans-serif;
  text-transform: uppercase;
  transition: background 200ms;
  border-radius: 2px;
}
.product-add-to-cart button.add-to-cart:hover { background: #d4411f; }

/* Product tabs */
.product-tabs-container { margin-top: 40px; }
.nav-tabs {
  display: flex;
  list-style: none;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}
.nav-tabs .nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #888;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 200ms;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover { color: #F2532F; border-bottom: 2px solid #F2532F; }

.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-pane p { line-height: 1.7; }

/* =========================================================
   CATEGORY / LISTING SPECIFICS
   ========================================================= */
.page-title h1 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.page-title .gris-title { color: #888; }
.page-title .tienda { color: #F2532F; }

/* Un producto por fila en listados */
#js-product-list .products .product {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

.cat_desc { font-size: 13px; color: #666; margin-bottom: 20px; line-height: 1.6; }

.subcategories { margin-bottom: 20px; }
.subcategories .phrase { font-weight: bold; font-size: 14px; }
.search-titre { margin: 6px 0; font-size: 14px; }
.search-titre a { color: #1e1e21; }
.search-titre a:hover { color: #F2532F; text-decoration: none; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 4px;
}
.pagination .page-item .page-link {
  display: block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #3D3D3D;
  font-size: 13px;
}
.pagination .page-item.active .page-link {
  background: #F2532F;
  border-color: #F2532F;
  color: #fff;
}
.pagination .page-item .page-link:hover { background: #f5f5f5; }

/* =========================================================
   CUSTOM FOOTER (3 columns, blue bg)
   ========================================================= */
/* =========================================================
   MAIN FOOTER (blue)
   ========================================================= */
.custom-footer-wrapper {
  background: #01B7E9;
  padding: 40px 0 30px;
  margin-top: 50px;
  clear: both;
}
.custom-footer {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0 10px;
  gap: 30px;
}

/* Links area (displayFooter) – takes remaining space */
.cf-links {
  flex: 1 1 500px;
}
/* Social/newsletter column – fixed width */
.cf-social {
  flex: 0 0 220px;
}

/* Column title */
.cf-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(255,255,255,.35);
}

/* All text/links in footer */
.custom-footer p,
.custom-footer a,
.custom-footer li,
.custom-footer span { color: #dff4fc; font-size: 18px; line-height: 1.9; }
.custom-footer a:hover { color: #fff; text-decoration: underline; }
.custom-footer ul { list-style: none; margin: 0; padding: 0; }

/* Module block titles (PRODUCTOS, NUESTRA EMPRESA…) */
.custom-footer .h4,
.custom-footer h4.h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 8px;
}

/* ps_linklist: render sub-lists horizontally as columns */
.cf-links .links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.cf-links .links-container .block-links {
  min-width: 140px;
}

/* ps_contactinfo */
.cf-links .contact-rich .block { margin-bottom: 6px; }
.cf-links .contact-rich .icon { display: none; }
.cf-links .contact-rich .data,
.cf-links .contact-rich .data a { color: #dff4fc; font-size: 13px; }

/* Social icons */
.cf-social .ps-social-follow h4 { display: none; }
.cf-social .ps-social-follow ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.cf-social .ps-social-follow li a {
  display: flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.2);
  color: #fff; font-size: 11px; text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  transition: background 150ms;
}
.cf-social .ps-social-follow li a:hover { background: rgba(0,0,0,.3); }

/* Newsletter – no white box */
.cf-social #block-emailsubscription { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.cf-social #block-emailsubscription .block-title,
.cf-social #block-emailsubscription h2,
.cf-social #block-emailsubscription .gdpr_consent { display: none; }
.cf-social #block-emailsubscription p { color: #dff4fc; font-size: 13px; margin-bottom: 10px; }
.cf-social #block-emailsubscription .input-wrapper { display: flex; }
.cf-social #block-emailsubscription input[type="email"] {
  flex: 1; border: none; border-radius: 3px 0 0 3px;
  padding: 7px 10px; font-size: 13px; color: #333; outline: none;
}
.cf-social #block-emailsubscription button[type="submit"],
.cf-social #block-emailsubscription input[type="submit"] {
  border: none; border-radius: 0 3px 3px 0;
  background: #1e1e21; color: #fff;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
  font-family: 'Oswald', sans-serif;
  white-space: nowrap;
}
.cf-social #block-emailsubscription button[type="submit"]:hover { background: #000; }
.cf-social #block-emailsubscription .notifications-container { margin-top: 8px; font-size: 12px; }

/* Hide blockreassurance everywhere in footer */
.custom-footer #block-reassurance,
.cf-social #block-reassurance { display: none !important; }

/* Newsletter override styles */
.mit-newsletter-text {
  color: #dff4fc;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.mit-newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
}
.mit-newsletter-input {
  flex: 1;
  border: none;
  border-radius: 3px 0 0 3px;
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  outline: none;
  min-width: 0;
}
.mit-newsletter-btn {
  border: none;
  border-radius: 0 3px 3px 0;
  background: #1e1e21;
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  white-space: nowrap;
}
.mit-newsletter-btn:hover { background: #000; }
.mit-newsletter-msg { font-size: 12px; margin-bottom: 8px; color: #dff4fc; }
.mit-newsletter-error { color: #ffcccc; }
.mit-newsletter-ok { color: #ccffcc; }
/* Hide GDPR consent block */
.cf-social #blockEmailSubscription_displayFooterBefore [id*="gdpr"],
.cf-social .gdpr_consent { display: none; }

/* =========================================================
   FOOTER MODULES (additional hooks)
   ========================================================= */
.footer-container { background: #f3f3f3; padding: 20px 0; }
.additional-footer { max-width: 1180px; margin: 0 auto; }
#footer { padding: 10px; }

/* =========================================================
   BOTTOM FOOTER BAR (copyright + payment)
   ========================================================= */
.footer-wrapper { background-color: #0099c7; clear: both; }
.footer {
  max-width: 1180px;
  margin: 0 auto;
  color: rgba(255,255,255,.85);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 0 10px;
}
.footer-left { color: rgba(255,255,255,.85); }
.icon-carte img { vertical-align: middle; filter: brightness(0) invert(1); opacity: .8; }

/* =========================================================
   LEFT SIDEBAR - BRAND LIST (ps_categorytree, classic override)
   ========================================================= */
.block-categories { margin-bottom: 20px; }
.block-categories .category-top-menu > li:first-child { display: none; }
.block-categories ul.category-sub-menu {
  list-style: none;
  border-top: 1px solid #eee;
}
.block-categories ul.category-sub-menu > li {
  border-bottom: 1px solid #eee;
  border-left: 4px solid #01B7E9;
  padding: 10px 12px;
  position: relative;
}
.block-categories ul.category-sub-menu > li:nth-child(3n+2) { border-left-color: #FF029B; }
.block-categories ul.category-sub-menu > li:nth-child(3n+3) { border-left-color: #f4c20d; }
.block-categories ul.category-sub-menu > li > a {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1e1e21;
  text-transform: uppercase;
}
.block-categories ul.category-sub-menu > li > a:hover { color: #F2532F; text-decoration: none; }
.block-categories ul.category-sub-menu > li::before {
  content: 'Cartuchos de tinta para impresora';
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
  text-transform: none;
}
.block-categories .navbar-toggler { display: none; }
.block-categories .collapse:not(.show) { display: none; }

/* =========================================================
   SIDEBAR BLOCKS
   ========================================================= */
.sidebar .block {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 3px;
}
.sidebar .block .block_content { padding: 10px; }
.sidebar .block .title_block {
  background: #1e1e21;
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

/* =========================================================
   BUTTONS / CTA (generic)
   ========================================================= */
.btn,
button.button,
.button,
input[type="submit"] {
  background: #F2532F;
  border: 0;
  color: #fff;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms;
  display: inline-block;
}
.btn:hover,
button.button:hover,
.button:hover,
input[type="submit"]:hover { background: #d4411f; color: #fff; text-decoration: none; }

/* Connexion button */
.btn-connexion {
  background: url('../img/communs/new-btn-connexion.png') no-repeat center center #FF029B;
  color: #fff;
  padding: 8px 20px;
  font-weight: bold;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
}

/* =========================================================
   FORMS
   ========================================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  border: 1px solid #ddd;
  padding: 7px 10px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 13px;
  color: #3D3D3D;
  background: #fff;
  border-radius: 2px;
  width: 100%;
  max-width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #01B7E9;
  outline: none;
  box-shadow: 0 0 4px rgba(1, 183, 233, .3);
}

label { font-weight: bold; font-size: 13px; }

/* =========================================================
   ALERTS / MESSAGES
   ========================================================= */
.alert { padding: 10px 15px; border-radius: 3px; margin-bottom: 15px; font-size: 13px; }
.alert-success { background: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.alert-warning { background: #fcf8e3; color: #8a6d3b; border: 1px solid #faebcc; }
.alert-danger  { background: #f2dede; color: #a94442; border: 1px solid #ebccd1; }
.alert-info    { background: #d9edf7; color: #31708f; border: 1px solid #bce8f1; }

/* Error color */
.required, .error { color: #FF029B; }
.form_error { border-color: #FF029B !important; }

/* =========================================================
   CART PAGE
   ========================================================= */
.cart_summary { width: 100%; border-collapse: collapse; }
.cart_summary th { background: #1e1e21; color: #fff; padding: 8px 10px; text-align: left; font-size: 13px; }
.cart_summary td { padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 13px; }
.cart_summary .cart_total_price { color: #F2532F; font-weight: bold; }

.cart-summary-totals { text-align: right; }
.cart-prices { font-size: 18px; color: #F2532F; font-weight: bold; font-family: 'Oswald', sans-serif; }

/* =========================================================
   WHATSAPP FLOAT BUTTON
   ========================================================= */
#whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: block;
}
#whatsapp-float img { width: 60px; height: 60px; }

/* =========================================================
   HOME - ABOUT / VIGNETTE SIDEBARS
   ========================================================= */
.home-about { margin-top: 30px; font-size: 13px; line-height: 1.7; }

/* Homepage photo mosaic */
.home-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 20px;
  padding-right: 15px;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  background: #f5f5f5;
}
.mosaic-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  padding: 5px 8px;
  text-decoration: none;
  line-height: 1.2;
}
.mosaic-item:hover { text-decoration: none; }
.home-about .magenta { color: #FF0299; }

/* Align all homepage sections to the same width */
#index .col-search,
#index .home-featured,
#index .home-about,
#index .pubint { margin-left: 0; margin-right: 0; box-sizing: border-box; width: 100%; padding-right: 15px; }

.home-featured .featured-products h2,
.home-featured .products-section-title { text-align: center; }
.home-featured .products { display: flex; flex-direction: column; align-items: center; }
.home-featured .products .product { width: 100%; max-width: 760px; }

.col-left2.sidebar {
  float: left;
  width: 225px;
  margin-right: 10px;
}

.col-main-home {
  float: left;
  width: 530px;
}

.col-left.sidebar {
  float: right;
  width: 225px;
}

/* Sidebar vignette images */
.col-left.sidebar img { max-width: 100%; margin-bottom: 10px; }

/* =========================================================
   SEARCH RESULT PAGES
   ========================================================= */
.search-result { margin-bottom: 20px; }
.search-type-left { float: left; margin-right: 18px; }
.search-type-right { float: right; }
.title_block {
  font-size: 16px;
  font-weight: bold;
  color: #F2532F;
  margin-bottom: 10px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}
.fleche_featured {
  background: url('../img/flechegrise.png') no-repeat scroll 0 0;
  height: 15px;
  margin-bottom: 10px;
}
.search-titre { margin: 6px 0; font-size: 14px; }
.search-titre a { color: #1e1e21; }
.search-titre a:hover { color: #F2532F; text-decoration: none; }

/* =========================================================
   AVAILABILITY BADGES
   ========================================================= */
.availability .label-success { color: #3c763d; font-weight: bold; }
.availability .label-danger  { color: #a94442; font-weight: bold; }
.in-stock  { color: #3d6611; }
.out-of-stock { color: #FF029B; }

/* =========================================================
   UTILITY
   ========================================================= */
.clearfix::after { content: ''; display: block; clear: both; }
.clear { height: 0; clear: both; }
.hidden { display: none !important; }
.no-display { display: none; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.img-responsive { max-width: 100%; height: auto; }

/* =========================================================
   RESPONSIVE (basic breakpoints)
   ========================================================= */
@media (max-width: 1020px) {
  #wrapper, .container,
  #header_menu, .custom-footer,
  .footer { max-width: 100%; padding: 0 10px; }
  #main { width: auto; }
}

@media (max-width: 768px) {
  #left-column, #right-column,
  .col-left2.sidebar, .col-left.sidebar { display: none; }
  #main, .col-main-home { width: 100%; float: none; }
  .header-inner { flex-wrap: wrap; }
  .header-spacer { display: none; }
  .nav-container { overflow-x: auto; }
  #main-nav > ul { flex-wrap: nowrap; }
  .productContainer { flex-direction: column; }
  .productContainer .div1 { flex-direction: column; }
  .productContainer .div2 { align-items: flex-start; }
  .custom-footer { flex-direction: column; }
  .custom-footer-column,
  .custom-footer-column-big,
  .custom-footer-col,
  .cf-links,
  .cf-social { width: 100%; min-width: unset; flex: none; margin: 0 0 20px; padding: 0 0 10px; }
  .tx-search-marque { width: 100%; }
  .home-advanced-search .ai-search-row { flex-direction: column; }
  #ai_category_typeahead { width: 100%; }
}

@media (max-width: 480px) {
  .our_price_display2 { font-size: 18px; }
  .product-information h1 { font-size: 20px; }
  #accroche { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   LAVADO DE CARA 2026 — overrides visuales conservadores.
   Para revertir: borrar este bloque completo.
   ═══════════════════════════════════════════════════════════════ */

/* 1. Fondo liso (adiós papel milimetrado) */
body {
  background-image: none;
  background-color: #f7f8fa;
}

/* 2. Tarjetas de producto: redondeadas, sombra suave, hover con elevación */
.productContainer {
  border-radius: 10px;
  border: 1px solid #eceef1;
  box-shadow: 0 1px 3px rgba(20, 30, 40, .06);
  transition: box-shadow .2s ease, transform .15s ease;
  overflow: hidden;
}
.productContainer:hover {
  box-shadow: 0 6px 18px rgba(20, 30, 40, .12);
  transform: translateY(-2px);
}

/* 3. Sistema de botones unificado */
.add-to-cart,
.product-add-to-cart button.add-to-cart {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 2px 6px rgba(232, 89, 12, .25);
}
.add-to-cart:hover,
.product-add-to-cart button.add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(232, 89, 12, .35);
}
.btn-ver {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 2px 6px rgba(1, 183, 233, .25);
}
.btn-ver:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(1, 183, 233, .35);
}

/* 4. Bloques laterales: redondeados y con más aire */
.irc-block {
  border-radius: 12px;
  padding: 22px 16px;
  box-shadow: 0 2px 8px rgba(20, 30, 40, .10);
  transition: transform .15s ease;
}
.irc-block:hover { transform: translateY(-2px); }
.irc-reasons {
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(20, 30, 40, .06);
}

/* 5. Listado: características con más aire y jerarquía */
.caracteristiques {
  line-height: 1.75;
  color: #5a6472;
}
.caracteristiques strong { color: #38404a; }

/* 6. Título de producto y precios con mejor jerarquía */
.productTitleBox > a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2530;
}
.productTitleBox > a:hover { color: #01B7E9; }
.our_price_display2 { letter-spacing: -.5px; }

/* 7. Cabecera y cajas generales suavizadas */
.custom-footer-wrapper { box-shadow: 0 -1px 0 rgba(0,0,0,.05); }
#search_widget input,
.lt-search__input,
input.form-control, select.form-control {
  border-radius: 8px;
}
.quick-brand {
  border-radius: 8px;
  transition: background .15s ease, transform .1s ease;
}
.quick-brand:hover { transform: translateY(-1px); }

/* 8. Mosaico de la home: mismas tarjetas redondeadas */
.mosaic-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20,30,40,.08);
  transition: box-shadow .2s ease, transform .15s ease;
}
.mosaic-item:hover {
  box-shadow: 0 6px 16px rgba(20,30,40,.15);
  transform: translateY(-2px);
}

/* 9. Migas de pan y textos secundarios más discretos */
.breadcrumb, .lt-bread { font-size: 12px; opacity: .85; }

/* ─── Lavado de cara, ronda 2 ─── */

/* Cabecera con sombra sutil para separarla del contenido */
.header-wrapper, #header {
  box-shadow: 0 1px 6px rgba(20, 30, 40, .08);
  position: relative;
  z-index: 10;
}

/* Banda "Más de 15 000 referencias" como distintivo */
#accroche {
  background: linear-gradient(90deg, #01B7E9, #0095c8);
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 8px 16px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 6px rgba(1, 183, 233, .25);
}

/* Hero del buscador como tarjeta */
.col-search {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eceef1;
  box-shadow: 0 1px 4px rgba(20, 30, 40, .06);
  padding: 18px 20px;
  margin-top: 14px;
}

/* Enlaces con transición suave en todo el sitio */
a { transition: color .12s ease; }


/* Menos espacio entre el hero del buscador y los destacados */
.home-featured { margin-top: 10px !important; }
.home-featured h2,
.home-featured .products-section-title,
.home-featured .featured-products h2 {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#index .home-mosaic { margin-top: 6px; }

/* ─── Banner envío 24h (home, entre buscador y destacados) ─── */
.mit-ship-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
  margin: 14px 0 4px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(100deg, #01B7E9 0%, #0095c8 55%, #FF029B 130%);
  box-shadow: 0 3px 10px rgba(1, 183, 233, .30);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.mit-ship-banner::before {
  content: '';
  position: absolute;
  right: -30px; top: -46px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}
.msb-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.msb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.msb-text strong {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.msb-text span { font-size: 13px; opacity: .92; }
.msb-badge {
  margin-left: auto;
  background: #f9e200;
  color: #1e1e21;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  transform: rotate(-2deg);
  position: relative;
}
.msb-badge small { font-size: 15px; }
@media (max-width: 640px) {
  .mit-ship-banner { height: auto; padding: 12px 16px; }
  .msb-text span { display: none; }
}

/* ─── Marca de agua de cartuchos CMYK en el hero del buscador ─── */
#index .col-search { overflow: hidden; }
#index .col-search::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-42%);
  width: 230px;
  height: 184px;
  background: url('../img/cartuchos-watermark.svg') no-repeat center / contain;
  opacity: .16;
  pointer-events: none;
}
@media (max-width: 767px) {
  #index .col-search::after { display: none; }
}

/* ─── Botón "Añadir al carrito" y precios en magenta #ff3399 ─── */
.add-to-cart,
.product-add-to-cart button.add-to-cart,
.ai-atc-btn,
.mitinta-atc {
  background: #ff3399 !important;
}
.add-to-cart:hover,
.product-add-to-cart button.add-to-cart:hover,
.ai-atc-btn:hover,
.mitinta-atc:hover {
  background: #e01a80 !important;
  box-shadow: 0 4px 10px rgba(194, 24, 91, .35) !important;
}
.add-to-cart,
.product-add-to-cart button.add-to-cart,
.mitinta-atc {
  box-shadow: 0 2px 6px rgba(194, 24, 91, .25) !important;
}

/* Precios */
.our_price_display2,
.price,
.ai-result-price,
.searchbar-autocomplete .autocomplete-price {
  color: #ff3399 !important;
}

/* ─── Botones del popup "producto añadido" y acciones de checkout en magenta ─── */
#blockcart-modal .btn,
#blockcart-modal .btn-primary,
#blockcart-modal .btn-secondary,
.cart-content-btn .btn-primary,
.checkout .btn-primary,
#main .btn-primary,
.btn-primary {
  background: #ff3399 !important;
  border-color: #ff3399 !important;
  color: #fff !important;
}
#blockcart-modal .btn:hover,
#blockcart-modal .btn-primary:hover,
#blockcart-modal .btn-secondary:hover,
.cart-content-btn .btn-primary:hover,
.checkout .btn-primary:hover,
#main .btn-primary:hover,
.btn-primary:hover {
  background: #e01a80 !important;
  border-color: #e01a80 !important;
  color: #fff !important;
}

/* ═══ Columna derecha home — versión más vistosa ═══ */
.index-right-col { gap: 14px; }

.irc-block {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  padding: 20px 16px !important;
  box-shadow: 0 6px 18px rgba(20, 30, 40, .14) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.irc-block:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(20, 30, 40, .22) !important;
}
/* Brillo diagonal superior */
.irc-block::before {
  content: '';
  position: absolute;
  top: -60%; left: -20%;
  width: 140%; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
  transform: rotate(8deg);
  pointer-events: none;
}
/* Icono dentro de círculo translúcido */
.irc-block-icon {
  width: 52px; height: 52px;
  margin: 0 auto 8px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}
.irc-price .irc-block-icon,
.irc-delivery .irc-block-icon { background: rgba(0, 0, 0, .07); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }

/* Degradados por bloque */
.irc-stars   { background: linear-gradient(140deg, #e0165f 0%, #b0134f 100%) !important; }
.irc-saving  { background: linear-gradient(140deg, #e0165f 0%, #b0134f 100%) !important; }
.irc-price   { background: linear-gradient(140deg, #ffe93a 0%, #f9d000 100%) !important; }
.irc-delivery{ background: linear-gradient(140deg, #ffe93a 0%, #f9d000 100%) !important; }
.irc-trust   { background: linear-gradient(140deg, #16c6f5 0%, #019fd0 100%) !important; }

/* Números más protagonistas */
.irc-stars .irc-pct,
.irc-saving .irc-saving-pct { font-size: 34px !important; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.irc-price .irc-price-val { font-size: 30px !important; }
.irc-delivery .irc-del-num { font-size: 38px !important; text-shadow: 0 1px 2px rgba(0,0,0,.08); }
.irc-stars .irc-stars-row { font-size: 22px !important; }

/* Bloque de razones: cabecera con color de marca y check magenta */
.irc-reasons {
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(20, 30, 40, .10) !important;
  padding: 16px 16px 14px !important;
}
.irc-reasons h4 {
  color: #ff3399 !important;
  border-bottom: 2px solid #f0f2f4;
  padding-bottom: 8px;
}
.irc-reasons ul li::before { color: #ff3399 !important; font-weight: 700; }

/* Página de búsqueda: ocultar columna izquierda, bloques a la derecha (no debajo) */
body#search #left-column { display: none !important; }
body#search #content-wrapper { width: 75% !important; max-width: 75% !important; flex: 0 0 75% !important; }
body#search #right-column { display: block !important; width: 25% !important; max-width: 25% !important; flex: 0 0 25% !important; }

/* ─── Comparativa compatible vs original (ahorro + % más de tinta) ─── */
.mit-inkmore {
  display: block;
  margin: 10px 14px 4px;
  padding-top: 10px;
  border-top: 1px solid #f0f2f4;
  font-size: 12px;
  color: #5a6472;
  line-height: 1.6;
  overflow: hidden;
}
.mit-inkmore .mit-xl {
  float: left;
  margin: 1px 8px 4px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #ff3399;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}
.mit-inkmore strong { color: #ff3399; }
.mit-saving {
  margin-top: 6px;
  font-size: 11px;
  color: #5a6472;
  line-height: 1.3;
}
.mit-saving-badge {
  display: inline-block;
  background: #ff3399;
  color: #fff;
  font-weight: 800;
  border-radius: 20px;
  padding: 2px 10px;
  margin-top: 2px;
  white-space: nowrap;
}

/* Comparativa en la ficha de producto */
.mit-saving--product { margin-top: 10px; font-size: 13px; }
.mit-saving--product .mit-saving-badge { font-size: 13px; padding: 4px 14px; margin-left: 4px; }
.mit-inkmore--product { margin-top: 12px; font-size: 13px; }
.mit-inkmore--product .mit-xl { width: 30px; height: 30px; font-size: 12px; }

/* ─── Footer: 4 columnas iguales en una fila, Información entre Empresa y Cuenta ─── */
.cf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.cf-links > * {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  box-sizing: border-box;
  padding-right: 15px;
}
.cf-links .block-links      { order: 1; }  /* MARCAS */
.cf-links .col-md-6         { order: 2; }  /* NUESTRA EMPRESA */
.cf-links .block-contact    { order: 3; }  /* INFORMACIÓN DE LA TIENDA */
.cf-links #block_myaccount_infos { order: 4; }  /* SU CUENTA */

@media (max-width: 767px) {
  .cf-links > * { flex: 0 0 50% !important; max-width: 50% !important; }
}
@media (max-width: 480px) {
  .cf-links > * { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Fix: tarjeta en columna para que la línea "más de tinta" quede abajo a lo ancho */
.productContainer { flex-direction: column; align-items: stretch; }
.productContainer .div1 { flex: 0 0 auto; width: 100%; }
.mit-inkmore { clear: both; width: 100%; box-sizing: border-box; }

/* ─── Footer: títulos de columna uniformes en una sola línea ─── */
.cf-links .h3,
.cf-links .h4,
.cf-links .title,
.cf-links .myaccount-title,
.cf-links .block-contact-title,
.cf-links p.h3,
.cf-links .block-links > p {
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .4px;
  white-space: nowrap !important;
  margin-bottom: 14px !important;
  line-height: 1.2 !important;
}
/* Cuerpo y enlaces del footer al mismo tamaño */
.cf-links a,
.cf-links li,
.cf-links #contact-infos,
.cf-links .block-contact,
.cf-links .block-contact * {
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.cf-links .block-contact-title,
.cf-links .block-contact .block-contact-title { font-size: 15px !important; }

/* ═══════════════════════════════════════════════════════════════
   REDISEÑO HOME 2026 (estilo maqueta) — override final
   ═══════════════════════════════════════════════════════════════ */

/* ── Tarjeta de producto compacta ── */
.productContainer {
  flex-direction: row !important;
  align-items: center;
  padding: 14px 18px !important;
  border-radius: 14px !important;
}
.productContainer .div1 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.imageBox { flex: 0 0 92px; }
.imageBox img { width: 92px; height: 92px; object-fit: contain; }

.productTitleBox { flex: 1 1 auto; padding-right: 16px; min-width: 0; }
.mit-prod-title { font-size: 15px; font-weight: 700; color: #1d2530; line-height: 1.3; display: inline-block; }
.mit-prod-title:hover { color: #0d6fb8; text-decoration: none; }
.caracteristiques {
  margin-top: 6px;
  font-size: 13px;
  color: #7a828c;
  line-height: 1.55;
  border: 0 !important;
}
.mit-color-ico { height: 34px; width: auto; vertical-align: middle; border-radius: 3px; margin-left: 6px; }
.mit-xl-pill {
  display: inline-block;
  margin-top: 9px;
  background: #ffe066;
  color: #7a6200;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 7px;
  letter-spacing: .2px;
}

.productContainer .div2 {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 190px;
}
.priceBoxContainer { text-align: right; margin: 0; }
.our_price_display2 { font-size: 23px; font-weight: 800; color: #ff3399; font-family: 'Oswald', sans-serif; }
.priceBoxContainer .pretaxe_price { font-size: 12px; color: #9aa1a9; margin-top: 2px; }
.mit-saving-badge {
  display: inline-block;
  margin-top: 5px;
  background: #ff3399;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 20px;
}
/* Botón añadir — azul como la maqueta */
.add-to-cart, .mitinta-atc, .product-add-to-cart button.add-to-cart {
  background: #0d6fb8 !important;
  box-shadow: 0 2px 6px rgba(13,111,184,.25) !important;
  border-radius: 9px;
  font-size: 13px;
  padding: 11px 22px;
  letter-spacing: .3px;
}
.add-to-cart:hover, .mitinta-atc:hover, .product-add-to-cart button.add-to-cart:hover {
  background: #0b5c99 !important;
  box-shadow: 0 4px 10px rgba(13,111,184,.35) !important;
}

/* ── Tarjeta de producto en MÓVIL: imagen izq + texto dcha, precio+botón debajo ── */
@media (max-width: 768px) {
  .productContainer { padding: 12px 14px !important; }
  .productContainer .div1 {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  /* Fila 1: imagen a la izquierda */
  .imageBox { flex: 0 0 88px !important; }
  .imageBox img { width: 88px !important; height: 88px !important; }
  /* Fila 1: descripción a la derecha de la imagen (ocupa el resto) */
  .productTitleBox {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .productContainer .mit-prod-title { font-size: 14px; }
  .productContainer .caracteristiques { font-size: 12px; line-height: 1.5; }
  .productContainer .mit-color-ico { height: 26px; }
  /* Fila 2: precio (izq) + botón (dcha), a todo el ancho, debajo */
  .productContainer .div2 {
    flex: 0 0 100% !important;
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    gap: 10px;
  }
  .productContainer .priceBoxContainer { text-align: left !important; margin: 0 !important; }
  .productContainer .our_price_display2 { font-size: 21px; }
  .productContainer .addCartContainer { margin: 0 !important; flex: 0 0 auto; }
  .productContainer .mitinta-atc,
  .productContainer .add-to-cart { white-space: nowrap; padding: 10px 18px; }
}

/* ── Columna derecha: tarjeta única de confianza ── */
.index-right-col { padding: 10px 0 0 10px; gap: 0; }
.mit-trust-card {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(20,30,40,.08);
  padding: 22px 20px;
}
.mtc-stars { color: #ffc107; font-size: 22px; text-align: center; letter-spacing: 3px; }
.mtc-pct { text-align: center; font-size: 36px; font-weight: 800; color: #1d2530; line-height: 1.05; margin-top: 4px; }
.mtc-pct-lbl { text-align: center; font-size: 13px; color: #7a828c; }
.mtc-sep { height: 1px; background: #f0f2f4; margin: 18px 0 6px; }
.mtc-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.mtc-ico { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mtc-ico--pink { background: #ffe6f2; }
.mtc-ico--yellow { background: #fff3cd; }
.mtc-ico--blue { background: #e1f0fb; }
.mtc-ico--green { background: #e3f5e3; }
.mtc-txt strong { display: block; font-size: 14px; color: #1d2530; font-weight: 700; }
.mtc-txt span { font-size: 12px; color: #9aa1a9; }

/* ── Banner de envío más sutil ── */
.mit-ship-banner {
  height: auto !important;
  background: #eaf6fd !important;
  box-shadow: none !important;
  border: 1px solid #cfeafb;
  padding: 12px 20px !important;
  color: #14496b !important;
}
.mit-ship-banner::before { display: none; }
.mit-ship-banner .msb-icon { background: #d3ecfb; width: 40px; height: 40px; }
.mit-ship-banner .msb-icon svg { fill: #0d6fb8; }
.mit-ship-banner .msb-text strong { color: #14496b; font-size: 16px; }
.mit-ship-banner .msb-text span { color: #4b7695; }
.mit-ship-banner .msb-badge { background: #ffe066; color: #7a6200; box-shadow: none; transform: none; }

/* ── Hero: botón OK oscuro, campos redondeados, marcas tipo píldora ── */
#index .col-search input[type="text"],
#index .home-advanced-search input[type="text"],
.home-advanced-search .ai-category-typeahead,
#ai_search_input { border-radius: 10px !important; }
#ai_search_btn, .home-advanced-search input[type="submit"] {
  background: #1e1e21 !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700;
}
.quick-brand {
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  padding: 6px 16px !important;
}
.quick-brand:hover { background: #fff !important; color: #0d6fb8 !important; }

/* ── Home: hero a ancho completo, fila interna productos + tarjeta ── */
body#index #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding-right: 0 !important; }
body#index #right-column { display: none !important; }
#index #accroche,
#index .col-search { width: 100%; margin-left: 0; margin-right: 0; }
.mit-home-row { margin-top: 4px; }
.mit-home-side .index-right-col { padding: 0; }
.mit-home-side { padding-left: 15px; }
@media (max-width: 767px) {
  .mit-home-side { margin-top: 16px; }
}

/* Fondo totalmente blanco */
body { background-color: #ffffff !important; background-image: none !important; }

/* Contenedores de página en blanco (fondo homogéneo) */
#wrapper, #main, #content, #content-wrapper,
.index-page, #index, .page-home, .page-content, .page-wrapper {
  background: #ffffff !important;
}

/* ── Tarjeta CTA de asesoramiento (bajo la de confianza) ── */
.mit-help-card {
  margin-top: 16px;
  background: linear-gradient(150deg, #01B7E9 0%, #0d6fb8 100%);
  border-radius: 18px;
  padding: 22px 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 20px rgba(13,111,184,.22);
}
.mhc-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.mhc-title { font-size: 17px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.mhc-text { font-size: 13.5px; line-height: 1.55; color: #ffffff; opacity: 1; margin: 0 0 16px; text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.mhc-btn {
  display: inline-block;
  background: #ff3399;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(255,51,153,.35);
  transition: transform .12s ease, background .15s ease;
}
.mhc-btn:hover { background: #e01a80; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* Cajas CONFIANZA y 5 razones en la columna lateral nueva */
.index-right-col .irc-block.irc-trust { margin: 16px 0 0 !important; border-radius: 18px !important; }
.index-right-col .irc-reasons { margin: 16px 0 0 !important; border-radius: 18px !important; box-shadow: 0 4px 14px rgba(20,30,40,.08) !important; }

/* ── Sección SEO con acordeón (contenido home) ── */
.mit-seo { max-width: 900px; margin: 10px auto 40px; text-align: left; }
.mit-seo__title { font-size: 26px; font-weight: 800; color: #1d2530; text-align: center; margin: 0 0 12px; line-height: 1.25; }
.mit-seo__intro { font-size: 15px; color: #4b5560; line-height: 1.7; text-align: center; margin: 0 0 26px; }
.mit-seo__intro strong { color: #1d2530; }
.mit-seo__closing { text-align: center; font-size: 16px; color: #0d6fb8; font-weight: 700; margin-top: 22px; }

.mit-acc { display: flex; flex-direction: column; gap: 12px; }
.mit-acc__item {
  border: 1px solid #eceef1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20,30,40,.05);
  overflow: hidden;
  transition: box-shadow .18s ease;
}
.mit-acc__item[open] { box-shadow: 0 6px 18px rgba(20,30,40,.10); border-color: #d7ebf9; }
.mit-acc__q {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #1d2530;
  position: relative;
  user-select: none;
}
.mit-acc__q::-webkit-details-marker { display: none; }
.mit-acc__q::after {
  content: '+';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #eaf6fd;
  color: #0d6fb8;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.mit-acc__item[open] .mit-acc__q::after { content: '−'; background: #0d6fb8; color: #fff; }
.mit-acc__q:hover { color: #0d6fb8; }
.mit-acc__a { padding: 0 20px 18px; }
.mit-acc__a p { font-size: 14px; color: #4b5560; line-height: 1.7; margin: 0 0 10px; }
.mit-acc__a p:last-child { margin-bottom: 0; }
.mit-acc__a strong { color: #1d2530; }

@media (max-width: 600px) {
  .mit-seo__title { font-size: 21px; }
  .mit-acc__q { font-size: 15px; padding: 14px 44px 14px 16px; }
}

/* Mosaico un poco más estrecho y con separación superior */
#index .home-mosaic {
  max-width: 820px;
  margin: 34px auto 24px !important;
  padding-right: 0;
  gap: 8px;
}

/* Buscador: ancho contenido para no tocar la marca de agua + hero más compacto */
.home-advanced-search .ai-search-row { max-width: 820px !important; }
#ai_category_typeahead { width: 190px; }
#index .col-search { padding-top: 22px !important; padding-bottom: 22px !important; }
.col-search .search-marques > span[style*="clear"] { display: none !important; }
.home-advanced-search { margin-top: -32px !important; }
.tx-search-marque > span:not(.big):not(.mit-hero-tagline) { display: block; margin-bottom: 0; line-height: 1.3; }
.tx-search-marque { margin-bottom: 0 !important; }
.tx-search-marque .big { margin-bottom: 4px; display: block; }

/* ── Banner tríptico con imágenes de fondo ── */
.mit-tri-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}
.mtb-cell {
  position: relative;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 14px rgba(20,30,40,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mtb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,58,92,.35), rgba(13,58,92,.62));
}
.mtb-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 12px 16px;
}
.mtb-big {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.mtb-txt {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.mtb-btn {
  display: inline-block;
  margin-top: 10px;
  background: #ff3399;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  transition: transform .12s ease, background .15s ease;
}
.mtb-btn:hover { background: #e01a80; color: #fff; text-decoration: none; transform: translateY(-1px); }
/* Fallback de color por si aún no hay imagen */
.mtb-cell--1 { background-color: #0d6fb8; }
.mtb-cell--2 { background-color: #e0a800; }
.mtb-cell--3 { background-color: #01B7E9; }
@media (max-width: 767px) {
  .mit-tri-banner { grid-template-columns: 1fr; }
  .mtb-cell { height: 120px; }
}

/* ── Lightbox del banner ── */
.mtb-cell[data-full] { cursor: pointer; }
.mit-lightbox[hidden] { display: none; }
.mit-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(10,15,20,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
}
.mit-lightbox__img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,.5);
  object-fit: contain;
}
.mit-lightbox__close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: 0;
  color: #fff; font-size: 40px; line-height: 1;
  cursor: pointer; opacity: .85;
}
.mit-lightbox__close:hover { opacity: 1; }

/* Eslogan bajo el título del hero */
.mit-hero-tagline {
  display: block;
  color: #eafaff;
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,.12);
}

/* Subir el contenido bajo el hero para alinear con la tarjeta derecha */
#index .col-search { margin-bottom: 12px !important; }
.mit-home-row { margin-top: 0 !important; }
.mit-home-main .mit-ship-banner { margin-top: 0 !important; }

/* ═══ Rediseño ficha de producto ═══ */
/* Precio grande + "IVA incluido" en la misma línea */
.mit-price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mit-price-big { font-size: 34px !important; font-weight: 800 !important; color: #ff3399 !important; font-family: 'Oswald', sans-serif; line-height: 1; }
.mit-iva-inline { font-size: 14px; color: #9aa1a9; font-weight: 600; }
/* Ocultar el "Impuestos incluidos" separado */
body#product .tax-shipping-delivery-label { display: none !important; }

/* Cantidad + selector + botón añadir en la misma fila */
body#product .product-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
body#product .product-add-to-cart .control-label { margin: 0 !important; font-weight: 700; }
body#product .product-add-to-cart .product-quantity { display: flex; align-items: center; gap: 14px; margin: 0; float: none; }
body#product .product-add-to-cart .qty { margin: 0; }
body#product .product-add-to-cart .add { margin: 0; }
body#product .product-availability,
body#product .product-minimal-quantity { flex-basis: 100%; margin-top: 4px; }

/* Compartir + políticas movidos a la columna izquierda */
.mit-left-extra { margin-top: 20px; }
.mit-share { padding: 14px 0; border-top: 1px solid #eceef1; }
.mit-reassurance .block-reassurance,
.mit-reassurance ul { list-style: none; margin: 0; padding: 0; }
.mit-left-extra .social-sharing { margin: 0; }

/* ── Ajustes ficha: precio a la derecha, fila cantidad, subir detalles ── */
/* Precio alineado a la derecha */
body#product .product-prices { text-align: right; }
body#product .mit-price-line { justify-content: flex-end; }
body#product .mit-saving--product,
body#product .mit-inkmore--product { text-align: right; justify-content: flex-end; }

/* Cantidad + unidades + añadir en la misma línea (robusto) */
body#product .product-add-to-cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
body#product .product-add-to-cart > .control-label,
body#product .product-add-to-cart .qty-label { order: 1; margin: 0 !important; }
body#product .product-add-to-cart .product-quantity {
  order: 2;
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
body#product .product-add-to-cart .product-quantity .qty,
body#product .product-add-to-cart .product-quantity .add { margin: 0 !important; }

/* Alinear box Cantidad+botón a la derecha y quitar espacio superior */
body#product .product-add-to-cart { justify-content: flex-end !important; align-items: center !important; margin-top: 0 !important; }
/* Etiqueta "Cantidad" en ancho automático, junto al input y botón */
body#product .product-add-to-cart > .control-label {
  width: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
}
/* Ocultar bloques vacíos (disponibilidad y cantidad mínima) que dejan hueco.
   Stock desactivado globalmente; el min del input sigue vigente. */
body#product .product-add-to-cart > .product-availability,
body#product .product-add-to-cart > .product-minimal-quantity { display: none !important; }
/* Colapsar whitespace y quitar margen del bloque de descuentos vacío (hueco encima) */
body#product .product-information,
body#product #add-to-cart-or-refresh { display: flex !important; flex-direction: column !important; }
body#product #add-to-cart-or-refresh { gap: 0 !important; }
body#product .product-discounts:empty,
body#product .product-variants:empty { margin: 0 !important; padding: 0 !important; }
body#product .product-discounts { margin-bottom: 0 !important; }
body#product .product-information .product-actions,
body#product .product-actions.js-product-actions { margin-top: 0 !important; }
body#product .product-information { margin-top: 0 !important; }
body#product .product-prices { margin-bottom: 6px !important; }

/* Subir el box de "Detalles del producto" */
body#product .product-information .product-actions { margin-bottom: 10px; }
body#product .tabs,
body#product .product-tabs,
body#product .product-information .tabs { margin-top: 10px !important; padding-top: 0 !important; }
body#product .product-additional-info { margin: 6px 0 !important; }

/* ── Compartir + 3 políticas en una fila de 4 secciones ── */
.mit-left-extra {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eceef1;
}
.mit-left-extra > .mit-share {
  flex: 1;
  border-top: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mit-left-extra > .mit-share .social-sharing { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0; }
.mit-left-extra > .mit-reassurance { flex: 3; }
.mit-reassurance .blockreassurance_product { display: flex; gap: 8px; margin: 0; padding: 0; }
.mit-reassurance .blockreassurance_product > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: #5a6472;
  cursor: pointer;
  padding: 0 4px;
}
.mit-reassurance .blockreassurance_product > div:hover { color: #0d6fb8; }
.mit-reassurance .item-product { display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.mit-reassurance .item-product svg,
.mit-reassurance .item-product img { width: 26px; height: 26px; }
.mit-reassurance .block-title { display: block; }
@media (max-width: 600px) {
  .mit-left-extra { flex-wrap: wrap; }
  .mit-left-extra > .mit-share { flex-basis: 100%; margin-bottom: 8px; }
}

/* Repartir Compartir + políticas por todo el ancho */
.mit-left-extra { justify-content: space-between; width: 100%; }
.mit-left-extra > .mit-share { flex: 1 1 0; }
.mit-left-extra > .mit-reassurance { flex: 3 1 0; min-width: 0; }
.mit-reassurance .blockreassurance_product {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between;
  gap: 8px;
}
.mit-reassurance .blockreassurance_product > div { flex: 1 1 0 !important; min-width: 0; }
/* Ocultar item vacío que descuadra el reparto 25% */
.mit-reassurance .blockreassurance_product > div:empty { display: none !important; }

/* ── Móvil: ocultar columna derecha (tarjeta confianza) en buscador y categorías,
   y expandir el contenido a todo el ancho ── */
@media (max-width: 768px) {
  body#module-ai_advancedsearch-default #right-column,
  body#search #right-column,
  body#category #right-column { display: none !important; }
  body#module-ai_advancedsearch-default #content-wrapper.col-md-9,
  body#search #content-wrapper.col-md-9,
  body#category #content-wrapper.col-md-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 0 !important;
  }
}

/* ── Buscador del hero en móvil: campos a ancho completo, apilados ── */
@media (max-width: 768px) {
  .home-advanced-search .ai-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  #ai_category_typeahead {
    width: 100% !important;
    display: block;
  }
  .ai-search-submit-row {
    width: 100% !important;
    min-width: 0 !important;
  }
  #ai_search_input { flex: 1 1 auto; min-width: 0; }
  #ai_search_btn, .home-advanced-search input[type="submit"] {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 0 18px !important;
  }
}
