/* =========================
   TodoParaTi.online UI System
   Dark default + orange accent
   ========================= */

:root{
  --primary:#FF6B35;
  --primary-hover:#ff7b4d;

  --bg:#0b1220;
  --surface:#0f172a;
  --surface-2:#111c33;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --border:rgba(255,255,255,.10);

  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.35);

  --container:1200px;
  --focus: 2px solid var(--primary);
}
/* Blocksy: si el HTML usa data-color-mode="light" */
html[data-color-mode="light"]{
  --bg:#f7f7fb;
  --surface:#ffffff;
  --surface-2:#f2f4f8;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.12);
  --shadow:0 10px 30px rgba(2,6,23,.12);
}
html[data-theme="light"]{
  --bg:#f7f7fb;
  --surface:#ffffff;
  --surface-2:#f2f4f8;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.12);
  --shadow:0 10px 30px rgba(2,6,23,.12);
}

/* Dark default */
html:not([data-theme]){
  --bg:#0b1220;
  --surface:#0f172a;
  --surface-2:#111c33;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --border:rgba(255,255,255,.10);
}

*{ box-sizing:border-box; }
body{
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; }
a:hover{ color: var(--primary); }

.tpt-sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* Focus visible (a11y) */
:focus-visible{
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Layout helpers */
.tpt-muted{ color: var(--muted); }
.tpt-section{
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 18px;
}

/* Buttons */
.tpt-btn,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  background: var(--primary);
  color: #111827;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
}

.tpt-btn:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.tpt-btn--icon{
  padding: 10px 12px;
}

/* Inputs */
.tpt-input,
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="url"], textarea, select,
.woocommerce input.input-text, .woocommerce textarea{
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.tpt-input::placeholder,
input::placeholder, textarea::placeholder{
  color: var(--muted);
}

.tpt-search{
  display:flex;
  gap:10px;
  align-items:stretch;
  margin-top: 14px;
}

.tpt-search__input{
  flex:1;
  min-width: 160px;
}

/* Header actions (insertar vía shortcode) */
.tpt-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.tpt-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
  position: relative;
}

.tpt-icon-btn:hover{
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.tpt-icon{
  font-size: 18px;
  line-height: 1;
}

.tpt-cart-count{
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Hero patterns */
.tpt-hero{
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 18px 10px;
}

.tpt-hero h1{
  font-size: clamp(34px, 4vw, 54px);
  margin: 0 0 10px;
}

.tpt-hero-card{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Category cards */
.tpt-cats{ gap: 14px; }
.tpt-cat-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.tpt-cat-card--accent{
  border-color: rgba(255,107,53,.45);
}

/* Offcanvas base */
.tpt-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.tpt-offcanvas{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(92vw, 420px);
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.tpt-offcanvas__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
}

.tpt-offcanvas__title{
  font-size: 16px;
}

.tpt-offcanvas__body{
  padding: 14px;
  overflow:auto;
}

/* Mobile menu */
.tpt-mobile-menu{
  list-style:none;
  padding:0;
  margin:0;
}
.tpt-mobile-menu li{
  border-bottom: 1px solid var(--border);
}
.tpt-mobile-menu a{
  display:block;
  padding: 12px 6px;
  text-decoration:none;
}
.tpt-mobile-menu .sub-menu{
  list-style:none;
  padding: 0 0 10px 12px;
  margin: 0;
  border-left: 1px solid var(--border);
}

/* Mini-cart */
.tpt-mini-cart__content{
  padding: 14px;
  overflow: auto;
}
.tpt-mini-cart .woocommerce-mini-cart{
  list-style:none;
  margin: 0;
  padding: 0;
}
.tpt-mini-cart .woocommerce-mini-cart-item{
  display:grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tpt-mini-cart .woocommerce-mini-cart__total,
.tpt-mini-cart .woocommerce-mini-cart__buttons{
  margin-top: 14px;
}

/* WooCommerce: notices, tables, forms */
.woocommerce .woocommerce-notices-wrapper{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 18px 0;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow);
}

.woocommerce table.shop_table{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  border-top: 1px solid var(--border);
  padding: 12px 12px;
}

.woocommerce table.shop_table thead th{
  border-top: 0;
  background: var(--surface-2);
}

.woocommerce form .form-row label{
  color: var(--muted);
  font-weight: 700;
}

.woocommerce .select2-container--default .select2-selection--single{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 44px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 44px;
  color: var(--text);
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 44px;
}

/* Product grid polish */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 14px;
  font-weight: 800;
}

.woocommerce div.product .product_title{
  font-size: clamp(22px, 2.2vw, 34px);
}

/* Quantity */
.woocommerce .quantity .qty{
  width: 86px;
  text-align: center;
}

/* Checkout/My Account */
.woocommerce .woocommerce-checkout,
.woocommerce .woocommerce-account{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px;
}

.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px){
  .tpt-cart-count{ top: 6px; right: 6px; }
}
/* HERO tipo "Brand New Collection" */
.tpt-hero-collection{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 18px;
}

.tpt-hero-collection__grid{
  gap: 18px;
}

.tpt-hero-kicker{
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.tpt-hero-title{
  font-size: clamp(46px, 5.5vw, 86px);
  line-height: 0.95;
  margin: 0 0 14px;
  font-weight: 900;
}

.tpt-hero-lead{
  margin: 0 0 18px;
  max-width: 46ch;
}

.tpt-highlight{
  background: var(--primary);
  color: #111827;
  padding: .22em .38em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.tpt-hero-features{
  gap: 18px;
  margin: 10px 0 18px;
}

.tpt-hero-feature{
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.tpt-hero-cta .wp-block-button__link{
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: .02em;
}

.tpt-btn-primary .wp-block-button__link{
  background: var(--primary);
  color: #111827;
}

.tpt-btn-ghost .wp-block-button__link{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.tpt-hero-media{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.tpt-hero-media__img img{
  width: 100%;
  height: min(520px, 60vh);
  object-fit: cover;
  display: block;
}

/* responsive */
@media (max-width: 900px){
  .tpt-hero-title{ font-size: clamp(38px, 10vw, 62px); }
  .tpt-hero-media__img img{ height: 340px; }
}
/* Barra de beneficios */
.tpt-benefits-bar{
  background: var(--primary);
  color: #fff;
  margin-top: 18px; /* debajo del hero */
}

.tpt-benefits-bar__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 18px;
  gap: 14px;
}

.tpt-benefit{
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  position: relative;
}

/* Separadores verticales (similar a tu imagen) */
.tpt-benefit:not(:last-child)::after{
  content:"";
  position:absolute;
  right: -7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255,255,255,.45);
}

.tpt-benefit__icon{
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.tpt-benefit__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tpt-benefit__sub{
  margin: 2px 0 0;
  font-weight: 700;
  opacity: .95;
}

/* Responsive: que se acomode en 2 filas sin romper */
@media (max-width: 980px){
  .tpt-benefit:not(:last-child)::after{ display:none; }
  .tpt-benefit{ border-top: 1px solid rgba(255,255,255,.25); }
  .tpt-benefit:first-child{ border-top: 0; }
}
/* File: todoparati-child/assets/css/main.css */
/* Pega al final del archivo */

/* Barra de beneficios: full width, pegada y con SVG outline blancos */
.tpt-benefits-bar.alignfull{
  margin: 0;        /* sin espacios arriba/abajo del bloque full */
  padding: 0;
  width: 100%;
  background: var(--primary);
  color: #fff;
}

/* Contenido centrado con padding interno */
.tpt-benefits-bar__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 18px;
  gap: 14px;
}

/* Cada item */
.tpt-benefit{
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  position: relative;
  flex: 1 1 220px; /* permite repartir en 1 fila y ajustar en responsive */
}

/* Separadores verticales (desktop) */
.tpt-benefit:not(:last-child)::after{
  content:"";
  position:absolute;
  right: -7px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(255,255,255,.45);
}

/* Iconos SVG consistentes */
.tpt-benefit__icon{
  margin: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.tpt-benefit__icon svg{
  width: 34px;
  height: 34px;
  display: block;
}

/* Tipografía */
.tpt-benefit__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.tpt-benefit__sub{
  margin: 4px 0 0;
  font-weight: 700;
  opacity: .95;
}

/* Mobile: 2 filas, sin separadores verticales */
@media (max-width: 980px){
  .tpt-benefit:not(:last-child)::after{ display:none; }
  .tpt-benefits-bar__inner{ gap: 10px; }
  .tpt-benefit{
    border-top: 1px solid rgba(255,255,255,.25);
  }
  .tpt-benefit:nth-child(1),
  .tpt-benefit:nth-child(2){
    border-top: 0;
  }
}
/* Secciones (heading + botón) */
.tpt-section{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) 18px;
}

.tpt-section__head{
  margin-bottom: 14px;
  gap: 12px;
}

.tpt-section__kicker{
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .02em;
}

.tpt-section__title{
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

/* Fila de productos (shortcode [products]) */
.tpt-products-row .woocommerce ul.products{
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px){
  .tpt-products-row .woocommerce ul.products{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px){
  .tpt-products-row .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px){
  .tpt-products-row .woocommerce ul.products{
    grid-template-columns: 1fr;
  }
}

/* Card */
.tpt-products-row .woocommerce ul.products li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}

.tpt-products-row .woocommerce ul.products li.product:hover{
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, .55);
}

/* Imagen */
.tpt-products-row .woocommerce ul.products li.product a img{
  width: 100% !important;
  height: 240px !important;
  object-fit: contain;
  margin: 0 0 12px !important;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: 12px;
}

/* Sale badge */
.tpt-products-row .woocommerce span.onsale{
  background: var(--primary) !important;
  color: #111827 !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  top: 14px !important;
  left: 14px !important;
}

/* Título */
.tpt-products-row .woocommerce ul.products li.product .woocommerce-loop-product__title{
  margin: 0 0 8px !important;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

/* Precio */
.tpt-products-row .woocommerce ul.products li.product .price{
  margin: 0 0 10px !important;
  font-weight: 900;
  font-size: 16px;
  color: var(--text);
}
.tpt-products-row .woocommerce ul.products li.product .price ins{
  text-decoration: none;
  color: var(--primary);
}
.tpt-products-row .woocommerce ul.products li.product .price del{
  opacity: .55;
  color: var(--muted);
  margin-right: 6px;
}

/* Categoría pequeña (si Woo la imprime por tu config/plugin) */
.tpt-products-row .woocommerce ul.products li.product .posted_in,
.tpt-products-row .woocommerce ul.products li.product .woocommerce-product-details__short-description{
  display: none !important;
}

/* Botón add to cart */
.tpt-products-row .woocommerce ul.products li.product .button{
  width: 100%;
  text-align: center;
  background: var(--primary) !important;
  color: #111827 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-weight: 900 !important;
  border: 1px solid rgba(0,0,0,.08) !important;
}


/* =========================================================
   Categorías spotlight (3 cards) — Paleta TodoParaTi
   Objetivo: overlay BLANCO + texto NEGRO (cards normales)
             overlay NARANJA + texto OSCURO (featured)
   ========================================================= */

.tpt-cats-spotlight.alignfull{
  margin: 0;
  padding: clamp(26px, 4vw, 54px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #05060a 100%);
  position: relative;
  overflow: hidden;
}

/* Decoración suave */
.tpt-cats-spotlight.alignfull::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 85% 22%, rgba(255,255,255,.10) 0 1px, transparent 2px),
    radial-gradient(circle at 20% 78%, rgba(255,255,255,.08) 0 1px, transparent 2px),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,.06) 0 1px, transparent 2px);
  opacity:.30;
  pointer-events:none;
}

.tpt-cats-spotlight__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.tpt-cats-spotlight__grid{
  gap: 26px;
}

/* -----------------------------
   Card base
------------------------------ */
.tpt-cat-card{
  position: relative;
  border-radius: 18px;
  overflow: visible;
}

.tpt-cat-card__img{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.06);
}

.tpt-cat-card__img img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.tpt-cat-card:hover .tpt-cat-card__img img{
  transform: scale(1.06);
}

/* -----------------------------
   Overlay BLANCO (Automotriz/Bazar)
------------------------------ */
.tpt-cat-card__overlay{
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -26px;

  background: rgba(255,255,255,.96);
  color: #111827;

  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  padding: 18px 18px 16px;

  box-shadow: 0 20px 50px rgba(0,0,0,.25);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Meta (texto arriba del título) — NEGRO */
.tpt-cat-card__meta{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 10px;

  font-size: 12px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;

  color: rgba(17,24,39,.70);
}

.tpt-cat-card__meta::before{
  content:"";
  width: 18px;
  height: 2px;
  background: var(--primary, #FF6B35);
  border-radius: 2px;
  opacity: .95;
}

/* Título — NEGRO (y el link también) */
.tpt-cat-card__title{
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  color: #111827;
}

.tpt-cat-card__title a{
  color: #111827 !important;
  text-decoration: none;
}

/* Accesibilidad: foco visible */
.tpt-cat-card__title a:focus-visible{
  outline: 3px solid rgba(255,107,53,.85);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Hover: borde naranja sutil */
.tpt-cat-card:hover .tpt-cat-card__overlay{
  border-color: rgba(255,107,53,.35);
}

/* -----------------------------
   Featured (naranja) — Táctico
------------------------------ */
.tpt-cat-card.is-featured .tpt-cat-card__overlay{
  background: var(--primary, #FF6B35);
  border-color: rgba(0,0,0,.12);
  color: #111827;
  box-shadow: 0 20px 50px rgba(0,0,0,.30);
}

/* Meta en featured — negro */
.tpt-cat-card.is-featured .tpt-cat-card__meta{
  color: rgba(17,24,39,.75);
}

.tpt-cat-card.is-featured .tpt-cat-card__meta::before{
  background: rgba(17,24,39,.90);
}

/* Título en featured — negro */
.tpt-cat-card.is-featured .tpt-cat-card__title{
  color: #111827;
}

.tpt-cat-card.is-featured .tpt-cat-card__title a{
  color: #111827 !important;
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 980px){
  .tpt-cat-card__img img{ height: 300px; }
  .tpt-cat-card__title{ font-size: 28px; }
  .tpt-cat-card__overlay{ bottom: -18px; }
}

@media (max-width: 640px){
  .tpt-cat-card__img img{ height: 260px; }
  .tpt-cat-card__overlay{
    left: 14px;
    right: 14px;
    bottom: -16px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .tpt-cat-card__img img{ transition: none; }
}
.tpt-top-contact{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  line-height:1.2;
  color:#111827;
  white-space:nowrap;
}

.tpt-top-contact__icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(17,24,39,.12);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  color: var(--primary, #FF6B35); /* todo el SVG en naranja */
}

.tpt-top-contact__icon svg{
  display:block;
}

.tpt-top-contact a{
  color:#111827;
  text-decoration:none;
}

.tpt-top-contact a[href^="tel:"]{
  color: var(--primary, #FF6B35);
  font-weight: 800;
}

.tpt-top-contact a:hover{ text-decoration: underline; }

.tpt-top-contact a:focus-visible{
  outline:3px solid rgba(255,107,53,.75);
  outline-offset:3px;
  border-radius:6px;
}
.tpt-top-contact__img{
  width:20px;
  height:20px;
  display:block;
}

@media (max-width: 900px){
  .tpt-top-contact{ display:none; }
}


/* =========================================================
   Sticky header: DESKTOP ok + MOBILE sin romper Blocksy
   ========================================================= */

/* 1) Desktop: sticky seguro */
@media (min-width: 1025px){
  header#header,
  #masthead{
    position: sticky;
    top: 0;
    z-index: 9999;
  }
}


/* Evitar que el contenido quede debajo del header */
:root{
  scroll-padding-top: 90px; /* ajusta según la altura real */
}
body.home .entry-content > :first-child{
  margin-top: 0 !important;
}
/* HOME: quitar el padding superior que Blocksy mete en el contenedor */
body.home main#main > .ct-container-full{
  padding-top: 0 !important;
}

/* Opcional: si ves que también hay padding abajo y no lo quieres */
body.home main#main > .ct-container-full{
  padding-bottom: 0 !important;
}
body.front-page main#main > .ct-container-full{
  padding-top: 0 !important;
  /* padding-bottom: 0 !important; */
}
/* =========================
   HERO: reducir altura/aire
   ========================= */

/* 1) Menos padding vertical del contenedor del hero */
.wp-block-group.tpt-hero-collection{
  padding-top: 18px !important;   /* antes ~34px */
  padding-bottom: 18px !important;
}

/* 2) Si tu hero usa columnas, baja el gap */
.tpt-hero-collection .tpt-hero-collection__grid{
  gap: 18px !important;
}

/* 3) Reduce un poco el H1 (sin romper responsive) */
.tpt-hero-collection .tpt-hero-title{
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  font-size: clamp(42px, 5vw, 68px) !important; /* ajusta si lo quieres más pequeño */
  line-height: 1.02 !important;
}

/* 4) Reduce separación de botones / features debajo del texto */
.tpt-hero-collection .tpt-hero-ctas{
  margin-top: 14px !important;
}

.tpt-hero-collection .tpt-hero-badges{
  margin-top: 10px !important;
}

/* 5) En móvil, todavía más compacto */
@media (max-width: 640px){
  .wp-block-group.tpt-hero-collection{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
}

/* =========================
   Best sellers: 1 fila + carrusel (solo .tpt-best-row)
   ========================= */

/* Anula tu grid actual SOLO aquí */
.tpt-best-row .tpt-products-row .woocommerce ul.products{
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;

  gap: 18px;
  margin: 0 !important;
  padding: 0 0 10px !important;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* iOS */
}

/* Cada card: 4 visibles en desktop */
.tpt-best-row .tpt-products-row .woocommerce ul.products li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;

  flex: 0 0 calc((100% - (18px * 3)) / 4) !important; /* 4 cards */
  scroll-snap-align: start;
}

/* Scrollbar discreta (opcional) */
.tpt-best-row .tpt-products-row .woocommerce ul.products::-webkit-scrollbar{
  height: 10px;
}
.tpt-best-row .tpt-products-row .woocommerce ul.products::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
html[data-theme="light"] .tpt-best-row .tpt-products-row .woocommerce ul.products::-webkit-scrollbar-thumb{
  background: rgba(15,23,42,.16);
}

/* Responsive: 3 / 2 / 1.15 cards */
@media (max-width: 1100px){
  .tpt-best-row .tpt-products-row .woocommerce ul.products li.product{
    flex-basis: calc((100% - (18px * 2)) / 3) !important;
  }
}
@media (max-width: 820px){
  .tpt-best-row .tpt-products-row .woocommerce ul.products li.product{
    flex-basis: calc((100% - 18px) / 2) !important;
  }
}
@media (max-width: 520px){
  .tpt-best-row .tpt-products-row .woocommerce ul.products li.product{
    flex-basis: 85% !important; /* look tipo carrusel en móvil */
  }
}
/* Flechas carrusel (opcional) */
.tpt-best-row{ position: relative; }

.tpt-best-row .tpt-carousel-btn{
  position: absolute;
  top: 74px; /* ajusta según tu layout */
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.tpt-best-row .tpt-carousel-btn:hover{
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.tpt-best-row .tpt-carousel-btn--prev{ left: 10px; }
.tpt-best-row .tpt-carousel-btn--next{ right: 10px; }

@media (max-width: 820px){
  .tpt-best-row .tpt-carousel-btn{ display:none; } /* en móvil swipe es suficiente */
}
/* =========================================================
   TPT Best Sellers Carousel — FIXES (solo .tpt-best-row)
   - Re-activar texto del Add to cart (Blocksy lo pone font-size:0)
   - Botón pill con icono carrito + texto
   - Ocultar scrollbar inferior (manteniendo swipe/scroll)
   - Flechas más abajo y con color visible
   - Botón "VER TODO" con estilo del sitio
   ========================================================= */

/* 1) Track: carrusel + ocultar scrollbar visible */
.tpt-best-row .tpt-products-row .woocommerce ul.products{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  /* ocultar scrollbar sin perder scroll */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge viejo */
  padding-bottom: 0 !important;   /* quita "aire" que delata scrollbar */
}
.tpt-best-row .tpt-products-row .woocommerce ul.products::-webkit-scrollbar{
  height: 0 !important;           /* Chrome/Safari */
}

/* 2) Botón Add to cart: volver a mostrar texto (Blocksy: font-size 0) */
.tpt-best-row .tpt-products-row .ct-woo-card-actions a.button,
.tpt-best-row .tpt-products-row .ct-woo-card-actions a.add_to_cart_button{
  font-size: 14px !important;
  line-height: 1.1 !important;
  text-indent: 0 !important;
  letter-spacing: .02em;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  width: 100% !important;
  min-height: 46px !important;

  border-radius: 14px !important;
  padding: 12px 14px !important;

  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 900 !important;

  box-shadow: 0 10px 18px rgba(0,0,0,.12) !important;
}

/* 3) Icono carrito (SVG) + asegurar que no te “pise” el icono de Blocksy */
.tpt-best-row .tpt-products-row .ct-woo-card-actions a.button::before,
.tpt-best-row .tpt-products-row .ct-woo-card-actions a.add_to_cart_button::before{
  content: "" !important;
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;

  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2ZM6.2 6h15.1c.6 0 1 .5.9 1.1l-1.2 6.3c-.2 1-1 1.7-2 1.7H8.1c-1 0-1.8-.7-2-1.7L4.3 2H2v2h1.6l2.3 11.6c.3 1.6 1.7 2.8 3.4 2.8h10.5v-2H9.3c-.5 0-.9-.3-1-.8l-.2-1.2h11c1.9 0 3.5-1.3 3.8-3.2l1.3-7.1C24.4 2.9 23.4 2 22.2 2H6.2v4Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2ZM6.2 6h15.1c.6 0 1 .5.9 1.1l-1.2 6.3c-.2 1-1 1.7-2 1.7H8.1c-1 0-1.8-.7-2-1.7L4.3 2H2v2h1.6l2.3 11.6c.3 1.6 1.7 2.8 3.4 2.8h10.5v-2H9.3c-.5 0-.9-.3-1-.8l-.2-1.2h11c1.9 0 3.5-1.3 3.8-3.2l1.3-7.1C24.4 2.9 23.4 2 22.2 2H6.2v4Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 4) Hover coherente con tu sistema */
.tpt-best-row .tpt-products-row .ct-woo-card-actions a.button:hover{
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

/* 5) "VER TODO" con estilo del sitio (ghost consistente) */
.tpt-best-row .tpt-section__actions .wp-block-button__link{
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}
.tpt-best-row .tpt-section__actions .wp-block-button__link:hover{
  border-color: rgba(255,107,53,.55) !important;
  color: var(--primary) !important;
  transform: translateY(-1px);
}

/* 6) Flechas: más abajo + más visibles */
.tpt-best-row{ position: relative; }

.tpt-best-row .tpt-carousel-btn{
  top: clamp(170px, 18vw, 235px) !important; /* baja las flechas */
  width: 46px;
  height: 46px;
  border-radius: 14px;

  background: rgba(255,107,53,.18) !important;
  border: 1px solid rgba(255,107,53,.45) !important;
  color: #111827 !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 6;
}

.tpt-best-row .tpt-carousel-btn:hover{
  background: var(--primary) !important;
  border-color: rgba(0,0,0,.10) !important;
  transform: translateY(-1px);
}

.tpt-best-row .tpt-carousel-btn--prev{ left: 10px; }
.tpt-best-row .tpt-carousel-btn--next{ right: 10px; }

@media (max-width: 820px){
  .tpt-best-row .tpt-carousel-btn{ display:none; } /* móvil: swipe */
}
/* =========================================================
   TPT Tab Category Carousel (estilo como imagen)
   ========================================================= */

.tpt-tab-carousel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Header */
.tpt-tab-carousel__head{
  background: rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 0;
  gap: 14px;
}

html:not([data-theme]) .tpt-tab-carousel__head{
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}

/* Left: tab + kicker */
.tpt-tab-carousel__left{
  gap: 14px;
  padding: 0;
}

/* Tab naranja (como tu imagen) */
.tpt-tab-carousel__tab{
  margin: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 14px 18px;
  position: relative;
  min-width: 160px;
}

/* “pico” triangular abajo-izquierda */
.tpt-tab-carousel__tab::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -10px;
  width: 0; height: 0;
  border-left: 10px solid var(--primary);
  border-top: 10px solid transparent;
  border-bottom: 0 solid transparent;
}

/* Kicker */
.tpt-tab-carousel__kicker{
  margin: 0;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .9;
}

/* Nav (flechas) */
.tpt-tab-carousel__nav{
  display:flex;
  gap: 8px;
  padding-right: 12px;
}

.tpt-tab-carousel .tpt-carousel-btn{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  color: #111827;
  font-weight: 900;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
}

html:not([data-theme]) .tpt-tab-carousel .tpt-carousel-btn{
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.tpt-tab-carousel .tpt-carousel-btn:hover{
  background: var(--primary);
  border-color: rgba(0,0,0,.10);
  color: #111827;
}

/* Track */
.tpt-tab-carousel__track{
  padding: 0;
}

/* Woo list => carrusel */
.tpt-tab-carousel__track .woocommerce ul.products{
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;

  /* ocultar scrollbar sin perder swipe */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tpt-tab-carousel__track .woocommerce ul.products::-webkit-scrollbar{
  height: 0 !important;
}

/* Items: “celdas” con separadores como tu imagen */
.tpt-tab-carousel__track .woocommerce ul.products li.product{
  flex: 0 0 20% !important;  /* 5 visibles */
  scroll-snap-align: start;
  margin: 0 !important;
  padding: 14px 16px !important;

  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display:flex !important;
  flex-direction: column !important;
}

html:not([data-theme]) .tpt-tab-carousel__track .woocommerce ul.products li.product{
  border-right: 1px solid var(--border) !important;
}

/* Quita el borde del último visible */
.tpt-tab-carousel__track .woocommerce ul.products li.product:last-child{
  border-right: 0 !important;
}

/* Imagen grande y centrada */
.tpt-tab-carousel__track .woocommerce ul.products li.product a img{
  height: 170px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Título + precio */
.tpt-tab-carousel__track .woocommerce ul.products li.product .woocommerce-loop-product__title{
  margin: 0 0 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--text);
}

.tpt-tab-carousel__track .woocommerce ul.products li.product .price{
  margin-top: auto !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
}
.tpt-tab-carousel__track .woocommerce ul.products li.product .price del{
  opacity: .55;
  color: var(--muted) !important;
  margin-left: 8px;
  font-weight: 700;
}

/* Add to cart: forzar texto visible + estilo compacto */
.tpt-tab-carousel__track .ct-woo-card-actions a.button,
.tpt-tab-carousel__track .ct-woo-card-actions a.add_to_cart_button{
  font-size: 13px !important;
  line-height: 1.1 !important;
  text-indent: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  margin-top: 10px !important;
  width: 100% !important;
  min-height: 42px !important;

  background: var(--primary) !important;
  color: #111827 !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
}

/* Icono carrito */
.tpt-tab-carousel__track .ct-woo-card-actions a.button::before,
.tpt-tab-carousel__track .ct-woo-card-actions a.add_to_cart_button::before{
  content:"";
  width: 16px;
  height: 16px;
  display:inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2ZM6.2 6h15.1c.6 0 1 .5.9 1.1l-1.2 6.3c-.2 1-1 1.7-2 1.7H8.1c-1 0-1.8-.7-2-1.7L4.3 2H2v2h1.6l2.3 11.6c.3 1.6 1.7 2.8 3.4 2.8h10.5v-2H9.3c-.5 0-.9-.3-1-.8l-.2-1.2h11c1.9 0 3.5-1.3 3.8-3.2l1.3-7.1C24.4 2.9 23.4 2 22.2 2H6.2v4Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2ZM6.2 6h15.1c.6 0 1 .5.9 1.1l-1.2 6.3c-.2 1-1 1.7-2 1.7H8.1c-1 0-1.8-.7-2-1.7L4.3 2H2v2h1.6l2.3 11.6c.3 1.6 1.7 2.8 3.4 2.8h10.5v-2H9.3c-.5 0-.9-.3-1-.8l-.2-1.2h11c1.9 0 3.5-1.3 3.8-3.2l1.3-7.1C24.4 2.9 23.4 2 22.2 2H6.2v4Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Responsive: 4 / 2 / 85% */
@media (max-width: 1100px){
  .tpt-tab-carousel__track .woocommerce ul.products li.product{ flex-basis: 25% !important; } /* 4 */
}
@media (max-width: 820px){
  .tpt-tab-carousel__track .woocommerce ul.products li.product{ flex-basis: 50% !important; } /* 2 */
}
@media (max-width: 520px){
  .tpt-tab-carousel__track .woocommerce ul.products li.product{ flex-basis: 85% !important; } /* carrusel */
  .tpt-tab-carousel__nav{ display:none; } /* móvil: swipe */
}
/* =========================================
   Espaciado vertical para la sección tabs/carrusel
   (ajusta el selector si tu wrapper se llama distinto)
   ========================================= */

/* Si tu sección usa este wrapper (recomendado) */
.tpt-tab-carousel{
  margin: 24px auto !important;          /* separa de arriba/abajo */
  padding: 18px 0 !important;            /* aire interno vertical */
}

/* Si además está dentro de .tpt-section, refuerza */
.tpt-section .tpt-tab-carousel{
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

/* Si en tu caso el bloque es .tpt-best-row (también aplica) */
.tpt-best-row{
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
/* =========================================================
   Producto destacado (imagen + tarjeta superpuesta) — RESET OK
   ========================================================= */

/* Wrapper full width para que no se “encojan” por constrained */
.tpt-featured-spotlight.alignfull{
  position: relative;
  margin: 0;
  padding: clamp(18px, 3vw, 34px) 0;
}

/* Inner con tu contenedor real */
.tpt-featured-spotlight__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Grid estable (evita que el 62% se colapse) */
.tpt-featured-spotlight__grid{
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap; /* IMPORTANTE: mantiene proporciones */
}

/* ======== IMAGEN (derecha) ======== */
.tpt-featured-media{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}

/* Quitar márgenes raros del figure */
.tpt-featured-media__img{
  margin: 0 !important;
}

/* >>>>>>> AQUÍ AGRANDAS LA IMAGEN <<<<<<<
   Sube estos valores si la quieres más grande
*/
.tpt-featured-media__img img{
  width: 100% !important;
  height: clamp(420px, 40vw, 620px); /* <-- CAMBIA AQUÍ (antes 320/34vw/520) */
  object-fit: cover;
  display: block;
}

/* ======== CARD (izquierda) ======== */
.tpt-featured-card{
  position: relative;
  z-index: 2;

  background: linear-gradient(180deg, #0b0f1f, #070a14);
  color: #fff;

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 22px 20px;

  box-shadow: 0 18px 50px rgba(0,0,0,.45);

  /* >>>>>>> AQUÍ CONTROLAS EL “OVERLAY” SOBRE LA IMAGEN <<<<<<< */
  margin-right: -64px; /* <-- si quieres más superposición: -80px o -96px */
}

/* Decoración tipo círculos */
.tpt-featured-card::before,
.tpt-featured-card::after{
  content:"";
  position:absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  opacity: .35;
  pointer-events: none;
}
.tpt-featured-card::before{
  width: 140px; height: 140px;
  top: -26px; right: -40px;
}
.tpt-featured-card::after{
  width: 220px; height: 220px;
  bottom: -70px; left: -90px;
}

.tpt-featured-kicker{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

/* Título bien visible */
.tpt-featured-title{
  margin: 10px 0 12px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 2.4vw, 44px);
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  text-wrap: balance;
}

.tpt-featured-text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  font-size: 13px;
  max-width: 46ch;
}

.tpt-featured-price{
  margin: 0 0 14px;
  font-weight: 900;
  color: var(--primary);
  font-size: 18px;
}

/* Botón Woo add_to_cart dentro de la card (coherente) */
.tpt-featured-card p.cart{
  margin: 12px 0 0 !important;
}

.tpt-featured-card .woocommerce a.button,
.tpt-featured-card a.button.add_to_cart_button{
  width: 100%;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
}

/* Responsive */
@media (max-width: 900px){
  .tpt-featured-spotlight__grid{
    flex-wrap: wrap; /* apila */
  }
  .tpt-featured-card{
    margin-right: 0; /* ya no superpone */
  }
}

@media (max-width: 640px){
  .tpt-featured-media__img img{
    height: 340px;
  }
}

/* =========================================================
   CTAs: Ver producto + Añadir al carrito (misma fila, iguales)
   ========================================================= */

.tpt-featured-card .tpt-featured-ctas{
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin-top: 14px;
}

/* WP Buttons wrapper */
.tpt-featured-card .tpt-featured-ctas .tpt-featured-actions{
  display: flex !important;
  flex: 1 1 0 !important;
  margin: 0 !important;
}

/* Output real del shortcode suele ser <p class="add_to_cart_inline"> */
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline{
  flex: 1 1 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}

/* Ambos ocupan 50% */
.tpt-featured-card .tpt-featured-ctas .wp-block-button,
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline a{
  flex: 1 1 0 !important;
}

/* Unificar estilo de ambos enlaces */
.tpt-featured-card .tpt-featured-ctas .wp-block-button__link,
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline a.button,
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline a.add_to_cart_button{
  width: 100% !important;
  min-height: 44px !important;      /* delgados */
  padding: 10px 14px !important;    /* delgados */
  border-radius: 12px !important;

  background: var(--primary) !important;
  color: #111827 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1.1 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 0 !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.16) !important;
  text-decoration: none !important;

  transform: none !important; /* evita saltos por estilos del theme */
}

/* Si Blocksy/Woo mete font-size:0 o text-indent raro */
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline a{
  font-size: 14px !important;
  line-height: 1.1 !important;
  text-indent: 0 !important;
  letter-spacing: .02em;
}

/* Hover coherente */
.tpt-featured-card .tpt-featured-ctas .wp-block-button__link:hover,
.tpt-featured-card .tpt-featured-ctas p.add_to_cart_inline a:hover{
  background: var(--primary-hover) !important;
  transform: translateY(-1px) !important;
}

/* Responsive: apilar en móvil */
@media (max-width: 900px){
  .tpt-featured-card{ margin-right: 0; }
}

@media (max-width: 640px){
  .tpt-featured-card .tpt-featured-ctas{
    flex-direction: column !important;
  }
  .tpt-featured-media__img img{
    height: 340px !important;
  }
}
.tpt-featured-spotlight--reverse .tpt-featured-card{
  margin-right: 0;
  margin-left: -64px;
}
@media (max-width: 900px){
  .tpt-featured-spotlight--reverse .tpt-featured-card{ margin-left: 0; }
}
/* =========================================================
   Featured spotlight: overlay también en móvil
   ========================================================= */
@media (max-width: 782px){

  /* Asegura que en móvil SIEMPRE vaya primero la imagen y luego la tarjeta */
  .tpt-featured-spotlight__grid{
    gap: 0 !important;
  }
  .tpt-featured-spotlight__col-media{ order: 1; }
  .tpt-featured-spotlight__col-text{  order: 2; }

  /* Deja la imagen “base” */
  .tpt-featured-media{
    margin: 0 !important;
  }

  /* Sube la tarjeta para que se superponga sobre la imagen */
  .tpt-featured-card{
    margin: -72px 14px 0 !important; /* controla la superposición */
    position: relative;
    z-index: 5;
  }

  /* Opcional: un poco más de aire abajo para que no quede apretado */
  .tpt-featured-spotlight{
    padding-bottom: 28px;
  }
}
/* =========================================================
   TABLET: overlay lateral + botones en 1 columna
   (iPad / 600–1024 aprox.)
   ========================================================= */
@media (min-width: 600px) and (max-width: 1024px){

  /* 1) Overlay lateral: la tarjeta se mete sobre la imagen */
  .tpt-featured-spotlight__grid{
    gap: 18px !important;
    align-items: center;
  }

  /* Ajusta anchos para que la imagen “mande” */
  .tpt-featured-spotlight__col-text{  flex-basis: 42% !important; }
  .tpt-featured-spotlight__col-media{ flex-basis: 58% !important; }

  .tpt-featured-card{
    margin-right: -56px !important;   /* overlay hacia la imagen (derecha) */
    z-index: 5;
  }

  /* Si esta variante es la "reverse" (imagen izquierda + texto derecha),
     invierte el overlay hacia la izquierda */
  .tpt-featured-spotlight--reverse .tpt-featured-card{
    margin-right: 0 !important;
    margin-left: -56px !important;    /* overlay hacia la imagen (izquierda) */
  }

  /* 2) Botones: uno por fila, mismo ancho */
  .tpt-featured-ctas{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  /* “Ver producto” ocupa el 100% */
  .tpt-featured-actions{
    width: 100%;
    margin: 0 !important;
  }
  .tpt-featured-actions .wp-block-button,
  .tpt-featured-actions .wp-block-button__link{
    width: 100%;
  }

  /* Woo add_to_cart (shortcode) ocupa el 100% y se ve igual */
  .tpt-featured-ctas .woocommerce,
  .tpt-featured-ctas .woocommerce .button,
  .tpt-featured-ctas a.button.add_to_cart_button{
    width: 100% !important;
    display: block !important;
  }
}
/* =========================================================
   Mini cart CTA buttons — premium look (override final)
   ========================================================= */

.ct-cart-content .woocommerce-mini-cart__buttons,
.ct-drawer-canvas .woocommerce-mini-cart__buttons,
.tpt-mini-cart-actions{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 16px !important;
  align-items: stretch !important;
}

/* Base para ambos botones */
.ct-cart-content .woocommerce-mini-cart__buttons a,
.ct-drawer-canvas .woocommerce-mini-cart__buttons a,
.tpt-mini-cart-actions > a{
  width: 100% !important;
  min-height: 44px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 12px 14px !important;
  border-radius: 14px !important;

  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: .02em !important;

  text-decoration: none !important;
  white-space: nowrap !important;     /* evita “Finalizar / compra” */
  line-height: 1 !important;

  box-shadow: none !important;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease !important;
  -webkit-tap-highlight-color: transparent;
}

/* Botón secundario (Ver carrito) — outline con mejor presencia */
.ct-cart-content .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout),
.ct-drawer-canvas .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout),
.tpt-mini-cart-actions > a:first-child{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: rgba(255,255,255,.92) !important;
}

/* Botón primario (Checkout) — naranja premium */
.ct-cart-content .woocommerce-mini-cart__buttons a.checkout,
.ct-drawer-canvas .woocommerce-mini-cart__buttons a.checkout,
.tpt-mini-cart-actions > a:last-child{
  background: var(--primary) !important;
  border: 1px solid transparent !important;
  color: #10131a !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}

/* Hover / focus */
.ct-cart-content .woocommerce-mini-cart__buttons a:hover,
.ct-drawer-canvas .woocommerce-mini-cart__buttons a:hover,
.tpt-mini-cart-actions > a:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.02) !important;
}

.ct-cart-content .woocommerce-mini-cart__buttons a:focus-visible,
.ct-drawer-canvas .woocommerce-mini-cart__buttons a:focus-visible,
.tpt-mini-cart-actions > a:focus-visible{
  outline: 2px solid rgba(255,255,255,.25) !important;
  outline-offset: 2px !important;
}

/* En móvil: 1 columna para que no se aplaste */
@media (max-width: 420px){
  .ct-cart-content .woocommerce-mini-cart__buttons,
  .ct-drawer-canvas .woocommerce-mini-cart__buttons,
  .tpt-mini-cart-actions{
    grid-template-columns: 1fr !important;
  }
}
/* ===============================
   FIX: Woo notices visibles (Cart/Checkout)
   =============================== */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info{
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid rgba(17,24,39,.12) !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(2,6,23,.10) !important;
}

.woocommerce .woocommerce-error{
  border-left-color: #E74C3C !important;
}

.woocommerce .woocommerce-message{
  border-left-color: #27AE60 !important;
}

.woocommerce .woocommerce-message *,
.woocommerce .woocommerce-error *,
.woocommerce .woocommerce-info *{
  color: inherit !important;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a{
  color: var(--primary) !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}
/* === Woo Notices: corregir icono (campanita) y lectura === */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error{
  position: relative !important;
  padding: 14px 14px 14px 52px !important; /* deja espacio al icono */
  border-radius: 18px !important;
  overflow: hidden; /* evita que el icono se “salga” */
}

/* Colocar el icono centrado verticalmente */
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before{
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  line-height: 1 !important;
}
