/* Catálogo WooCommerce Triwuu - tienda tipo supermercado con categorías superiores */
:root {
  --triwuu-green: #007a3d;
  --triwuu-green-2: #006b35;
  --triwuu-green-dark: #004224;
  --triwuu-yellow: #f3ff5f;
  --triwuu-mint: #eaf8f0;
  --triwuu-ink: #202124;
  --triwuu-muted: #687076;
  --triwuu-line: #e7ece9;
  --triwuu-card: #ffffff;
  --triwuu-soft: #f7f8f6;
  --triwuu-shadow: 0 14px 36px rgba(17, 24, 39, .08);
  --triwuu-radius: 22px;
}

.triwuu-catalog-page { background: var(--triwuu-soft); color: var(--triwuu-ink); overflow:hidden; }
.triwuu-shop-home { background: linear-gradient(180deg,#fff 0,#f7f8f6 34%,#f7f8f6 100%); }

/* Carrusel superior de categorías */
.triwuu-shop-categories { background:#fff; border-bottom:1px solid var(--triwuu-line); box-shadow:0 8px 24px rgba(17,24,39,.045); }
.triwuu-shop-categories--sub { border-top:1px solid var(--triwuu-line); }
.triwuu-shop-categories__inner { padding-top:28px; padding-bottom:26px; }
.triwuu-shop-categories__head { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; margin-bottom:18px; }
.triwuu-shop-categories__head span { display:block; color:var(--triwuu-green); font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; margin-bottom:5px; }
.triwuu-shop-categories__head h1, .triwuu-shop-categories__head h2 { margin:0; font-size:clamp(2rem,4vw,3.45rem); letter-spacing:-.055em; line-height:.95; }

.triwuu-shop-back-link { display:inline-flex; align-items:center; gap:10px; color:var(--triwuu-green); font-size:15px; font-weight:900; letter-spacing:-.02em; text-decoration:none; background:#f2fbf5; border:1px solid rgba(0,108,55,.12); border-radius:8px!important; padding:12px 18px; box-shadow:0 10px 26px rgba(0,0,0,.06); transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.triwuu-shop-back-link::before { content:'←'; display:grid; place-items:center; width:24px; height:24px; border-radius:8px!important; background:var(--triwuu-green); color:#fff; font-weight:900; line-height:1; }
.triwuu-shop-back-link:hover { background:#fff; transform:translateY(-1px); box-shadow:0 16px 34px rgba(0,0,0,.1); }
.triwuu-shop-categories__controls { display:flex; gap:8px; flex:0 0 auto; }
.triwuu-cat-scroll { width:42px; height:42px; border:1px solid var(--triwuu-line); border-radius:8px!important; background:#fff; color:#151515; font-size:30px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 8px 20px rgba(17,24,39,.06); transition:background .2s ease, color .2s ease, transform .2s ease; }
.triwuu-cat-scroll:hover { background:var(--triwuu-green); color:#fff; transform:translateY(-1px); }
.triwuu-category-carousel { display:flex; gap:14px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:4px 2px 12px; scrollbar-width:thin; scrollbar-color: #cbd5cf transparent; }
.triwuu-category-carousel::-webkit-scrollbar { height:8px; }
.triwuu-category-carousel::-webkit-scrollbar-thumb { background:#cbd5cf; border-radius:8px!important; }
.triwuu-category-chip { scroll-snap-align:start; flex:0 0 156px; min-height:172px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; padding:15px 12px 13px; background:#fff; border:1px solid var(--triwuu-line); border-radius:8px!important; text-decoration:none; color:var(--triwuu-ink); box-shadow:0 10px 28px rgba(17,24,39,.055); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; text-align:center; }
.triwuu-category-chip:hover { transform:translateY(-4px); box-shadow:var(--triwuu-shadow); border-color:#b8dec5; color:var(--triwuu-green-dark); }
.triwuu-category-chip__image { width:102px; height:88px; display:flex; align-items:center; justify-content:center; border-radius:8px!important; background:linear-gradient(180deg,#f7faf8,#eaf8f0); overflow:hidden; }
.triwuu-category-chip__image img { width:100%; height:100%; object-fit:cover; }
.triwuu-category-chip__image em { font-style:normal; font-size:34px; font-weight:900; color:var(--triwuu-green); }
.triwuu-category-chip strong { display:block; max-width:100%; min-height:36px; font-size:14px; line-height:1.18; font-weight:900; }
.triwuu-category-chip small { display:block; color:var(--triwuu-muted); font-size:12px; font-weight:700; }

/* Hero shop */
.triwuu-shop-hero { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:18px; padding-top:26px; padding-bottom:28px; }
.triwuu-shop-hero__main { min-height:290px; display:flex; align-items:center; padding:38px; border-radius:8px!important; background: radial-gradient(circle at 78% 28%, rgba(243,255,95,.95) 0 0, transparent 220px), linear-gradient(135deg,#064827 0,#008945 52%,#65d895 100%); color:#fff; position:relative; overflow:hidden; box-shadow:0 18px 44px rgba(0,83,44,.18); }
.triwuu-shop-hero__main::after { content:""; position:absolute; right:-80px; bottom:-110px; width:320px; height:320px; border-radius:8px!important; background:rgba(255,255,255,.14); }
.triwuu-shop-hero__main > div { position:relative; z-index:2; max-width:680px; }
.triwuu-shop-hero__main span { display:inline-flex; padding:8px 13px; background:rgba(255,255,255,.16); border-radius:8px!important; font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:900; backdrop-filter:blur(8px); }
.triwuu-shop-hero__main h2 { margin:16px 0 12px; color:#fff; font-size:clamp(2.25rem,4.9vw,4.6rem); line-height:.92; letter-spacing:-.06em; max-width:760px; }
.triwuu-shop-hero__main p { margin:0; color:rgba(255,255,255,.92); font-size:18px; line-height:1.55; max-width:620px; }
.triwuu-shop-hero__button { margin-top:22px; display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border-radius:8px!important; background:#111; color:#fff; font-weight:950; text-decoration:none; box-shadow:0 12px 28px rgba(0,0,0,.18); }
.triwuu-shop-hero__button:hover { background:#fff; color:#111; }
.triwuu-shop-hero__side { display:grid; gap:18px; }
.triwuu-shop-service-card { border-radius:8px!important; background:#fff; border:1px solid var(--triwuu-line); padding:25px; box-shadow:0 12px 28px rgba(17,24,39,.06); }
.triwuu-shop-service-card strong { display:block; font-size:26px; letter-spacing:-.04em; line-height:1; margin-bottom:10px; }
.triwuu-shop-service-card span { display:block; color:var(--triwuu-muted); line-height:1.45; font-weight:650; }
.triwuu-shop-service-card--dark { background:#1f201f; color:#fff; border-color:#1f201f; }
.triwuu-shop-service-card--dark span { color:rgba(255,255,255,.78); }

/* Hero categorías */
.triwuu-catalog-hero { position:relative; min-height:300px; display:flex; align-items:center; background:linear-gradient(135deg,#053f24 0%,#007a3d 55%,#74d99b 100%); overflow:hidden; }
.triwuu-catalog-hero.has-image { background-image:var(--triwuu-catalog-hero-image); background-size:cover; background-position:center; }
.triwuu-catalog-hero__overlay { position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.48) 50%, rgba(0,0,0,.16)); }
.triwuu-catalog-hero__inner { position:relative; z-index:2; padding-top:50px; padding-bottom:50px; }
.triwuu-catalog-hero__copy { max-width:760px; color:#fff; }
.triwuu-catalog-hero h1 { color:#fff; font-size:clamp(2.4rem,5vw,4.8rem); line-height:.94; margin:10px 0 16px; letter-spacing:-.055em; text-transform:uppercase; }
.triwuu-catalog-eyebrow { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:8px!important; background:rgba(255,255,255,.15); color:#fff; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; backdrop-filter:blur(8px); }
.triwuu-catalog-description { color:rgba(255,255,255,.92); font-size:18px; line-height:1.65; max-width:650px; }
.triwuu-catalog-breadcrumbs, .triwuu-catalog-breadcrumbs a { color:rgba(255,255,255,.82); font-size:13px; font-weight:650; }
.triwuu-catalog-breadcrumbs { margin-bottom:14px; }

/* Layout catálogo */
.triwuu-catalog-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:26px; padding-top:26px; padding-bottom:54px; }
.triwuu-catalog-sidebar { position:sticky; top:20px; align-self:start; display:flex; flex-direction:column; gap:18px; }
.triwuu-sidebar-card { background:#fff; border:1px solid var(--triwuu-line); border-radius:8px!important; box-shadow:0 10px 30px rgba(17,24,39,.05); overflow:hidden; }
.triwuu-sidebar-card h2 { margin:0; padding:20px 22px; font-size:18px; border-bottom:1px solid var(--triwuu-line); }
.triwuu-category-nav { list-style:none; margin:0; padding:10px; }
.triwuu-category-nav li a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 13px; border-radius:8px!important; color:#2b2f32; text-decoration:none; font-weight:800; font-size:14px; }
.triwuu-category-nav li a:hover, .triwuu-category-nav li.is-active a { background:var(--triwuu-mint); color:var(--triwuu-green-dark); }
.triwuu-category-nav em { min-width:28px; height:24px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px!important; background:#eff3f0; color:#56605a; font-style:normal; font-size:12px; }
.triwuu-catalog-main { min-width:0; }
.triwuu-catalog-toolbar { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:18px; padding:14px 16px; background:#fff; border:1px solid var(--triwuu-line); border-radius:8px!important; box-shadow:0 8px 24px rgba(17,24,39,.045); }
.triwuu-catalog-toolbar .woocommerce-result-count { margin:0; color:#4b5560; font-weight:750; }
.triwuu-catalog-toolbar .woocommerce-ordering { margin:0; }
.triwuu-catalog-toolbar select { min-height:40px; border:1px solid var(--triwuu-line); border-radius:8px!important; padding:0 42px 0 14px; background:#fff; color:#252a2e; font-weight:700; }

/* Cards producto - estilo supermercado limpio */
.woocommerce ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px !important; margin:0 !important; padding:0 !important; list-style:none !important; align-items:stretch; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none !important; }
.woocommerce ul.products li.product.triwuu-product-card { width:auto !important; margin:0 !important; float:none !important; background:#fff; border:1px solid #edf0ee; border-radius:8px!important; overflow:hidden; box-shadow:none; transition:box-shadow .22s ease, border-color .22s ease, transform .22s ease; display:flex; flex-direction:column; min-height:100%; position:relative; }
.woocommerce ul.products li.product.triwuu-product-card:hover { transform:translateY(-2px); border-color:#dfe8e2; box-shadow:0 16px 34px rgba(17,24,39,.08); z-index:2; }
.triwuu-product-card__media-wrap { position:relative; background:#f7f7f6; }
.triwuu-product-card__media { position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:1 / 1; background:#f7f7f6; padding:18px; text-decoration:none; overflow:hidden; }
.triwuu-product-card__media img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform .26s ease; }
.triwuu-product-card:hover .triwuu-product-card__media img { transform:scale(1.035); }
.triwuu-product-badge { position:absolute; z-index:4; top:14px; left:14px; display:inline-flex; align-items:center; justify-content:center; min-width:30px; height:30px; padding:0 8px; border-radius:8px!important; font-size:13px; font-weight:950; text-transform:uppercase; letter-spacing:-.03em; box-shadow:0 6px 16px rgba(0,0,0,.1); }
.triwuu-product-badge--sale { background:var(--triwuu-green-dark); color:#fff; min-width:auto; height:30px; padding:0 10px; font-size:11px; letter-spacing:.04em; }
.triwuu-product-badge--stock { min-width:auto; height:auto; top:auto; bottom:12px; left:12px; border-radius:8px!important; padding:5px 7px; background:#eef1ee; color:#252525; font-size:12px; font-weight:700; text-transform:none; box-shadow:none; letter-spacing:0; }
.woocommerce ul.products li.product .triwuu-add-to-cart--floating, .triwuu-add-to-cart--floating { position:static !important; z-index:5; display:flex !important; align-items:center; justify-content:center; gap:6px; width:100% !important; min-height:40px; border-radius:8px!important; margin-top:8px !important; padding:0 14px !important; background:var(--triwuu-green-dark) !important; color:#fff !important; font-size:13px !important; font-weight:850 !important; text-decoration:none !important; line-height:1 !important; border:0 !important; white-space:nowrap; box-shadow:0 8px 18px rgba(0,81,43,.18); transition:transform .18s ease, background .18s ease, box-shadow .18s ease; }
.woocommerce ul.products li.product .triwuu-add-to-cart--floating::before, .triwuu-add-to-cart--floating::before { content:'+'; font-size:21px; line-height:1; font-weight:400; margin-top:-1px; }
.woocommerce ul.products li.product .triwuu-add-to-cart--floating:hover, .triwuu-add-to-cart--floating:hover { background:var(--triwuu-green) !important; color:#fff !important; transform:translateY(-1px); box-shadow:0 14px 25px rgba(0,122,61,.26); }
.woocommerce ul.products li.product .triwuu-add-to-cart--disabled, .triwuu-add-to-cart--disabled { background:#777 !important; }
.triwuu-product-card__body { display:flex; flex-direction:column; flex:1; padding:26px 16px 18px; min-height:245px; }
.triwuu-product-card__price-line { margin-bottom:12px; }
.triwuu-product-card__price { color:#111; font-weight:900; font-size:22px; line-height:1.05; white-space:normal; letter-spacing:-.035em; }
.triwuu-product-card__price del { color:#7e8580; font-size:14px; font-weight:700; margin-right:6px; opacity:1; }
.triwuu-product-card__price ins { text-decoration:none; color:var(--triwuu-green-dark); }
.triwuu-product-card__unit { margin-top:4px; color:#6e756f; font-size:13px; line-height:1.25; }
.triwuu-product-card__category { align-self:flex-start; color:var(--triwuu-green); font-size:11px; font-weight:950; text-decoration:none; text-transform:uppercase; letter-spacing:.06em; margin-bottom:7px; }
.triwuu-product-card__title { font-size:16px !important; line-height:1.32 !important; margin:0 0 10px !important; padding:0 !important; font-weight:650; letter-spacing:-.015em; }
.triwuu-product-card__title a { color:#111; text-decoration:none; }
.triwuu-product-card__title a:hover { color:var(--triwuu-green-dark); }
.triwuu-product-card__format { color:#757b76; font-size:14px; line-height:1.25; margin:0 0 12px; }
.triwuu-product-card__meta { color:#6f7670; font-size:13px; line-height:1.35; margin-top:auto; padding-top:4px; }
.triwuu-product-card__rating { display:flex; align-items:center; gap:6px; margin-top:13px; font-size:13px; }
.triwuu-product-card__rating a { color:var(--triwuu-green); font-weight:800; text-decoration:none; }
.triwuu-stars { --percent: calc(var(--rating) / 5 * 100%); display:inline-block; font-size:16px; line-height:1; font-family:Arial, sans-serif; letter-spacing:-1px; }
.triwuu-stars::before { content:'★★★★★'; background:linear-gradient(90deg,#333 var(--percent),#cfd4d0 var(--percent)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.woocommerce ul.products li.product .triwuu-add-to-cart:not(.triwuu-add-to-cart--floating), .triwuu-add-to-cart:not(.triwuu-add-to-cart--floating) { display:inline-flex !important; align-items:center; justify-content:center; min-height:40px; border-radius:8px!important; padding:0 15px !important; background:var(--triwuu-green-dark) !important; color:#fff !important; font-size:12px !important; font-weight:950 !important; text-decoration:none !important; line-height:1 !important; border:0 !important; white-space:nowrap; }
.woocommerce a.added_to_cart { display:none !important; }
.triwuu-catalog-pagination { margin-top:30px; }
.triwuu-catalog-pagination .woocommerce-pagination ul { border:0 !important; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.triwuu-catalog-pagination .woocommerce-pagination ul li { border:0 !important; }
.triwuu-catalog-pagination .woocommerce-pagination ul li a, .triwuu-catalog-pagination .woocommerce-pagination ul li span { min-width:42px; min-height:42px; border-radius:8px!important; display:flex; align-items:center; justify-content:center; background:#fff; color:#222; border:1px solid var(--triwuu-line); font-weight:800; }
.triwuu-catalog-pagination .woocommerce-pagination ul li span.current, .triwuu-catalog-pagination .woocommerce-pagination ul li a:hover { background:var(--triwuu-green); color:#fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius:8px!important; border-top-color:var(--triwuu-green); background:#fff; box-shadow:0 8px 24px rgba(17,24,39,.05); }

@media (max-width:1180px) {
  .woocommerce ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .triwuu-shop-hero { grid-template-columns:1fr; }
  .triwuu-shop-hero__side { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:920px) {
  .triwuu-shop-categories__controls { display:none; }
  .triwuu-shop-categories__inner { padding-top:22px; padding-bottom:18px; }
  .triwuu-category-carousel { margin-left:calc(var(--wp--style--root--padding-left, 0px) * -1); margin-right:calc(var(--wp--style--root--padding-right, 0px) * -1); padding-left:2px; padding-bottom:14px; }
  .triwuu-category-chip { flex-basis:136px; min-height:158px; border-radius:8px!important; }
  .triwuu-category-chip__image { width:88px; height:76px; }
  .triwuu-shop-hero { padding-top:18px; }
  .triwuu-shop-hero__main { min-height:250px; padding:28px; border-radius:8px!important; }
  .triwuu-catalog-layout { grid-template-columns:1fr; }
  .triwuu-catalog-sidebar { display:none; }
  .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .triwuu-shop-categories__head { align-items:flex-start; }
  .triwuu-shop-categories__head h1, .triwuu-shop-categories__head h2 { font-size:2.15rem; }
  .triwuu-category-carousel { gap:10px; }
  .triwuu-category-chip { flex-basis:118px; min-height:146px; padding:12px 9px; }
  .triwuu-category-chip__image { width:78px; height:68px; border-radius:8px!important; }
  .triwuu-category-chip strong { font-size:12.5px; min-height:32px; }
  .triwuu-category-chip small { font-size:11px; }
  .triwuu-shop-hero { padding-bottom:20px; }
  .triwuu-shop-hero__main { min-height:230px; padding:24px; }
  .triwuu-shop-hero__main h2 { font-size:2.2rem; }
  .triwuu-shop-hero__main p { font-size:15px; }
  .triwuu-shop-hero__side { grid-template-columns:1fr; gap:12px; }
  .triwuu-shop-service-card { padding:20px; border-radius:8px!important; }
  .triwuu-catalog-hero__inner { padding-top:34px; padding-bottom:34px; }
  .triwuu-catalog-hero h1 { font-size:2.35rem; }
  .triwuu-catalog-description { font-size:15px; }
  .triwuu-catalog-layout { padding-top:18px; }
  .triwuu-catalog-toolbar { align-items:stretch; flex-direction:column; border-radius:8px!important; }
  .triwuu-catalog-toolbar select { width:100%; }
  .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px !important; }
  .triwuu-product-card__media { padding:12px; }
  .triwuu-product-card__body { padding:12px; }
  .triwuu-product-card__title { font-size:14px !important; }
  .triwuu-product-card__meta { display:none; }
  .triwuu-product-card__bottom { align-items:stretch; flex-direction:column; gap:8px; }
  .triwuu-product-card__price { font-size:18px; }
  .woocommerce ul.products li.product .triwuu-add-to-cart, .triwuu-add-to-cart { width:100%; min-height:38px; }
}

/* Árbol lateral de categorías hasta 3 niveles */
.triwuu-category-tree,
.triwuu-category-tree__children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.triwuu-category-tree {
  padding: 10px;
}

.triwuu-category-tree__item {
  position: relative;
}

.triwuu-category-tree__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 13px;
  border-radius:8px!important;
  color: #2b2f32;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  line-height: 1.2;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.triwuu-category-tree__link:hover,
.triwuu-category-tree__item.is-active > .triwuu-category-tree__link {
  background: var(--triwuu-mint);
  color: var(--triwuu-green-dark);
}

.triwuu-category-tree__link:hover {
  transform: translateX(2px);
}

.triwuu-category-tree__link em {
  flex: 0 0 auto;
  min-width: 26px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius:8px!important;
  background: #eff3f0;
  color: #56605a;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.triwuu-category-tree__item.is-active > .triwuu-category-tree__link em {
  background: #d9f7e4;
  color: var(--triwuu-green-dark);
}

.triwuu-category-tree__children {
  margin: 2px 0 5px 8px;
  padding-left: 10px;
  border-left: 1px solid #e4ece7;
}

.triwuu-category-tree__children .triwuu-category-tree__link {
  padding: 9px 10px;
  border-radius:8px!important;
  font-size: 13px;
  font-weight: 750;
  color: #48514c;
}

.triwuu-category-tree__children--level-3 .triwuu-category-tree__link {
  font-size: 12.5px;
  font-weight: 700;
  color: #626b66;
}

.triwuu-category-tree__item.is-expanded > .triwuu-category-tree__row .triwuu-category-tree__link {
  color: var(--triwuu-green-dark);
}

/* Ajuste final: sidebar de categorías plegado y tarjetas de producto corporativas */
.triwuu-category-tree__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.triwuu-category-tree__children[hidden] {
  display: none !important;
}

.triwuu-category-tree__toggle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius:8px!important;
  background: transparent;
  color: #6f7a73;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.triwuu-category-tree__toggle:hover,
.triwuu-category-tree__item.is-expanded > .triwuu-category-tree__row .triwuu-category-tree__toggle {
  background: #eef6f1;
  color: var(--triwuu-green-dark);
}

.triwuu-category-tree__toggle span {
  width: 0;
  height: 0;
  display: block;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transform: translateY(1px);
  transition: transform .18s ease;
}

.triwuu-category-tree__item.is-expanded > .triwuu-category-tree__row .triwuu-category-tree__toggle span {
  transform: rotate(180deg) translateY(1px);
}

.triwuu-category-tree__link {
  min-width: 0;
}

.triwuu-category-tree__item.has-children > .triwuu-category-tree__row .triwuu-category-tree__link {
  padding-right: 8px;
}

.triwuu-category-tree__children {
  margin: 7px 0 8px 14px;
  padding-left: 12px;
  border-left: 2px solid #e3efe7;
}

.triwuu-category-tree__children .triwuu-category-tree__children {
  margin-left: 10px;
}

.woocommerce ul.products li.product.triwuu-product-card,
.triwuu-product-card {
  border: 1px solid #e6eee8 !important;
  border-radius:8px!important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(23, 38, 31, .055) !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.woocommerce ul.products li.product.triwuu-product-card:hover,
.triwuu-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 96, 50, .25) !important;
  box-shadow: 0 18px 44px rgba(23, 38, 31, .105) !important;
}

.triwuu-product-card__media-wrap {
  padding: 16px 16px 0;
  background: #fff;
}

.triwuu-product-card__media {
  height: 245px !important;
  aspect-ratio: auto !important;
  border-radius:8px!important;
  background: #f7faf8 !important;
  padding: 18px !important;
  overflow: hidden !important;
}

.triwuu-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
}

.woocommerce ul.products li.product .triwuu-add-to-cart--floating,
.triwuu-add-to-cart--floating {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  min-height: 42px !important;
  margin-top: 5px !important;
  border-radius:8px!important;
  background: var(--triwuu-green-dark) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(0, 81, 43, .23) !important;
}

.woocommerce ul.products li.product .triwuu-add-to-cart--floating:hover,
.triwuu-add-to-cart--floating:hover {
  background: var(--triwuu-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 122, 61, .26) !important;
}

.triwuu-product-card__body {
  padding: 16px 16px 20px !important;
  min-height: 250px !important;
}

.triwuu-product-card__price {
  font-size: 24px !important;
  color: #141414 !important;
}

.triwuu-product-card__price del {
  color: #8b928d !important;
  font-size: 14px !important;
}

.triwuu-product-card__price ins {
  color: var(--triwuu-green-dark) !important;
}

.triwuu-product-card__category {
  color: var(--triwuu-green) !important;
  letter-spacing: .07em !important;
}

.triwuu-product-card__title {
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.27 !important;
  letter-spacing: -.025em !important;
}

.triwuu-product-card__meta {
  color: #747d77 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  .triwuu-product-card__media {
    height: 165px !important;
    padding: 12px !important;
  }

  .woocommerce ul.products li.product .triwuu-add-to-cart--floating,
  .triwuu-add-to-cart--floating {
    position: static !important;
    left: auto !important;
    right: auto !important;
    min-height: 38px !important;
    margin-top: 5px !important;
    font-size: 12.5px !important;
  }

  .triwuu-product-card__body {
    padding: 13px 12px 15px !important;
    min-height: 190px !important;
  }
}

/* TRIWUU_RADIUS_STANDARD: radio global unificado */
:root{--triwuu-radius:8px;}
.rounded,.rounded-sm,.rounded-md,.rounded-lg,.rounded-xl,.rounded-2xl,.rounded-3xl,.rounded-full{border-radius:var(--triwuu-radius)!important;}
.rounded-t,.rounded-t-sm,.rounded-t-md,.rounded-t-lg,.rounded-t-xl,.rounded-t-2xl,.rounded-t-3xl{border-top-left-radius:var(--triwuu-radius)!important;border-top-right-radius:var(--triwuu-radius)!important;}
.rounded-b,.rounded-b-sm,.rounded-b-md,.rounded-b-lg,.rounded-b-xl,.rounded-b-2xl,.rounded-b-3xl{border-bottom-left-radius:var(--triwuu-radius)!important;border-bottom-right-radius:var(--triwuu-radius)!important;}
.rounded-l,.rounded-l-sm,.rounded-l-md,.rounded-l-lg,.rounded-l-xl,.rounded-l-2xl,.rounded-l-3xl{border-top-left-radius:var(--triwuu-radius)!important;border-bottom-left-radius:var(--triwuu-radius)!important;}
.rounded-r,.rounded-r-sm,.rounded-r-md,.rounded-r-lg,.rounded-r-xl,.rounded-r-2xl,.rounded-r-3xl{border-top-right-radius:var(--triwuu-radius)!important;border-bottom-right-radius:var(--triwuu-radius)!important;}


/* Ajuste visual cards: imagen, botón y textos alineados; botón más próximo a imagen */
.triwuu-product-card__media-wrap {
  padding: 16px 16px 0 !important;
}
.triwuu-product-card__body {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.woocommerce ul.products li.product .triwuu-add-to-cart--floating,
.triwuu-add-to-cart--floating {
  margin-top: 5px !important;
}
@media (max-width: 640px) {
  .triwuu-product-card__media-wrap {
    padding: 12px 12px 0 !important;
  }
  .triwuu-product-card__body {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Pagination ajustada: botones cuadrados, equilibrados y centrados */
.triwuu-catalog-pagination,
.woocommerce nav.woocommerce-pagination {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}
.triwuu-catalog-pagination .woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  list-style: none !important;
}
.triwuu-catalog-pagination .woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-pagination ul.page-numbers li {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  line-height: 1 !important;
}
.triwuu-catalog-pagination .woocommerce-pagination ul li a,
.triwuu-catalog-pagination .woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers,
.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce-pagination ul.page-numbers li span.page-numbers {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  background: #ffffff !important;
  color: #1f251f !important;
  border: 1px solid #dfe5df !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  box-shadow: 0 3px 10px rgba(16, 24, 20, .04) !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.triwuu-catalog-pagination .woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul.page-numbers li span.current {
  background: var(--triwuu-green-dark) !important;
  border-color: var(--triwuu-green-dark) !important;
  color: #ffffff !important;
}
.triwuu-catalog-pagination .woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover,
.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
  background: var(--triwuu-green-soft) !important;
  border-color: var(--triwuu-green-dark) !important;
  color: var(--triwuu-green-dark) !important;
  transform: translateY(-1px);
}
.triwuu-catalog-pagination .woocommerce-pagination ul li a.next,
.triwuu-catalog-pagination .woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev {
  font-size: 18px !important;
  font-weight: 850 !important;
}


/* v46 - Footer configurable, degradados por imagen y ajustes de ficha */
.triwuu-footer {
  position: relative;
  overflow: hidden;
  background: #020202 var(--triwuu-footer-bg, none) center/cover no-repeat;
  color: #f6fff9;
  padding: clamp(56px, 8vw, 96px) 0 26px;
  isolation: isolate;
}
.triwuu-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--triwuu-footer-bg, none) center/cover no-repeat;
  transform: scale(1.02);
}
.triwuu-footer__shade,
.triwuu-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.triwuu-footer__shade {
  z-index: -1;
  background:
    radial-gradient(ellipse at 18% 45%, rgba(45, 203, 160, .10) 0%, rgba(45, 203, 160, 0) 34%),
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 48%, rgba(0,0,0,.92) 100%);
}
.triwuu-footer::after {
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.74));
}
.triwuu-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}
.triwuu-footer-logo-wrap {
  margin-bottom: clamp(34px, 5vw, 64px);
}
.triwuu-footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.triwuu-footer-logo-img,
.triwuu-footer-logo img,
.triwuu-footer-logo .custom-logo {
  display: block;
  width: auto;
  height: clamp(42px, 5vw, 72px);
  max-width: 260px;
  object-fit: contain;
}
.triwuu-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 92px);
}
.triwuu-footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(17px, 1.35vw, 24px);
  line-height: 1.02;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.035em;
}
.triwuu-footer-menu {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.triwuu-footer-menu li { list-style: none; margin: 0; padding: 0; }
.triwuu-footer-menu a {
  color: rgba(255,255,255,.82);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.25;
  font-weight: 600;
  text-decoration: none;
}
.triwuu-footer-menu a:hover { color: #2ccba0; }
.triwuu-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(46px, 7vw, 86px);
  padding-top: 22px;
  border-top: 1px solid rgba(44,203,160,.35);
}
.triwuu-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.triwuu-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(44,203,160,.42);
  border-radius: 999px;
  color: #2ccba0;
  background: rgba(0,0,0,.16);
}
.triwuu-footer-social svg { width: 14px; height: 14px; }
.triwuu-footer-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 700;
}
.triwuu-footer-legal {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.triwuu-footer-legal li { display: inline-flex; align-items: center; list-style: none; }
.triwuu-footer-legal li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(44,203,160,.75);
}
.triwuu-footer-legal a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.triwuu-footer-legal a:hover { color: #2ccba0; }

.triwuu-catalog-hero {
  background:
    linear-gradient(90deg, rgba(44,203,160,.96) 0%, rgba(44,203,160,.80) 43%, rgba(44,203,160,.30) 70%, rgba(44,203,160,.06) 100%),
    var(--triwuu-catalog-hero-image, none) center/cover no-repeat !important;
}
.triwuu-category-chip.has-image .triwuu-category-chip__image {
  position: relative;
  background:
    linear-gradient(180deg, rgba(44,203,160,.10) 0%, rgba(44,203,160,.42) 100%),
    var(--triwuu-category-image, none) center/cover no-repeat;
}
.triwuu-category-chip.has-image .triwuu-category-chip__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.18), rgba(255,255,255,0) 58%);
  pointer-events: none;
}
.triwuu-product-card__media {
  background:
    linear-gradient(180deg, rgba(232,250,243,.86) 0%, rgba(255,255,255,.96) 64%),
    var(--triwuu-product-image, none) center/cover no-repeat;
}
.triwuu-product-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(44,203,160,.16), rgba(44,203,160,0) 56%);
  pointer-events: none;
}
.triwuu-product-card__media img { position: relative; z-index: 1; }
.triwuu-eci-product-detail .triwuu-eci-category-strip { display: none !important; }
.triwuu-eci-breadcrumbs { padding-top: clamp(22px, 3vw, 38px); }
.triwuu-eci-related-section {
  background: #eefaf6;
  padding: clamp(36px, 5vw, 72px) 0;
}
.triwuu-eci-related-section h2 {
  margin: 0 0 22px;
  color: #151515;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: lowercase;
}

@media (max-width: 900px) {
  .triwuu-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triwuu-footer-bottom { align-items: flex-start; flex-direction: column; }
  .triwuu-footer-copy { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .triwuu-footer { padding: 42px 0 22px; }
  .triwuu-footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .triwuu-footer-logo-wrap { text-align: center; }
  .triwuu-footer-logo { justify-content: center; width: 100%; }
  .triwuu-footer-social { width: 100%; justify-content: center; }
  .triwuu-footer-copy { justify-content: center; text-align: center; }
}

/* v52 - Footer: velo de fondo ligeramente más claro */
@media (min-width: 1025px) {
  .triwuu-footer__shade {
    background:
      radial-gradient(ellipse at 17% 48%, rgba(44, 203, 160, .10) 0%, rgba(44, 203, 160, 0) 38%),
      linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.88) 100%) !important;
  }

  .triwuu-footer::after {
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.58)) !important;
  }
}

/* v55 - Icono de carrito exacto en botones de compra de listados */
.woocommerce ul.products li.product .triwuu-add-to-cart--floating::before,
.triwuu-add-to-cart--floating::before,
.woocommerce a.button.add_to_cart_button::before,
.triwuu-add-to-cart::before {
  content:"" !important;
  display:inline-block !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  margin-right:7px !important;
  background:url('../img/icono-carrito.png') center/contain no-repeat !important;
  filter:brightness(0) invert(1) !important;
  vertical-align:-3px !important;
}
.woocommerce ul.products li.product .triwuu-add-to-cart--floating,
.triwuu-add-to-cart--floating,
.woocommerce a.button.add_to_cart_button,
.triwuu-add-to-cart { gap:7px !important; }

.triwuu-add-to-cart__icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;background:url('../img/icono-carrito.png') center/contain no-repeat;filter:brightness(0) invert(1);}

/* v69 - Listado por categorías y subcategorías como maqueta Triwuu */
:root {
  --triwuu-green: #35d0a3;
  --triwuu-green-dark: #44494a;
  --triwuu-mint: #eaf8f6;
  --triwuu-mint-2: #dff4ef;
  --triwuu-copy: #3f4445;
}

.triwuu-catalog-page.triwuu-category-landing {
  background: #ffffff !important;
  overflow: hidden;
}

.triwuu-category-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, #5cc4a0 0%, #9fe4d0 50%, #ffffff 100%);
  overflow: hidden;
}

.triwuu-category-hero.has-image {
  background:
    linear-gradient(90deg, rgba(70, 196, 153, .96) 0%, rgba(67, 196, 153, .78) 43%, rgba(67, 196, 153, .22) 70%, rgba(67, 196, 153, 0) 100%),
    var(--triwuu-category-hero-image) center right/cover no-repeat !important;
}

.triwuu-category-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53,208,163,.40), rgba(255,255,255,0) 68%);
  pointer-events: none;
}

.triwuu-category-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  padding-top: 62px;
  padding-bottom: 62px;
}

.triwuu-category-hero__copy {
  max-width: 650px;
  color: #070707;
}

.triwuu-category-hero__breadcrumb,
.triwuu-category-hero__breadcrumb .woocommerce-breadcrumb,
.triwuu-category-hero__breadcrumb a {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

.triwuu-category-hero__breadcrumb {
  margin-bottom: 22px;
}

.triwuu-category-hero__breadcrumb span {
  display: inline-block;
  margin: 0 8px;
  color: #ffffff;
  font-weight: 900;
}

.triwuu-category-hero__breadcrumb .breadcrumb-separator,
.triwuu-category-hero__breadcrumb .delimiter {
  color: #fff !important;
}

.triwuu-category-hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 235px;
  min-height: 37px;
  padding: 0 28px;
  margin-bottom: 24px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 999px !important;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .52em;
  text-transform: lowercase;
}

.triwuu-category-hero h1 {
  margin: 0 0 20px !important;
  color: #050505 !important;
  font-size: clamp(58px, 7.2vw, 102px) !important;
  line-height: .88 !important;
  font-weight: 520 !important;
  letter-spacing: -.065em !important;
  text-transform: lowercase !important;
}

.triwuu-category-hero p,
.triwuu-category-hero .triwuu-catalog-description {
  margin: 0;
  max-width: 585px;
  color: #050505 !important;
  font-size: clamp(24px, 2.35vw, 34px) !important;
  line-height: 1.08 !important;
  font-weight: 580 !important;
  letter-spacing: -.025em;
}

.triwuu-subcategory-block {
  background: #ffffff;
}

.triwuu-subcategory-block__backbar {
  background: #ffffff;
  min-height: 62px;
  display: flex;
  align-items: center;
}

.triwuu-subcategory-block__backbar .container-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.triwuu-subcategory-block .triwuu-shop-back-link {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #56b998 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

.triwuu-subcategory-block .triwuu-shop-back-link::before {
  content: '←' !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #56b998 !important;
  font-size: 34px !important;
  line-height: .7 !important;
  transform: translateY(-1px);
}

.triwuu-subcategory-block .triwuu-shop-categories__controls {
  display: flex;
  gap: 30px;
}

.triwuu-subcategory-block .triwuu-cat-scroll {
  width: 28px !important;
  height: 42px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6d7071 !important;
  font-size: 60px !important;
  font-weight: 200 !important;
  line-height: .6 !important;
  padding: 0 !important;
}

.triwuu-subcategory-stage {
  position: relative;
  min-height: 315px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.58)),
    linear-gradient(135deg, #b7ead7, #f1faf7);
  overflow: hidden;
}

.triwuu-subcategory-stage.has-image {
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.68) 82%),
    var(--triwuu-subcategory-stage-image) center/cover no-repeat !important;
}

.triwuu-subcategory-stage__inner {
  padding-top: 78px;
  padding-bottom: 60px;
}

.triwuu-category-carousel--bubbles {
  align-items: flex-start;
  gap: clamp(26px, 4.8vw, 78px) !important;
  padding: 0 10px 16px !important;
  scrollbar-width: none;
}

.triwuu-category-carousel--bubbles::-webkit-scrollbar { display: none; }

.triwuu-category-chip--bubble {
  flex: 0 0 210px !important;
  min-height: 292px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 20px 26px !important;
  border: 0 !important;
  border-radius: 120px 120px 80px 80px !important;
  background: #55bfa0 !important;
  color: #44494a !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-align: center !important;
  overflow: visible !important;
  transform: none !important;
}

.triwuu-category-chip--bubble.is-current,
.triwuu-category-chip--bubble:hover {
  background: #35d0a3 !important;
  color: #303738 !important;
}

.triwuu-category-chip--bubble .triwuu-category-chip__image {
  width: 192px !important;
  height: 192px !important;
  margin-top: -2px;
  margin-bottom: 21px;
  border: 8px solid #35d0a3 !important;
  border-radius: 50% !important;
  background: #fff var(--triwuu-category-image, none) center/cover no-repeat !important;
  box-shadow: 0 3px 4px rgba(0,0,0,.08) !important;
}

.triwuu-category-chip--bubble .triwuu-category-chip__image em {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 52px;
  color: #35d0a3;
}

.triwuu-category-chip--bubble strong {
  display: block !important;
  min-height: auto !important;
  color: #4b5252 !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: .96 !important;
  letter-spacing: -.04em !important;
}

.triwuu-category-chip--bubble small {
  display: block !important;
  margin-top: 13px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.triwuu-catalog-layout {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: flex-start;
  padding-top: 0 !important;
  padding-bottom: 52px !important;
  background: #fff;
}

.triwuu-catalog-sidebar {
  position: relative;
  z-index: 5;
  margin-top: -68px;
}

.triwuu-sidebar-card {
  border: 0 !important;
  border-radius: 118px 118px 8px 8px !important;
  background: #d8d8d8 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 18px 12px 20px !important;
}

.triwuu-sidebar-card__mark {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.triwuu-sidebar-card__mark img {
  display: block;
  width: 138px;
  max-width: 78%;
  height: auto;
  object-fit: contain;
}

.triwuu-sidebar-card h2 {
  width: calc(100% - 20px);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #35d0a3 !important;
  color: #4b5252 !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  letter-spacing: .48em !important;
  text-transform: lowercase !important;
}

.triwuu-category-tree {
  padding: 0 10px 0 !important;
}

.triwuu-category-tree__row {
  gap: 4px !important;
}

.triwuu-category-tree__link {
  min-height: 22px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #4f5656 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.triwuu-category-tree__link em {
  min-width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #4f5656 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.triwuu-category-tree__toggle {
  width: 24px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #35d0a3 !important;
}

.triwuu-category-tree__children {
  margin: 5px 0 6px 10px !important;
  padding-left: 8px !important;
  border-left: 1px solid rgba(53,208,163,.45) !important;
}




.triwuu-catalog-main {
  min-width: 0;
}

.triwuu-catalog-toolbar {
  min-height: 58px !important;
  margin: 0 0 34px !important;
  padding: 0 0 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f3f3 !important;
  box-shadow: none !important;
}

.triwuu-catalog-toolbar .woocommerce-result-count,
.triwuu-catalog-toolbar .woocommerce-ordering,
.triwuu-catalog-toolbar .orderby {
  color: #9a9a9a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

.triwuu-catalog-toolbar .woocommerce-ordering::before {
  content: '|';
  margin: 0 28px 0 0;
  color: #9a9a9a;
}

.triwuu-catalog-toolbar select {
  height: 58px !important;
  padding-right: 54px !important;
  border: 0 !important;
  background: transparent !important;
  color: #9a9a9a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

.woocommerce ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 34px 30px !important;
  align-items: stretch !important;
}

.woocommerce ul.products li.product.triwuu-supermarket-card,
.triwuu-supermarket-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  border: 0 !important;
  border-radius: 115px !important;
  background: #eaf8f6 !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: center !important;
  padding: 15px 16px 16px !important;
}

.woocommerce ul.products li.product.triwuu-supermarket-card:hover,
.triwuu-supermarket-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(53,208,163,.16) !important;
}

.triwuu-supermarket-card .triwuu-product-card__media-wrap {
  padding: 0 !important;
  background: transparent !important;
  position: relative !important;
}

.triwuu-supermarket-card .triwuu-product-card__media {
  width: 184px !important;
  height: 184px !important;
  aspect-ratio: auto !important;
  margin: 0 auto 10px !important;
  padding: 16px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  overflow: visible !important;
}

.triwuu-supermarket-card .triwuu-product-card__media::before {
  display: none !important;
}

.triwuu-supermarket-card .triwuu-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}

.triwuu-supermarket-card .triwuu-product-badge--sale {
  position: absolute !important;
  left: -23px !important;
  top: 28px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 33px !important;
  padding: 0 16px 0 12px !important;
  border-radius: 0 !important;
  background: #e31635 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%) !important;
}

.triwuu-supermarket-card .triwuu-product-badge--stock {
  position: absolute !important;
  left: 50% !important;
  top: 8px !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
  border-radius: 999px !important;
  background: #444 !important;
  color: #fff !important;
  font-size: 12px !important;
  padding: 6px 10px !important;
}

.triwuu-supermarket-card .triwuu-product-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.triwuu-supermarket-card .triwuu-product-card__title {
  margin: 0 0 7px !important;
  color: #4b5353 !important;
  font-size: 22px !important;
  line-height: .98 !important;
  font-weight: 520 !important;
  letter-spacing: -.045em !important;
}

.triwuu-supermarket-card .triwuu-product-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.triwuu-supermarket-card .triwuu-product-card__title strong,
.triwuu-supermarket-card .triwuu-product-card__title span {
  display: inline !important;
}

.triwuu-supermarket-card .triwuu-product-card__title strong {
  font-weight: 950 !important;
}

.triwuu-supermarket-card .triwuu-product-card__divider {
  height: 4px;
  width: 100%;
  margin: 0 0 8px;
  background: #56b998;
}

.triwuu-supermarket-card .triwuu-product-card__normal-price {
  color: #555 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.triwuu-supermarket-card .triwuu-product-card__normal-price del {
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.triwuu-supermarket-card .triwuu-product-card__price {
  margin: 0 !important;
  color: #35d0a3 !important;
  font-size: 17px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

.triwuu-supermarket-card .triwuu-product-card__price span {
  display: inline !important;
  color: #35d0a3 !important;
}

.triwuu-supermarket-card .triwuu-product-card__price del {
  display: none !important;
}

.triwuu-supermarket-card .triwuu-product-card__price ins,
.triwuu-supermarket-card .triwuu-product-card__price .amount {
  color: #35d0a3 !important;
  text-decoration: none !important;
  font-weight: 950 !important;
}

.triwuu-supermarket-card .triwuu-product-card__offer {
  min-height: 39px;
  margin-top: 4px;
  color: #555 !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.triwuu-supermarket-card .triwuu-product-card__offer strong,
.triwuu-supermarket-card .triwuu-product-card__offer span,
.triwuu-supermarket-card .triwuu-product-card__offer em {
  display: block;
  font-style: normal;
}

.triwuu-supermarket-card .triwuu-product-card__category {
  align-self: center !important;
  margin: 2px 0 4px !important;
  color: #4b5353 !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
}

.triwuu-supermarket-card .triwuu-product-card__meta {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #4b5353 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.woocommerce ul.products li.product.triwuu-supermarket-card .triwuu-add-to-cart--floating,
.triwuu-supermarket-card .triwuu-add-to-cart--floating {
  min-height: 29px !important;
  width: auto !important;
  min-width: 148px !important;
  align-self: center !important;
  margin: auto auto 0 !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  background: #56b998 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: lowercase !important;
}

.triwuu-supermarket-card .triwuu-add-to-cart--floating:hover {
  background: #35d0a3 !important;
  transform: translateY(-1px) !important;
}

.triwuu-supermarket-card .triwuu-add-to-cart__icon {
  display: none !important;
}

.triwuu-supermarket-card .triwuu-add-to-cart--floating::before {
  width: 16px !important;
  height: 16px !important;
  flex-basis: 16px !important;
  margin-right: 4px !important;
}

@media (max-width: 1180px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .triwuu-category-chip--bubble { flex-basis: 190px !important; }
  .triwuu-category-chip--bubble .triwuu-category-chip__image { width: 174px !important; height: 174px !important; }
}

@media (max-width: 920px) {
  .triwuu-category-hero { min-height: 360px; }
  .triwuu-category-hero__inner { padding-top: 44px; padding-bottom: 44px; }
  .triwuu-catalog-layout { grid-template-columns: 1fr !important; padding-top: 28px !important; }
  .triwuu-catalog-sidebar { display: none !important; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .triwuu-subcategory-stage__inner { padding-top: 44px; padding-bottom: 38px; }
}

@media (max-width: 640px) {
  .triwuu-category-hero h1 { font-size: 48px !important; }
  .triwuu-category-hero p { font-size: 20px !important; }
  .triwuu-category-hero__pill { min-width: 180px; font-size: 13px; letter-spacing: .38em; }
  .triwuu-subcategory-block__backbar .container-site { align-items: flex-start; flex-direction: column; padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .triwuu-subcategory-block .triwuu-shop-categories__controls { display: none !important; }
  .triwuu-category-chip--bubble { flex-basis: 155px !important; min-height: 230px !important; padding: 0 13px 18px !important; }
  .triwuu-category-chip--bubble .triwuu-category-chip__image { width: 142px !important; height: 142px !important; border-width: 6px !important; }
  .triwuu-category-chip--bubble strong { font-size: 17px !important; }
  .woocommerce ul.products { gap: 18px 12px !important; }
  .woocommerce ul.products li.product.triwuu-supermarket-card { border-radius: 86px !important; padding: 11px !important; }
  .triwuu-supermarket-card .triwuu-product-card__media { width: 132px !important; height: 132px !important; padding: 10px !important; }
  .triwuu-supermarket-card .triwuu-product-card__title { font-size: 15px !important; }
  .triwuu-supermarket-card .triwuu-product-card__normal-price { font-size: 11px !important; }
  .triwuu-supermarket-card .triwuu-product-card__price { font-size: 13px !important; }
  .triwuu-supermarket-card .triwuu-product-card__meta { display: none !important; }
  .woocommerce ul.products li.product.triwuu-supermarket-card .triwuu-add-to-cart--floating { min-width: 118px !important; font-size: 10.5px !important; }
}

/* v71 - Caja de texto en cabecera de categoría y flechas retiradas */
.triwuu-category-hero > .container-site,
.triwuu-category-hero__inner {
  width: min(100% - 32px, 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.triwuu-category-hero__copy {
  max-width: 650px;
}
.triwuu-shop-categories__controls,
.triwuu-cat-scroll {
  display: none !important;
}

/* v73 - Ajuste fiel de subcategorías y cabecera del listado lateral */
.triwuu-subcategory-stage__inner {
  display: flex;
  justify-content: center;
}

.triwuu-category-carousel--bubbles {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(34px, 4vw, 62px) !important;
  padding: 0 20px 18px !important;
  overflow-x: auto;
}

.triwuu-category-chip--bubble {
  flex: 0 0 194px !important;
  width: 194px !important;
  min-width: 194px !important;
  min-height: 278px !important;
  padding: 0 16px 22px !important;
  border-radius: 98px 98px 92px 92px !important;
  background: #58c5a4 !important;
  overflow: hidden !important;
}

.triwuu-category-chip--bubble.is-current,
.triwuu-category-chip--bubble:hover {
  background: #58c5a4 !important;
  transform: none !important;
}

.triwuu-category-chip--bubble .triwuu-category-chip__image {
  flex: 0 0 auto;
  width: 174px !important;
  height: 174px !important;
  margin: 7px auto 16px !important;
  border: 6px solid #35d0a3 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.triwuu-category-chip--bubble strong {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4b5252 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
}

.triwuu-category-chip--bubble small {
  margin: 9px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.triwuu-sidebar-card {
  padding-top: 24px !important;
}

.triwuu-sidebar-card__mark {
  width: 100%;
  height: 96px !important;
  margin: 0 auto 12px !important;
  padding: 0 14px;
  overflow: visible;
}

.triwuu-sidebar-card__mark img {
  width: 118px !important;
  max-width: 100% !important;
  max-height: 92px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.triwuu-sidebar-card h2 {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
}

@media (max-width: 1180px) {
  .triwuu-category-carousel--bubbles {
    justify-content: flex-start !important;
  }
  .triwuu-category-chip--bubble {
    flex-basis: 184px !important;
    width: 184px !important;
    min-width: 184px !important;
  }
  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 164px !important;
    height: 164px !important;
  }
}

@media (max-width: 640px) {
  .triwuu-category-chip--bubble {
    flex-basis: 154px !important;
    width: 154px !important;
    min-width: 154px !important;
    min-height: 224px !important;
    padding: 0 10px 18px !important;
    border-radius: 78px 78px 72px 72px !important;
  }
  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 136px !important;
    height: 136px !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
  }
  .triwuu-category-chip--bubble strong {
    min-height: 38px !important;
    font-size: 16px !important;
  }
}


/* v74 - Segunda imagen de fondo y alineación exacta de las subcategorías */
.triwuu-category-chip--bubble {
  box-sizing: border-box !important;
  padding: 0 14px 22px !important;
}

.triwuu-category-chip--bubble .triwuu-category-chip__image {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 178px !important;
  height: 178px !important;
  min-width: 178px !important;
  margin: 8px 0 16px !important;
  border-width: 6px !important;
  background-position: center center !important;
}

.triwuu-category-chip--bubble strong,
.triwuu-category-chip--bubble small {
  position: relative;
  z-index: 2;
}

@media (max-width: 1180px) {
  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 168px !important;
    height: 168px !important;
    min-width: 168px !important;
  }
}

@media (max-width: 640px) {
  .triwuu-category-chip--bubble {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 138px !important;
    height: 138px !important;
    min-width: 138px !important;
    margin-top: 7px !important;
  }
}


/* v75 - Fondo personalizado correcto y centrado real de las miniaturas */
.triwuu-category-chip--bubble {
  box-sizing: border-box !important;
  width: 210px !important;
  min-width: 210px !important;
  flex-basis: 210px !important;
  padding: 0 0 26px !important;
  border-radius: 105px !important;
  overflow: hidden !important;
}

.triwuu-category-chip--bubble .triwuu-category-chip__image {
  position: static !important;
  left: auto !important;
  transform: none !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 192px !important;
  height: 192px !important;
  min-width: 192px !important;
  margin: 8px auto 20px !important;
  box-sizing: border-box !important;
}

.triwuu-category-chip--bubble strong,
.triwuu-category-chip--bubble small {
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

@media (max-width: 1180px) {
  .triwuu-category-chip--bubble {
    width: 190px !important;
    min-width: 190px !important;
    flex-basis: 190px !important;
    border-radius: 95px !important;
  }

  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 172px !important;
    height: 172px !important;
    min-width: 172px !important;
  }
}

@media (max-width: 640px) {
  .triwuu-category-chip--bubble {
    width: 156px !important;
    min-width: 156px !important;
    flex-basis: 156px !important;
    padding: 0 0 18px !important;
    border-radius: 78px !important;
  }

  .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 142px !important;
    height: 142px !important;
    min-width: 142px !important;
    margin: 7px auto 13px !important;
  }

  .triwuu-category-chip--bubble strong,
  .triwuu-category-chip--bubble small {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* v76 - Ajuste visual del listado lateral de categorías */
.triwuu-sidebar-card {
  background: linear-gradient(
    180deg,
    #d8d8d8 0%,
    #d8d8d8 82%,
    #e7e7e7 94%,
    #ffffff 100%
  ) !important;
}

.triwuu-category-tree__item {
  margin-bottom: 5px !important;
}

.triwuu-category-tree__item:last-child {
  margin-bottom: 0 !important;
}

.triwuu-category-tree__children > .triwuu-category-tree__item {
  margin-bottom: 5px !important;
}

/* v77 - Filtros WooCommerce y orden de categorías */
.triwuu-sidebar-filters {
  margin-top: 28px !important;
  padding-bottom: 28px !important;
}

.triwuu-sidebar-filters h2 {
  letter-spacing: .42em !important;
}

.triwuu-product-filters {
  display: grid;
  gap: 14px;
  padding: 0 10px;
}

.triwuu-product-filter {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}

.triwuu-product-filter__title {
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  color: #4f5656;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
}

.triwuu-product-filter > label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4f5656;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.triwuu-product-filter input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #35d0a3;
}

.triwuu-offer-threshold {
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.triwuu-offer-threshold.is-visible {
  display: grid;
}

.triwuu-offer-threshold > label,
.triwuu-filter-price-row label > span {
  color: #626969;
  font-size: 11px;
  font-weight: 800;
}

.triwuu-filter-input-unit {
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  width: 92px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid rgba(53,208,163,.65);
  border-radius: 999px;
  background: #fff;
}

.triwuu-filter-input-unit input,
.triwuu-filter-price-row input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #4f5656;
  font-size: 12px;
  font-weight: 800;
}

.triwuu-filter-input-unit span {
  display: grid;
  place-items: center;
  align-self: stretch;
  background: #35d0a3;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.triwuu-filter-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.triwuu-filter-price-row label {
  display: grid;
  gap: 4px;
}

.triwuu-filter-price-row input {
  border: 1px solid rgba(53,208,163,.65) !important;
  border-radius: 999px;
  background: #fff !important;
}

.triwuu-filter-submit,
.triwuu-filter-reset {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.triwuu-filter-submit {
  background: #35d0a3;
  color: #fff;
  cursor: pointer;
}

.triwuu-filter-reset {
  min-height: 28px;
  color: #4f5656;
  text-decoration: underline;
}


/* v81 - Solo filtros de oferta y precio; títulos dentro de las tarjetas */
.triwuu-product-filter {
  padding: 16px 12px 14px !important;
}
.triwuu-product-filter__title {
  display: block !important;
  position: static !important;
  float: none !important;
  box-sizing: border-box;
}

/* v83 - Borde blanco en la imagen de categorías y subcategorías */
.triwuu-category-chip--bubble .triwuu-category-chip__image {
  border-color: #ffffff !important;
}

/* v1.0.84 — barra de resultados a ancho completo y separador único */
.triwuu-catalog-toolbar {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: stretch !important;
  overflow: visible !important;
  background: #f3f3f3 !important;
  box-shadow: 0 0 0 100vmax #f3f3f3 !important;
  clip-path: inset(0 -100vmax) !important;
}

.triwuu-catalog-toolbar__left,
.triwuu-catalog-toolbar__right {
  flex: 1 1 50% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 58px !important;
}

.triwuu-catalog-toolbar__left {
  justify-content: flex-start !important;
}

.triwuu-catalog-toolbar__right {
  justify-content: center !important;
  border-left: 2px solid #9a9a9a !important;
}

/* Evita el segundo separador pequeño generado anteriormente. */
.triwuu-catalog-toolbar .woocommerce-ordering::before,
.triwuu-catalog-toolbar__right::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  .triwuu-catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .triwuu-catalog-toolbar__left,
  .triwuu-catalog-toolbar__right {
    flex-basis: auto !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .triwuu-catalog-toolbar__right {
    border-left: 0 !important;
    border-top: 1px solid #d2d2d2 !important;
  }
}

/* v1.0.85 — barra de resultados compacta en móvil */
@media (max-width: 767px) {
  .triwuu-catalog-toolbar {
    flex-direction: row !important;
    align-items: center !important;
    min-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .triwuu-catalog-toolbar__left,
  .triwuu-catalog-toolbar__right {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-height: 42px !important;
    padding: 4px 8px !important;
    justify-content: center !important;
  }

  .triwuu-catalog-toolbar__right {
    border-top: 0 !important;
    border-left: 1px solid #9a9a9a !important;
  }

  .triwuu-catalog-toolbar .woocommerce-result-count {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .triwuu-catalog-toolbar .woocommerce-ordering {
    width: 100% !important;
    margin: 0 !important;
  }

  .triwuu-catalog-toolbar .woocommerce-ordering select {
    width: 100% !important;
    min-height: 30px !important;
    height: 30px !important;
    padding: 2px 24px 2px 6px !important;
    border: 0 !important;
    background-color: transparent !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 420px) {
  .triwuu-catalog-toolbar__left {
    flex-basis: 42% !important;
    width: 42% !important;
  }

  .triwuu-catalog-toolbar__right {
    flex-basis: 58% !important;
    width: 58% !important;
  }
}

/* v86 - En móvil, la barra de resultados queda pegada al bloque superior */
@media (max-width: 920px) {
  .triwuu-catalog-layout {
    padding-top: 0 !important;
  }

  .triwuu-catalog-toolbar {
    margin-top: 0 !important;
  }
}


/* v89 - Ajustes puntuales de tarjeta de producto sobre la base v87 */
.woocommerce ul.products li.product.triwuu-supermarket-card {
  background: #eaf8f6 !important;
}

.triwuu-supermarket-card .triwuu-product-card__media-wrap,
.triwuu-supermarket-card .triwuu-product-card__body,
.triwuu-supermarket-card .triwuu-product-card__title,
.triwuu-supermarket-card .triwuu-product-card__price-line,
.triwuu-supermarket-card .triwuu-product-card__offer,
.triwuu-supermarket-card .triwuu-product-card__category,
.triwuu-supermarket-card .triwuu-product-card__meta {
  background: transparent !important;
}

.triwuu-supermarket-card .triwuu-product-card__title strong {
  font-weight: 950 !important;
}

.triwuu-supermarket-card .triwuu-product-card__title span {
  font-weight: 520 !important;
}

.triwuu-supermarket-card .triwuu-product-card__stock {
  color: #e31635 !important;
  font-weight: 950 !important;
  font-style: normal !important;
}


/* v1.0.90: ajustes finos en tarjetas de producto */
.woocommerce ul.products li.product.triwuu-supermarket-card,
.triwuu-supermarket-card {
  border-radius: 115px !important;
}
.triwuu-supermarket-card .triwuu-product-card__normal-price { font-size: 14px !important; }
.triwuu-supermarket-card .triwuu-product-card__price { font-size: 17px !important; }
.triwuu-supermarket-card .triwuu-product-card__offer { font-size: 11px !important; line-height: 1.15 !important; }
.triwuu-supermarket-card .triwuu-product-card__category { font-size: 12px !important; line-height: 1.15 !important; }
.triwuu-supermarket-card .triwuu-product-card__meta { font-size: 11px !important; line-height: 1.2 !important; }
.triwuu-supermarket-card .triwuu-add-to-cart--floating { font-size: 13px !important; }
@media (max-width: 640px) {
  .woocommerce ul.products li.product.triwuu-supermarket-card,
  .triwuu-supermarket-card { border-radius: 86px !important; }
  .triwuu-supermarket-card .triwuu-product-card__normal-price { font-size: 11px !important; }
  .triwuu-supermarket-card .triwuu-product-card__price { font-size: 13px !important; }
  .triwuu-supermarket-card .triwuu-product-card__offer,
  .triwuu-supermarket-card .triwuu-product-card__category,
  .triwuu-supermarket-card .triwuu-product-card__meta { font-size: 10px !important; }
}

/* v1.0.91: mismo formato de tarjeta en relacionados y portada de tienda */
.triwuu-shared-product-list ul.products,
.triwuu-shop-product-list ul.products,
.single-product .triwuu-eci-related-section ul.products {
  align-items: stretch !important;
}

.triwuu-shared-product-list ul.products > li.product.triwuu-supermarket-card,
.triwuu-shop-product-list ul.products > li.product.triwuu-supermarket-card,
.single-product .triwuu-eci-related-section ul.products > li.product.triwuu-supermarket-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  background: #eaf8f6 !important;
  border-radius: 115px !important;
  overflow: visible !important;
}

.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__body,
.triwuu-shop-product-list .triwuu-supermarket-card .triwuu-product-card__body,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  background: transparent !important;
}

.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__media-wrap,
.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__title,
.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__price-line,
.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__offer,
.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__category,
.triwuu-shared-product-list .triwuu-supermarket-card .triwuu-product-card__meta,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__media-wrap,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__title,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__price-line,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__offer,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__category,
.single-product .triwuu-eci-related-section .triwuu-supermarket-card .triwuu-product-card__meta {
  background: transparent !important;
}

.single-product .triwuu-eci-related-section {
  background: #ffffff !important;
  padding: 46px 0 42px !important;
}

.single-product .triwuu-eci-related-section > .container-site > h2 {
  margin-bottom: 28px !important;
  color: #505658 !important;
  font-weight: 900 !important;
}

/* Evita que WooCommerce aplique anchos o márgenes diferentes en relacionados. */
.single-product .triwuu-eci-related-section ul.products li.product,
.triwuu-shop-product-list ul.products li.product {
  float: none !important;
  clear: none !important;
}

@media (max-width: 640px) {
  .triwuu-shared-product-list ul.products > li.product.triwuu-supermarket-card,
  .triwuu-shop-product-list ul.products > li.product.triwuu-supermarket-card,
  .single-product .triwuu-eci-related-section ul.products > li.product.triwuu-supermarket-card {
    border-radius: 86px !important;
  }

  .single-product .triwuu-eci-related-section {
    padding: 30px 0 28px !important;
  }
}


/* Home de tienda: imágenes configurables desde Apariencia > Personalizar > Hero de tienda */
.triwuu-shop-home-hero {
  min-height: 420px;
}
.triwuu-shop-categories--home {
  position: relative;
  isolation: isolate;
  background: #fff;
  overflow: hidden;
}
.triwuu-shop-categories--home.has-image {
  background-image: var(--triwuu-shop-categories-bg);
  background-size: cover;
  background-position: center;
}
.triwuu-shop-categories--home.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.28);
}
.triwuu-shop-categories--home .triwuu-shop-categories__inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .triwuu-shop-home-hero { min-height: 330px; }
}


/* v93 - Categorías principales de la home con el estilo de subcategorías */
.triwuu-shop-categories--home {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.68) 82%),
    var(--triwuu-shop-categories-bg, linear-gradient(135deg,#b7ead7,#f1faf7)) center/cover no-repeat !important;
  overflow: hidden;
}

.triwuu-shop-categories--home .triwuu-shop-categories__inner {
  padding-top: 34px;
  padding-bottom: 48px;
}

.triwuu-shop-categories--home .triwuu-shop-categories__head {
  align-items: center;
  margin-bottom: 34px;
}

.triwuu-shop-categories--home .triwuu-shop-categories__controls {
  display: flex !important;
  align-items: center;
  gap: 22px;
}

.triwuu-shop-categories--home .triwuu-cat-scroll {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #5f6665 !important;
  font-size: 58px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.triwuu-shop-categories--home .triwuu-category-carousel--home {
  justify-content: flex-start !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.triwuu-shop-categories--home .triwuu-category-carousel--home::-webkit-scrollbar {
  display: none;
}

@media (max-width: 640px) {
  .triwuu-shop-categories--home .triwuu-shop-categories__inner {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .triwuu-shop-categories--home .triwuu-shop-categories__head {
    margin-bottom: 22px;
  }

  .triwuu-shop-categories--home .triwuu-shop-categories__controls {
    gap: 10px;
  }

  .triwuu-shop-categories--home .triwuu-cat-scroll {
    width: 28px !important;
    height: 38px !important;
    font-size: 46px !important;
  }
}

/* v94 - Home tienda: categorías completas y velo de legibilidad */
.triwuu-shop-categories--home {
  isolation: isolate;
}

.triwuu-shop-categories--home.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, .48) 0%,
    rgba(255, 255, 255, .58) 50%,
    rgba(255, 255, 255, .48) 100%
  );
}

.triwuu-shop-categories--home .triwuu-shop-categories__inner {
  position: relative;
  z-index: 1;
}

.triwuu-shop-categories--home .triwuu-category-carousel--home {
  gap: clamp(14px, 1.8vw, 26px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  scroll-padding-inline: 0;
}

.triwuu-shop-categories--home .triwuu-category-chip--bubble {
  flex: 0 0 198px !important;
  width: 198px !important;
  min-width: 198px !important;
  border-radius: 99px !important;
}

.triwuu-shop-categories--home .triwuu-category-chip--bubble .triwuu-category-chip__image {
  width: 180px !important;
  height: 180px !important;
  min-width: 180px !important;
}

@media (max-width: 1180px) {
  .triwuu-shop-categories--home .triwuu-category-carousel--home {
    gap: 18px !important;
  }

  .triwuu-shop-categories--home .triwuu-category-chip--bubble {
    flex-basis: 184px !important;
    width: 184px !important;
    min-width: 184px !important;
    border-radius: 92px !important;
  }

  .triwuu-shop-categories--home .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 166px !important;
    height: 166px !important;
    min-width: 166px !important;
  }
}

@media (max-width: 640px) {
  .triwuu-shop-categories--home .triwuu-category-carousel--home {
    gap: 12px !important;
  }

  .triwuu-shop-categories--home .triwuu-category-chip--bubble {
    flex-basis: 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    border-radius: 75px !important;
  }

  .triwuu-shop-categories--home .triwuu-category-chip--bubble .triwuu-category-chip__image {
    width: 136px !important;
    height: 136px !important;
    min-width: 136px !important;
  }
}

/* v1.0.97 · Fondo exterior blanco en la home de tienda */
body.woocommerce-shop,
body.post-type-archive-product,
body.woocommerce-shop #page,
body.post-type-archive-product #page,
body.woocommerce-shop #content,
body.post-type-archive-product #content,
body.woocommerce-shop .site,
body.post-type-archive-product .site,
body.woocommerce-shop .site-content,
body.post-type-archive-product .site-content {
  background: #ffffff !important;
}

body.woocommerce-shop .triwuu-catalog-page,
body.post-type-archive-product .triwuu-catalog-page,
.triwuu-shop-home {
  background: #ffffff !important;
}

/* v98 - Hover estable y coherente en la paginación */
.triwuu-catalog-pagination .woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce-pagination ul.page-numbers li a.page-numbers {
  outline: 0 !important;
  transform: none !important;
}

.triwuu-catalog-pagination .woocommerce-pagination ul li a.page-numbers:hover,
.triwuu-catalog-pagination .woocommerce-pagination ul li a.page-numbers:focus-visible,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:focus-visible,
.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.woocommerce-pagination ul.page-numbers li a.page-numbers:focus-visible {
  background: #35d0a3 !important;
  border-color: #35d0a3 !important;
  color: #ffffff !important;
  outline: 0 !important;
  box-shadow: 0 3px 10px rgba(16, 24, 20, .04) !important;
  transform: none !important;
}
