/*
Theme Name: MasterCarBS
Author: FlowCode AI
Description: MasterCarBS — taller mecánico multimarca y venta de repuestos (La Florida, Santiago) — tema a medida.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: mcb-theme
*/

*, *::before, *::after{ box-sizing:border-box; }

.screen-reader-text{ border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute !important; width:1px; word-wrap:normal !important; }

html{ overflow-x:hidden; }
body{ overflow-x:hidden; max-width:100vw; }
img, video{ max-width:100%; height:auto; }
table{ max-width:100%; }

/* ---------- Línea amarilla decorativa (identidad de marca del cliente) ---------- */
.mcb-redline{ height:5px; background:linear-gradient(90deg,#B80E15,#B5B5BD 40%,#B5B5BD 60%,#B80E15); }

/* ---------- Topbar ---------- */
.mcb-topbar{ background:#0A0A0A; color:#fff; }
.mcb-topbar__inner{
  max-width:1280px; margin:0 auto; padding:0.5rem 1.25rem;
  display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap;
}
.mcb-topbar__item{ display:inline-flex; align-items:center; gap:0.4rem; font-size:0.8rem; color:#fff; max-width:100%; }
.mcb-topbar__item svg{ flex-shrink:0; }
.mcb-topbar__item a{ color:#fff; text-decoration:none; }
.mcb-topbar__item a:hover{ color:#B5B5BD; }
@media (min-width:769px){
  .mcb-topbar__item{ white-space:nowrap; }
}
@media (max-width:480px){
  .mcb-contact-name{ display:none; }
}

/* ---------- Header / navegación ---------- */
.mcb-header{ position:sticky; top:0; z-index:50; background:#0A0A0A; border-bottom:3px solid #E3121B; transition:padding .2s ease; }
.mcb-header.is-compact{ padding-top:0.25rem !important; padding-bottom:0.25rem !important; }
.mcb-header.is-compact .mcb-logo-mark img{ height:40px; }
.mcb-header .wp-block-navigation{ font-size:0.96rem; }
.mcb-logo-mark{ display:flex; align-items:center; text-decoration:none !important; gap:0.6rem; }
.mcb-logo-mark svg{ height:44px; width:auto; display:block; }
.mcb-logo-mark img{ height:56px; width:auto; display:block; flex-shrink:0; transition:height .2s ease; }
footer .mcb-logo-mark img{ height:44px; width:auto; }
@media (max-width:480px){
  .mcb-logo-mark svg{ height:36px; }
  .mcb-logo-mark img{ height:44px; width:auto; }
}

/* Menú hamburguesa: colapsa entre 980 y 1080px (si no, el header desborda en tablet) */
@media (min-width:600px) and (max-width:1079.98px){
  .mcb-header .wp-block-navigation__responsive-container-open:not(.always-shown){ display:flex !important; }
  .mcb-header .wp-block-navigation__responsive-container:not(.is-menu-open){ display:none !important; }
}

/* ---------- WhatsApp flotante ---------- */
.mcb-wa{ position:fixed; right:20px; bottom:20px; width:60px; height:60px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(0,0,0,0.35); z-index:1000; }
.mcb-wa svg{ width:32px; height:32px; fill:#fff; }
.mcb-wa:hover{ transform:scale(1.06); }
@media (max-width:600px){
  .mcb-wa{ right:14px; bottom:14px; width:54px; height:54px; }
}

/* ---------- Botones ---------- */
.mcb-btn{ display:inline-flex; align-items:center; gap:0.5rem; justify-content:center; padding:0.85rem 1.7rem; border-radius:8px; font-weight:700; text-decoration:none !important; font-size:0.96rem; line-height:1.2; }
.mcb-btn--azul-claro{ background:#B5B5BD; color:#0A0A0A; }
.mcb-btn--azul-claro:hover{ background:#B80E15; color:#fff; }
.mcb-btn--azul{ background:#E3121B; color:#fff; }
.mcb-btn--azul:hover{ background:#B80E15; color:#fff; }
.mcb-btn--outline{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.85); }
.mcb-btn--outline:hover{ background:rgba(255,255,255,0.15); color:#fff; }
.mcb-btn--wa{ background:#25D366; color:#fff; }
.mcb-btn--wa:hover{ background:#1EBE5A; color:#fff; }
.mcb-btn--negro{ background:#0A0A0A; color:#fff; }
.mcb-btn--negro:hover{ background:#16161A; color:#B5B5BD; }

/* ---------- Hero ---------- */
.mcb-hero{
	position:relative; overflow:hidden; background-color:#0A0A0A;
	background-repeat:no-repeat; background-position:center 35%; background-size:cover;
}
.mcb-hero__scrim{ position:absolute; inset:0; background:linear-gradient(115deg,rgba(10,10,10,0.96) 20%,rgba(10,10,10,0.9) 55%,rgba(161,15,20,0.55) 100%); }
@media (max-width:640px){
	.mcb-hero__scrim{ background:rgba(10,10,10,0.94); }
}
.mcb-hero__inner{ position:relative; max-width:1280px; margin:0 auto; padding:clamp(3rem,8vw,6rem) clamp(1.25rem,4vw,2rem); }
.mcb-hero__eyebrow{
  display:inline-flex; align-items:center; gap:0.4rem; margin-bottom:1.1rem; padding:0.4rem 0.9rem; border-radius:999px;
  background:rgba(156,163,174,0.18); border:1px solid #B5B5BD;
  color:#B5B5BD; font-size:0.78rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
}
.mcb-hero__title{
  font-family:var(--wp--preset--font-family--heading); font-weight:700; color:#fff;
  font-size:clamp(2rem,4.6vw,3.4rem); line-height:1.14; margin:0 0 1rem; max-width:22ch;
}
.mcb-hero__title em{ font-style:normal; color:#B5B5BD; }
@media (max-width:480px){
  .mcb-hero__title{ font-size:clamp(1.6rem,7vw,2.2rem); }
}
.mcb-hero__lead{ font-size:clamp(1rem,1.4vw,1.15rem); color:#DCDCDC; max-width:52ch; margin:0 0 1.75rem; }
.mcb-hero__ctas{ display:flex; gap:0.9rem; flex-wrap:wrap; margin-bottom:2rem; }
.mcb-hero__micro{ display:flex; flex-wrap:wrap; gap:1rem 1.75rem; }
.mcb-hero__micro-item{ display:inline-flex; align-items:center; gap:0.55rem; }
.mcb-hero__micro-item svg{ flex-shrink:0; }
.mcb-hero__micro-text{ display:flex; flex-direction:column; line-height:1.3; }
.mcb-hero__micro-text strong{ color:#fff; font-size:0.85rem; font-weight:700; }
.mcb-hero__micro-text em{ color:#B9B9B9; font-style:normal; font-size:0.75rem; }

/* ---------- Servicios ---------- */
.mcb-services{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-service-card{
  display:flex; flex-direction:column; gap:0.9rem; padding:1.9rem 1.6rem; border-radius:14px;
  background:#fff; border:1px solid #E3E4E7; transition:box-shadow .2s,transform .2s,border-color .2s;
}
.mcb-service-card:hover{ box-shadow:0 14px 30px rgba(10,10,10,0.14); transform:translateY(-3px); border-color:#B5B5BD; }
.mcb-service-card__icon{ display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:10px; background:#0A0A0A; flex-shrink:0; }
.mcb-service-card__icon svg{ width:26px; height:26px; stroke:#B5B5BD; }
.mcb-service-card h3{ font-size:1.05rem; margin:0; font-family:var(--wp--preset--font-family--heading); }
.mcb-service-card p{ margin:0; color:#5A5F66; font-size:0.93rem; line-height:1.6; }
.mcb-service-card__wa{ margin-top:auto; display:inline-flex; align-items:center; gap:0.35rem; color:#B80E15; font-weight:700; font-size:0.85rem; text-decoration:none !important; }
.mcb-service-card__wa:hover{ color:#0A0A0A; }
@media (max-width:1100px){ .mcb-services{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:900px){ .mcb-services{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .mcb-services{ grid-template-columns:1fr; } }

/* ---------- Pilares (confianza/experiencia) ---------- */
.mcb-pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-pillar{ text-align:center; padding:1.9rem 1rem; border-radius:14px; background:#1F1F24; border:1px solid #2A2A30; }
.mcb-pillar__icon{ display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:50%; border:3px solid #E3121B; margin-bottom:1rem; }
.mcb-pillar__icon svg{ width:26px; height:26px; stroke:#fff; }
.mcb-pillar h3{ font-size:1.02rem; margin:0 0 0.25rem; font-family:var(--wp--preset--font-family--heading); color:#fff; }
.mcb-pillar p{ margin:0; color:#B5B5BD; font-size:0.88rem; }
@media (max-width:900px){ .mcb-pillars{ grid-template-columns:repeat(2,1fr); row-gap:1.5rem; } }
@media (max-width:480px){ .mcb-pillars{ grid-template-columns:1fr; } }

/* ---------- Zona de cobertura ---------- */
.mcb-coverage{ max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(1.5rem,4vw,3rem); align-items:center; }
.mcb-coverage__map{ display:block; border-radius:16px; overflow:hidden; border:1px solid #E3E4E7; background:#F5F5F6; position:relative; }
.mcb-coverage__map img{ display:block; width:100%; height:auto; aspect-ratio:949/615; transition:transform .3s; }
.mcb-coverage__map:hover img{ transform:scale(1.03); }
.mcb-coverage__list{ list-style:none; margin:1.25rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:0.6rem; }
.mcb-coverage__list li{
  display:inline-flex; align-items:center; gap:0.4rem; padding:0.5rem 0.95rem; border-radius:999px;
  background:#0A0A0A; color:#B5B5BD; font-weight:700; font-size:0.88rem;
}
@media (max-width:900px){ .mcb-coverage{ grid-template-columns:1fr; } }

/* ---------- Agenda / reservas (Amelia) ---------- */
.mcb-booking{ max-width:1000px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-booking__wrap{ background:#F5F5F6; border-radius:16px; padding:clamp(1.25rem,4vw,2rem); border:1px solid #E3E4E7; }
.mcb-booking__note{ display:flex; align-items:flex-start; gap:0.6rem; margin-top:1.25rem; padding:1rem 1.2rem; border-radius:12px; background:#FFF8E1; border:1px solid #FFE49A; color:#5A5F66; font-size:0.9rem; }
.mcb-booking__note strong{ color:#0A0A0A; }

/* ---------- Galería / portafolio ---------- */
.mcb-gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.mcb-gallery-card{ display:block; border-radius:14px; overflow:hidden; background:#1F1F24; border:1px solid #2A2A30; text-decoration:none !important; color:inherit; transition:box-shadow .2s,transform .2s; }
.mcb-gallery-card:hover{ box-shadow:0 14px 30px rgba(10,10,10,0.16); transform:translateY(-3px); }
.mcb-gallery-card__media{ overflow:hidden; background:#F5F5F6; }
.mcb-gallery-card__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.mcb-gallery-card:hover .mcb-gallery-card__media img{ transform:scale(1.05); }
.mcb-gallery-card__media--brand{ display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#0A0A0A 0%,#16161A 55%,#B80E15 140%); transition:transform .35s; }
.mcb-gallery-card:hover .mcb-gallery-card__media--brand{ transform:scale(1.03); }
.mcb-gallery-card__media--brand svg{ width:34%; height:34%; }
.mcb-gallery-card__body{ padding:1.1rem 1.2rem 1.3rem; }
.mcb-gallery-card__cat{ display:inline-block; font-size:0.74rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:#B80E15; margin-bottom:0.4rem; }
.mcb-gallery-card h3{ font-family:var(--wp--preset--font-family--heading); font-size:1rem; margin:0; color:#fff; }
@media (max-width:900px){ .mcb-gallery-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .mcb-gallery-grid{ grid-template-columns:1fr; } }

/* ---------- Galería completa: masonry con fotos reales (sin forzar cuadrado) + lightbox CSS ---------- */
.mcb-lightbox-grid{ column-count:3; column-gap:1.25rem; }
.mcb-lightbox-thumb{ display:block; break-inside:avoid; margin-bottom:1.25rem; border-radius:14px; overflow:hidden; background:#fff; border:1px solid #E3E4E7; text-decoration:none !important; color:inherit; transition:box-shadow .2s,transform .2s; }
.mcb-lightbox-thumb:hover{ box-shadow:0 14px 30px rgba(10,10,10,0.16); transform:translateY(-3px); }
.mcb-lightbox-thumb img{ width:100%; height:auto; display:block; }
.mcb-lightbox-thumb__cap{ display:block; padding:0.7rem 0.9rem 0.9rem; font-size:0.85rem; color:#5B6472; }
@media (max-width:900px){ .mcb-lightbox-grid{ column-count:2; } }
@media (max-width:560px){ .mcb-lightbox-grid{ column-count:1; } }

.mcb-lightbox{ position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; padding:clamp(1rem,5vw,3rem); }
.mcb-lightbox:target{ display:flex; }
.mcb-lightbox__scrim{ position:absolute; inset:0; background:rgba(10,10,10,0.92); }
.mcb-lightbox__close{ position:absolute; top:1.2rem; right:1.5rem; z-index:2; color:#fff; font-size:2.2rem; line-height:1; text-decoration:none !important; }
.mcb-lightbox__figure{ position:relative; z-index:1; max-width:100%; max-height:92vh; margin:0; display:flex; flex-direction:column; align-items:center; }
.mcb-lightbox__img{ max-width:100%; max-height:80vh; width:auto; height:auto; display:block; border-radius:8px; }
.mcb-lightbox__figcap{ color:#fff; margin-top:0.9rem; font-size:0.95rem; text-align:center; }

.mcb-single-trabajo{ max-width:900px; margin:0 auto; padding:2rem clamp(1rem,4vw,2rem) 4rem; }
.mcb-single-trabajo__media{ border-radius:16px; overflow:hidden; margin-bottom:1.75rem; }
.mcb-single-trabajo__media img{ width:100%; display:block; }
.mcb-single-trabajo__cat{ display:inline-block; font-size:0.78rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:#B80E15; margin-bottom:0.5rem; }
.mcb-single-trabajo .entry-content{ font-size:1.02rem; line-height:1.75; color:#222; }
.mcb-back-link{ display:flex; align-items:center; gap:0.4rem; margin-bottom:1.5rem; color:#0A0A0A; font-weight:600; text-decoration:none !important; }
.mcb-back-link:hover{ color:#B80E15; }

/* ---------- Reseñas Google ---------- */
.mcb-reviews{ max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-reviews-fallback{ max-width:700px; margin:0 auto; text-align:center; padding:2rem; border-radius:14px; background:#F5F5F6; border:1px dashed #E3E4E7; color:#5A5F66; }
.mcb-reviews-fallback a{ color:#B80E15; font-weight:700; }

/* ---------- Contacto ---------- */
.mcb-contact-info{ display:flex; flex-direction:column; gap:1rem; }
.mcb-contact-info__item{ display:flex; flex-direction:row; align-items:center; text-align:left; gap:0.9rem; padding:1.1rem 1.1rem; border:1px solid #E3E4E7; border-radius:14px; background:#fff; }
.mcb-contact-info__item strong{ display:block; }
.mcb-contact-info__icon{ display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; border-radius:50%; background:#0A0A0A; }
.mcb-contact-info__icon svg{ width:24px; height:24px; stroke:#B5B5BD; }
.mcb-contact-info__item strong{ font-size:0.95rem; color:#0A0A0A; }
.mcb-contact-info__item a, .mcb-contact-info__item span{ color:#5A5F66; font-size:0.9rem; text-decoration:none; }
.mcb-contact-info__item a:hover{ color:#B80E15; }

.mcb-contact-form{
  display:flex; flex-direction:column; gap:1rem; margin-top:0;
  background:#FFFFFF; border:1px solid #E3E4E7; border-radius:16px; padding:clamp(1.5rem,4vw,2.25rem);
}
.mcb-contact-form .mcb-honeypot{ position:absolute; left:-9999px; }
.mcb-contact-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.mcb-contact-form label{ display:flex; flex-direction:column; gap:0.35rem; font-weight:600; font-size:0.9rem; color:#0A0A0A; }
.mcb-contact-form input, .mcb-contact-form textarea{
  font-family:inherit; font-weight:400; font-size:0.98rem; color:#0A0A0A;
  padding:0.75rem; border:1px solid #E3E4E7; border-radius:8px; box-sizing:border-box; width:100%;
  background:#fff;
}
.mcb-contact-form input::placeholder, .mcb-contact-form textarea::placeholder{ color:#8B8F97; }
.mcb-contact-form__submit{
  background:#0A0A0A; color:#FFFFFF; border:none; border-radius:8px; padding:0.9rem 1.6rem;
  font-weight:700; font-size:1rem; cursor:pointer; width:100%;
}
.mcb-contact-form__submit:hover{ background:#B5B5BD; color:#0A0A0A; }
.mcb-form-msg{ padding:0.85rem 1.1rem; border-radius:8px; font-weight:600; font-size:0.92rem; }
.mcb-form-msg--ok{ background:#E7F7EC; color:#1B7A38; border:1px solid #BEE8C9; }
.mcb-form-msg--error{ background:#FCEBEC; color:#A5000F; border:1px solid #F3C6C9; }
.mcb-map{ border-radius:16px; overflow:hidden; border:1px solid #E3E4E7; margin-top:2rem; }
.mcb-map iframe{ display:block; width:100%; height:380px; border:0; }
@media (max-width:600px){
  .mcb-contact-info{ grid-template-columns:1fr; }
  .mcb-contact-form__row{ grid-template-columns:1fr; }
}

/* ---------- Footer ---------- */
.mcb-footer-contact svg{ vertical-align:-2px; margin-right:0.15rem; }

/* Ancla bajo header sticky */
[id]{ scroll-margin-top:90px; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
  .mcb-gallery-card:hover,
  .mcb-gallery-card:hover .mcb-gallery-card__media img,
  .mcb-service-card:hover,
  .mcb-wa:hover{ transform:none !important; }
}

/* Cards de producto (loop clásico WooCommerce) — usado en tienda, home, relacionados y categorías: una sola tarjeta para todo el sitio */
.woocommerce ul.products,
ul.products{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr)) !important;
  gap:clamp(1rem,2vw,1.75rem) !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
/* El clearfix ::before/::after de WooCommerce (woocommerce-layout.css) se convierte en un ítem
   más de la grilla y ocupa la primera celda, corriendo el primer producto a la 2da columna. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after{
  content:none !important;
  display:none !important;
}
.woocommerce ul.products li.product,
ul.products li.product{
  position:relative;
  float:none !important;
  width:auto !important;
  margin:0 !important;
  clear:none !important;
  display:flex !important;
  flex-direction:column;
  background:#fff;
  border:1px solid #E3E4E7;
  border-radius:14px;
  overflow:hidden;
  padding:0 !important;
  list-style:none;
  transition:box-shadow .2s,transform .2s;
}
.woocommerce ul.products li.product:hover{ box-shadow:0 12px 28px rgba(16,19,28,0.1); transform:translateY(-3px); }
.woocommerce ul.products li.product:focus-within{ outline:2px solid #E3121B; outline-offset:2px; }
.woocommerce ul.products li.product > a:not(.button){ text-decoration:none; color:inherit; display:flex; flex-direction:column; flex:1 0 auto; }
/* Tarjeta entera clickeable: el link de imagen+título se estira sobre toda la tarjeta;
   el botón de abajo (Agregar/Consultar) queda por encima para seguir siendo clickeable aparte. */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link::after{
  content:''; position:absolute; inset:0; z-index:1;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .mcb-wa-product-btn{ position:relative; z-index:2; }
.woocommerce ul.products li.product a img{
  width:100%; aspect-ratio:1/1; object-fit:contain; display:block;
  background:#F5F5F6; padding:1rem; box-sizing:border-box;
  transition:transform .3s;
}
.woocommerce ul.products li.product:hover img{ transform:scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--wp--preset--font-family--heading); font-weight:600; font-size:1rem;
  margin:0.9rem 1rem 0.3rem; color:#0A0A0A; min-height:2.6em; line-height:1.3;
  text-wrap:balance; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.woocommerce ul.products li.product .price{ display:block; margin:0 1rem 1rem; font-weight:700; color:#B80E15; font-size:1.05rem; }
.woocommerce ul.products li.product .button{
  display:block; width:calc(100% - 2rem); margin:auto 1rem 0.5rem;
  text-align:center; background:#E3121B; color:#fff; border-radius:10px;
  padding:0.7rem 0.6rem; font-weight:600; line-height:1.25; white-space:normal;
  box-sizing:border-box; font-size:0.88rem; flex-shrink:0;
}
.woocommerce ul.products li.product .button:hover{ background:#B80E15; }
.woocommerce ul.products li.product .button:focus-visible{ outline:2px solid #0A0A0A; outline-offset:2px; }
/* "Consultar por WhatsApp" debajo de "Agregar al carrito" cuando el producto SÍ tiene precio
   (va sin la clase .button de WC, así no hereda el fondo rojo sólido — queda en contorno). */
.woocommerce ul.products li.product .mcb-wa-product-btn--outline{
  display:block; width:calc(100% - 2rem); margin:0 1rem 1.1rem;
  text-align:center; background:transparent; color:#0A0A0A; border:1.5px solid #0A0A0A; border-radius:10px;
  padding:0.65rem 0.6rem; font-weight:600; line-height:1.25; white-space:normal; text-decoration:none;
  box-sizing:border-box; font-size:0.85rem; flex-shrink:0;
}
.woocommerce ul.products li.product .mcb-wa-product-btn--outline:hover{ border-color:#E3121B; color:#E3121B; }
.mcb-cat-filter{ display:flex; flex-wrap:wrap; gap:0.6rem; margin:0 0 2rem; }
.mcb-cat-filter__pill{
  display:inline-flex; align-items:center; padding:0.55rem 1.1rem; border-radius:999px;
  border:1px solid #E3E4E7; color:#0A0A0A; text-decoration:none; font-weight:600; font-size:0.9rem;
  transition:background .15s,color .15s,border-color .15s;
}
.mcb-cat-filter__pill:hover{ border-color:#B80E15; color:#B80E15; }
.mcb-cat-filter__pill.is-active{ background:#E3121B; border-color:#E3121B; color:#fff; }

.woocommerce-ordering{ display:inline-block; margin-bottom:2rem; }
.woocommerce-ordering select.orderby{
  appearance:none; -webkit-appearance:none;
  border:1px solid #E3E4E7; border-radius:999px; background:#fff;
  padding:0.55rem 2.2rem 0.55rem 1.1rem; font-weight:600; font-size:0.9rem; color:#0A0A0A;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310131C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 0.75rem center; background-size:14px;
  cursor:pointer;
}
.woocommerce-ordering select.orderby:hover{ border-color:#E3121B; }
.woocommerce-result-count{ color:#5A5F66; font-size:0.92rem; }
.woocommerce span.onsale{ position:absolute; margin:0.7rem; background:#0A0A0A; color:#fff; border-radius:999px; padding:0.25rem 0.7rem; font-size:0.75rem; font-weight:700; z-index:2; }
.woocommerce nav.woocommerce-pagination ul{ display:flex; gap:0.4rem; list-style:none; padding:0; justify-content:center; margin:2.5rem 0 0; }
.woocommerce nav.woocommerce-pagination ul li{ list-style:none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span{ display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; border:1px solid #E3E4E7; border-radius:8px; color:#0A0A0A; text-decoration:none; }
.woocommerce nav.woocommerce-pagination ul li span.current{ background:#E3121B; color:#fff; border-color:#E3121B; }

/* Single producto */
.woocommerce div.product .woocommerce-product-gallery img{ border-radius:14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:#B80E15; font-size:1.5rem; font-weight:700; }

.woocommerce div.product form.cart{
  display:flex; align-items:center; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem;
}
.woocommerce div.product form.cart .quantity{ margin:0; }
.woocommerce div.product form.cart .quantity .qty{ height:48px; box-sizing:border-box; border-radius:10px; }
.woocommerce div.product .single_add_to_cart_button,
.woocommerce div.product .mcb-wa-product-btn{
  height:48px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px !important; font-weight:700 !important; font-size:0.98rem;
  padding:0 1.6rem !important; border:none !important; margin:0 !important; line-height:1; white-space:nowrap;
}
.woocommerce div.product .single_add_to_cart_button{ background:#E3121B !important; color:#fff; }
.woocommerce div.product .single_add_to_cart_button:hover{ background:#B80E15 !important; }
.woocommerce div.product .mcb-wa-product-btn{ background:#128C4A; color:#fff; text-decoration:none; gap:0.5rem; }
.woocommerce div.product .mcb-wa-product-btn:hover{ background:#0E7A40; }

/* Info de despacho / pago / garantía debajo del botón de compra */
.mcb-product-info{ display:flex; flex-direction:column; gap:1.1rem; padding:1.5rem; margin-bottom:1.5rem; background:#F5F5F6; border-radius:14px; }
.mcb-product-info__item{ display:flex; gap:0.9rem; align-items:flex-start; }
.mcb-product-info__icon{ display:inline-flex; flex-shrink:0; }
.mcb-product-info__icon svg{ width:22px; height:22px; }
.mcb-product-info__item strong{ display:block; font-size:0.95rem; color:#0A0A0A; margin-bottom:0.15rem; }
.mcb-product-info__item span{ display:block; font-size:0.88rem; color:#5A5F66; line-height:1.5; }
.mcb-product-info__item a{ color:#B80E15; font-weight:600; }

/* Tabs de producto */
.woocommerce div.product .woocommerce-tabs ul.tabs{ border-bottom:1px solid #E3E4E7; padding:0; margin:0 0 1.5rem; display:flex; gap:0.5rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li{ list-style:none; margin:0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:inline-block; padding:0.8rem 1.2rem; font-weight:600; color:#5A5F66; text-decoration:none; border-bottom:2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{ color:#B80E15; border-bottom-color:#B80E15; }
.woocommerce div.product .woocommerce-tabs .panel{ color:#333; line-height:1.7; }

/* Relacionados: mismo título que el resto del sitio */
.woocommerce div.product .related.products > h2{ font-family:var(--wp--preset--font-family--heading); font-size:1.7rem; margin-bottom:1.5rem; }

/* Carrito / checkout clásicos */
.woocommerce table.shop_table{ border-radius:12px; overflow:hidden; border:1px solid #E3E4E7; border-collapse:separate; width:100%; }
.woocommerce table.shop_table th{ background:#F5F5F6; font-weight:700; color:#0A0A0A; padding:1rem; text-align:left; }
.woocommerce table.shop_table td{ padding:1rem; border-top:1px solid #E3E4E7; vertical-align:middle; }
.woocommerce table.shop_table td.product-thumbnail img{ border-radius:10px; width:70px; height:70px; object-fit:contain; background:#F5F5F6; }
.woocommerce table.shop_table td.product-name a{ font-weight:600; color:#0A0A0A; text-decoration:none; }
.woocommerce table.shop_table .quantity .qty{ height:42px; border-radius:8px; box-sizing:border-box; }
.woocommerce a.remove{ color:#B80E15 !important; border-radius:50% !important; }
.woocommerce a.remove:hover{ background:#E3121B !important; color:#fff !important; }
.woocommerce #payment #place_order, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{ background:#E3121B; color:#fff; border-radius:10px; border:none; padding:0.85rem 1.5rem; font-weight:700; }
.woocommerce #payment #place_order:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{ background:#B80E15; color:#fff; }
.woocommerce .cart-collaterals .cart_totals{ background:#F5F5F6; border-radius:14px; padding:1.5rem; }
.woocommerce .cart-collaterals .cart_totals h2{ margin-top:0; }
.woocommerce .cart-collaterals .cart_totals table{ width:100%; }
.woocommerce .cart-collaterals .cart_totals table td, .woocommerce .cart-collaterals .cart_totals table th{ padding:0.7rem 0; border-top:1px solid #E3E4E7; }
.woocommerce-message, .woocommerce-info{ border-top-color:#E3121B !important; background:#EAF3FF; }
.woocommerce-message::before, .woocommerce-info::before{ color:#E3121B !important; }

/* Checkout: campos, secciones y pago */

/* Barra de confianza final */
.mcb-trust-bar{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-trust-bar__item{ display:flex; align-items:center; gap:0.9rem; }
.mcb-trust-bar__icon{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:#fff; flex-shrink:0; }
.mcb-trust-bar__icon svg{ width:22px; height:22px; }
.mcb-trust-bar__item strong{ display:block; font-size:0.92rem; color:#fff; }
.mcb-trust-bar__item em{ display:block; font-style:normal; font-size:0.82rem; color:#B5B5BD; }
@media (max-width:900px){
  .mcb-trust-bar{ grid-template-columns:repeat(2,1fr); row-gap:1.5rem; }
}
@media (max-width:480px){
  .mcb-trust-bar{ grid-template-columns:1fr; }
}

/* Pilares de marca */
.mcb-pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.mcb-pillar{ text-align:center; padding:1.75rem 1rem; border-radius:14px; background:#1F1F24; border:1px solid #2A2A30; }
.mcb-pillar__icon{ display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; border:3px solid #E3121B; margin-bottom:0.9rem; }
.mcb-pillar__icon svg{ width:26px; height:26px; stroke:#fff; }
.mcb-pillar h3{ font-size:1.05rem; margin:0 0 0.2rem; font-family:var(--wp--preset--font-family--heading); color:#fff; }
.mcb-pillar p{ margin:0; color:#B5B5BD; font-size:0.92rem; }

/* Fila de categorías — layout horizontal del diseño de Johny: foto a la izquierda, nombre en
   negrita y "Ver más →" apilados a la derecha. Fondo de la sección #F9F9F9, tarjeta blanca,
   radio 14px. 6 categorías: 3×2 en desktop, 2 columnas en tablet, deslizable en horizontal en móvil. */
.mcb-cat-row{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem);
}
.mcb-cat-card{
  display:flex; align-items:center; gap:0.9rem; height:110px; border-radius:14px;
  background:#fff; text-decoration:none !important; color:#0A0A0A; overflow:hidden; padding:0.9rem 1rem;
  box-shadow:0 1px 3px rgba(16,19,28,0.06); transition:box-shadow .2s,transform .2s;
}
.mcb-cat-card:hover{ box-shadow:0 12px 26px rgba(16,19,28,0.14); transform:translateY(-3px); }
.mcb-cat-card__media{
  display:flex; align-items:center; justify-content:center; flex-shrink:0; width:78px; height:88px;
}
.mcb-cat-card__media img{ max-height:88px; max-width:100%; width:auto; height:auto; object-fit:contain; }
.mcb-cat-card__text{ display:flex; flex-direction:column; gap:0.3rem; min-width:0; }
.mcb-cat-card__text strong{ font-weight:700; font-size:0.98rem; line-height:1.25; }
.mcb-cat-card__text em{ font-style:normal; font-size:0.85rem; font-weight:600; color:#B80E15; white-space:nowrap; }
@media (max-width:900px){
  .mcb-cat-row{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .mcb-cat-row{
    grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:78%;
    overflow-x:auto; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
  }
  .mcb-cat-card{ scroll-snap-align:start; }
}

/* Cómo comprar: pasos con conectores */
.mcb-steps{ display:flex; align-items:flex-start; gap:0; }
.mcb-step{ flex:1; background:#1F1F24; border:1px solid #2A2A30; border-radius:14px; padding:1.75rem 1.5rem; position:relative; }
.mcb-step__num{ position:absolute; top:1.2rem; right:1.4rem; font-family:var(--wp--preset--font-family--heading); font-weight:700; font-size:1.6rem; color:#E3121B; opacity:0.5; }
.mcb-step__icon{ display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; border:3px solid #E3121B; margin-bottom:1rem; }
.mcb-step__icon svg{ width:26px; height:26px; }
.mcb-step h3{ font-size:1.1rem; margin:0 0 0.4rem; color:#fff; }
.mcb-step p{ margin:0; color:#B5B5BD; font-size:0.92rem; line-height:1.55; }
.mcb-step__icon svg{ stroke:#fff; }
.mcb-step__connector{ flex:0 0 auto; width:clamp(24px,4vw,56px); height:2px; background:repeating-linear-gradient(90deg,#E3121B 0 6px,transparent 6px 12px); margin-top:2.6rem; }

/* Productos destacados de la home: 3 columnas parejas en desktop (no el auto-fill genérico de /tienda/) */
.mcb-featured-products ul.products{ grid-template-columns:repeat(3,1fr) !important; }

@media (max-width:900px){
  .mcb-steps{ flex-direction:column; gap:1.25rem; }
  .mcb-step__connector{ display:none; }
  .mcb-pillars{ grid-template-columns:repeat(2,1fr); }
  .mcb-featured-products ul.products{ grid-template-columns:repeat(2,1fr) !important; }

}
/* ---------- Datos de transferencia bancaria ---------- */
.mcb-bank-card{ margin-top:1.5rem; padding:1.5rem; border-radius:14px; background:#0A0A0A; color:#fff; }
.mcb-bank-card h3{ margin:0 0 0.9rem; font-family:var(--wp--preset--font-family--heading); font-size:1rem; color:#B5B5BD; }
.mcb-bank-card ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.5rem; font-size:0.92rem; color:#DCDCDC; }
.mcb-bank-card ul strong{ color:#fff; }
.mcb-bank-card__note{ margin:1rem 0 0; font-size:0.85rem; color:#B9B9B9; }

/* ---------- Precio "Consultar" cuando no hay dato real ---------- */
.mcb-price-consultar{ color:#5A5F66; font-weight:700; font-size:0.95rem; }

/* =====================================================================
   RETOUCH 2026-10-15 — "taller de noche": tipografía condensada itálica,
   detalle de marca (barra diagonal), cortes diagonales entre secciones,
   reveal al scroll, hero con video, marquee de marcas, tarjetas oscuras.
   ===================================================================== */

/* El blockGap raíz de WP (margin-block-start entre hijos directos de .wp-site-blocks) deja una
   costura blanca de 24px entre cada sección alignfull (el body de fondo se asoma ahí) — con
   secciones oscuras/claras alternadas tiene que ser 0. La superposición de -40px de la franja
   de 4 ítems sobre el hero es un caso aparte (.mcb-trust-bar-wrap, con su propio !important más
   abajo en este archivo, gana por ser declarado después con la misma especificidad). */
.wp-site-blocks > * + *{ margin-block-start:0 !important; }
body{ background:#0A0A0A; }

/* Títulos condensados en mayúscula con barra roja diagonal "antes" */
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
.mcb-hero__title, .mcb-cta-mascota h2{
  text-transform:uppercase;
  font-style:italic;
}
/* Mismo tamaño para todos los H2 de sección del sitio (antes había 3 tamaños distintos:
   25.2px / 33.6px / 44.8px) — el !important pisa los font-size:2.1rem puestos a mano en
   algunos patterns. El H2 de la mascota NO usa la clase wp-block-heading, así que puede
   quedar más grande (ver .mcb-cta-mascota__text h2). */
h2.wp-block-heading{ position:relative; font-size:clamp(2rem,4.2vw,3.25rem) !important; }
h2.wp-block-heading::before{
  content:''; display:block; width:48px; height:6px; margin:0 auto 1.1rem;
  background:#E3121B; transform:skewX(-20deg);
}
.has-text-align-left h2.wp-block-heading::before,
h2.wp-block-heading.has-text-align-left::before{ margin-left:0; }
section[style*="color:#fff"] h2.wp-block-heading::before,
.mcb-dark-section h2.wp-block-heading::before{ background:#E3121B; }

/* Reveal al entrar en pantalla (IntersectionObserver en interactions.js) */
.mcb-reveal{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
.mcb-reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .mcb-reveal{ opacity:1; transform:none; transition:none; }
}

/* Cortes diagonales entre secciones (en vez de líneas rectas) */
.mcb-diagonal-top{ clip-path:polygon(0 18px, 100% 0, 100% 100%, 0 100%); margin-top:0 !important; }
.mcb-diagonal-bottom{ clip-path:polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%); }
@media (max-width:600px){
  .mcb-diagonal-top{ clip-path:polygon(0 10px, 100% 0, 100% 100%, 0 100%); margin-top:0 !important; }
  .mcb-diagonal-bottom{ clip-path:polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 100%); }
}

/* ---------- Hero con video ---------- */
.mcb-hero-video{
  position:relative; overflow:hidden; min-height:min(92vh,860px);
  display:flex; align-items:center; background:#0A0A0A;
  margin-block-start:0 !important;
}
@media (max-width:767px){
  .mcb-hero-video{ min-height:min(88svh,720px); }
}
/* El layout "constrained" de WP le pone max-width:1280px + margin:auto a los hijos directos
   sin alignfull — el video es hijo directo, así que sin este override queda encajonado con
   bandas a los costados pese al position:absolute;inset:0. */
.mcb-hero-video__media{
  position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
  max-width:none !important; margin:0 !important; object-fit:cover; object-position:center 38%;
  z-index:0;
}
.mcb-hero-video__scrim{
  position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
  max-width:none !important; margin:0 !important; z-index:1;
  background:linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.70) 45%, rgba(10,10,10,.25) 100%);
}
@media (max-width:767px){
  .mcb-hero-video__scrim{ background:linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.55) 40%, rgba(10,10,10,.95) 100%); }
}
.mcb-hero-video__stripe{
  position:absolute !important; right:0; bottom:0; z-index:1; width:38%; height:70%;
  max-width:none !important; margin:0 !important;
  background:#E3121B; opacity:.9;
  clip-path:polygon(100% 0, 100% 100%, 35% 100%);
  pointer-events:none;
}
@media (max-width:767px){ .mcb-hero-video__stripe{ width:55%; height:45%; } }
.mcb-hero-video__inner{
  position:relative; z-index:2; max-width:1280px; margin:0 auto; width:100%;
  padding:clamp(3rem,8vw,6rem) clamp(1.25rem,4vw,2rem);
}
.mcb-hero-video__content{ max-width:640px; }
.mcb-hero-video__eyebrow{
  display:inline-flex; align-items:center; gap:0.4rem; margin-bottom:1.1rem; padding:0.4rem 0.9rem; border-radius:999px;
  background:rgba(181,181,189,.16); border:1px solid #B5B5BD;
  color:#fff; font-size:0.78rem; font-weight:700; letter-spacing:0.25em; text-transform:uppercase; font-style:normal;
}
.mcb-hero-video__title{
  font-family:var(--wp--preset--font-family--heading); font-weight:800; font-style:italic; color:#fff;
  text-transform:uppercase; font-size:clamp(2.5rem,6vw,5.5rem); line-height:1.02; margin:0 0 1.1rem;
}
@media (max-width:360px){ .mcb-hero-video__title{ font-size:2.5rem; } }
.mcb-hero-video__title em{ font-style:italic; color:#E3121B; }
.mcb-hero-video__lead{ font-style:normal; font-size:clamp(1rem,1.4vw,1.15rem); color:#E4E4E8; max-width:52ch; margin:0 0 1.75rem; }
.mcb-hero-video__ctas{ display:flex; gap:0.9rem; flex-wrap:wrap; }
.mcb-hero-video__ctas .mcb-btn{ min-height:48px; }

/* Mascota del hero: grande a la derecha, por delante del video y del scrim, anclada abajo.
   No va en móvil (<768px): taparía el texto; ahí la mascota del header ya cubre el pedido. */
.mcb-hero-video__mascota{
  display:block; position:absolute; z-index:2; right:clamp(1rem,5vw,5rem); bottom:0;
  height:min(62vh,520px); width:auto; max-width:none; pointer-events:none;
}
.mcb-hero-video__mascota.mcb-reveal{ transform:translateY(24px); }
.mcb-hero-video__mascota.mcb-reveal.is-visible{ transform:translateY(0); }
@media (max-width:767px){
  .mcb-hero-video__mascota{ display:none; }
}
/* respetar reduced-motion: ocultar el video y dejar el poster (--mcb-hero-poster, seteado inline) como fondo fijo */
@media (prefers-reduced-motion: reduce){
  .mcb-hero-video__media{ display:none; }
  .mcb-hero-video{ background-image:var(--mcb-hero-poster); background-size:cover; background-position:center 38%; }
}

/* ---------- Franja de 4 ítems superpuesta sobre el hero ---------- */
.mcb-trust-bar{ background:#16161A; }
.mcb-trust-bar-wrap{ position:relative; z-index:3; margin-top:-40px !important; }
@media (max-width:767px){ .mcb-trust-bar-wrap{ margin-top:0 !important; } }

/* ---------- Marcas: cinta en loop ---------- */
.mcb-marquee{
  overflow:hidden; background:#16161A; padding:2.5rem 0;
  max-width:none !important; width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important;
}
.mcb-marquee__track{
  display:flex; width:max-content; gap:clamp(2.5rem,6vw,5rem); align-items:center;
  animation:mcb-marquee-scroll 28s linear infinite;
}
.mcb-marquee:hover .mcb-marquee__track{ animation-play-state:paused; }
.mcb-marquee__item{
  font-family:var(--wp--preset--font-family--heading); font-style:italic; font-weight:800;
  font-size:clamp(2rem,4.5vw,4rem); text-transform:uppercase; white-space:nowrap; color:#fff;
}
.mcb-marquee__item.is-outline{
  color:transparent; -webkit-text-stroke:1.5px #B5B5BD; text-stroke:1.5px #B5B5BD;
}
@keyframes mcb-marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .mcb-marquee__track{ animation:none; flex-wrap:wrap; width:100%; justify-content:center; }
}

/* ---------- Servicios: tarjetas oscuras ---------- */
.mcb-services-dark{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; max-width:1280px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.mcb-service-card-dark{
  display:flex; flex-direction:column; gap:0.9rem; padding:2rem 1.6rem; border-radius:14px;
  background:#1F1F24; border:1px solid #2A2A30; transition:transform .2s,border-color .2s;
}
.mcb-service-card-dark:hover{ transform:translateY(-4px); border-color:#E3121B; }
.mcb-service-card-dark__icon{
  display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px;
  border-radius:50%; border:3px solid #E3121B; flex-shrink:0;
}
.mcb-service-card-dark__icon svg{ width:26px; height:26px; stroke:#fff; }
.mcb-service-card-dark h3{
  font-size:1.2rem; margin:0; font-family:var(--wp--preset--font-family--heading);
  font-weight:800; font-style:italic; text-transform:uppercase; color:#fff;
}
.mcb-service-card-dark p{ margin:0; color:#B5B5BD; font-size:0.9rem; line-height:1.6; }
@media (max-width:1100px){ .mcb-services-dark{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .mcb-services-dark{ grid-template-columns:1fr; } }

.mcb-chip-row{ display:flex; flex-wrap:wrap; gap:0.75rem; justify-content:center; max-width:1280px; margin:2.5rem auto 0; padding:0 clamp(1rem,4vw,2rem); }
.mcb-chip{
  display:inline-flex; align-items:center; padding:0.6rem 1.3rem; border-radius:999px;
  border:1px solid #2A2A30; color:#fff; font-weight:700; font-size:0.92rem; background:#16161A;
}

/* ---------- CTA con mascota ---------- */
.mcb-cta-mascota{
  background:#0A0A0A; padding:clamp(3rem,7vw,5rem) clamp(1.25rem,4vw,2rem);
  display:flex; align-items:center; justify-content:center; gap:clamp(2rem,5vw,4rem); flex-wrap:wrap;
}
.mcb-cta-mascota__text{ max-width:480px; }
.mcb-cta-mascota__text h2{ color:#fff; font-size:clamp(1.9rem,3.6vw,2.8rem); margin:0 0 0.9rem; }
.mcb-cta-mascota__text p{ color:#B5B5BD; font-size:1.02rem; margin:0 0 1.5rem; }
.mcb-cta-mascota__img{ width:220px; height:auto; flex-shrink:0; }
@media (min-width:768px){ .mcb-cta-mascota__img{ width:380px; } }
.mcb-cta-mascota{ flex-direction:column-reverse; text-align:center; }
.mcb-cta-mascota__text{ text-align:center; }
@media (min-width:900px){
  .mcb-cta-mascota{ flex-direction:row; text-align:left; justify-content:space-between; }
  .mcb-cta-mascota__text{ text-align:left; }
}

/* ---------- Footer: franja diagonal + tagline ---------- */
.mcb-footer-tagline{
  text-align:center; letter-spacing:0.3em; font-size:0.82rem; font-weight:700; color:#B5B5BD;
  margin:2rem 0 0; text-transform:uppercase;
}
.mcb-footer-stripe-wrap{ position:relative; overflow:hidden; }
.mcb-footer-stripe{
  position:absolute; right:0; bottom:0; width:90px; height:90px; background:#E3121B;
  clip-path:polygon(100% 0, 100% 100%, 0 100%); opacity:.85; pointer-events:none; z-index:0;
}
.mcb-footer-stripe-wrap > .wp-block-columns,
.mcb-footer-stripe-wrap > .wp-block-separator,
.mcb-footer-stripe-wrap > p{ position:relative; z-index:1; }
.mcb-footer-social{ display:flex; gap:0.75rem; margin-top:1rem; }
.mcb-footer-social a{
  display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border-radius:50%; border:1px solid rgba(255,255,255,.25); color:#fff !important; text-decoration:none !important;
}
.mcb-footer-social a:hover{ border-color:#E3121B; background:#E3121B; }
.mcb-footer-tel2{ color:#B5B5BD; font-size:0.85rem; margin-top:0.3rem; }

/* ---------- Tienda: sección clara sobre fondo oscuro general del sitio ---------- */
.woocommerce ul.products,
.woocommerce-page{ background:#F4F4F6; }
body.woocommerce-page,
body.single-product{ background:#F4F4F6; }
.woocommerce ul.products li.product{ background:#fff; }
.woocommerce ul.products li.product > a:not(.button){ position:relative; }

/* ---------- Galería destacada (home): sin recorte feo del flyer, fondo negro + contain ---------- */
.mcb-gallery-card__media{ background:#0A0A0A; }
.mcb-gallery-card__media img{ object-fit:contain; }

/* ---------- Mini-cart de WooCommerce en el header (lo inyecta WC solo, no hay bloque en el tema) ----------
   Estaba en #0A0A0A (texto por defecto) sobre el header #0A0A0A — invisible. El cliente no veía el carrito. */
.mcb-header .wc-block-mini-cart__button{
  color:#fff; display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; padding:0; background:transparent; border:none; cursor:pointer;
}
.mcb-header .wc-block-mini-cart__button:hover{ color:#E3121B; }
.mcb-header .wc-block-mini-cart__icon{ width:25px; height:25px; }
.mcb-header .wc-block-mini-cart__badge{
  background-color:#E3121B !important; color:#fff !important;
  font-weight:700; border:2px solid #0A0A0A;
}
/* Drawer del mini-cart (fondo claro / texto oscuro, para que se lea sin importar el tema oscuro del sitio) */
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__template-part{ background:#fff; color:#0A0A0A; }

/* ---------- Dirección clickeable a Google Maps: mismo color del texto, subrayado en hover ---------- */
.mcb-maps-link{ color:inherit; text-decoration:none; }
.mcb-maps-link:hover{ text-decoration:underline; color:inherit; }

/* ---------- Ítem "Agenda tu hora" del menú destacado en rojo (pedido cliente 2026-10-19) ---------- */
.mcb-header .wp-block-navigation a[href="/agenda/"]{ color:#E3121B; font-weight:700; }
.mcb-header .wp-block-navigation a[href="/agenda/"]:hover{ color:#ff4d55; }
