/* WooCommerce — overrides para mantener diseño LLE */

/* ================================================================
   CAPA BASE: se aplica a CUALQUIER cosa que WooCommerce (o un plugin
   de WooCommerce) genere dentro de .woocommerce — carrito, checkout,
   "Mi cuenta", páginas nuevas, endpoints nuevos, lo que sea — para
   que nunca vuelva a salir sin estilo. Las reglas de abajo, más
   específicas, siguen ganando por especificidad/orden para los
   componentes que ya diseñamos a medida (tarjetas de producto, ficha
   individual, etc.); esta capa solo cubre lo que ellas no tocan.
   ================================================================ */
.woocommerce, .woocommerce-page { font-family: 'Archivo', sans-serif; }
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4 {
  font-family: 'Big Shoulders Display', sans-serif;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--black);
  line-height: 1.15;
  margin: 0 0 16px;
}
.woocommerce h2 { font-size: clamp(20px, 3vw, 26px); }
.woocommerce h3 { font-size: 17px; }
/* Ojo: aquí NO se fija color de párrafo ni de enlace — .woocommerce está en el
   <body> de tienda/producto/carrito/checkout, así que un color puesto aquí se
   filtra al header, el menú y el hero (que son iguales en todo el sitio, no
   parte del contenido de WooCommerce). El color de texto/enlaces lo define
   cada bloque de comercio en su propia sección más abajo. */
.woocommerce p { line-height: 1.65; margin: 0 0 14px; }
.woocommerce ul:not(.products, .tabs, .flex-control-thumbs, .cfvsw-swatches-wrapper) {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.woocommerce ul:not(.products, .tabs, .flex-control-thumbs, .cfvsw-swatches-wrapper) li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(12,12,12,.1);
  font-size: 14.5px;
}
.woocommerce ul:not(.products, .tabs, .flex-control-thumbs, .cfvsw-swatches-wrapper) li:last-child { border-bottom: 0; }
.woocommerce table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.woocommerce table th, .woocommerce table td { padding: 12px 10px; border: 1px solid rgba(12,12,12,.12); font-size: 14px; text-align: left; }
.woocommerce table th {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(12,12,12,.04);
}
.woocommerce label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--black);
  display: block;
  margin-bottom: 6px;
}
.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce input[type=number],
.woocommerce input[type=search],
.woocommerce textarea,
.woocommerce select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 2px solid rgba(12,12,12,.18);
  border-radius: 0;
  background: #f8f7f2;
  color: var(--black);
  font: inherit;
}
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(30,64,173,.16);
}
.woocommerce .button, .woocommerce button.button, .woocommerce a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 13px 22px;
  cursor: pointer;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--red); color: #fff; }
/* Ojo: sin "height:auto" a propósito — .fighter-photo img (style.css) ya pone
   height:100% + object-fit:cover para que la foto llene el recuadro y recorte
   lo que sobre; "height:auto" tenía la MISMA especificidad y, al cargar después,
   le ganaba esa propiedad — eso dejaba franjas negras en fotos verticales. */
.woocommerce img { max-width: 100%; }

.woocommerce .woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}

/* ---- v3: grilla y tarjeta de producto (el diseño base está en style.css) ---- */
#shopGrid.woocommerce ul.products, .woocommerce #shopGrid ul.products{
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px 22px; list-style:none; margin:0; padding:0;
}
@media (max-width:1100px){ #shopGrid.woocommerce ul.products, .woocommerce #shopGrid ul.products{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ #shopGrid.woocommerce ul.products, .woocommerce #shopGrid ul.products{ grid-template-columns:1fr 1fr; gap:22px 12px; } }
.woocommerce ul.products li.lle-product-card{ display:flex; flex-direction:column; float:none; width:auto; margin:0; padding:0; border:0; list-style:none; text-align:left; }
.woocommerce ul.products li.lle-product-card.hidden, .woocommerce ul.products li.lle-product-card[hidden]{ display:none !important; }
.woocommerce .lle-product-card .woocommerce-loop-product__title{ font-family:'Archivo',sans-serif; font-size:17px; font-weight:800; text-transform:none; letter-spacing:0; color:var(--black); margin:0; padding:0; }
.woocommerce .lle-product-card .price{ color:var(--black); font-family:'Big Shoulders Display',sans-serif; font-weight:800; font-size:26px; margin:8px 0 0; }
.woocommerce .lle-product-card .price .amount{ color:inherit; }
.woocommerce .lle-product-card .pc-actions .button,
.woocommerce .lle-product-card .pc-actions .added_to_cart{ display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:46px; margin:0; padding:0 18px; border:2px solid var(--black); border-radius:0; background:var(--black); color:#fff; font-family:'Archivo',sans-serif; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; line-height:1.2; }
.woocommerce .lle-product-card .pc-actions .button:hover{ background:var(--yellow); border-color:var(--yellow); color:var(--black); }
.woocommerce .lle-product-card .pc-actions .added_to_cart{ margin-top:8px; background:transparent; color:var(--black); }

/* Single product */
.lle-single-product {
  background: var(--black);
  color: #fff;
  padding: 60px 0;
}

.lle-single-product .product {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad);
}

.lle-single-product .product .summary .price {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 28px;
  color: var(--red);
  margin: 16px 0;
}

.lle-single-product .single_add_to_cart_button {
  background: var(--yellow);
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
}

.lle-single-product .woocommerce-message,
.lle-single-product .woocommerce-info,
.lle-single-product .woocommerce-error {
  max-width: var(--container);
  margin: 20px auto;
  padding: 0 var(--pad);
}

.lle-commerce-page .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad);
}

.woocommerce-cart .button,
.woocommerce-checkout .button {
  background: var(--yellow);
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* Single Product Amazon Layout */
.lle-amazon-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 4fr) minmax(300px, 5fr) minmax(250px, 3fr);
  gap: 30px;
  align-items: start;
}
.lle-amazon-layout::before,
.lle-amazon-layout::after {
  display: none !important;
}

/* Gallery */
.lle-amazon-layout .lle-product-gallery {
  width: 100% !important;
  float: none !important;
  min-width: 0;
}
.lle-product-gallery .woocommerce-product-gallery__wrapper {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.lle-product-gallery .woocommerce-product-gallery__image a {
  display: block;
}
.lle-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
}
.lle-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
}
.lle-product-gallery .flex-control-thumbs li {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #fff;
}
.lle-product-gallery .flex-control-thumbs li:has(.flex-active) {
  border-color: var(--yellow);
}
.lle-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Info Center */
.lle-amazon-layout .lle-product-info {
  width: 100% !important;
  float: none !important;
  min-width: 0; /* sin esto, un grid item puede forzar su columna (y toda la página)
                   a ensancharse más que la pantalla si su contenido no envuelve —
                   es la causa real del desborde en móvil en la ficha de producto. */
}
.lle-amazon-layout .lle-product-buybox { min-width: 0; }
.lle-product-info h1.product_title {
  font-family: 'Big Shoulders Display', sans-serif !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
  color: #fff !important;
}
.lle-product-info .lle-product-excerpt {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  max-width: 100%;
  overflow-x: auto; /* contiene cualquier tabla/fila ancha pegada en la
                        descripción corta del producto desde el editor,
                        sin importar qué maquetación traiga */
}
.lle-product-info .lle-product-excerpt * { max-width: 100%; box-sizing: border-box; }
.lle-product-info .lle-product-excerpt table { display: block; overflow-x: auto; }
.lle-product-info .star-rating {
  color: var(--yellow);
  margin: 8px 0 2px;
}
.lle-product-info .woocommerce-review-link {
  color: #ccc;
  font-size: 14px;
}
.lle-product-info .lle-product-excerpt img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.lle-product-info .lle-product-meta {
  font-size: 14px;
  color: #999;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
}
.lle-product-meta > span {
  display: block;
  margin-bottom: 8px;
}
.lle-product-meta .product_meta > span {
  display: block;
  margin-bottom: 8px;
}
.lle-product-meta a {
  color: var(--yellow);
  text-decoration: none;
}

/* Buy Box Right */
.lle-product-buybox {
  border: 1px solid #444;
  border-radius: 8px;
  padding: 24px;
  background: #111;
  position: sticky;
  top: 40px;
}
.lle-buybox-label {
  color: #aaa;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.lle-buybox-stock {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.lle-buybox-stock.is-in-stock { color: #75d87e; }
.lle-buybox-stock.is-out-of-stock { color: #ff6d63; }
.lle-product-buybox .price {
  font-family: 'Big Shoulders Display', sans-serif !important;
  font-size: 36px !important;
  color: var(--red) !important;
  margin-bottom: 20px !important;
  display: block;
  line-height: 1;
}
.lle-product-buybox .buybox-divider {
  border-top: 1px solid #333;
  margin: 20px 0;
}
.lle-product-buybox form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  margin: 0 !important;
}
.lle-product-buybox form.cart .quantity {
  width: 100%;
  margin-bottom: 15px !important;
}
.lle-product-buybox form.cart input.qty {
  width: 100% !important;
  height: 50px !important;
  padding: 10px !important;
  font-size: 18px !important;
  text-align: center !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 4px !important;
}
.lle-product-buybox button.single_add_to_cart_button {
  width: 100% !important;
  border-radius: 40px !important;
  padding: 15px !important;
  font-size: 18px !important;
}

/* ---------------------------------------------------------------
   Atributos / variaciones (talla, color) dentro de la buybox
   Nunca tenían estilos propios: heredaban el CSS por defecto del
   plugin de swatches (cajas de 24px pensadas solo para círculos
   de color), por eso el texto de "Large" no cabía y todo se veía
   pegado. Estas reglas les dan su propio espacio y contraste.
------------------------------------------------------------------ */
.lle-product-buybox .variations,
.lle-product-buybox table.variations {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  margin: 0;
}
.lle-product-buybox .variations tbody,
.lle-product-buybox .variations tr {
  display: block;
}
.lle-product-buybox .variations tr {
  margin-bottom: 18px;
}
.lle-product-buybox .variations tr:last-child {
  margin-bottom: 0;
}
.lle-product-buybox .variations th.label,
.lle-product-buybox .variations td.label {
  display: block;
  padding: 0 0 8px !important;
  border: 0 !important;
  background: none !important;
  color: #aaa;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.lle-product-buybox .variations td.value {
  display: block;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

/* <select> nativo — por si algún atributo no usa el plugin de swatches */
.lle-product-buybox .variations select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}

/* Swatches del plugin (clases cfvsw-*) */
.lle-product-buybox .cfvsw-swatches-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
.lle-product-buybox .cfvsw-swatches-option {
  margin: 0 !important;
  border: 2px solid rgba(255,255,255,0.25) !important;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lle-product-buybox .cfvsw-swatches-option:hover {
  border-color: var(--yellow) !important;
}
.lle-product-buybox .cfvsw-swatches-option.selected,
.lle-product-buybox .cfvsw-swatches-option.cfvsw-selected {
  border-color: var(--yellow) !important;
  box-shadow: 0 0 0 2px rgba(246,199,0,.35);
}

/* Swatches de texto (talla): que se ajusten al contenido, no a un círculo de 24px */
.lle-product-buybox .cfvsw-swatches-option.cfvsw-label-option {
  width: auto !important;
  height: auto !important;
  min-width: 46px !important;
  min-height: 36px !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
  overflow: visible !important;
}
.lle-product-buybox .cfvsw-swatches-option.cfvsw-label-option .cfvsw-swatch-inner {
  color: #fff !important;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Swatches de color: círculo con un poco de aire entre ellos y su etiqueta */
.lle-product-buybox .cfvsw-swatches-option:not(.cfvsw-label-option) {
  width: 28px !important;
  height: 28px !important;
}

/* Enlace "Limpiar" (reset_variations) */
.lle-product-buybox a.reset_variations {
  display: inline-block;
  margin: 10px 0 0;
  color: #999;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: .4px;
  text-decoration: underline;
}
.lle-product-buybox a.reset_variations:hover {
  color: var(--yellow);
}

/* Precio/disponibilidad que aparecen tras elegir talla y color */
.lle-product-buybox .woocommerce-variation {
  padding: 0 !important;
  margin: 0 0 4px !important;
  background: none !important;
}
.lle-product-buybox .woocommerce-variation-price {
  margin: 0 0 4px;
  color: #fff;
}
.lle-product-buybox .woocommerce-variation-availability {
  margin: 0 0 4px;
  font-size: 13px;
}
.lle-product-buybox .woocommerce-variation-availability .stock {
  color: #75d87e;
}
.lle-product-buybox .woocommerce-variation-availability .out-of-stock {
  color: #ff6d63;
}

/* Bottom Tabs & Related */
.lle-amazon-layout .lle-product-bottom {
  grid-column: 1 / -1;
  margin-top: 60px;
}
.lle-product-bottom .woocommerce-tabs {
  margin-top: 0 !important;
  clear: both !important;
}
.lle-product-bottom .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #333;
}
.lle-product-bottom .woocommerce-tabs ul.tabs li {
  padding: 10px 20px;
  cursor: pointer;
}
@media (max-width: 480px) {
  .lle-product-bottom .woocommerce-tabs ul.tabs li { padding: 8px 12px; }
  .lle-product-bottom .woocommerce-tabs ul.tabs li a { font-size: 15px; }
}
.lle-product-bottom .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--yellow);
  margin-bottom: -2px;
}
.lle-product-bottom .woocommerce-tabs ul.tabs li a {
  color: #ccc;
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lle-product-bottom .woocommerce-Tabs-panel {
  color: #ddd;
  line-height: 1.7;
}
.lle-product-bottom .woocommerce-Tabs-panel h2 {
  color: #fff;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
}
.lle-product-bottom .woocommerce-Tabs-panel a { color: var(--yellow); }
.lle-product-bottom .woocommerce-tabs ul.tabs li.active a {
  color: var(--yellow);
}

@media (max-width: 1024px) {
  .lle-amazon-layout {
    grid-template-columns: 1fr 1fr;
  }
  .lle-product-buybox {
    grid-column: 1 / -1;
    position: static;
  }
}
@media (max-width: 768px) {
  .lle-amazon-layout {
    grid-template-columns: 1fr;
  }
  .lle-single-product .product { 
    padding: 20px 20px; 
    overflow-x: hidden; 
  }
  .lle-product-buybox { padding: 20px; }
  .lle-product-bottom .woocommerce-Tabs-panel {
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Related Products inside Single Product */

.woocommerce section.related.products {
  flex: 1 1 100% !important;
  margin-top: 60px !important;
  width: 100% !important;
}
.woocommerce section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px)) !important;
  gap: 22px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce section.related.products h2 {
  font-family: 'Big Shoulders Display', sans-serif !important;
  font-size: 32px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin-bottom: 30px !important;
  color: #fff !important;
}


/* Antes decía "Dark Mode Fixes" y ponía todo el bloque de Carrito/Checkout en
   blanco — pensado para un fondo oscuro que esta tienda no usa (el fondo es
   crema claro). Con carrito lleno, una regla más específica más abajo ya lo
   corregía a negro, pero el mensaje de "carrito vacío" no tiene nada más
   específico que lo tape, así que quedaba blanco sobre crema — casi invisible. */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  color: var(--black);
}
.wc-block-components-text-input input,
.wc-block-components-quantity-selector input {
  background: #f8f7f2 !important;
  color: var(--black) !important;
  border-color: rgba(12,12,12,.2) !important;
}
.wc-block-components-button:not(.is-link) {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 40px !important;
}
/* Fix for empty cart block container sizes */
.wc-block-components-sidebar-layout {
  align-items: flex-start;
}
.wc-block-cart__submit-container {
  margin-top: 20px;
}


/* ================================================================
   Comercio LLE: superficie clara, bloques editoriales y tricolor
   ================================================================ */
.lle-commerce-surface {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  color: var(--black);
}
.lle-commerce-surface::before,
.lle-commerce-surface::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.lle-commerce-surface::before {
  top: 0; left: 0; width: min(24vw, 310px); height: 12px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--blue) 34% 67%, var(--red) 67%);
}
.lle-commerce-surface::after {
  right: -72px; bottom: -86px; width: 250px; height: 250px;
  background: linear-gradient(135deg, var(--yellow) 0 33%, var(--blue) 33% 66%, var(--red) 66%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.lle-commerce-surface > .wrap,
.lle-commerce-surface > .wrap > article { position: relative; z-index: 1; }

/* Ficha individual */
.lle-single-product { padding: clamp(42px, 6vw, 76px) 0; }
.lle-single-product .product {
  background: #fff;
  box-shadow: 0 18px 46px rgba(12, 12, 12, .12);
}
.lle-product-info h1.product_title { color: var(--black) !important; }
.lle-product-info .lle-product-excerpt { color: var(--gray-text); }
.lle-product-info .woocommerce-review-link { color: var(--blue); font-size: 14px; }
.lle-product-info .lle-product-meta { color: var(--gray-text); border-top-color: rgba(12,12,12,.12); }
.lle-product-meta a { color: var(--blue); }
.lle-product-gallery .woocommerce-product-gallery__wrapper { border-radius: 0; border-top: 7px solid var(--yellow); }
.lle-product-gallery .flex-control-thumbs li:has(.flex-active) { border-color: var(--blue); }
.lle-product-buybox {
  border: 0;
  border-top: 8px solid var(--yellow);
  border-radius: 0;
  background: var(--black);
  color: #fff;
  box-shadow: 10px 10px 0 var(--blue), 16px 16px 0 var(--red);
}

/* Tabs, detalle y valoraciones */
.lle-product-bottom .woocommerce-tabs ul.tabs { border-bottom-color: rgba(12,12,12,.16); }
.lle-product-bottom .woocommerce-tabs ul.tabs li a { color: var(--gray-text); }
.lle-product-bottom .woocommerce-Tabs-panel { color: var(--gray-text); }
.lle-product-bottom .woocommerce-Tabs-panel h2 { color: var(--black); }
.lle-product-bottom .woocommerce-Tabs-panel a { color: var(--blue); }
.lle-product-bottom #reviews {
  max-width: 780px;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border-left: 8px solid var(--blue);
  box-shadow: 8px 8px 0 var(--yellow);
}
.lle-product-bottom .woocommerce-Reviews-title,
.lle-product-bottom .comment-reply-title {
  display: block;
  color: var(--black);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}
.lle-product-bottom .woocommerce-noreviews { color: var(--gray-text); }
.lle-product-bottom .comment-form { margin-top: 24px; }
.lle-product-bottom .comment-form label {
  display: block;
  margin: 0 0 7px;
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lle-product-bottom .comment-form select,
.lle-product-bottom .comment-form textarea,
.lle-product-bottom .comment-form input[type='text'],
.lle-product-bottom .comment-form input[type='email'] {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid rgba(12,12,12,.18);
  border-radius: 0;
  background: #f8f7f2;
  color: var(--black);
  font: inherit;
  padding: 12px 14px;
}
.lle-product-bottom .comment-form textarea { min-height: 145px; resize: vertical; }
.lle-product-bottom .comment-form select:focus,
.lle-product-bottom .comment-form textarea:focus,
.lle-product-bottom .comment-form input:focus { border-color: var(--blue); outline: 3px solid rgba(30,64,173,.16); }
.lle-product-bottom .comment-form .submit {
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.3px;
  padding: 13px 24px;
  text-transform: uppercase;
}
.lle-product-bottom .comment-form .submit:hover { background: var(--blue); }
.woocommerce section.related.products h2 { color: var(--black) !important; }

/* Avisos: no más celda de Excel. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  border: 0 !important;
  border-left: 7px solid var(--blue) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--black) !important;
  box-shadow: 6px 6px 0 var(--yellow);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .25px;
  line-height: 1.25;
  margin: 22px auto !important;
  max-width: var(--container);
  padding: 16px 20px !important;
}
.woocommerce-message { border-left-color: #2f9d51 !important; }
.woocommerce-error { border-left-color: var(--red) !important; box-shadow: 6px 6px 0 rgba(226,35,26,.25); }
.woocommerce-info { border-left-color: var(--blue) !important; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { position: static !important; color: inherit !important; }
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.wc-block-components-notice-banner a { color: var(--blue) !important; font-weight: 700; }
.woocommerce-message .button,
.woocommerce-info .button { order: 2; margin-left: auto; background: var(--black) !important; color: #fff !important; padding: 9px 14px !important; }
.lle-notice-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease; }

/* Carrito y checkout: soporta tanto bloques modernos como shortcodes clásicos. */
.lle-commerce-page { color: var(--black); }
/* Quita el adorno tricolor de esquina en carrito/checkout/gracias-por-tu-compra
   (se deja en la ficha de producto, que usa .lle-commerce-surface sin esta clase). */
.lle-commerce-page::before,
.lle-commerce-page::after {
  display: none !important;
}
.lle-commerce-page .entry-content > :first-child { margin-top: 0; }
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar,
.wc-block-components-order-summary { color: var(--black) !important; }
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.wc-block-components-sidebar,
.wc-block-components-order-summary {
  background: #fff;
  border-top: 7px solid var(--yellow);
  box-shadow: 8px 8px 0 rgba(30,64,173,.18);
  padding: clamp(18px, 3vw, 30px);
}
.woocommerce table.shop_table { border: 0; border-collapse: collapse; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: rgba(12,12,12,.12); color: var(--black); padding: 16px 10px; }
.woocommerce table.shop_table th,
.wc-block-cart-items th { font-family: 'Archivo', sans-serif; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.woocommerce-cart-form a,
.lle-commerce-page a,
.wc-block-cart a,
.wc-block-checkout a { color: var(--blue) !important; }
/* Antes decía ".woocommerce-checkout a": esa clase vive en el <body>, así que
   también coloreaba los enlaces del header/menú en checkout. .lle-commerce-page
   es la sección que envuelve SOLO el contenido de carrito/checkout/cuenta. */
.woocommerce-cart .button,
.woocommerce-checkout .button,
.wc-block-components-button:not(.is-link) {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--red) !important;
  color: #fff !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--blue) !important; }
.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-components-totals-item,
.wc-block-components-sidebar,
.wc-block-components-product-details,
.wc-block-components-product-name,
.wc-block-components-totals-wrapper { color: var(--black) !important; }
.wc-block-components-text-input input,
.wc-block-components-quantity-selector input,
.woocommerce-cart input,
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  background: #f8f7f2 !important;
  color: var(--black) !important;
  border-color: rgba(12,12,12,.2) !important;
  border-radius: 0 !important;
}
@media (max-width: 768px) {
  .lle-product-buybox { box-shadow: 7px 7px 0 var(--blue), 12px 12px 0 var(--red); }
  .lle-product-bottom #reviews { border-left-width: 6px; box-shadow: 6px 6px 0 var(--yellow); }
  .woocommerce-message .button, .woocommerce-info .button { width: auto; }
}

/* ================================================================
   Página "Gracias por tu compra" (order-received): resumen del
   pedido, datos bancarios (BACS) y detalle del pedido. Antes no
   tenían ninguna regla propia, por eso salían sin ningún estilo.
   ================================================================ */
/* Texto de "Instrucciones" que se escribe en Ajustes → Pagos → Transferencia
   bancaria (BACS): WooCommerce lo imprime como <p> sueltos, hijos directos de
   .woocommerce-order, antes de los datos bancarios — sin ninguna tarjeta ni
   margen propio, por eso se veía pegado arriba/abajo y desentonaba. Se excluye
   el aviso "Gracias, tu pedido..." (trae su propia clase) para no cambiarlo también. */
.woocommerce-order > p:not(.woocommerce-notice) {
  background: #fff;
  border-top: 7px solid var(--yellow);
  box-shadow: 8px 8px 0 rgba(30,64,173,.18);
  padding: clamp(16px, 3vw, 26px);
  margin: 0 0 20px;
  color: var(--black);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .woocommerce-order > p:not(.woocommerce-notice) { padding: 16px; margin: 0 0 14px; }
}

/* !important en padding/background/border/margin/list-style: la regla
   genérica de listas de arriba (.woocommerce ul:not(...)) también matchea
   estos <ul> por ser listas de WooCommerce, y sin esto le ganaba el padding
   a esta tarjeta (por eso se veía "pegado", sin aire, en el carrito/checkout). */
.woocommerce-order-overview.order_details,
.woocommerce-bacs-bank-details,
.woocommerce-order-details,
.woocommerce-customer-details {
  background: #fff !important;
  border-top: 7px solid var(--yellow) !important;
  box-shadow: 8px 8px 0 rgba(30,64,173,.18);
  padding: clamp(18px, 3vw, 30px) !important;
  margin: 0 0 24px !important;
  list-style: none !important;
}
.woocommerce-order-overview.order_details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}
.woocommerce-order-overview.order_details li {
  border-bottom: 0 !important;
  padding: 0 !important;
  flex: 1 1 160px;
  font-size: 13px;
  color: var(--gray-text);
}
.woocommerce-order-overview.order_details li strong {
  display: block;
  margin-top: 4px;
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
}
.woocommerce-bacs-bank-details h2,
.woocommerce-order-details__title,
.woocommerce-customer-details h2 { margin-bottom: 18px; }
.woocommerce-bacs-bank-details h3,
.wc-bacs-bank-details-heading + h3 {
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--black);
}
.wc-bacs-bank-details.order_details.bacs_details li {
  padding: 6px 0 !important;
  border-bottom: 0 !important;
  font-size: 14.5px;
  color: var(--gray-text);
}
.wc-bacs-bank-details.order_details.bacs_details li strong { color: var(--black); }
.woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.7;
  color: var(--gray-text);
}
.woocommerce-columns { display: flex; flex-wrap: wrap; gap: 20px; }
.woocommerce-columns .woocommerce-column { flex: 1 1 240px; }
@media (max-width: 768px) {
  .woocommerce-order-overview.order_details { flex-direction: column; gap: 10px; }
  .woocommerce-order-overview.order_details li {
    flex: 0 1 auto; /* en fila, 160px era un ANCHO mínimo; en columna ese mismo
                        valor se vuelve una ALTURA mínima de 160px por ítem —
                        de ahí el hueco enorme entre cada campo. */
  }
  .woocommerce-order-overview.order_details,
  .woocommerce-bacs-bank-details,
  .woocommerce-order-details,
  .woocommerce-customer-details {
    padding: 16px !important;
    margin: 0 0 14px !important;
  }
}

/* ================================================================
   Tablas responsive (carrito y detalle de pedido): sin el CSS por
   defecto de WooCommerce (lo desactivamos con woocommerce_enqueue_styles),
   una tabla de varias columnas se desbordaba en móvil. Recreamos el
   patrón clásico: se apilan en filas usando el data-title que
   WooCommerce ya imprime en cada celda.
   ================================================================ */
.woocommerce table.shop_table td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) thead { display: none; }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid rgba(12,12,12,.12);
    padding: 12px;
  }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid rgba(12,12,12,.08);
    padding: 8px 4px;
    text-align: right;
  }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td:last-child { border-bottom: 0; }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td::before {
    content: attr(data-title);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--gray-text);
    text-align: left;
  }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td.product-remove {
    justify-content: flex-end;
  }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td.product-remove::before { display: none; }
  .woocommerce table.shop_table:not(.wc-bacs-bank-details) td.product-thumbnail::before { display: none; }
}

/* ================================================================
   Botón de WhatsApp en la confirmación de pedido.
   ================================================================ */
.lle-whatsapp-cta {
  margin: 0 0 24px;
  padding: clamp(18px, 3vw, 26px);
  background: #fff;
  border-top: 7px solid var(--blue);
  box-shadow: 8px 8px 0 rgba(30,64,173,.18);
}
.lle-whatsapp-cta-text { margin: 0 0 16px; color: var(--gray-text); font-size: 14.5px; line-height: 1.6; }
.lle-whatsapp-cta .lle-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff !important; /* .lle-commerce-page a{color:var(--blue)!important} tiene más
                              especificidad que ".lle-whatsapp-btn" solo — por eso ganaba
                              en el estado normal (en :hover sí alcanzaba a ganar). Con dos
                              clases encadenadas aquí, este selector siempre gana. */
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 24px;
}
.lle-whatsapp-cta .lle-whatsapp-btn:hover { background: var(--red); color: #fff !important; }
.lle-whatsapp-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
@media (max-width: 480px) {
  .lle-whatsapp-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   Buscadores de la tienda (compras.php): reafirma el hueco para el
   icono de lupa por id, para que ningún otro estilo (actual o futuro)
   pueda volver a comerse el padding-left y tapar el texto.
   ================================================================ */
#shopSearch, #shopFighterSearch {
  padding: 14px 20px 14px 46px !important;
}

/* ================================================================
   Contención general para carrito/checkout: no puede abrir scroll
   horizontal de página completa sin importar qué se le agregue por
   dentro en el futuro.
   Nota: NO se aplica a .lle-single-product/.lle-amazon-layout —
   la caja de compra usa position:sticky y overflow-x:hidden en un
   ancestro rompe el sticky en la mayoría de navegadores.
   ================================================================ */
.lle-commerce-page {
  max-width: 100%;
  overflow-x: hidden;
}

/* ================================================================
   v3 — ajustes finales: mismo lenguaje que el resto del sitio
   (esquinas rectas, sombras suaves, sin adornos de esquina).
   ================================================================ */
.lle-commerce-surface { background: var(--paper); }
.lle-commerce-surface::before, .lle-commerce-surface::after { display: none; }
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.wc-block-components-sidebar,
.wc-block-components-order-summary {
  border-top-width: 4px;
  box-shadow: 0 22px 44px -30px rgba(0,0,0,.4);
}
.lle-single-product .product { box-shadow: 0 22px 44px -30px rgba(0,0,0,.4); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.wc-block-components-button {
  border-radius: 0 !important;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"],
.woocommerce input[type="number"], .woocommerce input[type="password"], .woocommerce select, .woocommerce textarea {
  border-radius: 0;
}
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4 { font-weight: 900; line-height: .95; }
.lle-product-info h1.product_title { font-size: clamp(36px, 4vw, 56px); }
/* v3 — el encabezado de página y los títulos de sección conservan su estilo
   aunque WooCommerce ponga la clase .woocommerce en el <body>. */
.woocommerce .phero-title, .woocommerce-page .phero-title { color: #fff; font-size: clamp(52px, 8vw, 116px); line-height: .9; margin: 14px 0 0; }
.woocommerce .phero--short .phero-title { font-size: clamp(44px, 6vw, 84px); }
.woocommerce .sec-hd h2 { font-size: clamp(40px, 5.4vw, 76px); margin: 0; line-height: .9; }
.woocommerce .shop-event h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin: 8px 0 4px; line-height: .9; }
.woocommerce .ftr-h, .woocommerce .dlg-title { margin: 0 0 16px; }
.woocommerce .ftr-h { color: var(--mute); font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.woocommerce .dlg-title { font-size: 40px; }
.woocommerce .ftr p, .woocommerce .ftr-motto { margin: 0; }
.woocommerce .ftr-motto { margin-top: 22px; }
.search .i { top: 50%; transform: translateY(-50%); }

/* Caja de compra, reseñas y avisos: sin sombras duras ni bordes laterales gruesos */
.lle-product-buybox { border-radius: 0; border: 0; border-top: 4px solid var(--yellow); box-shadow: 0 22px 44px -26px rgba(0,0,0,.55) !important; }
.lle-product-bottom #reviews { border-left: 0; border-top: 4px solid var(--yellow); box-shadow: 0 22px 44px -30px rgba(0,0,0,.35) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  border-left: 0 !important;
  border-top: 4px solid var(--blue) !important;
  box-shadow: 0 16px 34px -24px rgba(0,0,0,.45) !important;
}
.woocommerce-message { border-top-color: #2f9d51 !important; }
.woocommerce-error { border-top-color: var(--red) !important; }
.woocommerce-cart-form, .cart-collaterals .cart_totals, .woocommerce-checkout-review-order,
.wc-block-components-sidebar, .wc-block-components-order-summary,
.woocommerce-order, .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { box-shadow: 0 22px 44px -30px rgba(0,0,0,.4) !important; }