/* Tecnonova · Al por mayor: isolated homepage shelf */
html body .tnw-home{box-sizing:border-box!important;display:block;width:100%!important;max-width:1510px!important;min-width:0!important;clear:both!important;grid-column:1/-1!important;flex:0 0 100%!important;margin:34px auto 38px!important;padding:0 2px!important;color:#f3fbff!important;background:transparent!important}
html body .tnw-home[hidden]{display:none!important}
.tnw-home *{box-sizing:border-box}
.tnw-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 16px}
.tnw-eyebrow{display:block;font-size:10px;font-weight:950;letter-spacing:2px;color:#24caf2;margin-bottom:5px}
.tnw-heading h2{margin:0!important;padding:0!important;color:#fff!important;font-size:clamp(23px,2vw,29px)!important;line-height:1.12!important;font-weight:950!important;letter-spacing:-.6px!important}
.tnw-heading p{margin:8px 0 0!important;color:#89aabc!important;font-size:13px!important;line-height:1.45!important}
.tnw-heading-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.tnw-view-all{display:inline-flex;align-items:center;gap:9px;margin-right:6px;padding:8px 6px;color:#d5f6ff!important;font-weight:750;font-size:12px;text-decoration:none!important;white-space:nowrap}
.tnw-view-all:hover{color:#26ccf7!important}
.tnw-arrow{width:38px;height:38px;min-width:38px;display:grid;place-items:center;padding:0;border:1px solid #19536a;border-radius:10px;background:#071e2b;color:#e2f8ff;cursor:pointer;font-size:24px;line-height:1}
.tnw-arrow:hover{background:#0b3548;border-color:#2bcaf1}
.tnw-arrow[hidden]{display:none!important}
.tnw-track{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 12px;margin:0;min-width:0;overscroll-behavior-inline:contain}
.tnw-track[hidden]{display:none!important}
.tnw-track::-webkit-scrollbar{display:none}
.tnw-card{flex:0 0 clamp(224px,19%,272px);width:clamp(224px,19%,272px);min-width:0;max-width:280px;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#061a26;border:1px solid rgba(34,198,241,.28);box-shadow:0 6px 20px rgba(0,0,0,.15);scroll-snap-align:start;transition:border-color .2s ease,transform .2s ease}
.tnw-card:hover{border-color:#29cffa;transform:translateY(-2px)}
.tnw-photo{height:205px;display:grid;place-items:center;position:relative;background:#fff;overflow:hidden;text-decoration:none!important}
.tnw-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:10px;background:#fff;border:0!important;box-shadow:none!important}
.tnw-chip{position:absolute;z-index:1;top:12px;left:12px;border-radius:8px;padding:6px 8px;background:linear-gradient(110deg,#14bbe8,#5575fb);color:white;font-size:9px;letter-spacing:.065em;font-weight:950}
.tnw-card-body{display:flex;flex-direction:column;flex:1;gap:0;padding:13px 12px 12px;min-width:0}
.tnw-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#95b1bf;font-size:10px;font-weight:850;letter-spacing:.025em}
.tnw-in-stock{color:#37dfab}.tnw-out-stock{color:#e6a2ac}
.tnw-meta .tnw-in-stock:before,.tnw-meta .tnw-out-stock:before{content:'';display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:currentColor}
.tnw-card h3{min-height:47px;margin:12px 0 10px!important;color:#fff!important;font-size:13px!important;font-weight:850!important;line-height:1.35!important;letter-spacing:0!important}
.tnw-card h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff!important;text-decoration:none!important}
.tnw-card h3 a:hover{color:#2accf2!important}
.tnw-price{min-height:36px;display:flex;align-items:center;justify-content:flex-end;margin:auto 0 13px;font-size:20px;font-weight:950;color:#fff}
.tnw-price del{opacity:.55;font-size:12px;margin-right:7px}.tnw-price ins{text-decoration:none;color:#31d5fa}.tnw-price > span:not(.woocommerce-Price-amount){font-size:12px;color:#c2d7e0}
/* Override historic global product-action rules only inside the wholesale shelf. */
html body .tnw-card .tnw-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 36px 70px!important;gap:6px!important;align-items:stretch!important;margin-top:0!important;min-width:0!important;width:100%!important}
html body .tnw-card .tnw-cart{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 7px!important;border:0!important;border-radius:9px!important;background:#27c6ec!important;color:#001925!important;font-size:10px!important;font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;text-align:center!important;overflow:hidden!important;text-decoration:none!important}
html body .tnw-card .tnw-cart .bnps-cart-icon{display:block!important;flex:0 0 auto!important;color:#001925!important;font-size:14px!important}
html body .tnw-card .tnw-cart span:last-child{display:block!important;min-width:0!important;width:auto!important;color:#001925!important;white-space:normal!important;overflow-wrap:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:10px!important;line-height:1.1!important;text-align:center!important}
html body .tnw-card .tnw-favorite{display:grid!important;place-items:center!important;width:36px!important;height:40px!important;min-width:36px!important;min-height:40px!important;margin:0!important;padding:0!important;border:1px solid #23485a!important;border-radius:9px!important;background:#06202c!important;color:white!important}
html body .tnw-card .tnw-favorite.is-active{border-color:#fa4370!important;color:#fa4370!important}
html body .tnw-card .tnw-actions>.tnx-compare-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:70px!important;min-width:70px!important;max-width:70px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 3px!important;background:#092837!important;border:1px solid #24566b!important;border-radius:9px!important;color:#d1eff9!important;font-size:10px!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important;box-shadow:none!important}
.tnw-loading,.tnw-error{width:100%;margin:0;padding:26px;color:#a4c1d1;font-size:14px;text-align:center;border:1px solid rgba(50,200,245,.23);background:#061a26;border-radius:15px}
.tnw-empty{padding:30px 22px;text-align:center;border:1px solid #1b5065;border-radius:18px;background:linear-gradient(120deg,#071c29,#0a2034);color:#d8ebf5}
.tnw-empty[hidden]{display:none!important}
.tnw-empty-symbol{display:block;color:#25cbf0;font-size:32px;margin-bottom:8px}
.tnw-empty h3{color:#fff!important;font-size:21px!important;margin:8px 0!important}
.tnw-empty p{color:#a8c2d0;margin:5px 0 18px!important;font-size:13px!important}
.tnw-empty a{display:inline-flex;gap:8px;align-items:center;padding:12px 17px;border:1px solid #20738e;border-radius:10px;color:#d6f8ff!important;text-decoration:none!important;font-weight:800;font-size:12px}
@media(max-width:900px){.tnw-card{flex-basis:250px;width:250px}}
@media(max-width:650px){
  html body .tnw-home{margin:23px auto 30px!important;padding:0 8px!important}
  .tnw-heading{align-items:start;gap:9px}
  .tnw-heading p{font-size:11px!important}
  .tnw-heading-actions{gap:5px}
  .tnw-view-all{margin-right:0;font-size:11px;padding:4px}
  .tnw-arrow{width:33px;height:33px;min-width:33px}
  .tnw-card{flex-basis:min(76vw,268px);width:min(76vw,268px)}
  .tnw-photo{height:184px}
}
@media(prefers-reduced-motion:reduce){.tnw-card{transition:none!important}.tnw-track{scroll-behavior:auto}}


/* v1.6.75 · wholesale cards closer to homepage, with full-width imagery */
.tnw-photo{height:210px!important;padding:0!important;background:#fff!important}
.tnw-photo img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
.tnw-card{border-radius:20px!important}
.tnw-card-body{padding:16px 16px 15px!important}
.tnw-card h3{min-height:5.15em!important;font-size:15px!important;line-height:1.35!important}
.tnw-price{margin:10px 0 16px!important;font-size:22px!important}
html body .tnw-card .tnw-actions{grid-template-columns:minmax(0,1fr) 40px minmax(82px,.8fr)!important;gap:8px!important}
html body .tnw-card .tnw-cart{height:42px!important;min-height:42px!important;padding:0 10px!important;font-size:12px!important;border-radius:10px!important}
html body .tnw-card .tnw-cart span:last-child{font-size:12px!important;line-height:1.15!important}
html body .tnw-card .tnw-favorite{width:40px!important;height:42px!important;min-width:40px!important;min-height:42px!important;border-radius:10px!important}
html body .tnw-card .tnw-actions>.tnx-compare-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 9px!important;background:#092837!important;border:1px solid #24566b!important;border-radius:10px!important;color:#d1eff9!important;font-size:11px!important;font-weight:800!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:650px){
  .tnw-photo{height:188px!important}
  html body .tnw-card .tnw-actions{grid-template-columns:minmax(0,1fr) 36px minmax(78px,.78fr)!important;gap:6px!important}
  html body .tnw-card .tnw-cart{height:40px!important;min-height:40px!important;font-size:11px!important;padding:0 8px!important}
  html body .tnw-card .tnw-favorite{width:36px!important;height:40px!important;min-width:36px!important;min-height:40px!important}
  html body .tnw-card .tnw-actions>.tnx-compare-toggle{height:40px!important;min-height:40px!important;font-size:10px!important;padding:0 6px!important}
}


/* v1.6.80 · WooCommerce price HTML must retain full-size numbers and currency. */
html body .tnw-card .tnw-price{display:flex!important;align-items:baseline!important;justify-content:flex-end!important;
  gap:6px!important;min-width:0!important;font-size:22px!important;font-weight:950!important;
  line-height:1.15!important;color:#fff!important;font-variant-numeric:tabular-nums!important;
}
html body .tnw-card .tnw-price .woocommerce-Price-amount,
html body .tnw-card .tnw-price .woocommerce-Price-amount bdi,
html body .tnw-card .tnw-price .woocommerce-Price-currencySymbol{
  font-size:inherit!important;font-weight:950!important;line-height:inherit!important;color:inherit!important;
}
html body .tnw-card .tnw-price del .woocommerce-Price-amount,
html body .tnw-card .tnw-price del .woocommerce-Price-currencySymbol{
  font-size:12px!important;font-weight:700!important;color:#8c9eaa!important;
}
html body .tnw-card .tnw-price ins{color:#31d5fa!important;text-decoration:none!important}
@media(max-width:650px){html body .tnw-card .tnw-price{font-size:21px!important}}


/* v1.6.81: same actual card markup and design as the editorial homepage.
   These scoped rules only position shared .bnps-card inside the wholesale track. */
html body #tnw-home .tnw-track > article.bnps-card {
  flex:0 0 clamp(235px,16.6vw,292px)!important;
  width:clamp(235px,16.6vw,292px)!important;
  min-width:0!important;
  max-width:292px!important;
  height:auto!important;
  align-self:stretch!important;
  margin:0!important;
  scroll-snap-align:start!important;
}
html body #tnw-home .tnw-track > article.bnps-card .bnps-body {
  min-height:250px!important;
}
/* Preserve full-bleed photos of wholesale lots, just as the other rows. */
html body #tnw-home article.bnps-card.bnps-card--wholesale > a.bnps-media {
  padding:0!important;
}
html body #tnw-home article.bnps-card.bnps-card--wholesale > a.bnps-media .bnps-image-frame img {
  padding:0!important;
  object-fit:cover!important;
}
/* The amount is not the subtitle. Do not shrink WooCommerce money spans. */
html body #tnw-home article.bnps-card .bnps-price,
html body #tnw-home article.bnps-card .bnps-price .woocommerce-Price-amount,
html body #tnw-home article.bnps-card .bnps-price .woocommerce-Price-amount bdi,
html body #tnw-home article.bnps-card .bnps-price .woocommerce-Price-currencySymbol {
  font-size:22px!important;font-weight:950!important;line-height:1.15!important;color:#fff!important;
}
html body #tnw-home article.bnps-card .bnps-price {
  margin:12px 0 14px!important;text-align:right!important;min-height:28px!important;
}
html body #tnw-home article.bnps-card .bnps-price del,
html body #tnw-home article.bnps-card .bnps-price del * {font-size:12px!important;color:#879eac!important;font-weight:700!important}
html body #tnw-home article.bnps-card .bnps-price ins,
html body #tnw-home article.bnps-card .bnps-price ins *{color:#31d5fa!important;text-decoration:none!important}
/* Use the same three-button grid from the homepage at all breakpoints. */
html body #tnw-home article.bnps-card .bnps-actions {
  display:grid!important;grid-template-columns:minmax(0,1fr) 34px 62px!important;
  gap:5px!important;align-items:stretch!important;width:100%!important;
}
html body #tnw-home article.bnps-card .bnps-actions .bnps-cart {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;
  padding:0 5px!important;gap:4px!important;font-size:10px!important;
  white-space:nowrap!important;overflow:hidden!important;
}
html body #tnw-home article.bnps-card .bnps-actions .bnps-cart > span:last-child {
  width:auto!important;min-width:0!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
html body #tnw-home article.bnps-card .bnps-actions .bnps-favorite {
  width:34px!important;min-width:34px!important;height:40px!important;
}
html body #tnw-home article.bnps-card .bnps-actions .tnx-compare-toggle {
  width:62px!important;min-width:0!important;max-width:100%!important;height:40px!important;
  min-height:40px!important;margin:0!important;padding:0 4px!important;font-size:10px!important;
}
@media(max-width:900px){
  html body #tnw-home .tnw-track > article.bnps-card{flex-basis:250px!important;width:250px!important}
  html body #tnw-home article.bnps-card .bnps-price{font-size:20px!important}
}
@media(max-width:650px){
  html body #tnw-home .tnw-track > article.bnps-card{flex-basis:min(76vw,268px)!important;width:min(76vw,268px)!important}
  html body #tnw-home article.bnps-card .bnps-actions{grid-template-columns:minmax(0,1fr) 32px 58px!important;gap:4px!important}
  html body #tnw-home article.bnps-card .bnps-actions .bnps-favorite{width:32px!important;min-width:32px!important}
  html body #tnw-home article.bnps-card .bnps-actions .tnx-compare-toggle{width:58px!important;font-size:9.5px!important}
}
/* Wholesale badge follows the same blue label system as the homepage. */
html body #tnw-home .bnps-badge-wholesale {
  background:linear-gradient(110deg,#14bbe8,#5575fb)!important;
  color:#fff!important;
}
/* Keep the amount immediately above the actions on cards with short names. */
html body #tnw-home article.bnps-card .bnps-price {
  margin:auto 0 14px!important;
}
html body #tnw-home article.bnps-card .bnps-actions {
  margin-top:0!important;
}
