/* ============================================
   Iberoclinic Theme
   Developed by Pymergy Media S.L.
   https://www.pymergy.com
   Version: 1.0.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --ic-green: #76ac4e;
  --ic-green-dark: #70ad46;
  --ic-green-accent: #37a625;
  --ic-blue: #007bfe;
  --ic-blue-links: #007bfe;
  --ic-dark: #282c33;
  --ic-text: #777777;
  --ic-text-hover: #333333;
  --ic-light-bg: #f7f7f7;
  --ic-white: #ffffff;
  --ic-border: #e3e3e3;
  --ic-price-red: #ad1f00;
  --ic-menu-hover: #9f9f9f;
  --ic-font: 'Karla', sans-serif;
}

/* --- Reset & Base --- */
body {
  font-family: var(--ic-font) !important;
  color: var(--ic-text);
  background: var(--ic-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ic-font) !important;
}

a { color: var(--ic-text); }
a:hover { color: var(--ic-dark); text-decoration: none; }

/* Border radius 0 everywhere like original */
.btn, .form-control, .card, .alert, .badge, .product-miniature,
.search-widget form input, .search-widget form button,
.pagination .page-link { border-radius: 0 !important; }

/* --- Header --- */
#header {
  background: var(--ic-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Hide default Hummingbird header parts */
.header-top, .header-nav, .header-bottom {
  display: none !important;
}

/* === CUSTOM IBEROCLINIC HEADER === */
#header .container,
.ic-main-nav .container {
  max-width: 1270px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.ic-header-top {
  background: var(--ic-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--ic-border);
}

.ic-header-top__row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ic-header-top__logo {
  flex: 0 0 auto;
}

.ic-header-top__logo .logo {
  max-height: 90px;
  width: auto;
}

.ic-header-top__search {
  flex: 1;
  margin: 0 20px;
}

.ic-header-top__search #_desktop_search {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ic-header-top__search .search-widgets,
.ic-header-top__search .search-widget {
  width: 100% !important;
}

.ic-header-top__search .search-widget form {
  display: flex !important;
  width: 100% !important;
}

/* Hide any extra elements inside search widget */
.ic-header-top__search .search-widget form > *:not(input):not(button) {
  display: none;
}

.ic-header-top__search .search-widget form input[type=text] {
  flex: 1;
  border: 2px solid var(--ic-border);
  padding: 12px 18px;
  font-size: 1rem;
  border-right: none;
  height: 48px;
}

.ic-header-top__search .search-widget form button {
  background: var(--ic-white);
  border: 2px solid var(--ic-border);
  border-left: none;
  color: var(--ic-text);
  padding: 0 18px;
  height: 48px;
}

.ic-header-top__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 25px;
}

.ic-header-action__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none !important;
}

.ic-header-action__link svg {
  fill: var(--ic-blue);
}

.ic-header-action__link span {
  font-size: 0.68rem;
  color: var(--ic-text);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ic-header-action__link:hover svg {
  fill: var(--ic-green);
}

.ic-header-action__link:hover span {
  color: var(--ic-text-hover);
}

/* === CART BLOCK === */
.ic-cart-block {
  position: relative;
}

.ic-cart-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.ic-cart-icon-link {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}

.ic-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--ic-blue);
  color: var(--ic-white);
  font-size: 0.55rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-cart-label {
  font-size: 0.68rem;
  color: var(--ic-text);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Cart dropdown - hidden by default, show on hover */
.ic-cart-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--ic-white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-top: 2px solid var(--ic-green);
  min-width: 360px;
  z-index: 1001;
  padding: 0;
}

.ic-cart-block.ic-cart-open .ic-cart-dropdown {
  display: block;
}

/* Cart products list */
.ic-cart-products {
  max-height: 300px;
  overflow-y: auto;
}

.ic-cart-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.ic-cart-product__img {
  flex: 0 0 50px;
}

.ic-cart-product__img img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.ic-cart-product__noimg {
  display: block;
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  font-size: 0.6rem;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ic-cart-product__info {
  flex: 1;
  min-width: 0;
}

.ic-cart-product__name {
  color: var(--ic-blue) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}

.ic-cart-product__name:hover {
  color: var(--ic-green) !important;
}

.ic-cart-product__discount {
  text-decoration: line-through;
  color: #999;
  font-size: 0.75rem;
}

.ic-cart-product__qty {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: var(--ic-text);
}

.ic-cart-product__price {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ic-text-hover);
  white-space: nowrap;
}

.ic-cart-product__remove a {
  color: #999;
  transition: color 0.2s;
}

.ic-cart-product__remove a:hover svg {
  fill: #c00;
}

/* Cart summary */
.ic-cart-summary {
  padding: 12px 15px;
  border-top: 1px solid #e3e3e3;
  font-size: 0.85rem;
}

.ic-cart-summary__line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--ic-text);
}

.ic-cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #e3e3e3;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--ic-text-hover);
}

/* Cart action buttons */
.ic-cart-actions {
  padding: 12px 15px;
}

.ic-cart-btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none !important;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.ic-cart-btn--primary {
  background: var(--ic-green);
  color: var(--ic-white) !important;
}

.ic-cart-btn--primary:hover {
  background: var(--ic-green-dark);
}

.ic-cart-btn--secondary {
  background: var(--ic-green);
  color: var(--ic-white) !important;
}

.ic-cart-btn--secondary:hover {
  background: var(--ic-green-dark);
}

/* Blockcart modal styling */
#blockcart-modal .btn-primary {
  background: var(--ic-green) !important;
  border-color: var(--ic-green) !important;
}

#blockcart-modal .modal-header {
  background: var(--ic-green);
  color: var(--ic-white);
}

#blockcart-modal .btn-secondary {
  background: var(--ic-blue) !important;
  border-color: var(--ic-blue) !important;
  color: var(--ic-white) !important;
}

/* === MAIN NAV BAR === */
.ic-main-nav {
  background: #e8e8e8;
  position: relative;
  z-index: 1000;
}

.ic-main-nav__row {
  display: flex;
  align-items: stretch;
}

/* Categorias trigger button */
.ic-mega-trigger__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ic-green);
  border: none;
  color: var(--ic-white);
  padding: 0 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: var(--ic-font);
  height: 100%;
  min-height: 42px;
  transition: background 0.2s;
}

.ic-mega-trigger__btn:hover,
.ic-mega-trigger__btn--active {
  background: var(--ic-green-dark);
}

/* Menu items */
.ic-menu-items {
  display: flex;
  align-items: stretch;
}

.ic-menu-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ic-text-hover) !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0 16px;
  transition: color 0.2s;
  white-space: nowrap;
}

.ic-menu-item:hover {
  color: var(--ic-green) !important;
}

.ic-menu-item--icon svg,
.ic-menu-item--flag svg {
  fill: var(--ic-text-hover);
}

.ic-menu-item:hover svg {
  fill: var(--ic-green);
}

.ic-menu-right {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.ic-menu-item--icon svg {
  opacity: 0.8;
}

.ic-menu-item--flag img {
  margin-right: 4px;
}

/* === MEGA MENU DROPDOWN === */
.ic-mega-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 100vw;
  max-width: 1600px;
  transform: translateX(-50%);
  background: var(--ic-white);
  border-top: 3px solid var(--ic-green-accent);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 999;
  padding: 25px 30px;
}

.ic-mega-menu .container {
  max-width: 100% !important;
  padding: 0 !important;
}

.ic-mega-menu--open {
  display: block;
}

.ic-mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px 20px;
}

.ic-mega-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ic-green);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: none;
  line-height: 1.3;
}

.ic-mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.ic-mega-col ul li {
  margin-bottom: 3px;
}

.ic-mega-col ul li a {
  color: var(--ic-text) !important;
  font-size: 0.75rem;
  text-decoration: none;
  display: block;
  padding: 2px 0;
  transition: color 0.2s;
  line-height: 1.4;
}

.ic-mega-col ul li a::before {
  content: "\203A ";
  color: var(--ic-green);
  margin-right: 3px;
}

.ic-mega-col ul li a:hover {
  color: var(--ic-green) !important;
}

/* Hide default PS menu since we have custom */
#_desktop_top_menu {
  display: none !important;
}

/* Slider visible (was hidden by legacy rule) */

/* --- Buttons --- */
.btn-primary,
button.btn-primary,
a.btn-primary {
  background-color: var(--ic-green) !important;
  border-color: var(--ic-green) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background-color: var(--ic-green-dark) !important;
  border-color: var(--ic-green-dark) !important;
}

/* Align homepage content with header container width */
body#index #wrapper > .container {
  max-width: 1270px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin: 0 auto !important;
}

body#index #content-wrapper {
  padding: 0;
}

body#index #wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body#index #wrapper > .container {
  padding-top: 0 !important;
}

body#index #notifications {
  margin: 0;
  padding: 0;
}

body#index #notifications .container {
  padding: 0;
}

body#index #notifications:empty,
body#index #notifications .container:empty {
  display: none;
}

/* --- Service Bar --- */
.ic-service-bar-wrapper {
  background: var(--ic-white);
  border-bottom: 1px solid var(--ic-border);
}

.ic-service-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  flex-wrap: nowrap;
  gap: 5px;
}

.ic-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
}

.ic-service-item .ic-service-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-service-item .ic-service-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--ic-blue);
}

.ic-service-item .ic-service-text h6 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ic-green);
  text-transform: uppercase;
  line-height: 1.3;
}

.ic-service-item .ic-service-text p {
  margin: 0;
  font-size: 0.65rem;
  color: var(--ic-text);
  text-transform: uppercase;
  line-height: 1.3;
}

/* --- Section Title --- */
.ic-section-title {
  text-align: center;
  padding: 25px 0 10px;
}

.ic-section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ic-blue-links);
  margin-bottom: 10px;
}

.ic-section-title .ic-underline {
  width: 60px;
  height: 3px;
  background: var(--ic-blue-links);
  margin: 0 auto;
}

/* --- Category Grid --- */
.ic-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px 0 40px;
  margin: 0 auto;
}

.ic-category-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 300/151;
}

.ic-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ic-category-card:hover img {
  transform: scale(1.05);
}

.ic-category-card .ic-category-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--ic-green);
  color: var(--ic-white);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- About Section --- */
.ic-about-section {
  background: var(--ic-light-bg);
  padding: 50px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.ic-about-content {
  display: flex;
  gap: 40px;
  max-width: 1270px;
  margin: 0 auto;
  padding: 20px 15px;
  align-items: center;
}

.ic-about-content .ic-about-img {
  flex: 0 0 45%;
}

.ic-about-content .ic-about-img img {
  width: 100%;
  height: auto;
}

.ic-about-content .ic-about-text {
  flex: 1;
  color: var(--ic-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ic-about-content .ic-about-text strong {
  color: var(--ic-dark);
}

/* --- Product Cards (Iberoclinic) --- */
.product-miniature {
  background: transparent;
  border: 0;
  overflow: visible;
}

.product-miniature .ic-miniature__card,
.product-miniature .card {
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  height: 100%;
}

.product-miniature:hover .ic-miniature__card,
.product-miniature:hover .card {
  border-color: #007bfe;
  box-shadow: 0 4px 14px rgba(0, 123, 254, .12);
}

.ic-miniature__title,
.product-miniature .product-miniature__title {
  color: #1f2a44;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: .25rem;
}

.product-miniature a:hover .ic-miniature__title,
.product-miniature a:hover .product-miniature__title {
  color: #007bfe;
}

.ic-miniature__reference {
  color: #7c8290;
  font-size: .78rem;
  margin-bottom: .5rem;
  font-family: monospace;
}

/* Tighten the gap between top (name+ref) and bottom (price+cart) blocks */
.product-miniature .product-miniature__infos {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .35rem;
}

.product-miniature .product-miniature__infos__top {
  margin-bottom: 0;
}

.product-miniature .product-miniature__infos__bottom {
  margin-top: 0;
}

.ic-miniature__prices {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.ic-miniature__price,
.product-miniature .product-miniature__price {
  color: #007bfe !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.ic-miniature__regular-price {
  color: #9aa0aa;
  text-decoration: line-through;
  font-size: .85rem;
}

/* Custom qty input with stacked arrows (Promyges-style) */
.ic-miniature__qty {
  display: flex;
  align-items: stretch;
  width: 64px;
  flex: 0 0 64px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.ic-miniature__qty-input {
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  font-size: .9rem;
  padding: 0 .25rem !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto;
  width: 100%;
  -moz-appearance: textfield;
}

.ic-miniature__qty-input:focus {
  box-shadow: none !important;
  outline: 0;
}

.ic-miniature__qty-input::-webkit-outer-spin-button,
.ic-miniature__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ic-miniature__qty-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ced4da;
  flex: 0 0 22px;
}

.ic-miniature__qty-up,
.ic-miniature__qty-down {
  flex: 1 1 50%;
  border: 0;
  background: #f8f9fa;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 17px;
}

.ic-miniature__qty-up {
  border-bottom: 1px solid #ced4da;
}

.ic-miniature__qty-up:hover,
.ic-miniature__qty-down:hover {
  background: #007bfe;
  color: #fff;
}

.ic-miniature__buy {
  background: #76ac4e;
  border: 1px solid #76ac4e;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .45rem .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  transition: background .15s, color .15s, border-color .15s;
}

.ic-miniature__buy:hover {
  background: #fff;
  color: #76ac4e;
  border-color: #76ac4e;
}

.ic-miniature__buy-icon {
  flex-shrink: 0;
}

/* --- Product Page --- */
.product-add-to-cart .add-to-cart {
  background-color: var(--ic-green) !important;
  border-color: var(--ic-green) !important;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  height: 50px;
}

.product-add-to-cart .add-to-cart:hover {
  background-color: var(--ic-green-dark) !important;
}

/* Quantity selector on the product page — match add-to-cart height */
.product-add-to-cart .product-actions__quantity .input-group,
.product-actions__quantity .input-group {
  height: 50px;
}

.product-add-to-cart .product-actions__quantity .input-group .form-control,
.product-add-to-cart .product-actions__quantity .input-group .btn,
.product-actions__quantity .input-group .form-control,
.product-actions__quantity .input-group .btn {
  height: 50px;
  min-height: 50px;
  font-size: 1rem;
}

.product-actions__quantity .input-group .btn {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- Hide default footer, use custom --- */
#footer .footer__before,
#footer .footer__main {
  display: none !important;
}

/* --- Trust Section --- */
.ic-trust-section {
  background: var(--ic-white);
  padding: 30px 0;
  border-top: 1px solid var(--ic-border);
}

.ic-trust-row {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.ic-trust-badge img {
  max-height: 80px;
  width: auto;
}

.ic-trust-text {
  flex: 0 1 500px;
}

.ic-trust-text p {
  font-size: 0.8rem;
  color: var(--ic-text);
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

.ic-trust-payments img {
  max-height: 40px;
  width: auto;
}

/* --- Custom Footer --- */
.ic-footer {
  background: var(--ic-dark);
  padding: 45px 0 35px;
  color: rgba(255,255,255,0.75);
}

.ic-footer .container {
  max-width: 1270px !important;
}

.ic-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.ic-footer__col h4 {
  color: var(--ic-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ic-green);
  display: inline-block;
}

.ic-footer__about {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 15px;
}

.ic-footer__social {
  display: flex;
  gap: 12px;
}

.ic-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.ic-footer__social a:hover {
  background: var(--ic-green);
  color: var(--ic-white);
}

.ic-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ic-footer__col ul li {
  margin-bottom: 8px;
}

.ic-footer__col ul li a {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.ic-footer__col ul li a::before {
  content: "\203A ";
  color: var(--ic-green);
  margin-right: 5px;
}

.ic-footer__col ul li a:hover {
  color: var(--ic-green) !important;
  padding-left: 3px;
}

.ic-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ic-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ic-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ic-footer__contact-item a {
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none;
}

.ic-footer__contact-item a:hover {
  color: var(--ic-green) !important;
}

/* --- Footer Bottom --- */
.ic-footer-bottom {
  background: #1a1e24;
  padding: 15px 0;
}

.ic-footer-bottom .container {
  max-width: 1270px !important;
}

.ic-footer-bottom__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ic-footer-bottom__row p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.ic-footer-bottom__credit a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none;
}

.ic-footer-bottom__credit a:hover {
  color: var(--ic-green) !important;
}

/* --- Custom Search Widget --- */
.ic-search-widget {
  flex: 1;
  margin: 0 20px;
  align-items: center;
}

.ic-search-container {
  width: 100%;
  position: relative;
}

.ic-search-container form {
  display: flex;
  width: 100%;
}

.ic-search-input {
  flex: 1;
  border: 2px solid var(--ic-border) !important;
  border-right: none !important;
  padding: 12px 18px !important;
  font-size: 0.95rem !important;
  height: 48px;
  font-family: var(--ic-font) !important;
  outline: none;
  background: var(--ic-white);
}

.ic-search-input:focus {
  border-color: var(--ic-blue) !important;
}

.ic-search-btn {
  background: var(--ic-white);
  border: 2px solid var(--ic-border);
  border-left: none;
  padding: 0 18px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.ic-search-btn:hover svg {
  fill: var(--ic-blue);
}

/* Search Dropdown */
.ic-search-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: var(--ic-white) !important;
  border: 1px solid var(--ic-border);
  border-top: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 9999 !important;
  max-height: 500px;
  overflow-y: auto;
  min-width: 600px;
}

/* Allow dropdown to escape parent containers */
.ic-header-top,
.ic-header-top__row,
#ic_desktop_search,
.ic-search-container {
  overflow: visible !important;
}

#header {
  overflow: visible !important;
}

.ic-search-dropdown__cols {
  display: flex;
}

/* Categories column */
.ic-search-dropdown__categories {
  flex: 0 0 35%;
  border-right: 1px solid var(--ic-border);
  padding: 15px;
}

.ic-search-dropdown__categories h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ic-blue);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.ic-search-dropdown__categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ic-search-dropdown__categories ul li {
  margin-bottom: 6px;
}

.ic-search-dropdown__categories ul li a {
  color: var(--ic-text) !important;
  font-size: 0.85rem;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}

.ic-search-dropdown__categories ul li a:hover {
  color: var(--ic-blue) !important;
}

.ic-search-dropdown__categories ul li a strong {
  color: var(--ic-blue);
}

/* Products column */
.ic-search-dropdown__products {
  flex: 1;
  padding: 15px;
}

.ic-search-dropdown__products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ic-search-dropdown__products-header h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ic-blue);
  margin: 0;
  text-transform: uppercase;
}

.ic-search-viewall {
  font-size: 0.8rem;
  color: var(--ic-text) !important;
  text-decoration: none;
}

.ic-search-viewall:hover {
  color: var(--ic-blue) !important;
}

/* Products grid */
.ic-search-dropdown__products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ic-search-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  padding: 8px;
  border: 1px solid #f0f0f0;
  transition: border-color 0.2s;
}

.ic-search-product:hover {
  border-color: var(--ic-blue);
}

.ic-search-product img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 6px;
}

.ic-search-product__name {
  font-size: 0.75rem;
  color: var(--ic-text-hover);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-search-product__name strong {
  color: var(--ic-blue);
}

.ic-search-product__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ic-price-red);
  margin-top: 4px;
}

.ic-search-noresults {
  font-size: 0.85rem;
  color: var(--ic-text);
  text-align: center;
  padding: 20px;
  grid-column: 1 / -1;
}

/* Hide default search widget styles */
.searchbar-autocomplete,
.ui-autocomplete {
  display: none !important;
}

/* Hide all default search widgets, only show our custom one */
#_desktop_search {
  display: none !important;
}

#ic_desktop_search {
  display: flex !important;
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: transparent;
  padding: 10px 0;
  font-size: 0.8rem;
  color: #8f8f8f;
}

/* --- Forms --- */
.form-control:focus {
  border-color: var(--ic-green);
  box-shadow: none;
}

/* --- Pagination --- */
.pagination .page-item.active .page-link {
  background-color: var(--ic-green);
  border-color: var(--ic-green);
}

.pagination .page-link {
  color: var(--ic-green);
}

/* --- Category page sidebar --- */
.block-categories .category-sub-menu li a {
  color: var(--ic-text);
}

.block-categories .category-sub-menu li a:hover {
  color: var(--ic-green);
}

/* --- Faceted search --- */
#search_filters .facet .facet-title {
  font-weight: 600;
  color: var(--ic-dark);
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* --- Checkout --- */
.checkout-step.-current .step-title {
  color: var(--ic-green);
}

/* --- Alerts --- */
.alert-success {
  background-color: rgba(118,172,78,0.1);
  border-color: var(--ic-green);
  color: var(--ic-green-dark);
}

/* --- Responsive --- */
@media (max-width: 1199px) {
  .ic-mega-menu__grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .ic-menu-item {
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 991px) {
  .ic-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ic-service-bar {
    justify-content: center;
  }
  .ic-about-content {
    flex-direction: column;
  }
  .ic-header-top__row {
    flex-wrap: wrap;
  }
  .ic-header-top__search {
    order: 3;
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 10px;
  }
  .ic-mega-menu__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ic-menu-right {
    display: none;
  }
}

@media (max-width: 767px) {
  .ic-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ic-section-title h2 {
    font-size: 1.4rem;
  }
  .ic-service-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .ic-menu-items {
    display: none;
  }
  .ic-mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ic-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ic-mega-menu__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .ic-category-grid { gap: 6px; }
}

/* Disable quickview and wishlist on product miniatures */
.js-quickview,
.product-miniature__quickview,
.product-miniature__quickview_touch,
.product-miniature__quickview_button,
.wishlist-button-add,
.product-miniature .wishlist-button-product {
  display: none !important;
}

/* Iberoclinic - Custom 3-column checkout */

.ic-checkout {
  max-width: 1270px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.ic-checkout__col {
  margin-bottom: 1rem;
}

/* Step cards */
.ic-step {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.ic-step--complete .ic-step__title {
  color: #76ac4e;
}

.ic-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #76ac4e;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}

.ic-step__num {
  background: #007bfe;     /* corporate blue when reachable / current */
}
.ic-step__num--done {
  background: #76ac4e;     /* green when completed */
}
.ic-step__num--disabled {
  background: #d1d5db;
}

.ic-step--unreachable {
  opacity: .85;
}

/* Carrier + payment logos */
.delivery-options__list .carrier__logo img,
.payment__list img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

/* Ic preview list (unreachable steps) */
.ic-preview-list__item img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

/* Two-column form layout — strictly scoped to form section.form-fields inside checkout.
   Does NOT propagate to other parts of the page. */
@media (min-width: 576px) {
  .ic-checkout form section.form-fields,
  .ic-checkout .ic-personal__edit form {
    display: flex;
    flex-wrap: wrap;
    column-gap: .5rem;
    align-content: flex-start;
  }
  .ic-checkout form section.form-fields > *,
  .ic-checkout .ic-personal__edit form > * {
    flex: 1 1 100%;
    min-width: 0;
  }
  .ic-checkout form section.form-fields > .mb-3:has(input[name="firstname"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="lastname"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="email"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="postcode"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="city"]),
  .ic-checkout form section.form-fields > .mb-3:has(select[name="id_country"]),
  .ic-checkout form section.form-fields > .mb-3:has(select[name="id_state"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="phone"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="phone_mobile"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="company"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="vat_number"]),
  .ic-checkout form section.form-fields > .mb-3:has(input[name="dni"]),
  .ic-checkout .ic-personal__edit form > .mb-2:has(input[name="firstname"]),
  .ic-checkout .ic-personal__edit form > .mb-2:has(input[name="lastname"]) {
    flex: 0 0 calc(50% - .25rem);
    max-width: calc(50% - .25rem);
  }
}

/* Conditions to approve relocated to cart summary */
.ic-conditions-host {
  margin-top: 1rem;
  padding: .75rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: .85rem;
}
.ic-conditions-host .form-check {
  margin: 0;
}
.ic-conditions-host label {
  font-size: .85rem;
  color: #444;
}

/* Place order button placeholder inside cart summary */
.ic-place-order-host {
  margin-top: .5rem;
}
.ic-place-order-host .btn,
.ic-place-order-host button {
  width: 100%;
  background: #007bfe;
  border-color: #007bfe;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: .75rem;
}
.ic-place-order-host .btn:hover,
.ic-place-order-host button:hover {
  background: #005ec0;
  border-color: #005ec0;
}
.ic-place-order-host .btn.disabled,
.ic-place-order-host button.disabled {
  background: #cfcfcf;
  border-color: #cfcfcf;
  color: #fff;
  cursor: not-allowed;
}

/* Hide the original payment back button + the original place-order block */
.payment__actions .js-back,
.shipping__actions .js-back,
#payment-confirmation {
  display: none !important;
}

/* New compact address card */
.ic-addr-wrap {
  width: 100%;
}

.ic-addr-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: .65rem .8rem;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.ic-addr-card--selected {
  border-color: #76ac4e;
  box-shadow: 0 0 0 2px rgba(118,172,78,.15);
}

.ic-addr-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
  cursor: pointer;
  width: 100%;
}

.ic-addr-radio {
  flex: 0 0 auto;
  margin-top: .15rem;
}

.ic-addr-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ic-addr-alias {
  font-size: .9rem;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: .25rem;
}

.ic-addr-text {
  font-size: .82rem;
  line-height: 1.35;
  margin: 0;
  white-space: pre-line;
  color: #444;
}

.ic-addr-actions {
  margin-top: .35rem;
  font-size: .78rem;
  display: flex;
  gap: .75rem;
}

.ic-addr-actions a {
  text-decoration: none;
}

/* PrestaShop's no-JS fallback Save button inside address selector should stay hidden */
.ic-checkout .ps-hidden-by-js {
  display: none !important;
}

/* Header logged-in username */
.ic-header-action__name {
  font-weight: 600;
  color: #76ac4e;
}

.ic-header-action__logout {
  display: block;
  font-size: .7rem;
  color: #888;
  text-decoration: underline;
  margin-top: 2px;
}

.ic-header-action__logout:hover {
  color: #c00;
}

/* ============== Compact checkout ============== */

.ic-checkout .ic-step {
  margin-bottom: .75rem !important;
}

.ic-checkout .ic-step__title {
  padding: .5rem .75rem !important;
}

.ic-checkout .ic-step__content {
  padding: .25rem .75rem .75rem !important;
}

.ic-checkout .ic-step__title-text {
  font-size: .9rem;
}

/* Form controls compact */
.ic-checkout .form-control,
.ic-checkout .form-select,
.ic-checkout .input-group-text {
  font-size: .85rem;
  padding: .35rem .6rem;
  min-height: 2.1rem;
  height: auto;
}

.ic-checkout label,
.ic-checkout .form-label {
  font-size: .8rem;
  margin-bottom: .15rem;
  font-weight: 500;
}

.ic-checkout .mb-3 {
  margin-bottom: .5rem !important;
}

.ic-checkout .mb-4 {
  margin-bottom: .75rem !important;
}

/* Hide verbose hint texts under inputs (the “Solo se permiten…” notes) */
.ic-checkout .form-control-comment,
.ic-checkout .form-text small,
.ic-checkout .form-text {
  display: none !important;
}

/* Tabs compact */
.ic-step-tabs .nav-link {
  padding: .35rem .8rem;
  font-size: .85rem;
  font-weight: 600;
}

/* Buttons compact */
.ic-checkout .btn {
  padding: .4rem .8rem;
  font-size: .85rem;
}

.ic-checkout .btn-primary,
.ic-checkout .continue {
  background: #76ac4e;
  border-color: #76ac4e;
}

.ic-checkout .btn-primary:hover,
.ic-checkout .continue:hover {
  background: #5d8c3d;
  border-color: #5d8c3d;
}

/* Hide birth date & promo opt-in by default in guest form (rarely used) */
.ic-checkout #checkout-guest-form .form-group:has(input[name="birthday"]),
.ic-checkout #checkout-guest-form .form-group:has(input[name="optin"]),
.ic-checkout #checkout-guest-form .form-group:has(input[name="newsletter"]) {
  display: none;
}

/* Cart summary takes full column width */
.ic-checkout .cart-summary {
  width: 100%;
  max-width: none;
}

/* Cart summary header (MI CARRITO) */
.ic-cart-summary-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: .85rem 1rem .35rem;
  border-bottom: 2px solid #eef0f3;
  position: relative;
}

.ic-cart-summary-header::after {
  content: '';
  position: absolute;
  left: 1rem;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: #76ac4e;
}

.ic-cart-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: #007bfe;
  margin: 0;
  letter-spacing: .3px;
}

.ic-cart-summary-count {
  font-size: .8rem;
  color: #666;
  background: #f0f4ff;
  padding: 2px 10px;
  border-radius: 12px;
}

/* Product image hover popup */
.ic-checkout .ic-cart-line__image {
  position: relative;
}

.ic-checkout .ic-cart-line__image:hover .ic-cart-line__zoom,
.ic-checkout .ic-cart-line__image a:hover + .ic-cart-line__zoom,
.ic-checkout .ic-cart-line__image a:hover .ic-cart-line__zoom {
  display: block !important;
}

.ic-checkout .ic-cart-line__zoom {
  display: none;
  position: absolute;
  left: 100%;
  top: -10px;
  margin-left: 12px;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  pointer-events: none;
  width: 260px;
}

.ic-checkout .ic-cart-line__zoom img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  object-fit: contain !important;
}

@media (max-width: 991px) {
  .ic-checkout .ic-cart-line__zoom {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 12px;
  }
}

.ic-checkout .cart-summary .card-block {
  padding: .75rem;
}

.ic-checkout .cart-summary .cart-item {
  padding: .35rem 0;
  font-size: .85rem;
}

.ic-checkout .cart-summary h4,
.ic-checkout .cart-summary .h4 {
  font-size: .95rem;
}

.ic-checkout .cart-summary hr {
  margin: .35rem 0;
}

/* Cart summary product line - bigger image, qty controls visible */
.ic-checkout .cart-summary__product {
  border-bottom: 1px solid #f0f0f0;
  padding: .6rem 0 !important;
  margin: 0 !important;
}

.ic-checkout .cart-summary__product:last-child {
  border-bottom: 0;
}

.ic-checkout .ic-cart-line__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8f9fa;
  border: 1px solid #eee;
  padding: 2px;
}

.ic-checkout .ic-cart-line__name {
  font-size: .85rem;
  line-height: 1.2;
  color: #1f2a44;
  text-decoration: none;
}

.ic-checkout .ic-cart-line__qty {
  width: 100px;
}

.ic-checkout .ic-cart-line__qty .input-group {
  margin-bottom: 0 !important;
}

.ic-checkout .ic-cart-line__qty .form-control {
  height: 28px;
  padding: 0 .25rem;
  font-size: .8rem;
  min-height: 0;
}

.ic-checkout .ic-cart-line__qty .btn {
  padding: 0 .35rem;
  font-size: .8rem;
}

.ic-checkout .ic-cart-line__qty .btn .material-icons {
  font-size: 14px;
}

.ic-checkout .ic-cart-line__price {
  font-size: .9rem;
  color: #76ac4e;
}

.ic-checkout .ic-cart-line__actions a {
  font-size: .75rem;
}

/* Delivery options */
.ic-checkout .delivery-options__list {
  padding: .5rem !important;
}

.ic-checkout .delivery-options__item {
  padding: .5rem 0;
}

.ic-checkout .delivery-options__item .h6 {
  font-size: .9rem;
}

.ic-checkout .delivery-options__item img.carrier__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* Payment options — better separation, like Promyges */
.ic-checkout .payment__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ic-checkout .payment__option {
  padding: .65rem .75rem;
  border-bottom: 1px solid #eef0f3;
  margin: 0 !important;
}

.ic-checkout .payment__option:last-child {
  border-bottom: 0;
}

.ic-checkout .payment__option:has(input[type="radio"]:checked) {
  background: #f6faf2;
}

.ic-checkout .payment__option label {
  margin: 0;
  cursor: pointer;
}

.ic-checkout .payment__option img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain;
  margin-right: .6rem !important;
}

.ic-checkout .payment__option .form-check-input {
  margin-top: 0;
  margin-right: .5rem;
}

/* Promo code */
.ic-checkout .ic-promo .form-control {
  font-size: .85rem;
}

.ic-checkout .ic-promo .btn {
  white-space: nowrap;
}

/* Address card hover */
.ic-addr-card {
  transition: border-color .15s, box-shadow .15s;
}
.ic-addr-card:hover:not(.ic-addr-card--selected) {
  border-color: #007bfe !important;
}

.ic-step__title-text {
  font-size: 1rem;
  color: #1f2a44;
}

.ic-step__content {
  font-size: .9rem;
}

/* Hide the legacy stepper navigation since steps are now in columns */
.checkout__steps {
  display: none !important;
}

/* Step content tweaks */
.ic-step .form-control,
.ic-step .form-select {
  font-size: .9rem;
}

.ic-step .step__edit,
.ic-step .step-edit {
  font-size: .85rem;
}

/* Cart summary on right column - sticky on desktop */
@media (min-width: 992px) {
  .ic-checkout__col--right {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
  }
}

/* Make the cart summary collapse always shown on desktop */
@media (min-width: 992px) {
  .ic-checkout #js-checkout-summary {
    display: block !important;
  }
}

/* Slim cart-summary inside the right column */
.ic-checkout__summary .cart-summary {
  margin-bottom: 1rem;
}

/* Reduce visual weight of accordion buttons inside steps if any remain */
.ic-step .accordion-button {
  background: transparent;
  box-shadow: none;
  padding: .5rem 0;
}

.ic-step .accordion-button::after {
  display: none;
}

/* Buttons */
.ic-checkout .continue,
.ic-checkout button[type="submit"] {
  background: #76ac4e;
  border-color: #76ac4e;
}

.ic-checkout .continue:hover,
.ic-checkout button[type="submit"]:hover {
  background: #5d8c3d;
  border-color: #5d8c3d;
}

/* ============================================
   STREAM A — Catalog listing + Home additions
   Appended 2026-05-07
   ============================================ */

/* ---------- Category header (cover + overlay) ---------- */
.ic-cat-header {
  margin-bottom: 1.5rem;
}
.ic-cat-header__cover {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--ic-light-bg);
}
.ic-cat-header__cover-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
}
.ic-cat-header__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.ic-cat-header__cover-text {
  position: absolute;
  left: 30px;
  bottom: 24px;
  right: 30px;
  color: #fff;
  z-index: 2;
}
.ic-cat-header__title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 .25rem 0;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
  letter-spacing: -.5px;
}
.ic-cat-header__count {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  opacity: .92;
  font-weight: 500;
}
.ic-cat-header__plain {
  padding: 1rem 0 .5rem;
  border-bottom: 2px solid var(--ic-green);
  margin-bottom: 1rem;
}
.ic-cat-header__plain .ic-cat-header__title {
  color: var(--ic-dark);
  text-shadow: none;
  font-size: 1.8rem;
}
.ic-cat-header__plain .ic-cat-header__count {
  color: var(--ic-text);
}
.ic-cat-header__desc {
  margin: 0 0 1rem 0;
  color: var(--ic-text);
  font-size: .95rem;
  line-height: 1.55;
}
@media (max-width: 575px) {
  .ic-cat-header__cover-img { max-height: 180px; }
  .ic-cat-header__title { font-size: 1.5rem; }
  .ic-cat-header__cover-text { left: 16px; right: 16px; bottom: 14px; }
}

/* ---------- Subcategories as horizontal scrollable pills ---------- */
.ic-subcats {
  margin: 0 0 1.5rem 0;
  position: relative;
}
.ic-subcats__scroller {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ic-green) transparent;
  -webkit-overflow-scrolling: touch;
}
.ic-subcats__scroller::-webkit-scrollbar { height: 6px; }
.ic-subcats__scroller::-webkit-scrollbar-thumb { background: var(--ic-green); border-radius: 3px; }
.ic-subcats__scroller::-webkit-scrollbar-track { background: transparent; }
.ic-subcat-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem .35rem .35rem;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 999px;
  text-decoration: none !important;
  color: var(--ic-dark);
  font-size: .9rem;
  font-weight: 500;
  transition: all .18s ease;
  white-space: nowrap;
}
.ic-subcat-pill:hover {
  border-color: var(--ic-green);
  background: var(--ic-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(118,172,78,.25);
}
.ic-subcat-pill__img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ic-light-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ic-subcat-pill__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ic-subcat-pill__name {
  line-height: 1;
}

/* ---------- Listing top bar (count + sort chips + mobile filter) ---------- */
.ic-listing-top {
  margin: 0 0 1rem 0;
}
.ic-listing-top__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  justify-content: space-between;
  padding: .75rem 0;
  border-top: 1px solid var(--ic-border);
  border-bottom: 1px solid var(--ic-border);
}
.ic-listing-top__count-text {
  margin: 0;
  color: var(--ic-text);
  font-size: .92rem;
}
.ic-listing-top__count-text strong { color: var(--ic-dark); }
.ic-listing-top__sort {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

/* ---------- Sort chips ---------- */
.ic-sort-chips {
  display: flex;
  gap: .4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 1px;
  scrollbar-width: none;
}
.ic-sort-chips::-webkit-scrollbar { display: none; }
.ic-sort-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: .42rem .9rem;
  border: 1px solid var(--ic-border);
  background: #fff;
  color: var(--ic-text);
  font-size: .87rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all .15s ease;
  cursor: pointer;
}
.ic-sort-chip:hover {
  border-color: var(--ic-green);
  color: var(--ic-green);
}
.ic-sort-chip--active,
.ic-sort-chip--active:hover {
  background: var(--ic-green);
  border-color: var(--ic-green);
  color: #fff !important;
}

/* ---------- Filter mobile button ---------- */
.ic-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  background: #fff;
  color: var(--ic-dark);
  border: 1px solid var(--ic-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.ic-filter-btn:hover {
  border-color: var(--ic-green);
  color: var(--ic-green);
}
.ic-filter-btn .material-icons { font-size: 18px; }

/* ---------- Active filters chips ---------- */
.ic-active-filters {
  margin: .25rem 0 .9rem;
  padding: .5rem .75rem;
  background: var(--ic-light-bg);
  border-radius: 4px;
}
.ic-active-filters__title {
  margin: 0 0 .35rem 0;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ic-dark);
}
.ic-active-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.ic-active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--ic-dark);
}
.ic-active-filters__label { color: var(--ic-text); font-size: .78rem; }
.ic-active-filters__value { font-weight: 600; }
.ic-active-filters__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ic-border);
  color: var(--ic-dark) !important;
}
.ic-active-filters__remove:hover { background: var(--ic-price-red); color: #fff !important; }
.ic-active-filters__remove .material-icons { font-size: 13px; }

/* ---------- Faceted search sidebar ---------- */
.ic-facets {
  background: #fff;
  padding: 1rem .85rem;
  border: 1px solid var(--ic-border);
  border-radius: 4px;
}
.ic-facets__title {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .8px;
  color: var(--ic-text);
  margin: 0 0 .75rem 0;
  font-weight: 700;
}
.ic-facets__clear-wrap { margin-bottom: .65rem; }
.ic-facets__clear {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  background: var(--ic-light-bg);
  border: 1px solid var(--ic-border);
  color: var(--ic-text-hover);
  font-size: .82rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.ic-facets__clear:hover {
  background: var(--ic-price-red);
  border-color: var(--ic-price-red);
  color: #fff;
}
.ic-facets__clear .material-icons { font-size: 14px; }
.ic-facet {
  border: none;
  border-bottom: 1px solid var(--ic-border);
  background: transparent;
}
.ic-facet:last-child { border-bottom: none; }
.ic-facet__btn {
  background: transparent !important;
  box-shadow: none !important;
  padding: .8rem 0 !important;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ic-dark) !important;
  border: none !important;
}
.ic-facet__btn::after {
  filter: hue-rotate(60deg) saturate(.7);
}
.ic-facet__items {
  list-style: none;
  margin: 0;
  padding: 0 0 .5rem 0;
  max-height: 280px;
  overflow-y: auto;
}
.ic-facet__items::-webkit-scrollbar { width: 5px; }
.ic-facet__items::-webkit-scrollbar-thumb { background: var(--ic-border); border-radius: 3px; }
.ic-facet__item { padding: 0; }
.ic-facet__check {
  padding: .15rem 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ic-facet__check .form-check-input {
  margin-top: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ic-border);
  cursor: pointer;
}
.ic-facet__check .form-check-input:checked {
  background-color: var(--ic-green);
  border-color: var(--ic-green);
}
.ic-facet__check .form-check-label {
  flex: 1;
  font-size: .87rem;
  color: var(--ic-text);
  cursor: pointer;
  margin: 0;
  line-height: 1.35;
}
.ic-facet__link {
  color: inherit !important;
  text-decoration: none !important;
}
.ic-facet__link:hover { color: var(--ic-green) !important; }
.ic-facet__count {
  color: var(--ic-text);
  font-size: .78rem;
  margin-left: .15rem;
}
.facet-label.active .ic-facet__name,
.facet-label.active .ic-facet__link { color: var(--ic-green) !important; font-weight: 600; }

/* Price slider */
.ic-facet__slider { padding: 1rem .25rem 1.25rem !important; }
.ic-price-slider.ui-slider {
  background: var(--ic-border);
  border: none;
  border-radius: 999px;
  height: 4px;
  margin: 1rem 0 .75rem;
  position: relative;
}
.ic-price-slider .ui-slider-range {
  background: var(--ic-green) !important;
  border-radius: 999px;
}
.ic-price-slider .ui-slider-handle {
  width: 18px !important;
  height: 18px !important;
  top: -7px !important;
  background: #fff !important;
  border: 2px solid var(--ic-green) !important;
  border-radius: 50% !important;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.ic-price-slider .ui-slider-handle:hover { transform: scale(1.1); }
.ic-price-slider__values {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ic-dark);
  margin-top: .25rem;
}

/* Sticky desktop facets */
@media (min-width: 992px) {
  #left-column .ic-facets,
  #left-column #search_filters,
  #left-column #search-filters {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}

/* Mobile offcanvas facets */
@media (max-width: 991.98px) {
  #left-column { display: none !important; }
}
.offcanvas#offcanvas-faceted .offcanvas-body .ic-facets {
  border: none;
  padding: 0;
}

/* ---------- Numbered pagination (style existing PS pagination) ---------- */
.pagination .page-link {
  border: 1px solid var(--ic-border) !important;
  margin: 0 2px;
  min-width: 38px;
  text-align: center;
  color: var(--ic-dark) !important;
  font-weight: 600;
  font-size: .9rem;
}
.pagination .page-item.active .page-link {
  background: var(--ic-green) !important;
  border-color: var(--ic-green) !important;
  color: #fff !important;
}
.pagination .page-link:hover {
  border-color: var(--ic-green) !important;
  color: var(--ic-green) !important;
}
.pagination .page-item.active .page-link:hover { color: #fff !important; }

/* ---------- HOME — Marcas destacadas (ps_brandlist override styling) ---------- */
.ic-home-brands {
  margin: 3rem 0 2rem;
}
.ic-home-brands .brand,
.ic-home-brands #manufacturers_list,
.ic-home-brands ul.list-unstyled {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  justify-content: center;
}
.ic-home-brands li.brand-item,
.ic-home-brands li {
  flex: 0 0 calc(16.66% - 1rem);
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 4px;
  padding: 1rem;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.ic-home-brands li:hover {
  border-color: var(--ic-green);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.ic-home-brands img,
.ic-home-brands .brand-img img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.65);
  transition: filter .2s ease;
}
.ic-home-brands li:hover img,
.ic-home-brands .brand:hover img {
  filter: grayscale(0%) opacity(1);
}
.ic-home-brands a { display: block; text-decoration: none; }
@media (max-width: 991px) {
  .ic-home-brands li.brand-item,
  .ic-home-brands li { flex-basis: calc(25% - 1rem); }
}
@media (max-width: 575px) {
  .ic-home-brands li.brand-item,
  .ic-home-brands li { flex-basis: calc(33.33% - 1rem); min-height: 64px; padding: .65rem; }
  .ic-home-brands img { max-height: 36px; }
}

/* ---------- HOME — Servicio Técnico CTA ---------- */
.ic-home-sat {
  margin: 3rem 0;
  border-radius: 6px;
  overflow: hidden;
}
.ic-home-sat__inner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ic-home-sat__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ic-home-sat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%);
  z-index: 1;
}
.ic-home-sat__text {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: #fff;
  max-width: 560px;
}
.ic-home-sat__text h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 .5rem 0;
  letter-spacing: -.5px;
}
.ic-home-sat__text p {
  color: #fff;
  margin: 0 0 1.25rem 0;
  font-size: 1.05rem;
  opacity: .95;
  line-height: 1.5;
}

/* ---------- Reusable button ---------- */
.ic-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem 1.5rem;
  background: var(--ic-green);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none !important;
  transition: all .15s ease;
  cursor: pointer;
}
.ic-btn-primary:hover {
  background: var(--ic-green-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(118,172,78,.3);
}

/* ---------- HOME — Sectores grid ---------- */
.ic-home-sectors { margin: 3rem 0; }
.ic-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.ic-sector-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: all .22s ease;
}
.ic-sector-card:hover {
  border-color: var(--ic-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.ic-sector-card__img {
  height: 180px;
  overflow: hidden;
  background: var(--ic-light-bg);
}
.ic-sector-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.ic-sector-card:hover .ic-sector-card__img img { transform: scale(1.05); }
.ic-sector-card__body { padding: 1rem 1.1rem 1.2rem; }
.ic-sector-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ic-dark);
  margin: 0 0 .35rem 0;
}
.ic-sector-card__body p {
  margin: 0;
  font-size: .87rem;
  color: var(--ic-text);
  line-height: 1.45;
}
@media (max-width: 991px) {
  .ic-sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .ic-sectors-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ic-sector-card__img { height: 160px; }
}

/* ---------- HOME — Asesoramiento personalizado ---------- */
.ic-home-advice {
  margin: 3rem 0;
  background: var(--ic-light-bg);
  border-radius: 6px;
  overflow: hidden;
}
.ic-home-advice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ic-home-advice__media {
  background: var(--ic-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.ic-home-advice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 420px;
}
.ic-home-advice__form {
  padding: 2rem 2rem 2.25rem;
}
.ic-home-advice__form h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ic-dark);
  margin: 0 0 .35rem 0;
}
.ic-home-advice__form p {
  color: var(--ic-text);
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}
.ic-advice-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .6rem;
}
.ic-advice-form input,
.ic-advice-form textarea {
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--ic-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: .92rem;
  background: #fff;
}
.ic-advice-form input:focus,
.ic-advice-form textarea:focus {
  outline: none;
  border-color: var(--ic-green);
  box-shadow: 0 0 0 3px rgba(118,172,78,.15);
}
.ic-advice-form textarea {
  resize: vertical;
  min-height: 70px;
  margin-bottom: .85rem;
}
.ic-advice-form__note {
  display: block;
  margin-top: .65rem;
  color: var(--ic-text);
  font-size: .8rem;
}
.ic-advice-form__note a { color: var(--ic-blue-links); }
@media (max-width: 767px) {
  .ic-home-advice__grid { grid-template-columns: 1fr; }
  .ic-home-advice__media { min-height: 200px; }
  .ic-advice-form__row { grid-template-columns: 1fr; }
  .ic-home-advice__form { padding: 1.5rem 1.25rem 1.75rem; }
}

/* ---------- HOME — Reviews placeholder ---------- */
.ic-home-reviews-section { margin: 3rem 0; }
#ic-home-reviews:empty::before {
  content: "Próximamente — opiniones de clientes verificados";
  display: block;
  text-align: center;
  color: var(--ic-text);
  font-style: italic;
  padding: 1.5rem;
  background: var(--ic-light-bg);
  border-radius: 6px;
}

/* ---------- HOME — Newsletter rediseño ---------- */
.ic-home-newsletter {
  margin: 3rem 0 2rem;
  background: linear-gradient(135deg, #76ac4e 0%, #5d8c3d 100%);
  border-radius: 6px;
  color: #fff;
  padding: 2rem;
}
.ic-home-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.ic-home-newsletter__text h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 .35rem 0;
}
.ic-home-newsletter__text p {
  color: rgba(255,255,255,.92);
  margin: 0;
  font-size: 1rem;
}
/* Soft restyling of ps_emailsubscription internals */
.ic-home-newsletter__form .block_newsletter,
.ic-home-newsletter__form .newsletter,
.ic-home-newsletter__form #block_newsletter {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ic-home-newsletter__form input[type="email"],
.ic-home-newsletter__form input[type="text"] {
  background: #fff !important;
  border: none !important;
  padding: .7rem .9rem !important;
  font-size: .95rem;
  border-radius: 4px;
}
.ic-home-newsletter__form button,
.ic-home-newsletter__form input[type="submit"] {
  background: var(--ic-dark) !important;
  border: none !important;
  color: #fff !important;
  padding: .7rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 700;
}
.ic-home-newsletter__form button:hover {
  background: #000 !important;
}
@media (max-width: 767px) {
  .ic-home-newsletter__inner { grid-template-columns: 1fr; gap: 1rem; }
  .ic-home-newsletter { padding: 1.5rem; }
}

/* ---------- HOME — Trust strip ---------- */
.ic-home-trust {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ic-border);
}
.ic-home-trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
}
.ic-home-trust__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ic-text);
  font-size: .87rem;
  font-weight: 500;
}
.ic-home-trust__item .material-icons {
  color: var(--ic-green);
  font-size: 22px;
}
@media (max-width: 575px) {
  .ic-home-trust__row { justify-content: flex-start; }
  .ic-home-trust__item { flex: 0 0 calc(50% - .5rem); font-size: .8rem; }
}

/* ---------- 4-3-2-1 grid override (just in case parent already does this, override defensively) ---------- */
.ic-listing #products .row,
.ic-listing .products.row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1.25rem;
}

/* End Stream A append */


/* =============================================================
   STREAM C — CMS pages + Contact page
   Iberoclinic 2026-05-07
   ============================================================= */

/* ---- CMS Pages -------------------------------------------- */
.cms-page {
  background: #fff;
}

.cms-page__header {
  background: linear-gradient(180deg, #f5f9f3 0%, #ffffff 100%);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid #e6ebe2;
  margin-bottom: 1.75rem;
}

.cms-page__breadcrumb {
  font-size: .85rem;
  color: #6b7280;
  margin-bottom: .5rem;
}

.cms-page__breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.cms-page__breadcrumb a:hover {
  color: #76ac4e;
  text-decoration: underline;
}

.cms-page__breadcrumb-sep {
  margin: 0 .35rem;
  color: #c1c7c0;
}

.cms-page__title {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  font-weight: 700;
  margin: 0 0 .25rem;
  color: #1f2933;
  line-height: 1.15;
}

.cms-page__intro {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 760px;
  margin: 0;
}

.cms-page__body {
  padding-bottom: 3rem;
}

.cms-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .cms-page__layout { grid-template-columns: 1fr; }
}

.cms-page__content {
  max-width: 800px;
}

.cms-prose {
  color: #1f2933;
  font-size: 1rem;
  line-height: 1.65;
}

.cms-prose .cms-lead {
  font-size: 1.1rem;
  color: #2c3441;
  border-left: 3px solid #76ac4e;
  padding: .25rem 0 .25rem 1rem;
  margin-bottom: 1.75rem;
  background: #f7fbf4;
  border-radius: 0 4px 4px 0;
}

.cms-prose h2 {
  font-size: 1.35rem;
  color: #1a3517;
  margin: 2.25rem 0 .85rem;
  font-weight: 700;
  scroll-margin-top: 90px;
}

.cms-prose h3 {
  font-size: 1.1rem;
  color: #2c4a26;
  margin: 1.5rem 0 .65rem;
  font-weight: 600;
}

.cms-prose p {
  margin: 0 0 1rem;
}

.cms-prose ul,
.cms-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.cms-prose li {
  margin-bottom: .35rem;
}

.cms-prose a {
  color: #5d8c3d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cms-prose a:hover {
  color: #76ac4e;
}

.cms-prose code {
  background: #eef2eb;
  color: #2c4a26;
  padding: .12rem .35rem;
  border-radius: 3px;
  font-size: .9em;
}

.cms-prose .cms-meta-update {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #d8ddd2;
  color: #6b7280;
  font-size: .85rem;
  font-style: italic;
}

/* TOC sticky */
.cms-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  background: #fafbfa;
  border: 1px solid #e6ebe2;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: .9rem;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.cms-toc__title {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  margin-bottom: .55rem;
}

.cms-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cms-toc__list li { margin-bottom: .35rem; }

.cms-toc__list a {
  color: #2c3441;
  text-decoration: none;
  display: block;
  padding: .25rem 0;
  border-left: 2px solid transparent;
  padding-left: .5rem;
  line-height: 1.3;
  transition: all .15s ease;
}

.cms-toc__list a:hover {
  color: #76ac4e;
  border-left-color: #76ac4e;
  background: #f7fbf4;
}

@media (max-width: 991px) {
  .cms-toc {
    position: static;
    margin-top: 1.5rem;
    max-height: none;
  }
}

/* SAT page specifics */
.cms-sat .sat-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.25rem 0 1.75rem;
}

.cms-sat .sat-cta-row .btn {
  padding: .65rem 1.25rem;
  font-weight: 600;
}

.cms-sat .sat-cta-row .btn-primary {
  background: #76ac4e;
  border-color: #76ac4e;
  color: #fff;
}

.cms-sat .sat-cta-row .btn-primary:hover {
  background: #5d8c3d;
  border-color: #5d8c3d;
}

.cms-sat .sat-cta-row .btn-outline {
  background: transparent;
  border: 1.5px solid #76ac4e;
  color: #5d8c3d;
}

.cms-sat .sat-cta-row .btn-outline:hover {
  background: #76ac4e;
  color: #fff;
}

.cms-sat .sat-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .35rem .75rem;
  list-style: none;
  padding: 0;
  margin: .25rem 0 1.5rem;
}

.cms-sat .sat-brands li {
  background: #f5f9f3;
  border: 1px solid #e1e9dc;
  padding: .45rem .75rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: .9rem;
  color: #2c4a26;
  text-align: center;
}

/* ---- Contact page ----------------------------------------- */
.contact-page__header {
  margin-bottom: 0;
}

.contact-page__body {
  padding: 2rem 0 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-grid__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3517;
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid #76ac4e;
  display: inline-block;
}

.contact-grid__form {
  background: #fff;
  border: 1px solid #e6ebe2;
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.ic-contact-form .ic-form-row {
  margin-bottom: 1rem;
}

.ic-contact-form .form-label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: #2c3441;
  margin-bottom: .35rem;
}

.ic-contact-form .form-control,
.ic-contact-form .form-select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid #d6dcd1;
  border-radius: 6px;
  font-size: .95rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.ic-contact-form .form-control:focus,
.ic-contact-form .form-select:focus {
  outline: none;
  border-color: #76ac4e;
  box-shadow: 0 0 0 3px rgba(118,172,78,.18);
}

.ic-contact-form textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.ic-contact-form .form-text {
  font-size: .8rem;
  color: #6b7280;
  display: block;
  margin-top: .25rem;
}

.ic-contact-form .form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: .5rem;
}

.ic-contact-submit {
  background: #76ac4e;
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: .75rem 1.85rem;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background .15s;
}

.ic-contact-submit:hover {
  background: #5d8c3d;
}

.ic-contact-legal {
  font-size: .8rem;
  color: #6b7280;
  margin: 0;
  flex: 1 1 220px;
}

.ic-contact-legal a {
  color: #5d8c3d;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-info-list__item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px dashed #e1e9dc;
}

.contact-info-list__item:last-child {
  border-bottom: 0;
}

.contact-info-list__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f9f3;
  color: #5d8c3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.contact-info-list__label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
  font-weight: 600;
}

.contact-info-list__value {
  color: #1a3517;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

a.contact-info-list__value:hover {
  color: #76ac4e;
  text-decoration: underline;
}

.contact-info-list__hint {
  font-size: .8rem;
  color: #6b7280;
}

.contact-map {
  border: 1px solid #e6ebe2;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
  background: #f5f9f3;
}

.contact-map iframe {
  display: block;
  border: 0;
}

/* End Stream C */

/* ---------- HOME — Brand list rendering (ps_brandlist actual markup) ---------- */
.ic-home-brands #search_filters_brands {
  margin-top: 1rem;
}
.ic-home-brands .search-filters-modules-title {
  display: none !important;
}
.ic-home-brands .search-filters-modules__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}
.ic-home-brands .search-filters-modules__item {
  flex: 0 0 calc(16.66% - 1rem);
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 4px;
  padding: 1rem .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  text-align: center;
  transition: all .2s ease;
}
.ic-home-brands .search-filters-modules__item:hover {
  border-color: var(--ic-green);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.ic-home-brands .search-filters-modules__item__link {
  color: var(--ic-dark) !important;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none !important;
}
.ic-home-brands .search-filters-modules__item:hover .search-filters-modules__item__link {
  color: var(--ic-green) !important;
}
@media (max-width: 991px) {
  .ic-home-brands .search-filters-modules__item { flex-basis: calc(25% - 1rem); }
}
@media (max-width: 575px) {
  .ic-home-brands .search-filters-modules__item { flex-basis: calc(50% - 1rem); min-height: 56px; padding: .65rem; }
}


/* =============================================================
   Stream F — Product Page Improvements
   ============================================================= */

/* ---------- Stream F.1 — Product Tabs (desktop) / Accordion (mobile) ---------- */
.ic-product-info { margin-top: 2.5rem; }

/* Desktop tabs */
.ic-tabs-nav {
  border-bottom: 2px solid var(--ic-border, #e5e7eb);
  gap: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.ic-tabs-nav .nav-item { margin: 0; }
.ic-tabs-nav .ic-tab {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ic-dark, #1a1a1a);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.25rem;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  border-radius: 0;
}
.ic-tabs-nav .ic-tab:hover {
  color: var(--ic-green, #2e7d32);
  background: rgba(46, 125, 50, 0.04);
}
.ic-tabs-nav .ic-tab.active {
  color: var(--ic-green, #2e7d32);
  border-bottom-color: var(--ic-green, #2e7d32);
  background: transparent;
}
.ic-tabs-nav .ic-tab:focus-visible {
  outline: 2px solid var(--ic-green, #2e7d32);
  outline-offset: 2px;
}

.ic-tabs-content {
  padding: .25rem 0 1rem;
  min-height: 100px;
}
.ic-tabs-content .tab-pane {
  line-height: 1.6;
}
.ic-tabs-content .tab-pane h2,
.ic-tabs-content .tab-pane h3 {
  margin-top: 0;
}

/* Features / details list */
.ic-features-list,
.ic-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.ic-features-list .detail,
.ic-details-list .detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: .65rem .25rem;
  border-bottom: 1px solid var(--ic-border, #e5e7eb);
}
.ic-features-list .detail:last-child,
.ic-details-list .detail:last-child { border-bottom: 0; }
.ic-features-list .detail__title,
.ic-details-list .detail__title {
  font-weight: 600;
  color: var(--ic-dark, #1a1a1a);
}

/* Shipping info pane */
.ic-shipping-info p { margin-bottom: .75rem; color: #444; }
.ic-shipping-info h3 { color: var(--ic-green, #2e7d32); }

/* Mobile accordion: keep parent style but smooth transitions */
.ic-tabs-accordion .accordion-button:not(.collapsed) {
  color: var(--ic-green, #2e7d32);
  background: rgba(46, 125, 50, 0.06);
  box-shadow: none;
}
.ic-tabs-accordion .accordion-button:focus {
  border-color: var(--ic-green, #2e7d32);
  box-shadow: 0 0 0 .2rem rgba(46,125,50,.15);
}

/* ---------- Stream F.3 — Trust Badges ---------- */
.ic-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f8faf8;
  border: 1px solid var(--ic-border, #e5e7eb);
  border-radius: 8px;
}
.ic-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  color: var(--ic-dark, #1a1a1a);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 500;
}
.ic-trust-badge svg {
  color: var(--ic-green, #2e7d32);
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .ic-trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
  }
}

/* ---------- Stream F.5 — Ask button + modal ---------- */
.ic-ask-btn {
  border: 1px solid var(--ic-border, #e5e7eb);
  color: var(--ic-dark, #1a1a1a);
  background: #fff;
  font-weight: 500;
  padding: .65rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ic-ask-btn:hover {
  border-color: var(--ic-green, #2e7d32);
  color: var(--ic-green, #2e7d32);
  background: #f8faf8;
}
.ic-ask-modal .modal-content { border-radius: 8px; }
.ic-ask-modal .ic-ask-product {
  background: #f8faf8;
  border-left: 3px solid var(--ic-green, #2e7d32);
  padding: .65rem .85rem;
  border-radius: 4px;
}
.ic-ask-modal textarea { resize: vertical; }

/* ---------- Stream F.2 — Sticky add-to-cart bar (mobile) ---------- */
.ic-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--ic-border, #e5e7eb);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 1030;
  transform: translateY(110%);
  transition: transform .28s ease;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
}
.ic-sticky-cta.is-visible {
  transform: translateY(0);
}
.ic-sticky-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .55rem;
  align-items: center;
  max-width: 100%;
}
.ic-sticky-cta__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ic-sticky-cta__name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ic-dark, #1a1a1a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.ic-sticky-cta__price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ic-green, #2e7d32);
  line-height: 1.15;
}
.ic-sticky-cta__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--ic-border, #e5e7eb);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.ic-sticky-cta__qty-btn {
  background: #f3f4f6;
  border: 0;
  width: 30px;
  height: 36px;
  font-size: 1.05rem;
  color: var(--ic-dark, #1a1a1a);
  cursor: pointer;
  padding: 0;
}
.ic-sticky-cta__qty-btn:hover { background: #e5e7eb; }
.ic-sticky-cta__qty-input {
  border: 0;
  width: 38px;
  height: 36px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  padding: 0;
  background: #fff;
  color: var(--ic-dark, #1a1a1a);
  -moz-appearance: textfield;
}
.ic-sticky-cta__qty-input::-webkit-outer-spin-button,
.ic-sticky-cta__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ic-sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: .55rem .85rem;
  min-height: 38px;
  white-space: nowrap;
}
.ic-sticky-cta__btn .material-icons { font-size: 1.1rem; }

/* Padding bottom on body so sticky doesn't cover footer content on tablet/mobile */
@media (max-width: 991.98px) {
  .ic-sticky-cta.is-visible ~ * #footer,
  body:has(.ic-sticky-cta.is-visible) #footer {
    padding-bottom: 80px;
  }
}

/* ---------- Stream F.6 — Gallery zoom on hover (desktop) ---------- */
.ic-gallery .ic-zoom {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
}
.ic-gallery .ic-zoom__img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .15s ease;
  will-change: transform;
}
.ic-gallery .ic-zoom__lens {
  position: absolute;
  pointer-events: none;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(46, 125, 50, 0.5);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .12s ease;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .ic-gallery .ic-zoom.is-zooming .ic-zoom__img { transform: scale(1.6); }
  .ic-gallery .ic-zoom.is-zooming .ic-zoom__lens { opacity: 1; }
}
@media (max-width: 991.98px) {
  /* Disable zoom on mobile/touch */
  .ic-gallery .ic-zoom { cursor: default; }
}

/* End Stream F */
cat: /tmp/stream_e_css.css: No such file or directory

/* ================================================================
 * Stream E — Reviews
 * Productcomments overrides + home carousel + dedicated /reseñas
 * ================================================================ */

/* --- Stars --- */
.ic-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f5b50a;
  vertical-align: middle;
}
.ic-review-stars__star {
  flex: 0 0 auto;
}
.ic-review-stars__avg,
.ic-review-stars__count {
  margin-left: 6px;
  font-size: .9rem;
  color: var(--ic-dark);
  font-weight: 600;
}

/* --- Product page: top "additional info" review summary block --- */
.ic-review-additional {
  margin: 1rem 0 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid var(--ic-border);
  border-radius: 8px;
  background: #fafbfc;
}
.ic-review-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ic-review-summary__grade {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.ic-review-summary__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ic-dark);
}
.ic-review-summary__max {
  font-size: 1rem;
  color: #8a8f96;
  font-weight: 600;
}
.ic-review-summary__stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ic-review-summary__count {
  font-size: .9rem;
  color: var(--ic-dark);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--ic-border);
}
.ic-review-summary__count:hover {
  color: var(--ic-green);
  text-decoration-color: var(--ic-green);
}
.ic-review-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ic-review-empty__text {
  color: #5a6068;
  font-size: .95rem;
}

.ic-btn-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .5rem 1rem;
  border: 1px solid var(--ic-green);
  background: #fff;
  color: var(--ic-green);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s ease;
  margin-left: auto;
}
.ic-btn-review:hover {
  background: var(--ic-green);
  color: #fff;
}

/* --- Product page: full review list --- */
.ic-reviews-block {
  border-top: 1px solid var(--ic-border);
  padding-top: 1.5rem;
}
.ic-reviews-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ic-reviews-block__title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ic-dark);
  font-weight: 700;
}
.ic-reviews-block__count {
  color: #8a8f96;
  font-weight: 500;
  font-size: 1.1rem;
}
.ic-reviews-block__cta {
  margin-bottom: 1rem;
}
.ic-reviews-list .product-comment-list-item {
  margin: 0 0 1rem 0;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: box-shadow .2s ease;
}
.ic-reviews-list .product-comment-list-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.ic-reviews-list .product-comment-list-item .comment-infos {
  border-right: 1px solid var(--ic-border);
}
.ic-reviews-list .grade-stars {
  margin-bottom: .35rem;
}
.ic-reviews-list .comment-author {
  font-weight: 700;
  color: var(--ic-dark);
  font-size: .95rem;
}
.ic-reviews-list .comment-date {
  font-size: .8rem;
  color: #8a8f96;
  margin-bottom: .15rem;
}
.ic-reviews-list .comment-content p.h4,
.ic-reviews-list .comment-content .h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ic-dark);
  margin-bottom: .35rem;
}
.ic-reviews-list .comment-content p:not(.h4) {
  color: #444a52;
  line-height: 1.5;
  margin: 0;
}
.ic-reviews-list .comment-buttons {
  margin-top: .5rem;
}
.ic-reviews-list__footer {
  margin-top: 1rem;
}
@media (max-width: 575px) {
  .ic-reviews-list .product-comment-list-item .comment-infos {
    border-right: 0;
    border-bottom: 1px solid var(--ic-border);
    padding-bottom: .5rem;
    margin-bottom: .5rem;
  }
}

/* --- Generic review card (used in home carousel + /reseñas page) --- */
.ic-review-card {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ic-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
}
.ic-review-card__head {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.ic-review-card__avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ic-green) 0%, var(--ic-green-accent) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.ic-review-card__head-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ic-review-card__name {
  margin: 0;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ic-dark);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ic-review-card__date {
  margin: 0;
  font-size: .75rem;
  color: #8a8f96;
}
.ic-review-card__stars {
  display: inline-flex;
  gap: 2px;
}
.ic-review-card__star { color: #d8dde2; }
.ic-review-card__star.is-on { color: #f5b50a; }
.ic-review-card__title {
  margin: .25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ic-dark);
  line-height: 1.35;
}
.ic-review-card__content {
  margin: 0;
  color: #444a52;
  font-size: .92rem;
  line-height: 1.5;
}
.ic-review-card__product {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--ic-green);
  font-weight: 600;
  text-decoration: none;
  padding-top: .5rem;
  border-top: 1px dashed var(--ic-border);
}
.ic-review-card__product:hover {
  color: var(--ic-green-dark);
}
.ic-review-card__product span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* --- Home reviews carousel --- */
.ic-home-reviews { width: 100%; }
.ic-home-reviews__viewport {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.ic-home-reviews__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 14px;
  flex: 1 1 auto;
  min-width: 0;
}
.ic-home-reviews__track::-webkit-scrollbar { display: none; }
.ic-home-reviews__track .ic-review-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
}
.ic-home-reviews__nav {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ic-border);
  background: #fff;
  border-radius: 50%;
  color: var(--ic-dark);
  cursor: pointer;
  transition: all .2s ease;
  z-index: 2;
}
.ic-home-reviews__nav:hover {
  border-color: var(--ic-green);
  color: var(--ic-green);
}
.ic-home-reviews__footer {
  text-align: center;
  margin-top: .5rem;
}
.ic-home-reviews__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ic-green);
  font-weight: 600;
  text-decoration: none;
  padding: .5rem 1rem;
  border: 1px solid var(--ic-green);
  border-radius: 4px;
  transition: all .2s ease;
}
.ic-home-reviews__more:hover {
  background: var(--ic-green);
  color: #fff;
}
.ic-home-reviews--empty {
  text-align: center;
  color: #8a8f96;
  font-style: italic;
  padding: 1rem 0;
}

@media (max-width: 991px) {
  .ic-home-reviews__track .ic-review-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}
@media (max-width: 575px) {
  .ic-home-reviews__track .ic-review-card {
    flex-basis: 88%;
  }
  .ic-home-reviews__nav { display: none; }
}

/* --- Dedicated /reseñas page --- */
.ic-reviews-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem;
}
.ic-reviews-page__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ic-reviews-page__lead {
  color: #5a6068;
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}
.ic-reviews-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 991px) {
  .ic-reviews-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .ic-reviews-page__grid { grid-template-columns: 1fr; }
}
.ic-reviews-page__pagination {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}
.ic-reviews-page__pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.ic-reviews-page__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .65rem;
  border: 1px solid var(--ic-border);
  border-radius: 4px;
  color: var(--ic-dark);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.ic-reviews-page__pagination .is-active a {
  background: var(--ic-green);
  border-color: var(--ic-green);
  color: #fff;
}
.ic-reviews-page__pagination a:hover {
  border-color: var(--ic-green);
  color: var(--ic-green);
}
.ic-reviews-page__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #8a8f96;
}

/* =============================================================
   Stream G — Mobile UX (hamburger drawer, bottom nav, touch targets, etc.)
   ============================================================= */

/* ---- G.1 — Hamburger button (mobile only) ---- */
.ic-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ic-border);
  border-radius: 6px;
  cursor: pointer;
  margin-right: .5rem;
  flex: 0 0 auto;
}
.ic-hamburger:focus-visible { outline: 2px solid var(--ic-green); outline-offset: 2px; }
.ic-hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ic-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
@media (max-width: 991.98px) {
  .ic-hamburger { display: inline-flex; }
}

/* When drawer is open, animate hamburger into an X (visual feedback) */
body.ic-drawer-open .ic-hamburger .ic-hamburger__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.ic-drawer-open .ic-hamburger .ic-hamburger__bar:nth-child(2) {
  opacity: 0;
}
body.ic-drawer-open .ic-hamburger .ic-hamburger__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- G.1 — Mobile drawer (offcanvas slide from left) ---- */
.ic-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1090;
  visibility: hidden;
  pointer-events: none;
}
.ic-mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.ic-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity .25s ease;
  cursor: pointer;
}
.ic-mobile-drawer.is-open .ic-mobile-drawer__backdrop { opacity: 1; }

.ic-mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: var(--ic-white);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s ease;
  overflow: hidden;
}
.ic-mobile-drawer.is-open .ic-mobile-drawer__panel { transform: translateX(0); }

.ic-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--ic-border);
  background: var(--ic-light-bg);
  flex: 0 0 auto;
}
.ic-mobile-drawer__logo img { max-height: 36px; width: auto; }
.ic-mobile-drawer__close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--ic-dark);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ic-mobile-drawer__close:hover { background: rgba(0, 0, 0, 0.05); }
.ic-mobile-drawer__close:focus-visible { outline: 2px solid var(--ic-green); }

.ic-mobile-drawer__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--ic-border);
  background: #fff;
}
.ic-mobile-drawer__user-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ic-dark);
  text-decoration: none;
  font-weight: 600;
  flex: 1 1 auto;
  min-height: 44px;
}
.ic-mobile-drawer__user-link svg { color: var(--ic-green); }
.ic-mobile-drawer__user-logout {
  font-size: .82rem;
  color: var(--ic-text);
  text-decoration: underline;
  flex: 0 0 auto;
}

.ic-mobile-drawer__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ic-mobile-drawer__footer {
  flex: 0 0 auto;
  display: flex;
  border-top: 1px solid var(--ic-border);
  background: var(--ic-light-bg);
}
.ic-mobile-drawer__footer-link {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 48px;
  padding: .5rem;
  color: var(--ic-dark);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  border-right: 1px solid var(--ic-border);
}
.ic-mobile-drawer__footer-link:last-child { border-right: none; }
.ic-mobile-drawer__footer-link svg { color: var(--ic-green); }

/* Drawer styling for the cloned megamenu — turn pmm-tabs into vertical accordion */
.ic-mobile-drawer__nav .pmm-menu-wrapper { padding: 0; }
.ic-mobile-drawer__nav .pmm-menu-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
.ic-mobile-drawer__nav .pmm-tab {
  display: block;
  border-bottom: 1px solid var(--ic-border);
}
.ic-mobile-drawer__nav .pmm-tab__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 1rem;
  color: var(--ic-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  min-height: 48px;
  width: 100%;
}
.ic-mobile-drawer__nav .pmm-tab__link svg { flex-shrink: 0; }
.ic-mobile-drawer__nav .pmm-tab--mega .pmm-tab__link::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ic-text);
  border-bottom: 2px solid var(--ic-text);
  transform: rotate(-45deg);
  transition: transform .2s ease;
  margin-left: auto;
}
.ic-mobile-drawer__nav .pmm-tab--mega.is-expanded .pmm-tab__link::after {
  transform: rotate(45deg);
}
/* Hide the inline chevron svg the desktop tab includes (we draw our own) */
.ic-mobile-drawer__nav .pmm-tab--mega .pmm-tab__link > svg:last-of-type {
  display: none;
}

/* Megamenu content collapsed by default in drawer */
.ic-mobile-drawer__nav .pmm-megamenu {
  display: none;
  position: static !important;
  background: var(--ic-light-bg);
  padding: .35rem 0;
  box-shadow: none;
  border: none;
  width: auto;
  max-width: none;
  transform: none;
}
.ic-mobile-drawer__nav .pmm-tab--mega.is-expanded .pmm-megamenu { display: block; }
.ic-mobile-drawer__nav .pmm-megamenu__inner {
  display: block;
  padding: 0;
}
.ic-mobile-drawer__nav .pmm-megamenu__col {
  display: block;
  width: auto;
  padding: 0;
}
.ic-mobile-drawer__nav .pmm-megamenu__section {
  padding: .25rem 1rem .5rem 1.5rem;
}
.ic-mobile-drawer__nav .pmm-megamenu__title {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--ic-text);
  margin: .5rem 0 .25rem;
}
.ic-mobile-drawer__nav .pmm-megamenu__title a {
  color: var(--ic-green) !important;
  text-decoration: none;
}
.ic-mobile-drawer__nav .pmm-megamenu__links {
  list-style: none;
  padding: 0;
  margin: 0 0 .25rem 0;
}
.ic-mobile-drawer__nav .pmm-megamenu__links li a {
  display: block;
  padding: .5rem .25rem;
  font-size: .92rem;
  color: var(--ic-dark);
  text-decoration: none;
  min-height: 44px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.ic-mobile-drawer__nav .pmm-megamenu__links li a:active {
  background: rgba(118, 172, 78, 0.08);
}

/* Body lock when drawer open */
body.ic-drawer-open {
  overflow: hidden;
}

/* ---- G.2 — Mobile bottom nav ---- */
.ic-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: #fff;
  border-top: 1px solid var(--ic-border);
  display: flex;
  align-items: stretch;
  height: 60px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition: transform .25s ease;
}
.ic-bottom-nav.is-hidden {
  transform: translateY(100%);
}
.ic-bottom-nav__item {
  flex: 1 1 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  color: var(--ic-text);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.ic-bottom-nav__item svg { color: var(--ic-text); }
.ic-bottom-nav__item:hover,
.ic-bottom-nav__item.is-active {
  color: var(--ic-green);
}
.ic-bottom-nav__item:hover svg,
.ic-bottom-nav__item.is-active svg {
  color: var(--ic-green);
}
.ic-bottom-nav__icon-wrap {
  position: relative;
  display: inline-flex;
}
.ic-bottom-nav__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ic-price-red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ic-bottom-nav__badge[hidden] { display: none !important; }

/* Reserve space below content so bottom-nav doesn't overlap footer/last items */
@media (max-width: 991.98px) {
  body { padding-bottom: 60px; }
  /* Don't add padding when drawer/offcanvas open since fixed elements naturally stack */
}

/* ---- G.6 — Sticky CTA from Stream F: avoid double-stacking when bottom-nav is also visible ---- */
@media (max-width: 991.98px) {
  #ic-sticky-cta.is-visible ~ * .ic-bottom-nav,
  body:has(#ic-sticky-cta.is-visible) .ic-bottom-nav {
    transform: translateY(100%);
  }
}

/* ---- G.7 — Header mobile compactado ---- */
@media (max-width: 991.98px) {
  .ic-header-top__row {
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
  }
  .ic-header-top__logo {
    flex: 1 1 auto;
    text-align: center;
  }
  .ic-header-top__logo img.logo {
    max-height: 40px;
    max-width: 120px;
    width: auto;
  }
  /* The 'Contacto' and 'Cuenta' actions duplicate bottom-nav — hide them, keep cart */
  .ic-header-top__actions .ic-header-action:not(.ic-header-action--cart) {
    display: none !important;
  }
  .ic-header-top__actions {
    flex: 0 0 auto;
    margin-left: auto;
  }
  /* On mobile, hide the desktop main-nav row (categories button + horizontal nav) — drawer takes over */
  .ic-main-nav {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .ic-header-top__logo img.logo {
    max-height: 34px;
    max-width: 100px;
  }
  .ic-header-top { padding: .35rem 0; }
}

/* ---- G.3 — Filters offcanvas: fix that the parent theme renders left-side; spec asks right + ensure backdrop close ---- */
@media (max-width: 991.98px) {
  .offcanvas#offcanvas-faceted {
    /* Force right side on mobile per spec */
    left: auto !important;
    right: 0 !important;
    border-left: 1px solid var(--ic-border);
    width: min(420px, 88vw) !important;
    transform: translateX(100%);
  }
  .offcanvas#offcanvas-faceted.show {
    transform: translateX(0) !important;
  }
  .offcanvas#offcanvas-faceted .offcanvas-header {
    background: var(--ic-light-bg);
    border-bottom: 1px solid var(--ic-border);
  }
  .offcanvas#offcanvas-faceted .offcanvas-title {
    font-weight: 700;
    color: var(--ic-dark);
  }
  .offcanvas#offcanvas-faceted .offcanvas-body {
    padding-bottom: 80px; /* room for sticky apply button */
  }
  .offcanvas#offcanvas-faceted .btn-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  /* Ensure the filter button itself meets touch-target */
  .ic-filter-btn {
    min-height: 44px;
    padding-inline: 1rem;
  }
}

/* ---- G.4 — Touch targets ≥44px (mobile only) ---- */
@media (max-width: 991.98px) {
  .ic-header-action__link,
  .ic-header-action__logout,
  .ic-footer__col ul li a,
  .ic-footer__contact-item a,
  .ic-sort-chip,
  .pmm-tab__link,
  .ic-menu-item,
  .ic-mega-trigger__btn,
  .ic-cart-trigger,
  .ic-trust-bar a,
  .pagination .page-link,
  .btn,
  button:not(.ic-mini-qty-btn):not(.qty-btn):not([class*="quick-view"]) {
    min-height: 44px;
  }
  .ic-footer__col ul li a {
    display: inline-flex;
    align-items: center;
    padding: .25rem 0;
  }
  /* Form inputs larger on mobile to avoid iOS zoom-on-focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 44px;
  }
  textarea { min-height: 88px; }
  /* Checkbox/radio touch padding */
  .form-check-label {
    padding: .35rem 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
}

/* ---- G.6 — Checkout column-stacking on small screens ---- */
@media (max-width: 991.98px) {
  /* Custom 3-col checkout collapses naturally with col-lg-4, but defensively */
  body#checkout .col-lg-4,
  body#checkout .col-lg-5,
  body#checkout .col-lg-6,
  body#checkout .col-lg-8 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ---- G.7 — Header mobile search becomes icon (when CSS class .ic-search-icon-only present) ---- */
@media (max-width: 480px) {
  /* Constrain the searchbar to not push out the row; allow shrinking */
  .ic-header-top .search-widget,
  .ic-header-top .ps_searchbar {
    flex-basis: 100%;
    order: 99;
  }
}

/* End Stream G — Mobile UX */

/* =============================================================
   Iteración visual: footer + newsletter + whatsapp + container fixes
   ============================================================= */

/* Container max-width consistente (header, home, footer, checkout, cms).
   IMPORTANTE: NO aplicar a .ic-listing porque está dentro de col-lg-9 y al
   tener max-width adicional creaba un hueco a la derecha visible en categorías. */
.ic-checkout,
.ic-home,
.ic-footer .container,
.ic-footer-bottom .container,
.ic-trust-section .container,
.ic-main-nav .container,
#header .container,
.cms-page .container,
.page-category .container,
.page-category #wrapper > .container {
  max-width: 1270px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Listing: que ocupe el 100% de su columna (col-lg-9) sin hueco a la derecha */
.ic-listing {
  width: 100% !important;
  max-width: none !important;
}
#wrapper .row {
  margin-left: -.75rem;
  margin-right: -.75rem;
}
.page-category #wrapper > .container > .row {
  width: calc(100% + 1.5rem);
  margin-left: -.75rem;
  margin-right: -.75rem;
}

/* Newsletter rediseñado: card blanca con borde verde fino */
.ic-home-newsletter {
  margin: 2.5rem auto;
  max-width: 1270px;
  padding: 0 15px;
}
.ic-home-newsletter__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #76ac4e;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.ic-home-newsletter__text {
  flex: 1 1 320px;
  min-width: 0;
}
.ic-home-newsletter__text h3 {
  color: #1f2a44;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .35rem;
}
.ic-home-newsletter__text p {
  color: #5b6270;
  font-size: .9rem;
  margin: 0;
}
.ic-home-newsletter__form {
  flex: 0 1 460px;
  min-width: 280px;
}
.ic-home-newsletter__form form {
  display: flex;
  gap: .5rem;
}
.ic-home-newsletter__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: .6rem .85rem;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  font-size: .9rem;
}
.ic-home-newsletter__form button[type="submit"],
.ic-home-newsletter__form .btn {
  background: #76ac4e !important;
  border-color: #76ac4e !important;
  color: #fff !important;
  padding: .6rem 1.4rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  white-space: nowrap;
}
.ic-home-newsletter__form button[type="submit"]:hover,
.ic-home-newsletter__form .btn:hover {
  background: #5d8c3d !important;
  border-color: #5d8c3d !important;
}
@media (max-width: 575px) {
  .ic-home-newsletter__card { padding: 1.25rem; }
  .ic-home-newsletter__form form { flex-direction: column; }
}

/* Trust section (footer): Confianza Online clickable */
.ic-trust-badge {
  display: inline-block;
  transition: transform .15s, opacity .15s;
}
.ic-trust-badge:hover { transform: scale(1.04); opacity: .9; }
.ic-trust-badge img { max-height: 70px; width: auto; }
.ic-trust-payments img { max-height: 38px; width: auto; }

/* WhatsApp flotante */
.ic-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .2s, box-shadow .2s;
  animation: ic-wa-pulse 2.5s infinite;
}
.ic-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  animation: none;
}
.ic-whatsapp-float svg { width: 30px; height: 30px; }
@keyframes ic-wa-pulse {
  0% { box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 991px) {
  .ic-whatsapp-float {
    bottom: 76px; /* leave space for bottom-nav */
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .ic-whatsapp-float svg { width: 26px; height: 26px; }
}

/* Botón WhatsApp en ficha producto */
.ic-ask-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-weight: 600 !important;
  transition: background .15s, transform .15s;
}
.ic-ask-whatsapp:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Categorías home: por defecto el label visible se oculta (las imágenes tienen texto embebido).
   Para mostrarlo, añade data-show-label="true" en el .ic-category-card. */
.ic-category-card .ic-category-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ic-category-card[data-show-label="true"] .ic-category-label {
  position: static !important;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
  display: block;
  padding: .5rem .75rem;
  text-align: center;
  font-weight: 600;
  color: #1f2a44;
}

/* =============================================================
   Footer v2 — visualmente mejorado
   ============================================================= */

/* Trust strip (encima del footer oscuro, fondo claro) */
.ic-trust-strip {
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}
.ic-trust-strip__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}
.ic-trust-strip__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 0 .35rem;
}
.ic-trust-strip__item svg { flex-shrink: 0; }
.ic-trust-strip__item div { display: flex; flex-direction: column; line-height: 1.2; }
.ic-trust-strip__item strong {
  font-size: .85rem;
  color: #1f2a44;
  font-weight: 700;
}
.ic-trust-strip__item span {
  font-size: .72rem;
  color: #5b6270;
}
@media (max-width: 991px) {
  .ic-trust-strip__row { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
  .ic-trust-strip__item:nth-child(5) { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 575px) {
  .ic-trust-strip__row { grid-template-columns: 1fr; }
  .ic-trust-strip__item:nth-child(5) { grid-column: auto; justify-content: flex-start; }
}

/* Main footer dark */
.ic-footer {
  background: #1f2a44;
  color: #c8ccd5;
  padding: 3rem 0 0;
}
.ic-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.ic-footer__col-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 1rem;
  position: relative;
  padding-bottom: .65rem;
}
.ic-footer__col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: #76ac4e;
}
.ic-footer__about {
  font-size: .85rem;
  line-height: 1.55;
  color: #a8aebc;
  margin-bottom: 1rem;
}
.ic-footer__social {
  display: flex;
  gap: .5rem;
}
.ic-footer__social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #c8ccd5;
  border-radius: 50%;
  transition: background .15s, color .15s, transform .15s;
}
.ic-footer__social a:hover {
  background: #76ac4e;
  color: #fff;
  transform: translateY(-2px);
}

.ic-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ic-footer__list li {
  margin-bottom: .5rem;
}
.ic-footer__list a {
  color: #c8ccd5;
  font-size: .85rem;
  text-decoration: none;
  transition: color .15s;
  position: relative;
  padding-left: 14px;
  display: inline-block;
}
.ic-footer__list a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #76ac4e;
  font-weight: 700;
}
.ic-footer__list a:hover {
  color: #fff;
}

.ic-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ic-footer__contact li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  font-size: .85rem;
  color: #c8ccd5;
  line-height: 1.4;
}
.ic-footer__contact svg { flex-shrink: 0; margin-top: 2px; }
.ic-footer__contact strong { color: #fff; }
.ic-footer__contact a {
  color: #c8ccd5;
  text-decoration: none;
}
.ic-footer__contact a:hover { color: #76ac4e; }

/* Trust badges row inside dark footer */
.ic-footer__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 0;
}
.ic-footer__seal img { max-height: 60px; width: auto; }
.ic-footer__seal { display: inline-block; transition: transform .15s, opacity .15s; }
.ic-footer__seal:hover { transform: scale(1.05); }
.ic-footer__trust-text {
  flex: 1;
  font-size: .8rem;
  color: #a8aebc;
  line-height: 1.45;
  margin: 0;
}
.ic-footer__trust-text strong { color: #fff; }
.ic-footer__payments {
  flex-shrink: 0;
  background: #fff;
  padding: .35rem .65rem;
  border-radius: 4px;
}
.ic-footer__payments img { max-height: 32px; width: auto; }

/* Footer bottom */
.ic-footer__bottom {
  background: #14192a;
  padding: .85rem 0;
  margin-top: 0;
}
.ic-footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ic-footer__bottom p {
  margin: 0;
  font-size: .78rem;
  color: #8a8fa0;
}
.ic-footer__credit a { color: #76ac4e; text-decoration: none; }
.ic-footer__credit a:hover { color: #fff; }

@media (max-width: 991px) {
  .ic-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ic-footer__trust {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .ic-footer__trust-text { flex: 0 0 100%; order: 3; }
}
@media (max-width: 575px) {
  .ic-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .ic-footer__bottom .container { justify-content: center; text-align: center; }
}

/* Hide old/legacy footer rules to avoid conflicts */
.ic-trust-section { display: none !important; }
.ic-footer-bottom { display: none !important; }


/* =============================================================
   Mobile UX iteration: limpio + profesional
   ============================================================= */

/* Hamburger icon limpio (sin background, sin border) */
.ic-hamburger-icon {
  background: transparent !important;
  border: 0 !important;
  padding: .35rem !important;
  margin-right: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2a44;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color .15s;
}
.ic-hamburger-icon:hover { background: rgba(0,0,0,.04) !important; }
.ic-hamburger-icon:focus { outline: 2px solid #007bfe; outline-offset: 2px; }

/* Hide the old .ic-hamburger button (3 bars) if still rendered somewhere */
.ic-hamburger { display: none !important; }

/* Search button: solo icono, sin caja */
.ic-search-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 0 .65rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ic-search-btn:hover { background: rgba(0,0,0,.04) !important; }
.ic-search-btn svg { fill: #007bfe !important; }

/* Search input: borde más sutil */
.ic-search-input {
  border: 1px solid #d0d5dd !important;
  background: #fff !important;
}

/* Logo mobile: más grande */
@media (max-width: 991px) {
  .ic-header-top__logo img {
    max-width: 170px !important;
    height: auto !important;
    width: auto !important;
  }
  .ic-header-top__row {
    align-items: center;
    gap: .25rem;
  }
}
@media (max-width: 480px) {
  .ic-header-top__logo img { max-width: 130px !important; }
}

/* Mobile drawer — z-index siempre por encima */
.ic-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000 !important;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}
.ic-mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.ic-mobile-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 86%;
  max-width: 380px;
  height: 100%;
  background: #fff;
  z-index: 10002 !important;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
}
.ic-mobile-drawer.is-open .ic-mobile-drawer__panel {
  transform: translateX(0);
}
.ic-mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 10001 !important;
  opacity: 0;
  transition: opacity .25s;
}
.ic-mobile-drawer.is-open .ic-mobile-drawer__backdrop { opacity: 1; }

body.ic-drawer-open { overflow: hidden; }

/* Drawer header con branding */
.ic-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.ic-mobile-drawer__logo img {
  max-height: 40px;
  width: auto;
}
.ic-mobile-drawer__close {
  background: transparent;
  border: 0;
  color: #5b6270;
  padding: .35rem;
  cursor: pointer;
  border-radius: 4px;
}
.ic-mobile-drawer__close:hover { background: rgba(0,0,0,.05); color: #1f2a44; }

/* Drawer user shortcut */
.ic-mobile-drawer__user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.25rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}
.ic-mobile-drawer__user-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1f2a44;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.ic-mobile-drawer__user-link:hover { color: #76ac4e; }
.ic-mobile-drawer__user-logout {
  font-size: .8rem;
  color: #c33;
  text-decoration: none;
}

/* Drawer nav */
.ic-mobile-drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 0;
}
.ic-mobile-drawer__nav .pmm-menu-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ic-mobile-drawer__nav .pmm-tab {
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.ic-mobile-drawer__nav .pmm-tab__link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.25rem;
  padding-right: 3rem;
  color: #1f2a44 !important;
  background: transparent !important;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.ic-mobile-drawer__nav .pmm-tab.ic-mega-trigger .pmm-tab__link {
  background: #f8f9fa !important;
  color: #1f2a44 !important;
  padding: 1rem 1.25rem;
  padding-right: 3rem;
}
.ic-mobile-drawer__nav .pmm-tab__link:hover {
  background: rgba(118,172,78,.08) !important;
  color: #76ac4e !important;
}
.ic-mobile-drawer__nav .pmm-tab__link svg { display: none; }

/* Chevron toggle button */
.ic-drawer-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #5b6270;
  padding: .5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color .15s, transform .2s;
  z-index: 2;
}
.ic-drawer-chevron:hover { background: rgba(0,0,0,.05); }
.ic-mobile-drawer__nav .pmm-tab.is-expanded .ic-drawer-chevron {
  transform: translateY(-50%) rotate(90deg);
  color: #76ac4e;
}

/* Megamenu collapsed by default in drawer; expand on tab.is-expanded */
.ic-mobile-drawer__nav .pmm-megamenu {
  position: static !important;
  display: none !important;
  background: #fff !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  width: auto !important;
}
.ic-mobile-drawer__nav .pmm-tab.is-expanded .pmm-megamenu {
  display: block !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__inner {
  display: block !important;
  padding: 0 !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__col {
  width: 100% !important;
  flex: 1 1 100% !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__section {
  margin: 0 !important;
  padding: 0 0 .5rem 0 !important;
  border-bottom: 1px solid #f5f5f5;
}
.ic-mobile-drawer__nav .pmm-megamenu__title {
  padding: .75rem 1.5rem .35rem !important;
  font-size: .82rem !important;
  text-transform: uppercase;
  color: #76ac4e !important;
  font-weight: 700;
  letter-spacing: .3px;
  margin: 0 !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__title a {
  color: inherit !important;
  text-decoration: none !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__links a {
  display: block;
  padding: .55rem 1.5rem;
  color: #5b6270 !important;
  font-size: .87rem !important;
  text-decoration: none !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__links a:hover {
  background: rgba(118,172,78,.06) !important;
  color: #76ac4e !important;
}

/* Drawer footer */
.ic-mobile-drawer__footer {
  border-top: 1px solid #e5e7eb;
  padding: .85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  background: #f8f9fa;
}
.ic-mobile-drawer__footer-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #1f2a44;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
}
.ic-mobile-drawer__footer-link svg { color: #76ac4e; }
.ic-mobile-drawer__footer-link:hover { color: #76ac4e; }

/* Hide service-bar duplicado en mobile pequeño */
@media (max-width: 575px) {
  .ic-service-bar-wrapper { display: none; }
}

/* Mobile header compacto */
@media (max-width: 991px) {
  .ic-header-top { padding: .65rem 0 !important; }
  .ic-header-top__row {
    display: flex !important;
    align-items: center !important;
    gap: .35rem;
  }
  .ic-header-top__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .ic-header-action__name,
  .ic-header-action__logout {
    display: none !important;
  }
  .ic-header-action__link span {
    display: none;
  }
  .ic-header-action--cart .ic-cart-label { display: none; }
}


/* =============================================================
   Mobile UX iteration v2: logo grande + search icon trigger + cart redesign
   ============================================================= */

/* Logo móvil aún más grande */
@media (max-width: 991px) {
  .ic-header-top__logo img {
    max-width: 200px !important;
    height: auto !important;
  }
}
@media (max-width: 480px) {
  .ic-header-top__logo img { max-width: 160px !important; }
}
@media (max-width: 360px) {
  .ic-header-top__logo img { max-width: 130px !important; }
}

/* Search desktop wrapper */
.ic-search-wrap { flex: 1 1 auto; max-width: 600px; margin: 0 1rem; }

/* Mobile search trigger (icono solo) */
.ic-search-trigger {
  background: transparent !important;
  border: 0 !important;
  padding: .35rem !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  color: #1f2a44;
  transition: background-color .15s;
}
@media (max-width: 991px) { .ic-search-trigger { display: inline-flex; } }
.ic-search-trigger:hover { background: rgba(0,0,0,.04) !important; }

/* Header mobile: ocultar widget de búsqueda (caja inline) */
@media (max-width: 991px) {
  .ic-search-wrap,
  #ic_desktop_search,
  #search_widget {
    display: none !important;
  }
}

/* Cart badge — círculo limpio (mobile + desktop) */
.ic-cart-badge,
.ic-bottom-nav__badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #c0392b !important;
  color: #fff !important;
  font-size: .68rem !important;
  font-weight: 700;
  line-height: 1;
  border-radius: 50% !important;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  position: absolute;
  top: -6px;
  right: -8px;
}

.ic-cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
}

/* Mobile bottom-nav: más visible y profesional */
.ic-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -3px 14px rgba(0,0,0,.08);
  padding: .35rem 0 .25rem;
  display: flex !important;
  justify-content: space-around;
  transition: transform .25s ease;
}
.ic-bottom-nav.is-hidden { transform: translateY(110%); }
.ic-bottom-nav__item {
  flex: 1 1 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: .35rem .25rem !important;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: #5b6270;
  font-size: .68rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 56px;
  position: relative;
}
.ic-bottom-nav__item svg {
  fill: currentColor;
  flex-shrink: 0;
}
.ic-bottom-nav__item:hover,
.ic-bottom-nav__item.is-active {
  color: #76ac4e;
}
.ic-bottom-nav__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ic-bottom-nav__badge {
  position: absolute;
  top: -4px;
  right: -8px;
}

/* Body padding-bottom for bottom-nav clearance */
@media (max-width: 991px) {
  body { padding-bottom: 64px !important; }
  .ic-whatsapp-float { bottom: 78px !important; }
}

/* Icon proportions consistentes en header mobile */
@media (max-width: 991px) {
  .ic-header-top__actions .ic-header-action {
    margin: 0 !important;
  }
  .ic-header-top__actions .ic-header-action__link {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .ic-header-top__actions svg {
    width: 26px !important;
    height: 26px !important;
  }
  .ic-cart-icon-link {
    width: 40px;
    height: 40px;
  }
  .ic-cart-icon-link svg {
    width: 26px !important;
    height: 26px !important;
  }
  /* Hide contacto icon on mobile (already in drawer + bottom-nav) */
  .ic-header-top__actions .ic-header-action:nth-child(2) {
    display: none;
  }
  .ic-header-top__actions {
    gap: .25rem;
  }
}

/* Desktop: cart badge alignment */
@media (min-width: 992px) {
  .ic-cart-icon-link { width: auto; height: auto; }
  .ic-cart-badge { top: -4px; right: -10px; }
}


/* =============================================================
   Mobile UX iteration v3: bottom-nav off, mobile login icon,
   nested accordion, single chevron
   ============================================================= */

/* Bottom-nav: ocultar (duplica lo del header) */
.ic-bottom-nav { display: none !important; }

/* Quitar el padding-bottom del body (no hay bottom-nav) */
@media (max-width: 991px) {
  body { padding-bottom: 0 !important; }
  .ic-whatsapp-float { bottom: 24px !important; }
}

/* Mobile login icon en header */
.ic-header-action__mobile-login {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color .15s;
}
@media (max-width: 991px) { .ic-header-action__mobile-login { display: inline-flex; } }
.ic-header-action__mobile-login:hover { background: rgba(0,0,0,.04); }

/* Hide desktop login link on mobile since we now have icon-only mobile login */
@media (max-width: 991px) {
  .ic-header-top__actions .ic-header-action:first-child {
    display: none !important;
  }
  .ic-header-top__actions .ic-header-action__mobile-login {
    display: inline-flex !important;
  }
}

/* Quitar flechas duplicadas del megamenu en drawer.
   Hummingbird añade SVG dentro del .pmm-tab__link como decoración. */
.ic-mobile-drawer__nav .pmm-tab__link svg,
.ic-mobile-drawer__nav .pmm-tab__link::after,
.ic-mobile-drawer__nav .pmm-tab__link i.material-icons,
.ic-mobile-drawer__nav .accordion-button::after {
  display: none !important;
}

/* Sub-section accordion (segundo nivel) */
.ic-mobile-drawer__nav .pmm-megamenu__section .pmm-megamenu__title.ic-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem !important;
  cursor: pointer;
  user-select: none;
}
.ic-mobile-drawer__nav .pmm-megamenu__section .ic-section-chevron {
  position: static !important;
  transform: none !important;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  color: #5b6270;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.ic-mobile-drawer__nav .pmm-megamenu__section.is-expanded .ic-section-chevron {
  transform: rotate(90deg) !important;
  color: #76ac4e;
}

/* Sub-section links collapsed by default */
.ic-mobile-drawer__nav .pmm-megamenu__section .pmm-megamenu__links {
  display: none !important;
}
.ic-mobile-drawer__nav .pmm-megamenu__section.is-expanded .pmm-megamenu__links {
  display: block !important;
}

/* Tighten sections borders */
.ic-mobile-drawer__nav .pmm-megamenu__section {
  border-bottom: 1px solid #f5f5f5;
}
.ic-mobile-drawer__nav .pmm-megamenu__section:last-child {
  border-bottom: 0;
}


/* =============================================================
   Mobile drawer footer v2 — pie del menú móvil rediseñado
   ============================================================= */

.ic-mobile-drawer__footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
  display: flex !important;
  flex-direction: column;
  gap: .85rem;
}

/* Help title row */
.ic-mdf-help {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding-bottom: .15rem;
}
.ic-mdf-help__title {
  font-size: .92rem;
  font-weight: 700;
  color: #1f2a44;
  letter-spacing: -.01em;
}
.ic-mdf-help__hours {
  font-size: .72rem;
  color: #5b6270;
  font-weight: 500;
  white-space: nowrap;
}

/* CTA grid: 3 buttons */
.ic-mdf-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.ic-mdf-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .7rem .25rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  background: #1f2a44;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  min-height: 64px;
  line-height: 1.15;
}
.ic-mdf-cta__btn svg { display: block; }
.ic-mdf-cta__btn:hover,
.ic-mdf-cta__btn:active {
  transform: translateY(-1px);
  filter: brightness(1.07);
  color: #fff;
  text-decoration: none;
}
.ic-mdf-cta__btn--call { background: #007bfe; }
.ic-mdf-cta__btn--wa   { background: #25d366; }
.ic-mdf-cta__btn--mail { background: #76ac4e; }

/* Direct info line: phone + mail */
.ic-mdf-info {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .55rem .75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.ic-mdf-info__phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #1f2a44;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.005em;
}
.ic-mdf-info__phone svg { color: #007bfe; flex-shrink: 0; }
.ic-mdf-info__mail {
  color: #5b6270;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  padding-left: 1.25rem;
}
.ic-mdf-info__phone:hover { color: #007bfe; }
.ic-mdf-info__mail:hover  { color: #76ac4e; text-decoration: underline; }

/* Social row */
.ic-mdf-social {
  display: flex;
  justify-content: center;
  gap: .55rem;
  padding-top: .15rem;
}
.ic-mdf-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #5b6270;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.ic-mdf-social__icon:hover {
  background: #76ac4e;
  color: #fff;
  border-color: #76ac4e;
  transform: translateY(-1px);
}

/* Trust strip */
.ic-mdf-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .7rem;
  color: #5b6270;
  font-weight: 500;
  padding-top: .1rem;
}
.ic-mdf-trust svg { flex-shrink: 0; }

/* Override v1 footer-link styles that may bleed in */
.ic-mobile-drawer__footer .ic-mobile-drawer__footer-link { display: none !important; }


/* =============================================================
   Mobile UX iteration v5 — logo centrado + grande, cart dropdown fix
   ============================================================= */

/* Header row: hamburger | logo (centered & flex) | search | actions */
@media (max-width: 991px) {
  .ic-header-top__row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: .25rem;
  }
  .ic-hamburger-icon { flex: 0 0 auto; order: 1; }
  .ic-header-top__logo {
    flex: 1 1 auto !important;
    order: 2;
    min-width: 0;
    text-align: center;
    overflow: hidden;
    padding: 0 .35rem;
  }
  .ic-header-top__logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }
  .ic-header-top__logo img {
    display: inline-block;
    margin: 0 auto;
    object-fit: contain;
    height: auto !important;
    max-width: 260px !important;
  }
  .ic-search-trigger { flex: 0 0 auto; order: 3; }
  .ic-header-top__actions { flex: 0 0 auto; order: 4; }
}
@media (max-width: 600px) {
  .ic-header-top__logo img { max-width: 220px !important; }
}
@media (max-width: 480px) {
  .ic-header-top__logo img { max-width: 180px !important; }
}
@media (max-width: 360px) {
  .ic-header-top__logo img { max-width: 150px !important; }
}

/* === Cart dropdown — reposicionar en móvil para no salirse === */
@media (max-width: 991px) {
  .ic-cart-block .ic-cart-dropdown,
  .blockcart .ic-cart-dropdown,
  .ic-cart-dropdown {
    position: fixed !important;
    top: 64px !important;
    right: 8px !important;
    left: 8px !important;
    bottom: auto !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25) !important;
    z-index: 9999 !important;
  }
  .ic-cart-dropdown .ic-cart-products { max-height: 40vh; }
  .ic-cart-dropdown .ic-cart-product { padding: .5rem .75rem; }
  .ic-cart-summary { padding: .65rem .75rem; }
  .ic-cart-actions { padding: .65rem .75rem; }
}


/* =============================================================
   Home cats: 2 col mobile (override of 1col @480)
   ============================================================= */
@media (max-width: 480px) {
  .ic-category-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .ic-category-card img { aspect-ratio: 4/3; object-fit: cover; }
  .ic-category-card .ic-category-label { font-size: .85rem; }
}


/* =============================================================
   Hide mobile-only icons on desktop (override prior !important)
   ============================================================= */
@media (min-width: 992px) {
  .ic-search-trigger,
  .ic-header-action__mobile-login,
  .ic-hamburger-icon {
    display: none !important;
  }
}


/* =============================================================
   Desktop search bar — pastilla integrada estilo dh material
   ============================================================= */
@media (min-width: 992px) {
  .ic-search-widget {
    margin: 0 1.5rem;
  }

  /* Form acts as the pill container */
  .ic-search-container form {
    display: flex !important;
    align-items: center;
    background: #f3f6fa;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    height: 46px;
    padding: 4px 4px 4px 22px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  }
  .ic-search-container form:hover {
    border-color: #d0d5dd;
  }
  .ic-search-container form:focus-within {
    background: #fff;
    border-color: #76ac4e;
    box-shadow: 0 0 0 3px rgba(118, 172, 78, .12);
  }

  /* Input borderless, sits inside the pill */
  .ic-search-input {
    flex: 1 1 auto !important;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    padding: 0 12px 0 0 !important;
    height: 100% !important;
    font-size: .92rem !important;
    color: #1f2a44 !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .ic-search-input:focus,
  .ic-search-input:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .ic-search-input::placeholder { color: #8b95a3; opacity: 1; }

  /* Submit becomes a circular green button inside the pill */
  .ic-search-btn {
    background: #76ac4e !important;
    border: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
    flex: 0 0 auto;
  }
  .ic-search-btn:hover {
    background: #5e8d3c !important;
    transform: scale(1.04);
  }
  .ic-search-btn svg {
    fill: #fff !important;
    width: 18px !important;
    height: 18px !important;
  }
}


/* =============================================================
   Mobile UX iteration v6 — logo bigger + reorder mobile icons
   Order: hamburger | LOGO | search | user | cart
   ============================================================= */
@media (max-width: 991px) {
  /* Logo: aún más grande (override de iter2/3/4/5) */
  .ic-header-top__logo img {
    max-width: 300px !important;
    height: auto !important;
    width: auto !important;
  }

  /* Mobile actions — flex with explicit order so we can reorder children */
  .ic-header-top__actions {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: .25rem;
  }
  /* USER icon antes que CART */
  .ic-header-top__actions .ic-header-action__mobile-login { order: 1; }
  .ic-header-top__actions .ic-header-action--cart { order: 2; }
  /* Otros (login desktop, contacto) ya van display:none, sin order */
}
@media (max-width: 600px) {
  .ic-header-top__logo img { max-width: 250px !important; }
}
@media (max-width: 480px) {
  .ic-header-top__logo img { max-width: 210px !important; }
}
@media (max-width: 380px) {
  .ic-header-top__logo img { max-width: 175px !important; }
}
@media (max-width: 340px) {
  .ic-header-top__logo img { max-width: 150px !important; }
}


/* =============================================================
   Header user/contacto/cart icons — estilo dh material (line outline)
   ============================================================= */

/* Action links: dark gray icons + label, hover green */
.ic-header-top__actions .ic-header-action__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #1f2a44 !important;
  text-decoration: none;
  padding: .25rem .5rem;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .15s ease;
}
.ic-header-top__actions .ic-header-action__link svg {
  stroke: currentColor !important;
  fill: none !important;
  transition: stroke .15s ease;
}
.ic-header-top__actions .ic-header-action__link:hover {
  color: #76ac4e !important;
}
.ic-header-top__actions .ic-header-action__link span {
  font-size: .7rem;
}
.ic-header-action__name {
  color: #1f2a44;
}
.ic-header-action__logout {
  font-size: .65rem;
  color: #8b95a3 !important;
  text-decoration: none;
  margin-top: -2px;
}
.ic-header-action__logout:hover { color: #c0392b !important; }

/* === CART PILL (desktop) — green rounded button with icon + count === */
.ic-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #76ac4e;
  color: #fff !important;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  border: 0;
  transition: background-color .15s ease, transform .15s ease;
  box-shadow: 0 2px 6px rgba(118, 172, 78, .25);
}
.ic-cart-pill:hover {
  background: #5e8d3c;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.ic-cart-pill svg {
  stroke: #fff !important;
  fill: none !important;
}
.ic-cart-pill__count {
  font-weight: 700;
  letter-spacing: .02em;
}

/* Hide old "Carrito" label below pill (no longer needed) */
.ic-cart-block .ic-cart-label { display: none !important; }

/* Mobile: make the pill icon-only (compact) */
@media (max-width: 991px) {
  .ic-cart-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: none;
    position: relative;
  }
  .ic-cart-pill__count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #c0392b;
    color: #fff;
    font-size: .65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #fff;
  }
  /* Reformat: count now shows just the number, no parentheses */
  .ic-cart-pill__count::before { content: ''; }
}


/* =============================================================
   Header user/contacto/cart icons — estilo dh material (line outline)
   ============================================================= */

/* Action links: dark gray icons + label, hover green */
.ic-header-top__actions .ic-header-action__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #1f2a44 !important;
  text-decoration: none;
  padding: .25rem .5rem;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .15s ease;
}
.ic-header-top__actions .ic-header-action__link svg {
  stroke: currentColor !important;
  fill: none !important;
  transition: stroke .15s ease;
}
.ic-header-top__actions .ic-header-action__link:hover {
  color: #76ac4e !important;
}
.ic-header-top__actions .ic-header-action__link span {
  font-size: .7rem;
}
.ic-header-action__name {
  color: #1f2a44;
}
.ic-header-action__logout {
  font-size: .65rem;
  color: #8b95a3 !important;
  text-decoration: none;
  margin-top: -2px;
}
.ic-header-action__logout:hover { color: #c0392b !important; }

/* === CART PILL (desktop) — green rounded button with icon + count === */
.ic-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #76ac4e;
  color: #fff !important;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  border: 0;
  transition: background-color .15s ease, transform .15s ease;
  box-shadow: 0 2px 6px rgba(118, 172, 78, .25);
}
.ic-cart-pill:hover {
  background: #5e8d3c;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.ic-cart-pill svg {
  stroke: #fff !important;
  fill: none !important;
}
.ic-cart-pill__count {
  font-weight: 700;
  letter-spacing: .02em;
}

/* Hide old "Carrito" label below pill (no longer needed) */
.ic-cart-block .ic-cart-label { display: none !important; }

/* Mobile: make the pill icon-only (compact) */
@media (max-width: 991px) {
  .ic-cart-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: none;
    position: relative;
  }
  .ic-cart-pill__count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #c0392b;
    color: #fff;
    font-size: .65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #fff;
  }
  /* Reformat: count now shows just the number, no parentheses */
  .ic-cart-pill__count::before { content: ''; }
}


/* =============================================================
   Mobile UX iteration v7 — LOGO MÁS GRANDE forzado (escala beyond natural)
   ============================================================= */
@media (max-width: 991px) {
  .ic-header-top__logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 .35rem !important;
    text-align: center !important;
  }
  .ic-header-top__logo a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    line-height: 0;
  }
  /* Stretch logo to fill container, beyond natural 270px */
  .ic-header-top__logo img {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 220px !important;
    height: 56px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* Shrink right-cluster to free space for logo */
  .ic-header-top__actions {
    gap: .15rem !important;
  }
  .ic-search-trigger {
    width: 36px !important;
    height: 36px !important;
    padding: .25rem !important;
  }
  .ic-header-action__mobile-login {
    width: 36px !important;
    height: 36px !important;
  }
  .ic-cart-pill {
    width: 36px !important;
    height: 36px !important;
  }
  .ic-search-trigger svg,
  .ic-header-action__mobile-login svg,
  .ic-cart-pill svg {
    width: 22px !important;
    height: 22px !important;
  }
}
@media (max-width: 480px) {
  .ic-header-top__logo img {
    height: 48px !important;
    min-width: 180px !important;
  }
}
@media (max-width: 360px) {
  .ic-header-top__logo img {
    height: 42px !important;
    min-width: 150px !important;
  }
}


/* =============================================================
   Mobile UX iteration v8 — logo width-based, badge azul, lupa visible
   ============================================================= */
@media (max-width: 991px) {
  /* Logo: tamaño basado en ancho, no en altura (la altura nativa 94px nos quedaba grande) */
  .ic-header-top__logo {
    flex: 1 1 auto !important;
    min-width: 180px !important;
    text-align: center !important;
    padding: 0 .35rem !important;
    overflow: visible !important;
  }
  .ic-header-top__logo a,
  .ic-header-top__logo h1 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    line-height: 0;
  }
  .ic-header-top__logo img {
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    /* override iter7 height/min-width that escalaba abajo */
  }

  /* Search trigger: con fondo sutil para que destaque (mismo nivel que user/cart) */
  .ic-search-trigger {
    background: #f3f6fa !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    color: #1f2a44 !important;
    transition: background-color .15s, border-color .15s;
  }
  .ic-search-trigger:hover,
  .ic-search-trigger:active {
    background: #e9eef4 !important;
    border-color: #d0d5dd !important;
  }
  .ic-search-trigger svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }

  /* User icon móvil: mismo estilo que la lupa */
  .ic-header-action__mobile-login {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }

  /* Cart pill móvil: mantener tamaño consistente */
  .ic-cart-pill {
    width: 38px !important;
    height: 38px !important;
  }

  /* Cluster: gap ligeramente mayor */
  .ic-header-top__actions { gap: .35rem !important; }
}

/* Cart count badge en móvil: rojo → azul iberoclinic */
@media (max-width: 991px) {
  .ic-cart-pill__count {
    background: #007bfe !important;
    border: 2px solid #fff !important;
  }
}


/* =============================================================
   Miniature fix — quitar hueco vacío + Comprar más bajo
   ============================================================= */

/* Override hummingbird: top no debe ocupar todo el alto, bottom no se empuja al final */
.product-miniature .product-miniature__infos__top {
  height: auto !important;
  padding: .25rem .25rem 0 .25rem !important;
}
.product-miniature .product-miniature__infos__bottom {
  margin-top: .35rem !important;
  margin-bottom: 0 !important;
}
.product-miniature .product-miniature__infos {
  flex-grow: 0 !important;
  gap: .25rem !important;
  padding-bottom: .5rem !important;
}

/* Reference: gap inferior reducido */
.ic-miniature__reference {
  margin-bottom: 0 !important;
}

/* Form add-to-cart: más compacto */
.ic-miniature__add {
  margin-top: .35rem !important;
  height: 34px !important;
  align-items: stretch !important;
}

/* Qty input box: altura fija 34px, flechas más pequeñas */
.ic-miniature__qty {
  height: 34px !important;
  width: 56px !important;
  flex: 0 0 56px !important;
}
.ic-miniature__qty-input {
  font-size: .82rem !important;
  padding: 0 .15rem !important;
}
.ic-miniature__qty-arrows { flex: 0 0 18px !important; }
.ic-miniature__qty-up,
.ic-miniature__qty-down { height: 16px !important; }

/* Comprar button: altura igual al qty (34px), padding y fuente reducidos */
.ic-miniature__buy {
  padding: 0 .65rem !important;
  font-size: .8rem !important;
  height: 34px !important;
  line-height: 1 !important;
  white-space: nowrap;
}
.ic-miniature__buy-icon { width: 14px !important; height: 14px !important; }

/* Mobile: aún más compacto */
@media (max-width: 600px) {
  .ic-miniature__add { height: 32px !important; margin-top: .25rem !important; }
  .ic-miniature__qty { height: 32px !important; width: 50px !important; flex: 0 0 50px !important; }
  .ic-miniature__qty-up,
  .ic-miniature__qty-down { height: 15px !important; }
  .ic-miniature__buy {
    height: 32px !important;
    padding: 0 .45rem !important;
    font-size: .75rem !important;
  }
  .ic-miniature__buy-icon { width: 13px !important; height: 13px !important; }
  .ic-miniature__title { font-size: .82rem !important; }
  .ic-miniature__price { font-size: 1rem !important; }
}

/* =============================================================
   Lupa: círculo perfectamente redondo (no huevo)
   ============================================================= */
@media (max-width: 991px) {
  .ic-search-trigger {
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    flex: 0 0 38px !important;
  }
  .ic-header-action__mobile-login,
  .ic-cart-pill {
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    line-height: 1 !important;
    flex: 0 0 38px !important;
  }
}


/* =============================================================
   Miniature alignment v2 — bottom-anchored Comprar across cards
   Overrides iter6/7/8/9 and hummingbird parent CSS. Re-enables
   the margin-top:auto magic to align bottom block uniformly,
   while keeping intra-card spacing tight.
   ============================================================= */

/* Card body: vertical flex column, full height, no gap, tight padding */
.product-miniature .product-miniature__infos {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex-grow: 1 !important;
  gap: 0 !important;
  padding: .4rem !important;
  padding-bottom: .4rem !important;
}

/* Top block: grows to push bottom block down */
.product-miniature .product-miniature__infos__top {
  flex: 1 1 auto !important;
  height: auto !important;
  padding: .25rem .25rem 0 .25rem !important;
}

/* Bottom block: anchored to bottom via auto margin */
.product-miniature .product-miniature__infos__bottom {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* Title: 2-line clamp with min-height so short titles still occupy
   the same vertical space as long ones (key trick for alignment) */
.ic-miniature__title,
.product-miniature .product-miniature__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.4em !important;
  margin-bottom: 0 !important;
}

/* Reference: collapse gap to price */
.ic-miniature__reference {
  margin: 0 0 .25rem 0 !important;
  font-size: .76rem !important;
}

/* Prices block: small breathing room before the Comprar form */
.ic-miniature__prices {
  margin-bottom: .35rem !important;
}

/* Add-to-cart form: stretch to full card width consistently */
.ic-miniature__add {
  align-self: stretch !important;
  width: 100% !important;
}

/* =====================================================================
 * Stream γ — Subcategorías grid (no scroll horizontal)
 * Override of the older horizontal scroller. Pills wrap into a grid:
 *   - desktop ≥1200: 4 columns
 *   - 992–1199:      4 columns (still cómodo)
 *   - 768–991:       3 columns
 *   - 576–767:       2 columns
 *   - <576:          2 columns (ajustadas)
 * ===================================================================== */
.ic-subcats__scroller {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  overflow: visible !important;
  overflow-x: visible !important;
  padding: 4px 2px 12px;
}
@media (max-width: 991.98px) {
  .ic-subcats__scroller {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .ic-subcats__scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ic-subcats__scroller .ic-subcat-pill {
  flex: initial;
  width: 100%;
  white-space: normal;
  justify-content: flex-start;
  min-height: 56px;
}
.ic-subcats__scroller .ic-subcat-pill__name {
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
}
/* End Stream γ — Subcategorías grid */

/* ============================================================
   Faceted Search v2 — Stream e (minimalist redesign)
   ============================================================ */

/* Outer wrapper: lighter, no border, generous padding */
.ic-facets {
  background: #fff;
  padding: 1.25rem 1rem;
  border: 0;
  border-radius: 6px;
}

/* Each facet block — separator line between blocks */
.ic-facet,
.faceted-search-block {
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  background: transparent;
  padding: 1.1rem 0;
}
.ic-facet:first-child { padding-top: .25rem; }
.ic-facet:last-child  { border-bottom: 0; }

/* Header row: bold title + chevron toggle */
.ic-facet__heading,
.ic-facet-header,
.facet-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #1f2a44;
  cursor: pointer;
}
.ic-facet__btn.accordion-button {
  font-weight: 700 !important;
  color: #1f2a44 !important;
  font-size: .95rem !important;
  padding: .5rem 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.ic-facet__btn.accordion-button::after {
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
  filter: grayscale(1) opacity(.55);
  transition: transform .15s ease;
}

/* Body padding */
.ic-facet-body,
.ic-facet__items.accordion-body {
  padding: .25rem 0 0 0 !important;
}

/* ----- Search input inside facet ----- */
.ic-facet-search {
  position: relative;
  margin: .25rem 0 .85rem;
}
.ic-facet-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0aa;
  pointer-events: none;
}
.ic-facet-search input {
  width: 100%;
  padding: .5rem .75rem .5rem 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: .88rem;
  background: #fff;
  color: #1f2a44;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ic-facet-search input:focus {
  border-color: #76ac4e;
  box-shadow: 0 0 0 3px rgba(118,172,78,.15);
}

/* ----- Custom green checkboxes ----- */
.ic-facet__check { padding: .15rem 0; }
.ic-facet__check .form-check-input,
input[type="checkbox"].ic-facet-check,
.ic-facets input[type="checkbox"].form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  position: relative;
  cursor: pointer;
  margin-top: 0;
  flex-shrink: 0;
  transition: background-color .12s ease, border-color .12s ease;
}
.ic-facet__check .form-check-input:checked,
input[type="checkbox"].ic-facet-check:checked,
.ic-facets input[type="checkbox"].form-check-input:checked {
  background: #76ac4e;
  border-color: #76ac4e;
}
.ic-facet__check .form-check-input:checked::after,
input[type="checkbox"].ic-facet-check:checked::after,
.ic-facets input[type="checkbox"].form-check-input:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ic-facet__check .form-check-input:focus,
input[type="checkbox"].ic-facet-check:focus {
  box-shadow: 0 0 0 3px rgba(118,172,78,.18);
}

/* ----- List item rows ----- */
.ic-facet__items,
.ic-facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
}
.ic-facet__items.is-truncated .ic-facet--hidden:not(.is-revealed) { display: none; }
.ic-facet__items.is-expanded .ic-facet--hidden { display: list-item; }
.ic-facet__item {
  display: block;
  padding: 0;
}
.ic-facet__item .ic-facet__label,
.ic-facet__item .form-check {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .12s ease;
}
.ic-facet__item:hover .ic-facet__label,
.ic-facet__item:hover .form-check {
  background: #f8f9fa;
}
.ic-facet__item .form-check-label {
  flex: 1;
  font-size: .88rem;
  color: #1f2a44;
  line-height: 1.35;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.ic-facet__link { color: inherit !important; text-decoration: none !important; flex: 1; }
.ic-facet__link:hover { color: #76ac4e !important; }

/* Right-aligned count */
.ic-facet-count,
.ic-facet__count {
  margin-left: auto;
  color: #5b6270;
  font-size: .78rem;
  font-weight: 500;
}

/* Active state */
.ic-facet__item.is-selected .ic-facet__name,
.ic-facet__item.is-selected .ic-facet__link,
.facet-label.active .ic-facet__name,
.facet-label.active .ic-facet__link {
  color: #76ac4e !important;
  font-weight: 600;
}

/* ----- Truncate "Mostrando X de Y" + Ver más ----- */
.ic-facet-truncate-info {
  color: #5b6270;
  font-size: .72rem;
  text-align: right;
  margin-top: .35rem;
  padding-right: .25rem;
}
.ic-facet-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin: .35rem auto 0;
  background: 0;
  border: 0;
  color: #76ac4e;
  font-weight: 600;
  cursor: pointer;
  font-size: .85rem;
  padding: .25rem .5rem;
}
.ic-facet-toggle:hover { color: #5d8a3e; }
.ic-facet-toggle .ic-chevron { transition: transform .15s ease; }
.ic-facet-toggle[aria-expanded="true"] .ic-chevron { transform: rotate(180deg); }

/* ----- Disponibilidad chips (2-col grid) ----- */
.ic-facet__items.ic-facet--chips,
.faceted-search-block[data-faceted-search-block*="availability"] ul,
section[data-facet-availability="1"] ul.ic-facet__items {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  list-style: none;
  padding: 0 !important;
}
li.ic-chip-item {
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  font-size: .85rem;
  color: #1f2a44;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
li.ic-chip-item:hover { border-color: #cbd5e1; }
li.ic-chip-item .form-check,
li.ic-chip-item .ic-facet__check {
  padding: .55rem .75rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  background: transparent !important;
}
li.ic-chip-item .form-check-input,
li.ic-chip-item input[type="checkbox"] {
  display: none !important;
}
li.ic-chip-item .form-check-label {
  font-size: .85rem;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex: none;
  margin: 0;
}
li.ic-chip-item.is-selected,
li.ic-chip-item .facet-label.active {
  border-color: #76ac4e !important;
  color: #76ac4e !important;
  background: #fff;
}
li.ic-chip-item.is-selected { box-shadow: 0 0 0 1px #76ac4e inset; }
li.ic-chip-item.is-selected .ic-facet__name,
li.ic-chip-item.is-selected .ic-facet__link { color: #76ac4e !important; }

/* ----- Price slider (noUiSlider) ----- */
.ic-facet__slider { padding: 1rem .5rem 1.5rem !important; }

/* noUiSlider overrides */
.noUi-target {
  height: 6px !important;
  background: #e5e7eb !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 999px;
}
.noUi-connects { border-radius: 999px; overflow: hidden; }
.noUi-connect { background: #76ac4e !important; }
.noUi-handle {
  width: 22px !important;
  height: 22px !important;
  right: -11px !important;
  top: -8px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #ced4da !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.1) !important;
  cursor: grab;
}
.noUi-handle:before,
.noUi-handle:after { display: none !important; }
.noUi-handle:active { cursor: grabbing; }
.noUi-tooltip {
  background: #76ac4e !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 600;
  font-size: .78rem;
  padding: .2rem .5rem !important;
  border-radius: 4px !important;
  bottom: 26px !important;
  white-space: nowrap;
}
.noUi-tooltip:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #76ac4e;
  border-bottom: 0;
}
.noUi-pips-horizontal { height: 16px; padding: 4px 0 0 0; }
.noUi-marker-horizontal.noUi-marker { background: #d1d5db; width: 1px; height: 4px; }
.noUi-marker-horizontal.noUi-marker-large { height: 6px; background: #9ca3af; }
.noUi-value-horizontal {
  color: #5b6270;
  font-size: .72rem;
  margin-top: 2px;
}

/* Hide jQuery-UI fallback if both render — prefer noUi */
.ic-price-slider__values {
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: #1f2a44;
  margin-top: .35rem;
}

/* Stream e: when noUi is present, hide the duplicate values text */
.faceted-filter:has(.noUi-target) .ic-price-slider__values { display: flex; justify-content: space-between; padding: .5rem .25rem 0; font-size: .85rem; font-weight: 600; color: #1f2a44; }

/* ----- Header collapsible behaviour (custom aria) ----- */
.ic-facet[aria-expanded="false"] .ic-facet-body { display: none; }

/* End Faceted Search v2 */


/* =============================================================
   Logo + lupa — final override (gana al cascade)
   ============================================================= */

/* Logo más grande en móvil — pisar la regla max-height: 34px de línea 4575 */
@media (max-width: 991px) {
  .ic-header-top__logo img.logo,
  .ic-header-top__logo img {
    max-height: 60px !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
  }
}
@media (max-width: 480px) {
  .ic-header-top__logo img.logo,
  .ic-header-top__logo img {
    max-height: 50px !important;
    max-width: 100% !important;
  }
}

/* Lupa móvil: forzar círculo perfecto a 42×42, anular padding/box-sizing del iter7 */
@media (max-width: 991px) {
  .ic-search-trigger,
  .ic-header-action__mobile-login,
  .ic-cart-pill {
    box-sizing: border-box !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    line-height: 1 !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    align-self: center !important;
    overflow: hidden;
  }
  .ic-search-trigger svg,
  .ic-header-action__mobile-login svg,
  .ic-cart-pill svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    margin: 0 !important;
  }
}

/* =============================================================
   Miniature alignment v3 — uniform card heights, no excess gap
   ============================================================= */
.product-miniature .product-miniature__infos {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  gap: 0 !important;
  padding: .5rem !important;
}
.product-miniature .product-miniature__infos__top {
  flex: 0 0 auto !important;
  height: auto !important;
  padding: 0 !important;
}
.product-miniature .product-miniature__infos__bottom {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.ic-miniature__title,
.product-miniature .product-miniature__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.6em !important;
  line-height: 1.3 !important;
  margin: 0 0 .15rem 0 !important;
  font-size: .9rem !important;
}
.ic-miniature__reference {
  min-height: 1.2em !important;
  line-height: 1.2 !important;
  margin: 0 0 .15rem 0 !important;
  font-size: .76rem !important;
  color: #7c8290 !important;
}
.ic-miniature__prices {
  margin: 0 0 .35rem 0 !important;
}
.ic-miniature__add {
  margin-top: .15rem !important;
}


/* === Stream A: prevent duplicate slider (displayHome hook also outputs ps_imageslider) === */
body#index #home-slider ~ #home-slider {
  display: none !important;
}


/* ============================================================
   Stream D v3 - Contact page redesign
   Full-width: hero / form+info grid / map / CTA strip
   ============================================================ */

.ic-contact-page {
  background: #fff;
}

/* ---------- Hero ---------- */
.ic-contact-hero {
  background: linear-gradient(135deg, #007bfe 0%, #1f2a44 100%);
  color: #fff;
  padding: 4rem 1rem 4.25rem;
  text-align: center;
}
.ic-contact-hero .container {
  max-width: 1100px;
  margin: 0 auto;
}
.ic-contact-hero__crumbs {
  font-size: .85rem;
  opacity: .85;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.85);
}
.ic-contact-hero__crumbs a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.ic-contact-hero__crumbs a:hover { text-decoration: underline; }
.ic-contact-hero__sep { margin: 0 .4rem; opacity: .6; }
.ic-contact-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #fff;
  letter-spacing: -.01em;
}
.ic-contact-hero__sub {
  font-size: 1.1rem;
  opacity: .92;
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.5;
}

/* ---------- Main grid ---------- */
.ic-contact-main {
  padding: 4rem 1rem;
  background: #f8f9fa;
}
.ic-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.ic-contact-grid h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2a44;
  margin: 0 0 .5rem;
}
.ic-contact-form-wrap {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.ic-contact-form-wrap__lead {
  margin: 0 0 1.5rem;
  color: #5b6270;
  font-size: .95rem;
}

/* ---------- Form fields (works with existing ic-form-row markup) ---------- */
.ic-contact-form-wrap .contact-form input[type="text"],
.ic-contact-form-wrap .contact-form input[type="email"],
.ic-contact-form-wrap .contact-form input[type="tel"],
.ic-contact-form-wrap .contact-form input[type="file"],
.ic-contact-form-wrap .contact-form select,
.ic-contact-form-wrap .contact-form .form-control,
.ic-contact-form-wrap .contact-form .form-select {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #1f2a44;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: none;
}
.ic-contact-form-wrap .contact-form textarea,
.ic-contact-form-wrap .contact-form textarea.form-control {
  width: 100%;
  height: auto;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #1f2a44;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.ic-contact-form-wrap .contact-form input:focus,
.ic-contact-form-wrap .contact-form select:focus,
.ic-contact-form-wrap .contact-form textarea:focus,
.ic-contact-form-wrap .contact-form .form-control:focus,
.ic-contact-form-wrap .contact-form .form-select:focus {
  border-color: #76ac4e;
  box-shadow: 0 0 0 3px rgba(118,172,78,.18);
  outline: none;
}
.ic-contact-form-wrap .contact-form .form-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: #5b6270;
}
.ic-contact-form-wrap .contact-form .ic-form-row {
  margin-bottom: 1.1rem;
}
.ic-contact-form-wrap .contact-form .form-text {
  display: block;
  margin-top: .25rem;
  font-size: .78rem;
  color: #7c8290;
}
.ic-contact-form-wrap .contact-form .alert {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 0;
}
.ic-contact-form-wrap .contact-form .alert ul { margin: 0; padding-left: 1.1rem; }
.ic-contact-form-wrap .contact-form .alert-success { background: #e8f5e9; color: #2e7d32; }
.ic-contact-form-wrap .contact-form .alert-danger  { background: #fdecea; color: #b71c1c; }

.ic-contact-form-wrap .contact-form .form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 0;
  border: 0;
  background: transparent;
  margin-top: 1rem;
}
.ic-contact-form-wrap .contact-form .ic-contact-submit {
  background: #76ac4e;
  color: #fff;
  padding: .9rem 2.5rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(118,172,78,.25);
}
.ic-contact-form-wrap .contact-form .ic-contact-submit:hover {
  background: #5e8d3c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(118,172,78,.35);
}
.ic-contact-form-wrap .contact-form .ic-contact-legal {
  font-size: .78rem;
  color: #7c8290;
  margin: 0;
}
.ic-contact-form-wrap .contact-form .ic-contact-legal a {
  color: #007bfe;
  text-decoration: none;
}
.ic-contact-form-wrap .contact-form .ic-contact-legal a:hover { text-decoration: underline; }

/* ---------- Info cards ---------- */
.ic-contact-info { padding-top: .25rem; }
.ic-contact-cards {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .85rem;
}
.ic-contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef0f4;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ic-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.07);
  border-color: #d8e6cc;
}
.ic-contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(118,172,78,.12);
  color: #76ac4e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ic-contact-card__body { display: flex; flex-direction: column; min-width: 0; }
.ic-contact-card__body strong {
  display: block;
  font-size: 1rem;
  color: #1f2a44;
  margin-bottom: .15rem;
  font-weight: 700;
}
.ic-contact-card__body a {
  color: #007bfe;
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}
.ic-contact-card__body a:hover { text-decoration: underline; }
.ic-contact-card__body span {
  color: #1f2a44;
  font-size: .95rem;
}
.ic-contact-card__body small {
  display: block;
  font-size: .78rem;
  color: #7c8290;
  margin-top: .25rem;
}

/* ---------- Map ---------- */
.ic-contact-map {
  padding: 0;
  background: #eef0f4;
  line-height: 0;
}
.ic-contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
  filter: saturate(.95);
}

/* ---------- Final CTA strip ---------- */
.ic-contact-cta {
  background: linear-gradient(135deg, #76ac4e 0%, #5e8d3c 100%);
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
.ic-contact-cta .container {
  max-width: 1000px;
  margin: 0 auto;
}
.ic-contact-cta h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #fff;
}
.ic-contact-cta__lead {
  font-size: 1.05rem;
  opacity: .92;
  margin: 0 0 2rem;
}
.ic-contact-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.ic-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.ic-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  text-decoration: none;
}
.ic-cta-btn--wa   { background: #25d366; color: #fff; }
.ic-cta-btn--call { background: #fff;    color: #007bfe; }
.ic-cta-btn--mail { background: #1f2a44; color: #fff; }

/* ---------- Hide breadcrumb / page-header from layout (we have our own hero) ---------- */
.ic-contact-page ~ .breadcrumb,
body#contact .ic-contact-page + .page-footer { /* defensive */ }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ic-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ic-contact-hero { padding: 3rem 1rem; }
  .ic-contact-hero h1 { font-size: 1.85rem; }
  .ic-contact-hero__sub { font-size: 1rem; }
  .ic-contact-main { padding: 3rem 1rem; }
  .ic-contact-cta { padding: 3rem 1rem; }
  .ic-contact-cta h2 { font-size: 1.4rem; }
  .ic-contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 575px) {
  .ic-contact-hero h1 { font-size: 1.55rem; }
  .ic-cta-btn { width: 100%; justify-content: center; }
  .ic-contact-card { padding: 1rem; }
}

/* ============================================================
   Servicio Técnico v2 — Stream C v3 (id_cms=8)
   Bespoke full-width layout for SAT page.
   ============================================================ */

/* Make the full-width CMS container truly edge-to-edge */
.page-cms.page-cms--sat {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}
.page-cms.page-cms--sat .ic-sat-page,
body:has(.page-cms--sat) #wrapper > .container,
body:has(.page-cms--sat) #wrapper {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ic-sat-page {
  width: 100%;
  font-family: inherit;
  color: #1f2a44;
}
.ic-sat-page * {
  box-sizing: border-box;
}

/* ---------- Hero ---------- */
.ic-sat-hero {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #76ac4e 0%, #5e8d3c 100%);
  color: #fff;
  text-align: center;
  position: relative;
}
.ic-sat-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}
.ic-sat-hero__breadcrumb {
  font-size: .85rem;
  margin-bottom: 1.25rem;
  opacity: .9;
}
.ic-sat-hero__breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.6);
}
.ic-sat-hero__breadcrumb a:hover {
  border-bottom-color: #fff;
}
.ic-sat-hero__breadcrumb span {
  margin: 0 .4rem;
  opacity: .85;
}
.ic-sat-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
}
.ic-sat-hero__tagline {
  font-size: 1.2rem;
  line-height: 1.5;
  opacity: .95;
  margin: 0 auto 2rem;
  max-width: 700px;
}
.ic-sat-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.ic-btn-primary,
.ic-btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
/* White-on-green variant scoped to SAT hero only */
.ic-sat-hero .ic-btn-primary {
  background: #fff;
  color: #5e8d3c;
}
.ic-sat-hero .ic-btn-primary:hover {
  background: #f0f8e8;
  color: #4c7330;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.ic-btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.ic-btn-outline-white:hover {
  background: #fff;
  color: #5e8d3c;
  transform: translateY(-1px);
}

/* ---------- KPIs ---------- */
.ic-sat-kpis-wrap {
  background: #f8f9fa;
}
.ic-sat-kpis {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.ic-sat-kpi__num {
  font-size: 3rem;
  font-weight: 800;
  color: #76ac4e;
  line-height: 1;
  margin-bottom: .35rem;
}
.ic-sat-kpi__label {
  font-size: .95rem;
  color: #6c757d;
  font-weight: 500;
}

/* ---------- Section heading ---------- */
.ic-sat-h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2a44;
  text-align: center;
  margin: 0 0 2.5rem;
  position: relative;
}
.ic-sat-h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #76ac4e;
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ---------- Servicios ---------- */
.ic-sat-services {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.ic-sat-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ic-sat-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #eef0f2;
}
.ic-sat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.ic-sat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f0f8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #76ac4e;
}
.ic-sat-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: #1f2a44;
}
.ic-sat-card__text {
  font-size: .95rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Marcas ---------- */
.ic-sat-brands {
  padding: 4rem 1rem;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
.ic-sat-brands__lead {
  text-align: center;
  color: #6c757d;
  font-size: 1.05rem;
  margin: -1.5rem auto 2.5rem;
  max-width: 700px;
}
.ic-sat-brands__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.ic-sat-brand-logo {
  filter: grayscale(1);
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
  opacity: .7;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: .5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eef0f2;
}
.ic-sat-brand-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.ic-sat-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ic-sat-brand-logo__name {
  font-size: .85rem;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
  line-height: 1.2;
}

/* ---------- Timeline ---------- */
.ic-sat-timeline {
  padding: 4rem 1rem;
  background: #f8f9fa;
}
.ic-sat-timeline > .ic-sat-h2 {
  margin-bottom: 2.5rem;
}
.ic-sat-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  position: relative;
}
.ic-sat-timeline__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #76ac4e 0%, #76ac4e 100%);
  opacity: .25;
  z-index: 0;
}
.ic-sat-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.ic-sat-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #76ac4e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(118,172,78,.35);
}
.ic-sat-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: #1f2a44;
}
.ic-sat-step__text {
  font-size: .9rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Testimonio ---------- */
.ic-sat-testimonial {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}
.ic-sat-testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ic-sat-testimonial__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f0f8e8;
  color: #76ac4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.ic-sat-testimonial__stars {
  color: #f5b301;
  font-size: 1.4rem;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.ic-sat-testimonial__quote {
  font-size: 1.4rem;
  font-style: italic;
  color: #1f2a44;
  line-height: 1.5;
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}
.ic-sat-testimonial__author {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- CTA final ---------- */
.ic-sat-cta {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #76ac4e 0%, #5e8d3c 100%);
  color: #fff;
  text-align: center;
}
.ic-sat-cta__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ic-sat-cta__title {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
}
.ic-sat-cta__tagline {
  font-size: 1.1rem;
  opacity: .95;
  margin: 0 0 2rem;
}
.ic-sat-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ic-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: #fff;
  color: #5e8d3c;
  transition: all .2s ease;
  border: 2px solid #fff;
}
.ic-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  color: #4c7330;
}
.ic-btn-cta--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.ic-btn-cta--whatsapp:hover {
  background: #1eb858;
  border-color: #1eb858;
  color: #fff;
}
.ic-btn-cta--phone {
  background: #fff;
  color: #5e8d3c;
}
.ic-btn-cta--email {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.ic-btn-cta--email:hover {
  background: #fff;
  color: #5e8d3c;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ic-sat-hero { padding: 3.5rem 1rem; }
  .ic-sat-hero h1 { font-size: 2.2rem; }
  .ic-sat-hero__tagline { font-size: 1.05rem; }
  .ic-sat-kpis,
  .ic-sat-services__grid,
  .ic-sat-timeline__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ic-sat-brands__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ic-sat-timeline__steps::before { display: none; }
  .ic-sat-h2 { font-size: 1.6rem; }
  .ic-sat-cta { padding: 3.5rem 1rem; }
  .ic-sat-cta__title { font-size: 1.6rem; }
}

@media (max-width: 575px) {
  .ic-sat-hero { padding: 2.5rem 1rem; }
  .ic-sat-hero h1 { font-size: 1.8rem; }
  .ic-sat-hero__tagline { font-size: .95rem; }
  .ic-sat-kpis,
  .ic-sat-services__grid,
  .ic-sat-timeline__steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ic-sat-brands__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ic-sat-kpi__num { font-size: 2.4rem; }
  .ic-sat-card { padding: 1.5rem 1rem; }
  .ic-sat-testimonial__quote { font-size: 1.1rem; }
  .ic-btn-primary,
  .ic-btn-outline-white,
  .ic-btn-cta {
    width: 100%;
    max-width: 320px;
  }
  .ic-sat-services,
  .ic-sat-brands,
  .ic-sat-timeline,
  .ic-sat-testimonial {
    padding: 2.5rem 1rem;
  }
}
/* End Servicio Técnico v2 */


/* =============================================================
   Review stars — force explicit fills (no depender de currentColor)
   ============================================================= */
.ic-review-stars { color: #f5b50a !important; }
.ic-review-stars__star--full,
.ic-review-stars__star--full path {
  fill: #f5b50a !important;
  color: #f5b50a !important;
}
.ic-review-stars__star--empty,
.ic-review-stars__star--empty path {
  fill: #e3e7ec !important;
  color: #e3e7ec !important;
}
/* half stars: el SVG ya define un linearGradient stop-color="currentColor" — fuerza el currentColor a oro */
.ic-review-stars__star--half {
  color: #f5b50a !important;
}
.ic-review-stars__star {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  vertical-align: middle;
}


/* =============================================================
   Image slider — text overlay, premium editorial (v2 2026-05-10)
   Image is now clean (product + bg only). All copy lives in HTML
   so it can be edited from the Image Slider admin UI.
   ============================================================= */

/* Make the carousel item the positioning context for the overlay */
#home-slider .carousel-item,
.imageslider .carousel-item {
  position: relative;
}
#home-slider .carousel-content {
  position: relative;
  margin: 0;
}
#home-slider .carousel-content > a,
#home-slider .carousel-content > img {
  display: block;
  width: 100%;
}

/* Hide the legacy centered figcaption (parent template variant) just in case */
#home-slider .carousel-caption { display: none !important; }

/* Overlay container — left half on desktop, top half on mobile */
.ic-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;     /* let the underlying <a> remain clickable */
  padding: 0 8%;
  z-index: 2;
}
.ic-slide-overlay__inner {
  max-width: 460px;
  pointer-events: auto;     /* re-enable interaction on the text block */
}

/* Eyebrow */
.ic-slide-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid currentColor;
  line-height: 1;
}
.ic-slide-eyebrow--green { color: #76ac4e; }
.ic-slide-eyebrow--blue  { color: #007bfe; }
.ic-slide-eyebrow--dark  { color: #1f2a44; }

/* Title (overrides ps_imageslider's display-1 + text-uppercase) */
.ic-slide-overlay__title { /* v3 reduced */
  font-size: 40px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -.01em;
  text-transform: none;
}

/* Tagline */
.ic-slide-tagline {
  font-size: 16px;
  font-weight: 400;
  color: #5b6270;
  line-height: 1.55;
  margin: 0 0 26px;
  max-width: 440px;
}

/* CTA pill */
.ic-slide-cta {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .15s, filter .15s;
}
.ic-slide-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.ic-slide-cta--green { background: #76ac4e; }
.ic-slide-cta--blue  { background: #007bfe; }
.ic-slide-cta--dark  { background: #1f2a44; }

@media (max-width: 991px) {
  .ic-slide-overlay {
    padding: 6% 6% 0;
    align-items: flex-start;
  }
  .ic-slide-overlay__inner { max-width: 88%; }
  .ic-slide-overlay__title { font-size: 28px; margin-bottom: 10px; }
  .ic-slide-tagline { font-size: 13px; margin-bottom: 16px; }
  .ic-slide-cta { padding: 11px 22px; font-size: 12px; }
  .ic-slide-eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left-width: 3px;
  }
}

/* =============================================================
   Slider arrows + indicators — discrete, bottom corners, fade in
   ============================================================= */
#home-slider .carousel-control-prev,
#home-slider .carousel-control-next {
  width: 48px !important;
  height: 48px !important;
  top: auto !important;
  bottom: 24px !important;
  background: rgba(255, 255, 255, .9) !important;
  border-radius: 50% !important;
  opacity: 0 !important;
  transition: opacity .25s, background .15s !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12) !important;
  z-index: 5;
}
#home-slider .carousel:hover .carousel-control-prev,
#home-slider .carousel:hover .carousel-control-next,
#home-slider .carousel:focus-within .carousel-control-prev,
#home-slider .carousel:focus-within .carousel-control-next {
  opacity: 1 !important;
}
#home-slider .carousel-control-prev { left: auto !important; right: 88px !important; }
#home-slider .carousel-control-next { right: 24px !important; }
#home-slider .carousel-control-prev-icon,
#home-slider .carousel-control-next-icon {
  filter: invert(20%) !important;
  width: 18px !important;
  height: 18px !important;
}

/* Indicators (dots) */
#home-slider .carousel-indicators {
  bottom: 24px !important;
  margin-bottom: 0 !important;
  z-index: 4;
}
#home-slider .carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(31, 42, 68, .3) !important;
  border: 0 !important;
  opacity: 1 !important;
  margin: 0 4px !important;
  transition: background .15s, transform .15s !important;
}
#home-slider .carousel-indicators [data-bs-target].active {
  background: #76ac4e !important;
  transform: scale(1.3);
}

/* Mobile: hide arrows, keep dots */
@media (max-width: 767px) {
  #home-slider .carousel-control-prev,
  #home-slider .carousel-control-next { display: none !important; }
  #home-slider .carousel-indicators { bottom: 12px !important; }
}

/* =============================================================
   Miniature shipping line + tighter reference (added 2026-05-10)
   ============================================================= */
.ic-miniature__shipping {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 .25rem 0 !important;
  font-size: .76rem !important;
  font-weight: 600;
  color: #76ac4e !important;
  line-height: 1.2;
}
.ic-miniature__shipping svg {
  flex-shrink: 0;
  color: #76ac4e;
}
.ic-miniature__shipping--out {
  color: #c0392b !important;
}
.ic-miniature__shipping--out svg {
  color: #c0392b;
}

/* Reference line: aún más compacta — eliminar min-height fijo, la shipping line ya rellena el slot */
.ic-miniature__reference {
  min-height: 0 !important;
  margin: 0 0 .15rem 0 !important;
  line-height: 1.2 !important;
  font-size: .74rem !important;
}

/* Title slightly tighter */
.ic-miniature__title,
.product-miniature .product-miniature__title {
  min-height: 2.4em !important;
  margin: 0 0 .1rem 0 !important;
  line-height: 1.25 !important;
}

/* Reduce padding del card-body — eliminar excedente */
.product-miniature .product-miniature__infos {
  padding: .4rem .5rem !important;
}

/* =============================================================
   SAT CTA banner home v2 — professional split layout
   ============================================================= */
.ic-sat-cta-block {
  background: linear-gradient(135deg, #f8faf6 0%, #ffffff 60%, #eef4e6 100%);
  border-radius: 16px;
  margin: 4rem 0;
  overflow: hidden;
  border: 1px solid #e7eee0;
}
.ic-sat-cta-block__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 3rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.ic-sat-cta-block__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #76ac4e;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 4px solid #76ac4e;
  margin-bottom: 1rem;
}
.ic-sat-cta-block__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}
.ic-sat-cta-block__tagline {
  font-size: .95rem;
  color: #5b6270;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 480px;
}
.ic-sat-cta-block__kpis {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  gap: 2rem;
}
.ic-sat-cta-block__kpis li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.ic-sat-cta-block__kpis strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #76ac4e;
  line-height: 1;
}
.ic-sat-cta-block__kpis span {
  font-size: .75rem;
  color: #5b6270;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ic-sat-cta-block__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #76ac4e;
  color: #fff !important;
  padding: .9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(118, 172, 78, .25);
}
.ic-sat-cta-block__btn:hover {
  background: #5e8d3c;
  transform: translateY(-2px);
}
.ic-sat-cta-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ic-sat-cta-block__circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #76ac4e;
  box-shadow: 0 12px 30px rgba(118,172,78,.18);
  border: 2px solid #e7eee0;
}
@media (max-width: 991px) {
  .ic-sat-cta-block__inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .ic-sat-cta-block__eyebrow { border-left: 0; padding-left: 0; }
  .ic-sat-cta-block__title { font-size: 1.6rem; }
  .ic-sat-cta-block__kpis { justify-content: center; }
  .ic-sat-cta-block__circle { width: 180px; height: 180px; order: -1; margin: 0 auto 1.5rem; }
  .ic-sat-cta-block__circle svg { width: 80px; height: 80px; }
}


/* ============================================================
   Sectors v2 — Especialidades grid (DH-style, IBP imagery)
   Overrides legacy .ic-sector-card rules above.
   ============================================================ */
.ic-sectors-block { max-width: 1200px; margin: 4rem auto; padding: 0 1rem; }
.ic-sectors-block h2 { font-size: 1.8rem; font-weight: 800; color: #1f2a44; text-align: center; margin: 0 0 2rem; }
.ic-sectors-block .ic-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0;
}
.ic-sectors-block .ic-sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #f0f4ec;
  text-decoration: none !important;
  padding: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ic-sectors-block .ic-sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,42,68,0) 40%, rgba(31,42,68,.65) 100%);
  pointer-events: none;
}
.ic-sectors-block .ic-sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  border-color: transparent;
}
.ic-sectors-block .ic-sector-card__name {
  position: relative;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  width: 100%;
  text-align: left;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .ic-sectors-block .ic-sectors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .ic-sectors-block .ic-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .ic-sectors-block .ic-sector-card__name { font-size: .85rem; }
}

/* =============================================================
   Slider — mobile aspect-ratio matches 750x900 mobile JPGs
   ============================================================= */
@media (max-width: 767px) {
  #home-slider.ratio-homeSlider,
  .ratio-homeSlider {
    --bs-aspect-ratio: 120% !important;
    min-height: 0 !important;
  }
  #home-slider .carousel-item picture,
  #home-slider .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}


/* =============================================================
   Slider mobile dots — perfectly round (override Bootstrap default)
   ============================================================= */
#home-slider .carousel-indicators,
.carousel-indicators {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#home-slider .carousel-indicators [data-bs-target],
.carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  border-radius: 50% !important;
  background: rgba(31,42,68,.25) !important;
  border: 0 !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 8px !important;
  transition: background .15s, transform .15s !important;
  text-indent: 0 !important;
  box-sizing: border-box !important;
}
#home-slider .carousel-indicators [data-bs-target].active,
.carousel-indicators [data-bs-target].active {
  background: #76ac4e !important;
  transform: scale(1.4);
}

/* =============================================================
   Header carrito móvil — icono negro, sin fondo verde, badge redondo verde
   ============================================================= */
@media (max-width: 991px) {
  .ic-cart-pill {
    background: transparent !important;
    box-shadow: none !important;
    color: #1f2a44 !important;
    border-radius: 0 !important;
    border: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .ic-cart-pill:hover {
    background: rgba(0,0,0,.04) !important;
    color: #1f2a44 !important;
    transform: none !important;
    border-radius: 50% !important;
  }
  .ic-cart-pill svg {
    stroke: #1f2a44 !important;
    color: #1f2a44 !important;
    fill: none !important;
    width: 24px !important;
    height: 24px !important;
  }
  .ic-cart-pill__count {
    position: absolute !important;
    top: -2px !important;
    right: -4px !important;
    background: #76ac4e !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

/* =============================================================
   Reviews stars en miniaturas de listing — visibles, doradas, compactas
   ============================================================= */
.product-miniature .product-list-reviews,
.product-miniature .ic-review-stars-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 0 .3rem 0 !important;
  position: static !important;
  inset: auto !important;
}
.product-miniature .ic-review-stars {
  color: #f5b50a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  vertical-align: middle;
}
.product-miniature .ic-review-stars__star {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px;
}
.product-miniature .ic-review-stars__star--full,
.product-miniature .ic-review-stars__star--full path {
  fill: #f5b50a !important;
}
.product-miniature .ic-review-stars__star--empty,
.product-miniature .ic-review-stars__star--empty path {
  fill: #e3e7ec !important;
}
.product-miniature .ic-review-stars__count {
  color: #5b6270 !important;
  font-size: .72rem !important;
  font-weight: 500 !important;
  margin-left: 4px;
}

/* =============================================================
   Slider overlay mobile — orden correcto (eyebrow primero) y compactación
   ============================================================= */
@media (max-width: 767px) {
  .ic-slide-overlay__inner {
    max-width: 90% !important;
  }
  .ic-slide-overlay__title {
    font-size: 24px !important;
    line-height: 1.18 !important;
    margin: .35rem 0 .5rem !important;
  }
  .ic-slide-tagline {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 0 .9rem !important;
  }
  .ic-slide-eyebrow {
    margin-bottom: .35rem !important;
    font-size: 10px !important;
  }
  .ic-slide-cta {
    padding: 10px 18px !important;
    font-size: 11px !important;
  }
}

/* =============================================================
   Miniature buy button — fit dentro de cards 2-col en móvil
   ============================================================= */
.product-miniature .card,
.product-miniature .ic-miniature__card {
  overflow: hidden !important;
}
.ic-miniature__add {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
  gap: 4px !important;
  margin-top: .35rem !important;
  flex-wrap: nowrap !important;
}
.ic-miniature__qty {
  flex: 0 0 auto !important;
}
.ic-miniature__buy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ic-miniature__qty {
    width: 42px !important;
    flex: 0 0 42px !important;
    height: 30px !important;
  }
  .ic-miniature__qty-input {
    font-size: .72rem !important;
    padding: 0 1px !important;
    width: 100% !important;
  }
  .ic-miniature__qty-arrows {
    flex: 0 0 14px !important;
  }
  .ic-miniature__qty-up,
  .ic-miniature__qty-down {
    height: 14px !important;
  }
  .ic-miniature__buy {
    height: 30px !important;
    padding: 0 .35rem !important;
    font-size: .68rem !important;
    gap: 3px !important;
    letter-spacing: 0 !important;
  }
  .ic-miniature__buy-icon {
    width: 11px !important;
    height: 11px !important;
  }
  .product-miniature .product-miniature__infos {
    padding: .35rem !important;
  }
}
@media (max-width: 380px) {
  .ic-miniature__buy {
    font-size: .62rem !important;
    padding: 0 .25rem !important;
  }
  .ic-miniature__qty {
    width: 38px !important;
    flex: 0 0 38px !important;
  }
}

/* =============================================================
   Reviews stars HOME — fix v4 (max specificity, fill explícito en path)
   ============================================================= */
article.product-miniature .product-list-reviews,
article.product-miniature .ic-review-stars-wrap {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 18px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 .35rem 0 !important;
}
article.product-miniature .ic-review-stars {
  display: inline-flex !important;
  align-items: center !important;
  color: #f5b50a !important;
}
article.product-miniature .ic-review-stars svg.ic-review-stars__star {
  width: 14px !important;
  height: 14px !important;
  display: inline-block !important;
  visibility: visible !important;
}
article.product-miniature .ic-review-stars svg.ic-review-stars__star--full path,
article.product-miniature .ic-review-stars svg.ic-review-stars__star--full {
  fill: #f5b50a !important;
}
article.product-miniature .ic-review-stars svg.ic-review-stars__star--empty path,
article.product-miniature .ic-review-stars svg.ic-review-stars__star--empty {
  fill: #e3e7ec !important;
}
article.product-miniature .ic-review-stars__count {
  font-size: 11px !important;
  color: #5b6270 !important;
  font-weight: 500 !important;
  margin-left: 4px;
}

/* =============================================================
   Miniature mobile — padding inferior + flechas qty visibles
   ============================================================= */
.product-miniature .product-miniature__infos {
  padding: .5rem .5rem .65rem !important;
}

@media (max-width: 600px) {
  .product-miniature .product-miniature__infos {
    padding: .4rem .4rem .55rem !important;
  }

  /* Qty box: alto cómodo (36px) y flechas grandes */
  .ic-miniature__qty {
    width: 46px !important;
    flex: 0 0 46px !important;
    height: 36px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    background: #fff !important;
  }
  .ic-miniature__qty-input {
    font-size: .82rem !important;
    padding: 0 2px !important;
    text-align: center;
    color: #1f2a44 !important;
  }
  .ic-miniature__qty-arrows {
    flex: 0 0 18px !important;
    border-left: 1px solid #ced4da !important;
  }
  .ic-miniature__qty-up,
  .ic-miniature__qty-down {
    height: 17px !important;
    background: #f8f9fa !important;
    color: #1f2a44 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .ic-miniature__qty-up svg,
  .ic-miniature__qty-down svg {
    width: 11px !important;
    height: 11px !important;
    stroke: #1f2a44 !important;
    stroke-width: 3 !important;
  }
  .ic-miniature__qty-up:hover,
  .ic-miniature__qty-down:hover,
  .ic-miniature__qty-up:active,
  .ic-miniature__qty-down:active {
    background: #76ac4e !important;
  }
  .ic-miniature__qty-up:hover svg,
  .ic-miniature__qty-down:hover svg,
  .ic-miniature__qty-up:active svg,
  .ic-miniature__qty-down:active svg {
    stroke: #fff !important;
  }

  /* Botón Comprar: alto coincidente */
  .ic-miniature__buy {
    height: 36px !important;
    padding: 0 .5rem !important;
    font-size: .72rem !important;
  }
  .ic-miniature__buy-icon {
    width: 12px !important;
    height: 12px !important;
  }
}
@media (max-width: 380px) {
  .ic-miniature__qty {
    width: 42px !important;
    flex: 0 0 42px !important;
  }
  .ic-miniature__buy {
    font-size: .65rem !important;
    padding: 0 .35rem !important;
  }
}

/* =============================================================
   SAT hero — botón primary visible (verde + texto blanco)
   ============================================================= */
.ic-sat-hero .ic-btn-primary,
.ic-sat-hero .ic-btn-primary:hover {
  background: #fff !important;
  color: #5e8d3c !important;
  border-color: #fff !important;
}
.ic-sat-hero .ic-btn-primary:hover {
  background: #f0f8e8 !important;
  color: #4c7330 !important;
}

/* =============================================================
   SAT banner — foto real iberoclinic (reemplaza círculo)
   ============================================================= */
.ic-sat-cta-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ic-sat-cta-block__photo {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31,42,68,.12);
  display: block;
}
@media (max-width: 991px) {
  .ic-sat-cta-block__photo {
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }
}

/* =============================================================
   SAT page (id_cms=8) — foto real entre hero y KPIs
   ============================================================= */
.ic-sat-photo-band {
  max-width: 1200px;
  margin: -2rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
.ic-sat-photo-band img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(31,42,68,.18);
  display: block;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991px) {
  .ic-sat-photo-band img { max-height: 220px; }
}

/* === Stream C — Contact form file input rebrand (C.5) === */
.ic-file-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ic-file-wrapper .ic-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.ic-file-wrapper .ic-file-button {
  display: inline-block;
  padding: 8px 18px;
  background: #76ac4e;
  color: #fff !important;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
  border: 0;
  transition: background 0.15s ease;
}
.ic-file-wrapper .ic-file-button:hover {
  background: #5e8a3d;
}
.ic-file-wrapper .ic-file-input:focus + .ic-file-button {
  outline: 2px solid #76ac4e;
  outline-offset: 2px;
}
.ic-file-wrapper .ic-file-name {
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
}
.ic-file-wrapper .ic-file-name.has-file {
  color: #1f2a44;
  font-style: normal;
  font-weight: 500;
}

/* =============================================================
   Stream C v6 — Typography fixes (C.1 + C.2)
   Cliente: Micromotores rompe la S, Instrumental rompe la L,
            Electrobisturí/Electroestimuladores se saltan línea.
   ============================================================= */

/* C.1 — Subcategorías pills: reducir tamaño nombre + permitir rotura limpia */
.ic-subcats__scroller .ic-subcat-pill {
  padding: .35rem .65rem .35rem .35rem;
}
.ic-subcats__scroller .ic-subcat-pill__name {
  font-size: .78rem !important;
  line-height: 1.2 !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (min-width: 1200px) {
  .ic-subcats__scroller .ic-subcat-pill__name {
    font-size: .82rem !important;
  }
}

/* C.2 — Megamenu desktop top tabs: reducir font-size + padding lateral
   para que Electrobisturí / Electroestimuladores no salten línea. */
@media (min-width: 992px) {
  .pmm-tab__link {
    font-size: 0.7rem !important;
    padding: 14px 12px !important;
    letter-spacing: 0.2px !important;
  }
  .pmm-tab.ic-mega-trigger .pmm-tab__link {
    padding: 14px 16px !important;
  }
}
@media (min-width: 1200px) {
  .pmm-tab__link {
    font-size: 0.74rem !important;
    padding: 14px 14px !important;
  }
}

/* Megamenu dropdown: títulos más compactos para que palabras largas
   como "Instrumental Quirúrgico" no rompan en columnas estrechas. */
.pmm-megamenu__title {
  font-size: 0.72rem !important;
  letter-spacing: 0.3px !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}
.pmm-megamenu__links li a {
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

/* =============================================================
   Stream C.3 — Barra portes gratis carrito
   ============================================================= */
.ic-free-shipping-bar {
  background: #f6fbf0;
  border: 1px solid #cde2b3;
  border-left: 4px solid #76ac4e;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  color: #1f2a44;
}
.ic-free-shipping-bar--done {
  background: #ecf6e2;
  border-color: #76ac4e;
  color: #2d5e15;
}
.ic-free-shipping-bar__msg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ic-free-shipping-bar__msg svg {
  flex-shrink: 0;
  color: #76ac4e;
}
.ic-free-shipping-bar--done .ic-free-shipping-bar__msg {
  margin-bottom: 0;
}
.ic-free-shipping-bar__msg strong { font-weight: 700; }
.ic-free-shipping-bar__track {
  height: 8px;
  background: #e6e9ed;
  border-radius: 999px;
  overflow: hidden;
}
.ic-free-shipping-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #76ac4e, #5e8a3d);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Stream C.7 — Terms checkbox with explicit CMS link */
.ic-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: #fafbfc;
  border-radius: 6px;
  margin: 0.75rem 0;
}
.ic-terms-row .form-check-input {
  margin-top: 4px;
  margin-left: 0 !important;
}
.ic-terms-row .form-check-label {
  margin-left: 0 !important;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #1f2a44;
}
.ic-terms-link {
  display: inline-block;
  margin-left: 6px;
  color: #76ac4e !important;
  text-decoration: underline;
  font-weight: 600;
}
.ic-terms-link:hover { color: #5e8a3d !important; }

/* =============================================================
   Stream C v7 — CMS pages full-width hero (mismo formato SAT)
   Cliente: cabecera con fondo a pantalla completa para todas las
   páginas CMS (Servicio Técnico, contacto, legales, ...) + eliminar
   el espacio en blanco entre el trust bar y el hero.
   ============================================================= */

/* CMS pages: wrapper sin padding superior + container sin restricción */
.page-cms.ic-cms-page,
body:has(.ic-cms-page) #wrapper > .container,
body:has(.ic-cms-page) #wrapper,
body#contact #wrapper > .container,
body#contact #wrapper {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hero full-width: break out of any container constraint */
.ic-cms-hero {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Prose body below hero: re-apply container constraint */
.ic-cms-page .cms-page__body.container {
  max-width: 1200px;
  margin: 2.5rem auto 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Garantizar que el contenido CMS no desborda su contenedor */
.ic-cms-page .cms-page__content {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ic-cms-page .cms-page__content img,
.ic-cms-page .cms-page__content table,
.ic-cms-page .cms-page__content iframe {
  max-width: 100%;
  height: auto;
}
.ic-cms-page .cms-page__content table {
  display: block;
  overflow-x: auto;
}

/* Contact page: aplicar el mismo full-width al wrapper */
body#contact #content-wrapper,
body#contact .wrapper__content-full-width {
  padding: 0 !important;
}
body#contact .ic-contact-page > section.ic-contact-hero {
  width: 100% !important;
  max-width: none !important;
}

/* Mobile: que el hero no apriete tanto */
@media (max-width: 575.98px) {
  .ic-cms-hero { padding: 3rem 1rem; }
  .ic-cms-hero h1 { font-size: 1.8rem; }
  .ic-cms-hero .ic-sat-hero__tagline { font-size: 1rem; }
}

/* =============================================================
   Contact v3 — Eliminar CTA inferior + WhatsApp card en info +
   evitar hueco blanco bajo el formulario.
   ============================================================= */

/* Grid: ambas columnas alineadas arriba, altura solo del contenido. */
.ic-contact-grid {
  align-items: start !important;
}
.ic-contact-form-wrap,
.ic-contact-info {
  align-self: start !important;
  height: fit-content;
}

/* Quitar margin-bottom innecesario del último elemento del form */
.ic-contact-form-wrap .contact-form .form-footer { margin-bottom: 0; }
.ic-contact-form-wrap .contact-form .ic-contact-legal { margin-bottom: 0; }
.ic-contact-form-wrap > section.contact-form > form { margin-bottom: 0; }

/* WhatsApp card: icono verde corporativo igual que los demás */
.ic-contact-card--wa .ic-contact-card__icon--wa {
  background: #25D366;
  color: #fff;
}

/* Espacio entre la sección form+info y el mapa, sin gran hueco */
.ic-contact-main + .ic-contact-map { margin-top: 0; }
.ic-contact-main { padding-bottom: 3rem; }
.ic-contact-map { margin: 0; padding: 0; }
.ic-contact-map iframe { display: block; }

/* =============================================================
   Contact v4 — Reducir altura columna formulario
   Cliente: que la columna del formulario no exceda la altura
   de la columna de información de contacto.
   ============================================================= */

/* 1. Esconder filas vacías (placeholder GDPR sin contenido) */
.ic-contact-form-wrap .ic-form-row:empty {
  display: none !important;
  margin: 0 !important;
}
.ic-contact-form-wrap .ic-form-row > *:empty:only-child {
  display: none;
}

/* 2. Compactar separaciones del formulario */
.ic-contact-form-wrap {
  padding: 1.75rem 2rem 1.25rem !important;
}
.ic-contact-form-wrap h2 {
  margin: 0 0 .35rem !important;
}
.ic-contact-form-wrap__lead {
  margin: 0 0 1rem !important;
}
.ic-contact-form-wrap .contact-form .form-fields .ic-form-row {
  margin-bottom: .85rem !important;
}
.ic-contact-form-wrap .contact-form .form-fields .ic-form-row:last-child {
  margin-bottom: 0 !important;
}
.ic-contact-form-wrap .contact-form .form-footer {
  margin-top: .85rem !important;
  gap: .5rem .75rem !important;
}
.ic-contact-form-wrap .contact-form .ic-contact-legal {
  margin: 0 !important;
  line-height: 1.35;
  font-size: .8rem;
}

/* 3. Compactar el textarea para que no sea exagerado */
.ic-contact-form-wrap .contact-form textarea.form-control {
  min-height: 110px !important;
  rows: 4;
}

/* =============================================================
   Contact v5 — Eliminar hueco blanco DEFINITIVO + RGPD compact
   ============================================================= */

/* Grid: forzar que cada columna sea independiente y no estire */
.ic-contact-grid {
  display: grid !important;
  grid-template-columns: 1.3fr 1fr !important;
  align-items: start !important;
  align-content: start !important;
}

/* Form-wrap: matar cualquier altura impuesta */
.ic-contact-form-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: start !important;
  padding: 1.5rem 1.75rem 1.25rem !important;
}

/* Asegurar que TODOS los descendientes no estiren altura */
.ic-contact-form-wrap > *,
.ic-contact-form-wrap .contact-form,
.ic-contact-form-wrap form {
  height: auto !important;
  min-height: 0 !important;
}

/* RGPD consent: texto pequeño */
.ic-contact-form-wrap .psgdpr_consent_message,
.ic-contact-form-wrap label.psgdpr_consent_message {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  color: #5b6270 !important;
}
.ic-contact-form-wrap .psgdpr_consent_message a {
  color: #76ac4e !important;
  text-decoration: underline;
}

/* Compactar la fila del checkbox RGPD */
.ic-contact-form-wrap .form-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: .25rem 0 .5rem;
}
.ic-contact-form-wrap .form-check input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Footer del form más compacto sin texto legal */
.ic-contact-form-wrap .form-footer {
  margin-top: .5rem !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== Stream C.7 v2 — Modal condiciones generales ===== */
.ic-terms-link.btn-link {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  color: #76ac4e;
  cursor: pointer;
  font: inherit;
  vertical-align: baseline;
}
.ic-terms-link.btn-link:hover {
  color: #5e8a3d;
  text-decoration: underline;
}
.ic-terms-modal .modal-content {
  height: 85vh;
  max-height: 800px;
}
.ic-terms-modal__iframe {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: 0;
  display: block;
}
.ic-terms-modal .modal-body { display: flex; }

/* Stream C.3 v3 — Barra portes gratis compacta dentro del checkout summary */
.ic-free-shipping-bar--compact {
  margin: 8px 12px 12px 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
}
.ic-free-shipping-bar--compact .ic-free-shipping-bar__msg {
  margin-bottom: 6px;
  gap: 8px;
}
.ic-free-shipping-bar--compact .ic-free-shipping-bar__track { height: 6px; }

/* =============================================================
   Aviso cabecera: Venta EXCLUSIVA A PROFESIONAL SANITARIO (jul-2026)
   ============================================================= */
.ic-pro-notice {
  background: #1f2a44;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
  padding: 6px 10px;
  letter-spacing: .2px;
}
.ic-pro-notice .container { padding: 0; }
.ic-pro-notice__main {
  font-weight: 700;
  text-transform: uppercase;
}
.ic-pro-notice__sep { margin: 0 8px; opacity: .6; }
.ic-pro-notice__extra a {
  color: #9fd07a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ic-pro-notice__extra a:hover { text-decoration: underline; color: #b8e29a; }
@media (max-width: 575.98px) {
  .ic-pro-notice { font-size: 11.5px; padding: 5px 8px; }
  .ic-pro-notice__sep { display: none; }
  .ic-pro-notice__extra { display: block; }
}

/* Faceted UX: ocultar bloques cuando hay filtros activos */
.ic-hidden-by-filter { display: none !important; }

/* Fix banner pro-notice: verde corporativo + más fino (override) */
.ic-pro-notice {
  background: #76ac4e !important;
  color: #fff !important;
  font-size: 11.5px !important;
  padding: 3px 10px !important;
  letter-spacing: .15px !important;
  line-height: 1.3 !important;
}
.ic-pro-notice__extra a {
  color: #fff !important;
  text-decoration: underline !important;
  font-weight: 700;
}
.ic-pro-notice__extra a:hover { color: #eaf5df !important; }
@media (max-width: 575.98px) {
  .ic-pro-notice { font-size: 10.5px !important; padding: 3px 8px !important; }
  .ic-pro-notice__extra { display: inline !important; }
}

/* === Fix 2026-07-07: breadcrumb alineado con el gutter del contenido === */
.breadcrumb {
  padding: 10px calc(var(--bs-gutter-x, 30px) * 0.5);
  margin-bottom: 0;
}

/* =============================================================
   LEMA / SELLO - "El precio se paga una sola vez..."  (2026-08, v2)
   ============================================================= */
.ic-motto {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}
.ic-motto__inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 3rem 2.5rem 2.7rem;
  background: linear-gradient(135deg, #232f4d 0%, #1a2338 60%, #161d30 100%);
  text-align: center;
}
.ic-motto__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% -12%, rgba(118,172,78,.20), transparent 46%);
  pointer-events: none;
}
.ic-motto__kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.5rem;
  color: #a8d47f;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ic-motto__kicker::before,
.ic-motto__kicker::after {
  content: '';
  width: 26px;
  height: 2px;
  background: #76ac4e;
  opacity: .7;
}
.ic-motto__quote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 940px;
  border: 0;
  padding: 0;
}
.ic-motto__l1 {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.35;
}
.ic-motto__l2 {
  display: block;
  margin-top: .4rem;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.ic-motto__hl {
  display: inline-block;
  border-bottom: 5px solid #76ac4e;
  padding-bottom: .1em;
}
.ic-motto__proof {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem .9rem;
  margin: 2.2rem 0 0;
  padding: 0;
}
.ic-motto__proof li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .52rem 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .83rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
}
.ic-motto__proof svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke: #a8d47f;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 1199px) {
  .ic-motto__l2 { font-size: 2.25rem; }
}
@media (max-width: 991px) {
  .ic-motto__inner { padding: 2.6rem 1.8rem 2.3rem; }
  .ic-motto__l1 { font-size: 1.2rem; }
  .ic-motto__l2 { font-size: 1.85rem; }
}
@media (max-width: 767px) {
  .ic-motto { margin: 2.5rem auto; }
  .ic-motto__inner { padding: 2.1rem 1.2rem 1.9rem; border-radius: 12px; }
  .ic-motto__kicker { margin-bottom: 1.1rem; font-size: .66rem; letter-spacing: .18em; }
  .ic-motto__kicker::before, .ic-motto__kicker::after { width: 18px; }
  .ic-motto__l1 { font-size: 1.02rem; }
  .ic-motto__l2 { font-size: 1.5rem; margin-top: .3rem; }
  /* en movil la frase parte en varias lineas: el subrayado se sustituye por color */
  .ic-motto__hl { display: block; border-bottom: 0; padding-bottom: 0; color: #a8d47f; }
  .ic-motto__proof { gap: .5rem; margin-top: 1.6rem; }
  .ic-motto__proof li { padding: .45rem .8rem; font-size: .75rem; }
  .ic-motto__proof svg { width: 15px; height: 15px; }
}

/* Sello corto recurrente en el pie */
.ic-footer__motto {
  margin: 0 0 .9rem;
  padding: 0 0 .9rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .84rem;
  font-style: italic;
  letter-spacing: .01em;
}
.ic-footer__motto strong { color: #a8d47f; font-style: normal; font-weight: 700; }

/* =============================================================
   SELECTOR DE PAIS / TIENDA (ES / PT)  (2026-08)
   ============================================================= */
.ic-header-action--country { position: relative; }
.ic-country { position: relative; }
.ic-country__btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .5rem;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: .82rem;
  font-weight: 600;
  color: #1f2a44;
  background: #fff;
  line-height: 1;
  white-space: nowrap;
}
.ic-country__btn::-webkit-details-marker { display: none; }
.ic-country__btn:hover { border-color: #76ac4e; }
.ic-country__flag { font-size: 1.05rem; line-height: 1; }
.ic-country__caret { opacity: .55; transition: transform .15s ease; }
.ic-country[open] .ic-country__caret { transform: rotate(180deg); }
.ic-country__list {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 1200;
  min-width: 168px;
  margin: 0;
  padding: .3rem;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.ic-country__list li { margin: 0; }
.ic-country__list a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .6rem;
  border-radius: 7px;
  color: #1f2a44;
  font-size: .86rem;
  text-decoration: none;
}
.ic-country__list a:hover { background: #f2f6ee; color: #5f9139; }
@media (max-width: 991px) {
  .ic-country__code { display: none; }
  .ic-country__btn { padding: .28rem .4rem; }
}
