/* Comercio B. El marcado, los eventos y los estados de WooCommerce siguen siendo nativos. */
body.hmt-b-comercio {
  --b-paper: #f6f3ed; --b-card: #fffefa; --b-ink: #171c1b; --b-muted: #565b55;
  --b-line: #d6d3c9; --b-gold: #efba60; --b-focus: #71500e;
  --b-serif: Georgia, "Times New Roman", serif; --b-sans: "Segoe UI", Arial, sans-serif;
  background: var(--b-paper);
}
body.hmt-b-comercio main {
  --bg: var(--b-paper); --surface: var(--b-card); --text: var(--b-ink); --text-muted: var(--b-muted);
  --text-dim: var(--b-muted); --border: var(--b-line); --cyan: var(--b-focus);
  --global-palette3: var(--b-ink); --global-palette4: var(--b-ink); --global-palette5: var(--b-muted);
  --global-palette6: var(--b-muted); --global-palette7: var(--b-line); --global-palette8: var(--b-paper); --global-palette9: var(--b-card);
  background: var(--b-paper); color: var(--b-ink); font: 400 16px/1.48 var(--b-sans);
}
body.hmt-b-comercio main *, body.hmt-b-comercio main *::before, body.hmt-b-comercio main *::after { box-sizing: border-box; }
body.hmt-b-comercio main :focus-visible:not(.whatsapp,.thmtd-whatsapp-loop,.thmtd-whatsapp-single), body.hmt-b-comercio .hmt-quote-float:focus-visible {
  outline: 3px solid var(--b-focus); outline-offset: 3px;
}
.hmt-b-comercio main .site-container { max-width: 1440px; margin-inline: auto; padding-inline: clamp(18px,4.6vw,74px); }
.hmt-b-comercio #primary { background: transparent; margin: 0; padding: 0 0 clamp(48px,7vw,98px); }
.hmt-b-comercio #main.site-main { min-width: 0; margin: 0; width: 100%; }
.hmt-b-archivo main section.entry-hero { display: block !important; margin: 0; background: var(--b-paper); }
body.hmt-b-archivo main section.entry-hero .entry-hero-container-inner {
  min-height: 0 !important; background: var(--b-paper) !important; padding: clamp(30px,4vw,62px) 0 0 !important;
}
.hmt-b-archivo main .entry-hero .hero-section-overlay { display: none; }
.hmt-b-archivo main .entry-hero .hero-container { display: block; width: 100%; }
.hmt-b-archivo main .entry-hero .entry-header { width: 100%; align-items: flex-start; background: transparent !important; min-height: 0; padding: 0; margin: 0; text-align: left; }
body.hmt-b-archivo main .entry-hero .page-title {
  margin: 0; color: var(--b-ink) !important; font: 500 clamp(42px,5.4vw,76px)/1 var(--b-serif); letter-spacing: -.052em;
  overflow-wrap: anywhere; text-wrap: balance;
}
body.hmt-b-archivo main #primary .content-container { padding-top: 0 !important; }
.hmt-b-archivo .woocommerce-products-header { padding: 0; }
.hmt-b-archivo .woocommerce-products-header .term-description,
.hmt-b-archivo .entry-hero .term-description { color: var(--b-muted) !important; }
.hmt-b-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 22px;
  border-bottom: 1px solid var(--b-line); padding: 13px 0 clamp(23px,3vw,39px); margin-bottom: clamp(22px,3vw,43px); }
.hmt-b-intro p { margin: 0; color: var(--b-muted); }
.hmt-b-comercio #main .product_meta a, .hmt-b-comercio #main .kadence-breadcrumbs a { color: #3e4739; text-underline-offset: 3px; }
.hmt-b-intro .btn.whatsapp { display: inline-flex; width: auto; gap: .5rem; }
.hmt-b-layout { display: grid; grid-template-columns: clamp(165px,16vw,218px) minmax(0,1fr);
  gap: clamp(22px,3.2vw,52px); align-items: start; }
.hmt-b-filtros { position: sticky; top: 92px; }
.hmt-b-filtros h2 { margin: 0 0 12px; color: var(--b-ink); font: 650 16px/1.4 var(--b-sans); }
.hmt-b-filtros ul { display: grid; gap: 3px; list-style: none; padding: 0; margin: 0; }
.hmt-b-filtros a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px;
  border: 1px solid transparent; border-radius: 7px; color: var(--b-muted); text-decoration: none; font-size: 14px; }
.hmt-b-filtros a:hover { color: var(--b-ink); background: #ebe7dc; }
.hmt-b-filtros a[aria-current] { background: #f4e5c8; border-color: #ddc699; color: #483614; font-weight: 650; }
.hmt-b-resultados { min-width: 0; }
.hmt-b-busqueda > label { display: block; color: var(--b-ink); font-size: 14px; font-weight: 650; margin-bottom: 5px; }
.hmt-b-busqueda > div { display: flex; gap: 7px; }
.hmt-b-comercio .hmt-b-busqueda input[type=search], .hmt-b-comercio #main select,
.hmt-b-comercio #main .comment-form :is(input:not([type=submit],[type=checkbox]),textarea) {
  min-height: 44px; min-width: 0; border: 1px solid #b6b8ad; border-radius: 7px;
  background-color: var(--b-card); color: var(--b-ink); font: 400 15px/1.4 var(--b-sans); box-shadow: none;
}
.hmt-b-comercio .hmt-b-busqueda input[type=search] { width: 100%; padding: 0 13px; }
.hmt-b-comercio .hmt-b-busqueda input::placeholder { color: #686c64; }
.hmt-b-comercio .hmt-b-busqueda button { border: 1px solid var(--b-ink); border-radius: 7px; background: var(--b-ink);
  color: white; padding: 0 19px; min-height: 44px; font-weight: 650; }
.hmt-b-comercio .kadence-shop-top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  border: 0; padding: 0; margin: 15px 0 18px; color: var(--b-muted); }
.hmt-b-comercio .kadence-woo-results-count { margin-right: auto; }
.hmt-b-comercio .kadence-woo-toggle { display: block; }
.hmt-b-comercio #main .woocommerce-result-count, .hmt-b-comercio #main .woocommerce-ordering { margin: 0; color: var(--b-muted); font-size: 14px; }
.hmt-b-comercio #main .woocommerce-ordering select { max-width: 100%; padding-inline: 10px 27px; }
.hmt-b-comercio #main .kadence-toggle-shop-layout { width: 44px; height: 44px; color: #4f574b; border-radius: 6px; }
.hmt-b-comercio #main .kadence-toggle-shop-layout.toggle-active { color: var(--b-ink); background: #e8e4d8; }
.hmt-b-comercio main ul.products:not(.products-list-view) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hmt-b-comercio main ul.products { gap: clamp(14px,1.7vw,25px); margin: 0; padding: 0; list-style: none; }
.hmt-b-comercio main ul.products::before, .hmt-b-comercio main ul.products::after { content: none; }
.hmt-b-comercio main ul.products li.product {
  width: auto; min-width: 0; margin: 0; padding: 0; gap: 0; justify-content: flex-start; align-items: stretch;
  border: 1px solid var(--b-line); border-radius: 12px; overflow: hidden;
  background: var(--b-card); box-shadow: none; transform: none; color: var(--b-ink);
}
.hmt-b-comercio main ul.products li.product:hover { transform: none; border-color: #b6b5a8; box-shadow: 0 3px 15px #3325000d; }
.hmt-b-comercio #main ul.products li.product a.woocommerce-loop-image-link {
  position: relative; display: grid; place-items: center; aspect-ratio: 1.38; background: white;
  border-bottom: 1px solid #e8e5dc; border-radius: 0; overflow: hidden; padding: 15px 16px; width: 100%; flex: none;
}
.hmt-b-comercio #main ul.products li.product .woocommerce-loop-image-link img {
  width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain;
  position: absolute; inset: 0; display: block; aspect-ratio: auto; border: 0; padding: 16px; margin: 0; border-radius: 0; background: white; box-shadow: none; transform: none;
}
.hmt-b-comercio main .badge.ok { width: fit-content; margin: 0; padding: 3px 8px; min-height: 0; border: 1px solid #cfc8b9;
  background: #faf7ef; color: #4d493d; box-shadow: none; font: 600 11px/1.35 var(--b-sans); }
.hmt-b-comercio main li.product .badge { position: absolute; left: 9px; top: 9px; z-index: 2; }
.hmt-b-comercio main li.product > .product-meta { margin: 0; padding: 13px 15px 0; font: 600 12px/1.4 var(--b-sans); color: var(--b-muted); }
.hmt-b-comercio #main ul.products li.product .product-details {
  width: 100%; margin: 0; flex: 1 1 auto; padding: 4px 15px 15px; background: var(--b-card) !important;
  color: var(--b-ink); border: 0; box-shadow: none; text-align: left;
}
.hmt-b-comercio main ul.products li.product .woocommerce-loop-product__title,
.hmt-b-comercio main ul.products li.product .woocommerce-loop-product__title a {
  font: 650 clamp(17px,1.35vw,21px)/1.23 var(--b-sans); letter-spacing: -.025em; text-transform: none; text-align: left;
  color: var(--b-ink); overflow-wrap: anywhere; text-decoration: none; text-shadow: none;
}
.hmt-b-comercio main ul.products li.product .price, .hmt-b-comercio main .price .amount {
  color: var(--b-ink); font-weight: 720; text-shadow: none;
}
.hmt-b-comercio main .hmt-b-moneda { white-space: nowrap; font-size: .81em; font-weight: 610; }
.hmt-b-comercio main li.product .product-excerpt { color: var(--b-muted); font-size: 14px; }
.hmt-b-comercio main ul.products:not(.products-list-view) .product-excerpt { display: none; }
.hmt-b-comercio main ul.products li.product .product-action-wrap { margin-top: auto !important; padding-top: 11px; }
.hmt-b-comercio main .hmt-add.button, .hmt-b-comercio main .sticky-cta .btn.primary, .hmt-b-comercio main .comment-form .submit {
  background: var(--b-gold) !important; color: #251c10 !important; border: 1px solid #d7a44a;
  border-radius: 7px; box-shadow: none; font: 700 14px/1.3 var(--b-sans); min-height: 44px; padding: 11px 12px;
}
.hmt-b-comercio main .hmt-add.button:hover, .hmt-b-comercio main .sticky-cta .btn.primary:hover { background: #f6c877 !important; }
.hmt-b-comercio main ul.products.products-list-view { grid-template-columns: minmax(0,1fr); }
.hmt-b-comercio main ul.products.products-list-view li.product { display: grid !important; grid-template-columns: minmax(155px,.65fr) minmax(0,1.35fr); }
.hmt-b-comercio #main ul.products.products-list-view li.product a.woocommerce-loop-image-link { grid-column: 1; grid-row: 1 / 3; height: 100%; }
.hmt-b-comercio main ul.products.products-list-view .product-meta, .hmt-b-comercio main ul.products.products-list-view .product-details { grid-column: 2; }
.hmt-b-comercio main .woocommerce-pagination { margin: 25px 0; }
.hmt-b-comercio main .woocommerce-pagination ul li :is(a,span) { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--b-ink); }
.hmt-b-comercio main .woocommerce-pagination ul li span.current { background: var(--b-ink); color: white; }
.hmt-b-comercio #main > .container { width: 100%; max-width: none; padding: 0; }
.hmt-b-comercio main .service-badges { border-top: 1px solid var(--b-line); padding-top: 22px; margin-top: 31px; }
.hmt-b-comercio main .service-badge { padding: 12px; min-height: 56px; background: var(--b-card); border: 1px solid var(--b-line); box-shadow: none; color: var(--b-muted); }
.hmt-b-comercio main .service-badge strong { color: var(--b-ink); }
.hmt-b-comercio main .service-badge svg { color: var(--b-focus); }
.hmt-b-ficha main #primary .content-container { padding-top: clamp(23px,3.2vw,45px) !important; }
.hmt-b-ficha main .product-above { margin: 0 0 clamp(19px,2.5vw,33px); }
.hmt-b-ficha main .kadence-breadcrumbs { font-size: 13px; color: var(--b-muted); }
.hmt-b-ficha main #main > div.product { grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr);
  gap: clamp(28px,4.5vw,74px); margin: 0; padding: 0; background: transparent !important; border: 0; box-shadow: none; }
.hmt-b-ficha main div.product div.images, .hmt-b-ficha main div.product .summary {
  margin: 0; padding: 0; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.hmt-b-ficha main div.images .flex-viewport, .hmt-b-ficha main .images:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
  background: white; border: 1px solid #dedbd1; border-radius: 14px; overflow: hidden;
}
.hmt-b-ficha main div.product div.images .woocommerce-product-gallery__image {
  aspect-ratio: 1.22; border-radius: 0; border: 0; margin: 0; padding: 0; background: white;
}
.hmt-b-ficha main div.product div.images .woocommerce-product-gallery__image > a { padding: clamp(12px,2.2vw,34px); }
.hmt-b-ficha main div.product div.images .woocommerce-product-gallery__image > a > img { border: 0; border-radius: 0; background: white; }
.hmt-b-ficha #main .woocommerce-product-gallery .flex-control-thumbs { position: static; transform: none; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 7px; padding: 9px 2px 2px; margin: 0; width: 100%; }
.hmt-b-ficha #main .woocommerce-product-gallery .flex-control-thumbs li { float: none; width: 55px; margin: 0; padding: 0; }
.hmt-b-ficha #main .woocommerce-product-gallery .flex-control-thumbs li img { object-fit: contain; width: 55px; height: 55px;
  padding: 3px; opacity: 1; background: white; border: 1px solid var(--b-line); border-radius: 7px; cursor: pointer; }
.hmt-b-ficha main .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border: 2px solid #745a27; }
.hmt-b-ficha main .woocommerce-product-gallery .woocommerce-product-gallery__trigger { background: #242b29; border-color: white; }
.hmt-b-ficha #main .summary { align-self: start; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 14px; min-height: 0; }
.hmt-b-ficha main div.product .summary .product_title { margin: 0; color: var(--b-ink);
  font: 600 clamp(31px,3.2vw,53px)/1.05 var(--b-sans); letter-spacing: -.052em; overflow-wrap: anywhere; }
.hmt-b-ficha main div.product .summary .price { margin: 0; color: var(--b-ink); font: 720 clamp(23px,2.1vw,32px)/1.25 var(--b-sans); }
.hmt-b-ficha main .summary .woocommerce-product-details__short-description { width: 100%; border-bottom: 1px solid var(--b-line);
  padding: 0 0 15px; color: var(--b-muted); font-size: clamp(16px,1.3vw,19px); }
.hmt-b-ficha main .summary p { margin: 0; }
.hmt-b-ficha main .summary .hmt-add { width: min(100%,330px); }
.hmt-b-ficha main .summary .hmt-variant { display: grid; gap: 5px; width: min(100%,420px); color: var(--b-ink); font-size: 14px; }
.hmt-b-ficha main .summary .hmt-variant select { width: 100%; }
.hmt-b-ficha main .summary .product_meta { width: 100%; padding-top: 9px; border: 0; color: var(--b-muted); font-size: 14px; }
.hmt-b-ficha main .summary .product_meta > span { display: block; }
.hmt-b-ficha main :is(.woocommerce-tabs,.related.products,.up-sells) { grid-column: 1 / -1; min-width: 0; color: var(--b-ink);
  background: transparent; border: 0; border-top: 1px solid var(--b-line); border-radius: 0; padding: 20px 0 0; box-shadow: none; }
.hmt-b-ficha main .woocommerce-tabs .tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; }
.hmt-b-ficha #main .woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0; }
.hmt-b-ficha #main .woocommerce-tabs ul.tabs li a { color: var(--b-muted); min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; }
.hmt-b-ficha #main .woocommerce-tabs ul.tabs li.active a { color: var(--b-ink); background: #eee3cb; border-radius: 6px; }
.hmt-b-ficha main .woocommerce-tabs .panel { max-width: 86ch; color: var(--b-muted); background: transparent; padding: 10px 0; border: 0; box-shadow: none; }
.hmt-b-ficha main .woocommerce-tabs .panel :is(p,li,dd) { color: var(--b-muted); }
.hmt-b-ficha main .woocommerce-tabs .panel :is(h2,h3,strong,dt), .hmt-b-ficha main .related.products > h2 { color: var(--b-ink); }
.hmt-b-ficha main .woocommerce-tabs .panel :is(h2,h3), .hmt-b-ficha main .related.products > h2 { font: 500 clamp(24px,2.3vw,35px)/1.16 var(--b-serif); letter-spacing: -.035em; }
.hmt-b-ficha main .sticky-cta { background: var(--b-card); border-color: var(--b-line); color: var(--b-ink); }
.hmt-b-ficha main .sticky-inner { gap: 7px; }
.hmt-b-ficha main .sticky-price { color: var(--b-ink); }
.hmt-b-comercio .hmt-quote-float { background: #222a26 !important; color: white; outline-offset: 2px; }
@media (max-width: 1100px) {
  .hmt-b-comercio main ul.products:not(.products-list-view) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 840px) {
  .hmt-b-layout { display: block; }
  .hmt-b-filtros { position: static; margin: 0 0 17px; }
  .hmt-b-filtros h2 { margin-bottom: 5px; }
  .hmt-b-filtros ul { display: flex; overflow-x: auto; gap: 5px; padding: 4px 3px 7px; }
  .hmt-b-filtros li { flex: 0 0 auto; }
  .hmt-b-filtros a { border-color: var(--b-line); background: var(--b-card); }
}
@media (max-width: 767px) {
  .hmt-b-ficha main #main > div.product { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hmt-b-ficha #main div.product .summary, .hmt-b-ficha #main div.product .images { grid-column: 1; }
  .hmt-b-ficha main .summary .hmt-add { width: 100%; }
  .hmt-b-ficha main .summary { gap: 10px; }
  .hmt-b-ficha main div.product div.images .woocommerce-product-gallery__image { aspect-ratio: 1.4; }
  .hmt-b-ficha:has(.sticky-cta.is-visible) .hmt-quote-float { bottom: calc(78px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width: 550px) {
  .hmt-b-comercio main .service-badges { grid-template-columns: minmax(0,1fr); }
  .hmt-b-comercio main ul.products:not(.products-list-view) { grid-template-columns: minmax(0,1fr); }
  .hmt-b-comercio #main ul.products li.product a.woocommerce-loop-image-link { aspect-ratio: 1.62; }
  .hmt-b-comercio main ul.products.products-list-view li.product { grid-template-columns: minmax(85px,.52fr) minmax(0,1.35fr); }
  .hmt-b-comercio #main ul.products.products-list-view li.product a.woocommerce-loop-image-link img { padding: 8px; }
  .hmt-b-comercio main ul.products.products-list-view .woocommerce-loop-image-link .badge { position: static; max-width: 100%; text-align: center; }
  .hmt-b-comercio #main .kadence-woo-results-count { flex: 1 1 100%; }
  .hmt-b-comercio #main .kadence-woo-ordering { min-width: 0; flex: 1; }
  .hmt-b-comercio #main .kadence-shop-top-row { gap: 6px; }
  .hmt-b-ficha main .sticky-inner { grid-template-columns: auto 1fr 1fr; }
  .hmt-b-ficha main .sticky-cta .btn.primary { font-size: 12px; padding-inline: 5px; }
}
