/* =========================
   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);
}

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 fallback */
header#header, 
.ct-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;
  }
}
