/* =========================================================
   Tecnimax · Tienda v2
   Tienda, tarjeta de producto, ficha de producto, carrito,
   checkout y cuenta. Los estilos propios de WooCommerce están
   desactivados en el tema, así que aquí se cubren también sus
   piezas genéricas (avisos, formularios, tablas, pestañas).
   ========================================================= */

.tmx-page--shop, .tmx-page--product, .tmx-page--commerce { --card-r: var(--r-lg); --soft: #eef3fa; }

/* ---------- Categorías: fila de chips con icono ---------- */
.tmx-shop__cats {
  display: flex; gap: 10px; margin-bottom: clamp(28px, 3.4vw, 44px);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  padding-bottom: 4px;
}
.tmx-shop__cats::-webkit-scrollbar { display: none; }
.tmx-shop__cats a {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px;
  border-radius: 14px; background: #fff; color: var(--navy-800);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: box-shadow .3s, background .3s, color .3s, transform .3s var(--ease);
}
.tmx-shop__cats a:hover { box-shadow: inset 0 0 0 1px rgba(46, 134, 255, .45); transform: translateY(-2px); }
.tmx-shop__cats a small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11.5px; }
.tmx-shop__cat-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--paper); color: var(--blue-700); transition: background .3s, color .3s; }
.tmx-shop__cat-ic svg { width: 20px; height: 20px; }
.tmx-shop__cats a.is-on { background: var(--navy-900); color: #fff; box-shadow: none; }
.tmx-shop__cats a.is-on .tmx-shop__cat-ic { background: rgba(255, 255, 255, .1); color: var(--blue-200); }
.tmx-shop__cats a.is-on small { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Layout: filtros + productos ---------- */
.tmx-shop__layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: start; }
.tmx-shop__filters { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 16px; }
.tmx-shop__fclose { display: none; }
.tmx-shop__price, .tmx-shop__help { padding: 22px; border-radius: var(--card-r); background: var(--paper); }
.tmx-shop__price { display: grid; gap: 12px; }
.tmx-shop__ftitle { font-size: 13px; font-weight: 600; color: var(--head); }
.tmx-shop__price label { position: relative; display: block; }
.tmx-shop__price label span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--muted); pointer-events: none; }
.tmx-shop__price input {
  width: 100%; height: 48px; padding: 0 14px 0 68px; border: 0; border-radius: 10px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--head); font: inherit; font-size: 14.5px;
  -moz-appearance: textfield; transition: box-shadow .3s;
}
.tmx-shop__price input::-webkit-outer-spin-button, .tmx-shop__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tmx-shop__price input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(46, 134, 255, .14); }
.tmx-shop__price .tmx-btn { width: 100%; margin-top: 4px; }
.tmx-shop__clear { justify-self: center; font-size: 13px; color: var(--blue-700); }
.tmx-shop__clear:hover { color: var(--navy-900); }
.tmx-shop__help p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.tmx-shop__help strong { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 600; color: var(--head); }
.tmx-shop__help a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--navy-900); transition: color .25s; }
.tmx-shop__help a .tmx-ico { width: 20px; height: 20px; color: #25d366; }
.tmx-shop__help a:hover { color: var(--blue-700); }

.tmx-shop__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 24px; }
.tmx-shop__count { font-size: 14.5px; color: var(--muted); }
.tmx-shop__count strong { color: var(--head); font-weight: 600; }
.tmx-shop__sort { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); }
.tmx-shop__sort a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; color: var(--navy-800); font-size: 13.5px; font-weight: 500; transition: background .3s, color .3s, box-shadow .3s; }
.tmx-shop__sort a:hover { background: #e7eef8; }
.tmx-shop__sort a.is-on { background: #fff; color: var(--navy-950); box-shadow: 0 4px 12px -6px rgba(10, 31, 60, .35); }
.tmx-shop__ftog { display: none; }

.tmx-shop__grid, .tmx-pdp__related ul.products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px);
  margin: 0; padding: 0; list-style: none;
}
.tmx-shop__li { display: flex; }
.tmx-shop__li > * { flex: 1; }

/* ---------- Tarjeta de producto ---------- */
.tmx-store-product-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--card-r); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.tmx-store-product-card:hover { box-shadow: inset 0 0 0 1px rgba(46, 134, 255, .35), 0 24px 44px -28px rgba(10, 31, 60, .45); transform: translateY(-4px); }
.tmx-store-product-card__image {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; margin: 8px 8px 0; overflow: hidden;
  border-radius: calc(var(--card-r) - 4px); background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--paper) 72%);
}
.tmx-store-product-card__image img { width: 78%; height: 78%; object-fit: contain; transition: transform .7s var(--ease); mix-blend-mode: multiply; }
.tmx-store-product-card:hover .tmx-store-product-card__image img { transform: scale(1.06); }
.tmx-store-product-card__badge { position: absolute; z-index: 1; top: 12px; left: 12px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--amber); color: var(--navy-950); font-size: 12px; font-weight: 600; }
.tmx-store-product-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.tmx-store-product-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.tmx-store-product-card__cat { color: var(--blue-700); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmx-store-product-card__stock { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.tmx-store-product-card__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22b573; }
.outofstock .tmx-store-product-card__stock::before { background: var(--amber); }
.tmx-store-product-card__rating { font-size: 12px; letter-spacing: 2px; color: var(--amber); }
.tmx-store-product-card__title { font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--head); }
.tmx-store-product-card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
.tmx-store-product-card__title a:hover { color: var(--blue-700); }
.tmx-store-product-card__price { margin-top: auto; padding-top: 4px; font-size: 19px; font-weight: 600; color: var(--navy-950); }
.tmx-store-product-card__price del { margin-right: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }
.tmx-store-product-card__price ins { text-decoration: none; }
.tmx-store-product-card__price .woocommerce-price-suffix { font-size: 12px; font-weight: 400; color: var(--muted); }
.tmx-store-product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.tmx-store-product-card__actions .button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; padding: 0 16px;
  border-radius: var(--r); background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 500; overflow: hidden;
  transition: background .35s, box-shadow .35s;
}
.tmx-store-product-card__actions .button::before {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.2 11h10.6l2-8H6.6'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.2 11h10.6l2-8H6.6'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tmx-store-product-card__actions .button:hover { background: var(--blue); box-shadow: 0 12px 24px -12px rgba(46, 134, 255, .7); }
.tmx-store-product-card__actions .button.loading { pointer-events: none; color: transparent; }
.tmx-store-product-card__actions .button.loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: tmxSpin .8s linear infinite;
}
.tmx-store-product-card__actions .button.loading::before { opacity: 0; }
.tmx-store-product-card__actions .button.added { background: #e8f7ef; color: #13814f; }
.tmx-store-product-card__actions .button.added::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7.5'/%3E%3C/svg%3E");
}
.tmx-store-product-card__actions .added_to_cart { width: 100%; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--blue-700); }
.tmx-store-product-card__actions .added_to_cart:hover { color: var(--navy-900); }
@keyframes tmxSpin { to { transform: rotate(360deg); } }

/* Paginación de la tienda */
.tmx-pagination { margin-top: 44px; }
.tmx-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tmx-pagination .page-numbers a, .tmx-pagination .page-numbers span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--paper); color: var(--navy-800); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.tmx-pagination .page-numbers a:hover { background: #e7eef8; }
.tmx-pagination .page-numbers .current { background: var(--navy-900); color: #fff; }

/* =========================================================
   Ficha de producto
   ========================================================= */
.tmx-pdp { padding-block: clamp(24px, 3vw, 40px) clamp(64px, 7vw, 104px); background: #fff; }
.tmx-pdp__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: clamp(20px, 2.6vw, 32px); font-size: 13.5px; color: var(--muted); }
.tmx-pdp__crumbs a { transition: color .25s; }
.tmx-pdp__crumbs a:hover { color: var(--blue-700); }
.tmx-pdp__crumbs [aria-current] { color: var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }
.tmx-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.tmx-pdp__gallery { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 12px; }
.tmx-pdp__main {
  position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; cursor: zoom-in;
  border-radius: var(--r-lg); background: radial-gradient(110% 90% at 50% 25%, #fff 0%, var(--paper) 75%);
}
.tmx-pdp__main img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease), opacity .3s; }
.tmx-pdp__main.is-zoom img { transform: scale(1.9); }
.tmx-pdp__main img.is-fading { opacity: 0; }
.tmx-pdp__badge { position: absolute; top: 16px; left: 16px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--amber); color: var(--navy-950); font-size: 12.5px; font-weight: 600; }
.tmx-pdp__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tmx-pdp__thumbs button {
  aspect-ratio: 1; padding: 8px; border: 0; border-radius: 10px; background: var(--paper); cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s, background .3s;
}
.tmx-pdp__thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tmx-pdp__thumbs button:hover { background: #e9eff8; }
.tmx-pdp__thumbs button.is-on { box-shadow: inset 0 0 0 1.5px var(--blue); background: #fff; }

.tmx-pdp__summary { display: grid; gap: 18px; padding-top: 6px; }
.tmx-pdp__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; color: var(--muted); }
.tmx-pdp__stock { display: inline-flex; align-items: center; gap: 8px; }
.tmx-pdp__stock i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.tmx-pdp__stock.is-in i { background: #22b573; }
.tmx-pdp__stock.is-in i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(34, 181, 115, .25); }
.tmx-pdp__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; color: var(--head); }
.tmx-pdp__price { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; color: var(--navy-950); }
.tmx-pdp__price del { margin-right: 10px; font-size: .6em; font-weight: 400; color: var(--muted); }
.tmx-pdp__price ins { text-decoration: none; }
.tmx-pdp__price .woocommerce-price-suffix { font-size: 14px; font-weight: 400; color: var(--muted); }
.tmx-pdp__short { font-size: 15px; line-height: 1.7; color: var(--text); }
.tmx-pdp__short ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; list-style: disc; }
.tmx-pdp__short p + p, .tmx-pdp__short p + ul { margin-top: 10px; }

/* Carrito del producto: cantidad + botón en una sola fila */
.tmx-pdp__cart { padding-top: 18px; border-top: 1px solid var(--line); }
.tmx-pdp__cart form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.tmx-pdp__cart .stock { width: 100%; font-size: 13.5px; color: var(--muted); }
.tmx-pdp__cart .variations { width: 100%; border-collapse: collapse; }
.tmx-pdp__cart .variations td, .tmx-pdp__cart .variations th { padding: 0 0 12px; text-align: left; font-size: 14px; }
.tmx-pdp__cart .variations select { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--paper); font: inherit; }
.tmx-pdp__cart .single_variation_wrap, .tmx-pdp__cart .variations_button { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.tmx-pdp__cart .reset_variations { font-size: 13px; color: var(--blue-700); }
.tmx-qty, .tmx-pdp__cart .quantity { display: inline-flex; align-items: center; height: 54px; padding: 4px; border-radius: 12px; background: var(--paper); }
.tmx-pdp__cart .quantity input.qty {
  width: 52px; height: 100%; border: 0; background: transparent; text-align: center; color: var(--head);
  font: inherit; font-size: 16px; font-weight: 600; -moz-appearance: textfield;
}
.tmx-pdp__cart .quantity input.qty::-webkit-outer-spin-button, .tmx-pdp__cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tmx-pdp__cart .quantity input.qty:focus { outline: 0; }
.tmx-qty-btn { display: grid; place-items: center; width: 44px; height: 100%; border: 0; border-radius: 9px; background: #fff; color: var(--navy-900); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px -3px rgba(10, 31, 60, .25); transition: background .25s, color .25s; }
.tmx-qty-btn:hover { background: var(--navy-900); color: #fff; }
.tmx-pdp__cart .single_add_to_cart_button {
  flex: 1; min-width: 200px; height: 54px; padding: 0 24px; border: 0; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .35s, box-shadow .35s, transform .3s var(--ease);
}
.tmx-pdp__cart .single_add_to_cart_button:hover { background: var(--navy-900); box-shadow: 0 14px 28px -14px rgba(10, 31, 60, .6); }
.tmx-pdp__cart .single_add_to_cart_button:active { transform: translateY(1px); }
.tmx-pdp__cart .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.tmx-pdp__wa {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--navy-900); font-size: 14.5px; font-weight: 500;
  transition: box-shadow .3s, background .3s;
}
.tmx-pdp__wa .tmx-ico { width: 22px; height: 22px; color: #25d366; }
.tmx-pdp__wa:hover { background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .55); }
.tmx-pdp__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.tmx-pdp__perks li { display: grid; gap: 2px; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 13px; }
.tmx-pdp__perks li span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 9px; background: #fff; color: var(--blue-700); }
.tmx-pdp__perks li span svg { width: 20px; height: 20px; }
.tmx-pdp__perks strong { font-weight: 600; color: var(--head); }
.tmx-pdp__perks small { color: var(--muted); font-size: 12.5px; }

/* Valoración (las estrellas de Woo usan una fuente que el tema no carga) */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 14px; line-height: 1.1; letter-spacing: .08em; }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: #d7deea; }
.star-rating > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.1em; }
.star-rating > span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--amber); }
.tmx-pdp__rating .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }

/* Pestañas: descripción, información adicional y valoraciones */
.tmx-pdp__more .woocommerce-tabs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tmx-pdp__more ul.tabs { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tmx-pdp__more ul.tabs li a { position: relative; display: flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.tmx-pdp__more ul.tabs li a:hover { color: var(--navy-900); background: rgba(255, 255, 255, .6); }
.tmx-pdp__more ul.tabs li.active a { background: #fff; color: var(--navy-950); box-shadow: 0 6px 18px -12px rgba(10, 31, 60, .35); }
.tmx-pdp__more ul.tabs li.active a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.tmx-pdp__more .woocommerce-Tabs-panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: #fff; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.tmx-pdp__more .woocommerce-Tabs-panel > h2:first-child { margin-bottom: 14px; font-size: 20px; font-weight: 600; color: var(--head); }
.tmx-pdp__more .woocommerce-Tabs-panel p + p, .tmx-pdp__more .woocommerce-Tabs-panel ul { margin-top: 12px; }
.tmx-pdp__more .woocommerce-Tabs-panel ul { padding-left: 20px; list-style: disc; }
.tmx-pdp__more .woocommerce-Tabs-panel h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 600; color: var(--head); }
.tmx-pdp__more table.shop_attributes { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tmx-pdp__more table.shop_attributes th, .tmx-pdp__more table.shop_attributes td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tmx-pdp__more table.shop_attributes th { width: 36%; font-weight: 500; color: var(--head); }
.tmx-pdp__more table.shop_attributes td p { margin: 0; }
.tmx-pdp__more #reviews .commentlist { display: grid; gap: 14px; margin: 16px 0; padding: 0; list-style: none; }
.tmx-pdp__more #reviews .comment_container { display: flex; gap: 14px; }
.tmx-pdp__more #reviews .avatar { width: 44px; height: 44px; border-radius: 50%; }
.tmx-pdp__more #review_form .comment-reply-title { display: block; margin: 18px 0 10px; font-weight: 600; color: var(--head); }
.tmx-pdp__more #review_form p { margin-bottom: 12px; }
.tmx-pdp__more #review_form .stars a { color: var(--amber); margin-right: 4px; }

.tmx-pdp__related { margin-top: clamp(56px, 6vw, 88px); }
.tmx-pdp__related .related > h2 { margin-bottom: 24px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--head); }
.tmx-pdp__related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   Carrito, checkout y cuenta
   ========================================================= */
.tmx-chead { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 64px); background: var(--navy-950); color: #fff; isolation: isolate; }
.tmx-chead::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(60% 140% at 100% 0%, rgba(46, 134, 255, .28) 0%, rgba(46, 134, 255, 0) 60%), radial-gradient(40% 100% at 0% 100%, rgba(156, 198, 255, .12), transparent 70%);
}
.tmx-chead__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.tmx-chead .tmx-crumbs { margin-bottom: 14px; }
.tmx-chead__title { color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; }
.tmx-chead__title small { font-size: 15px; font-weight: 400; color: var(--blue-200); letter-spacing: 0; }
.tmx-chead__steps { position: relative; display: grid; grid-template-columns: repeat(3, 120px); margin: 0; padding: 0; list-style: none; }
.tmx-chead__steps::before, .tmx-chead__steps::after {
  content: ""; position: absolute; top: 17px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; border-radius: 2px; background: rgba(156, 198, 255, .18);
}
.tmx-chead__steps::after { right: auto; width: calc(100% / 3 * (var(--step) - 1)); background: linear-gradient(90deg, var(--blue), var(--blue-200)); transform-origin: left; animation: tmxGrow 1.1s var(--ease) both .2s; }
@keyframes tmxGrow { from { transform: scaleX(0); } }
.tmx-chead__steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
.tmx-chead__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-950); box-shadow: inset 0 0 0 1.5px rgba(156, 198, 255, .3); font-size: 14px; font-weight: 600; transition: background .4s, box-shadow .4s; }
.tmx-chead__dot svg { width: 18px; height: 18px; }
.tmx-chead__steps li.is-done { color: rgba(255, 255, 255, .8); }
.tmx-chead__steps li.is-done .tmx-chead__dot { background: var(--blue); box-shadow: none; color: #fff; }
.tmx-chead__steps li.is-on { color: #fff; }
.tmx-chead__steps li.is-on .tmx-chead__dot { background: #fff; color: var(--navy-950); box-shadow: 0 0 0 6px rgba(46, 134, 255, .25); }

.tmx-commerce { padding-block: clamp(36px, 4.4vw, 64px) clamp(72px, 8vw, 112px); }

/* Avisos de WooCommerce */
.woocommerce-notices-wrapper:empty { display: none; }
.tmx-page .woocommerce-message, .tmx-page .woocommerce-info, .tmx-page .woocommerce-error, .tmx-page .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; padding: 16px 20px; list-style: none;
  border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--blue);
  font-size: 14.5px; color: var(--text);
}
.tmx-page .woocommerce-message { box-shadow: inset 0 0 0 1px #cdebd9, inset 4px 0 0 #22b573; }
.tmx-page .woocommerce-error { box-shadow: inset 0 0 0 1px #f3d0d0, inset 4px 0 0 #d84a4a; display: grid; }
.tmx-page .woocommerce-message .button, .tmx-page .woocommerce-info .button { order: 2; margin-left: auto; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: var(--r); background: var(--navy-900); color: #fff; font-size: 13.5px; font-weight: 500; }
.tmx-page .woocommerce-message a:not(.button), .tmx-page .woocommerce-info a:not(.button) { color: var(--blue-700); font-weight: 500; }

/* Carrito con productos */
.tmx-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.tmx-cart-card { padding: clamp(8px, 1vw, 12px) clamp(18px, 2vw, 28px) clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: #fff; }
.tmx-cart-table__head, .tmx-cart-item { display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px 110px; align-items: center; gap: 16px; }
.tmx-cart-table__head { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.tmx-cart-table__head span:not(:first-child), .tmx-cart-item__price, .tmx-cart-item__subtotal { text-align: right; }
.tmx-cart-table__head span:nth-child(3) { text-align: center; }
.tmx-cart-item { padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.tmx-cart-item:last-child { border-bottom: 0; }
.tmx-cart-item__product { display: grid; grid-template-columns: 28px 76px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; }
.tmx-cart-item__remove a.remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font-size: 18px; line-height: 1; transition: background .25s, color .25s; }
.tmx-cart-item__remove a.remove:hover { background: #fdecec; color: #d84a4a; }
.tmx-cart-item__thumb { display: grid; place-items: center; width: 76px; aspect-ratio: 1; border-radius: 10px; background: var(--paper); overflow: hidden; }
.tmx-cart-item__thumb img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.tmx-cart-item__info { display: grid; gap: 4px; min-width: 0; }
.tmx-cart-item__name { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--head); }
.tmx-cart-item__name a { transition: color .25s; }
.tmx-cart-item__name a:hover { color: var(--blue-700); }
.tmx-cart-item__sku { font-size: 12.5px; color: var(--muted); }
.tmx-cart-item__info .variation { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 12.5px; color: var(--muted); }
.tmx-cart-item__info .variation dd, .tmx-cart-item__info .variation p { margin: 0; }
.tmx-cart-item__price { font-size: 14.5px; color: var(--muted); }
.tmx-cart-item__subtotal { font-size: 15.5px; font-weight: 600; color: var(--navy-950); }
.tmx-cart-item__quantity { display: flex; justify-content: center; }
.tmx-qty-control { display: inline-flex; align-items: center; height: 44px; padding: 3px; border-radius: 10px; background: var(--paper); }
.tmx-qty-control__btn { display: grid; place-items: center; width: 36px; height: 100%; border: 0; border-radius: 8px; background: #fff; color: var(--navy-900); font-size: 17px; cursor: pointer; box-shadow: 0 2px 6px -3px rgba(10, 31, 60, .25); transition: background .25s, color .25s; }
.tmx-qty-control__btn:hover { background: var(--navy-900); color: #fff; }
.tmx-qty-control .quantity input.qty { width: 42px; height: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-size: 15px; font-weight: 600; color: var(--head); -moz-appearance: textfield; }
.tmx-qty-control .quantity input.qty::-webkit-outer-spin-button, .tmx-qty-control .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tmx-qty-control .quantity input.qty:focus { outline: 0; }
.tmx-cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tmx-cart-actions .coupon { display: flex; gap: 8px; }
.tmx-cart-actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tmx-cart-actions .coupon input { height: 42px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--paper); font: inherit; font-size: 14px; }
.tmx-cart-empty, .tmx-cart-update, .tmx-cart-actions .coupon .button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--r);
  background: transparent; color: var(--navy-800); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s;
}
.tmx-cart-empty:hover { background: #fdecec; color: #c43c3c; box-shadow: inset 0 0 0 1px #f3d0d0; }
.tmx-cart-update:hover, .tmx-cart-actions .coupon .button:hover { background: var(--navy-900); color: #fff; box-shadow: none; }
.tmx-cart-update[disabled] { opacity: .45; pointer-events: none; }
.tmx-action-icon svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tmx-action-icon { display: grid; }

/* Resumen + cotización */
.tmx-cart-summary { position: sticky; top: calc(var(--bar-h) + 24px); }
.tmx-cart-summary .cart_totals { padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); background: var(--navy-950); color: #fff; }
.tmx-cart-summary .cart_totals > h2 { color: #fff; margin-bottom: 18px; font-size: 18px; font-weight: 600; }
.tmx-cart-totals-box { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(156, 198, 255, .16); }
.tmx-cart-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.tmx-cart-total-row strong { color: #fff; font-weight: 500; text-align: right; }
.tmx-cart-total-row.shipping strong { font-size: 13px; color: var(--blue-200); font-weight: 400; }
.tmx-cart-total-row--grand { margin-top: 6px; padding-top: 14px; border-top: 1px dashed rgba(156, 198, 255, .2); font-size: 15px; color: #fff; }
.tmx-cart-total-row--grand strong { font-size: 26px; font-weight: 600; }
.tmx-quote-form { display: grid; gap: 10px; padding-top: 20px; }
.tmx-page--commerce .tmx-quote-form h3 { color: #fff; font-size: 15px; font-weight: 600; }
.tmx-quote-form > p { margin-bottom: 4px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.tmx-quote-form label { position: relative; display: block; }
.tmx-quote-form label span { position: absolute; left: 14px; top: 8px; font-size: 11px; color: var(--blue-200); pointer-events: none; }
.tmx-quote-form input {
  width: 100%; height: 54px; padding: 20px 14px 6px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(156, 198, 255, .18);
  color: #fff; font: inherit; font-size: 14.5px; transition: box-shadow .3s, background .3s;
}
.tmx-quote-form input::placeholder { color: rgba(255, 255, 255, .35); }
.tmx-quote-form input:focus { outline: 0; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(46, 134, 255, .18); }
.tmx-quote-form__error { min-height: 0; font-size: 13px; color: #ffb4b4; }
.tmx-quote-form__error:empty { display: none; }
.tmx-cart-quote-actions { margin-top: 14px; }
.tmx-whatsapp-quote-button {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border: 0; border-radius: 12px;
  background: #25d366; color: #06321a; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.tmx-whatsapp-quote-button:hover { background: #2ee374; box-shadow: 0 16px 30px -14px rgba(37, 211, 102, .65); }
.tmx-whatsapp-quote-button span { transition: transform .35s var(--ease); }
.tmx-whatsapp-quote-button:hover span { transform: translateX(4px); }
.tmx-cart-summary .wc-proceed-to-checkout .checkout-button { display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 10px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 500; }

/* Carrito vacío */
.tmx-cempty { display: grid; justify-items: center; gap: 12px; max-width: 560px; margin-inline: auto; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r-lg); background: #fff; text-align: center; }
.tmx-cempty__art { display: grid; place-items: center; width: 108px; height: 108px; margin-bottom: 8px; border-radius: 50%; background: var(--paper); color: var(--blue-700); }
.tmx-cempty__art svg { width: 64px; height: 64px; }
.tmx-cempty__handle { transform-origin: 48px 34px; animation: tmxSwing 3.2s var(--ease) infinite; }
@keyframes tmxSwing { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-8deg); } 86% { transform: rotate(6deg); } 93% { transform: rotate(-3deg); } }
.tmx-cempty h2 { font-size: 24px; font-weight: 600; color: var(--head); }
.tmx-cempty p { color: var(--muted); }
.tmx-cempty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

/* Checkout */
.tmx-checkout-shell { display: grid; gap: 24px; }
.tmx-checkout-head { display: none; }
.tmx-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.tmx-checkout-card { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); background: #fff; }
.tmx-checkout-order { position: sticky; top: calc(var(--bar-h) + 24px); }
.tmx-checkout-section + .tmx-checkout-section { margin-top: 28px; }
.tmx-page--commerce h3 { font-size: 18px; font-weight: 600; color: var(--head); }
.woocommerce-billing-fields > h3, .woocommerce-shipping-fields > h3, .woocommerce-additional-fields > h3, #order_review_heading { margin-bottom: 18px; }
.tmx-page--commerce .form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.tmx-page--commerce .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font-size: 13px; font-weight: 500; color: var(--head); }
.tmx-page--commerce .form-row .required { color: var(--blue-700); text-decoration: none; border: 0; }
.tmx-page--commerce .form-row .optional { font-weight: 400; color: var(--muted); }
.tmx-page--commerce .input-text, .tmx-page--commerce .form-row select, .tmx-page--commerce .form-row textarea, .tmx-page--commerce .select2-selection--single {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--paper);
  box-shadow: inset 0 0 0 1px transparent; color: var(--head); font: inherit; font-size: 14.5px; transition: box-shadow .3s, background .3s;
}
.tmx-page--commerce .form-row textarea { min-height: 110px; resize: vertical; }
.tmx-page--commerce .input-text:focus, .tmx-page--commerce .form-row select:focus, .tmx-page--commerce .form-row textarea:focus {
  outline: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(46, 134, 255, .14);
}
.tmx-page--commerce .woocommerce-invalid .input-text { box-shadow: inset 0 0 0 1.5px #d84a4a; }
.tmx-page--commerce .select2-container .select2-selection--single { display: flex; align-items: center; height: 50px; }
.tmx-page--commerce .select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }
.tmx-page--commerce .woocommerce-input-wrapper { display: block; }
.tmx-page--commerce .woocommerce-form__label-for-checkbox, .tmx-page--commerce label.checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.tmx-page--commerce input[type="checkbox"], .tmx-page--commerce input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); }

/* Resumen del pedido */
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table thead th { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.woocommerce-checkout-review-order-table .product-name { color: var(--head); }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 400; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: var(--muted); }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; padding-top: 16px; font-size: 16px; color: var(--head); }
.woocommerce-checkout-review-order-table .order-total td strong { font-size: 22px; font-weight: 600; }
#shipping_method { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
#shipping_method li { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
#payment { margin-top: 20px; }
#payment .wc_payment_methods { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
#payment .wc_payment_method { padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 14px; }
#payment .wc_payment_method > label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--head); cursor: pointer; }
#payment .wc_payment_method > label img { max-height: 22px; width: auto; }
#payment .wc_payment_method input { margin-right: 10px; vertical-align: middle; }
#payment .payment_box { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
#payment .woocommerce-privacy-policy-text, #payment .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }
#payment .woocommerce-privacy-policy-text a, #payment .woocommerce-terms-and-conditions-wrapper a { color: var(--blue-700); }
#place_order {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 0; border-radius: 12px;
  background: var(--blue); color: #fff; font: inherit; font-size: 15.5px; font-weight: 500; cursor: pointer;
  transition: background .3s, box-shadow .3s;
}
#place_order:hover { background: var(--navy-900); box-shadow: 0 16px 30px -16px rgba(10, 31, 60, .7); }
.tmx-page .blockUI.blockOverlay { border-radius: var(--r-lg); background: rgba(255, 255, 255, .6) !important; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px; }
form.checkout_coupon, form.woocommerce-form-login { display: grid; gap: 12px; margin-bottom: 20px; padding: 20px; border-radius: var(--r-lg); background: #fff; }
form.checkout_coupon .button, form.woocommerce-form-login .button, .tmx-page--commerce .woocommerce-Button, .tmx-page--commerce .woocommerce-button {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border: 0; border-radius: var(--r);
  background: var(--navy-900); color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .3s;
}
form.checkout_coupon .button:hover, form.woocommerce-form-login .button:hover, .tmx-page--commerce .woocommerce-Button:hover, .tmx-page--commerce .woocommerce-button:hover { background: var(--blue); }

/* Pedido recibido */
.woocommerce-order { display: grid; gap: 22px; max-width: 880px; margin-inline: auto; }
.woocommerce-order .woocommerce-thankyou-order-received { padding: 20px 22px; border-radius: var(--r-lg); background: #e8f7ef; color: #13814f; font-weight: 500; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.woocommerce-order-overview li { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: #fff; font-size: 12.5px; color: var(--muted); }
.woocommerce-order-overview li strong { font-size: 15px; color: var(--head); font-weight: 600; }
.woocommerce-order-details, .woocommerce-customer-details { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: #fff; }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { margin-bottom: 14px; font-size: 18px; font-weight: 600; color: var(--head); }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; color: var(--text); }

/* Mi cuenta */
.woocommerce-account .tmx-commerce .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 8px; border-radius: var(--r-lg); background: #fff; list-style: none; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); color: var(--navy-900); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy-900); color: #fff; }
.woocommerce-MyAccount-content { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); background: #fff; font-size: 15px; line-height: 1.7; }
.woocommerce-MyAccount-content a { color: var(--blue-700); }
.woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-MyAccount-content th, .woocommerce-MyAccount-content td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-account:not(.logged-in) .tmx-commerce .woocommerce { display: block; max-width: 520px; margin-inline: auto; }
.woocommerce-account:not(.logged-in) .tmx-commerce .u-columns { display: grid; gap: 20px; }
.woocommerce-account:not(.logged-in) .tmx-commerce .u-column1, .woocommerce-account:not(.logged-in) .tmx-commerce .u-column2 { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); background: #fff; }
.woocommerce-account:not(.logged-in) h2 { margin-bottom: 16px; font-size: 20px; font-weight: 600; color: var(--head); }
.woocommerce-account form.woocommerce-form-login { padding: 0; background: transparent; }
.woocommerce-LostPassword a { font-size: 13.5px; color: var(--blue-700); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .tmx-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmx-pdp__related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tmx-cart-layout, .tmx-checkout-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .tmx-cart-table__head, .tmx-cart-item { grid-template-columns: minmax(0, 1fr) 140px 100px; }
  .tmx-cart-table__head span:nth-child(2), .tmx-cart-item__price { display: none; }
}

@media (max-width: 980px) {
  .tmx-shop__layout { grid-template-columns: minmax(0, 1fr); }
  .tmx-shop__filters {
    position: fixed; z-index: 1200; left: 12px; right: 12px; bottom: 12px; top: auto;
    max-height: calc(100svh - 96px); overflow: auto; padding: 52px 14px 14px; border-radius: 16px; background: #fff;
    box-shadow: 0 30px 80px -20px rgba(6, 25, 47, .55), 0 0 0 100vmax rgba(6, 25, 47, .45);
    opacity: 0; visibility: hidden; transform: translateY(24px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .tmx-shop__filters.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .tmx-shop__fclose { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--paper); color: var(--navy-900); cursor: pointer; }
  .tmx-shop__fclose svg { width: 18px; height: 18px; }
  html.tmx-sheet-open { overflow: hidden; }
  .tmx-shop__bar { display: grid; grid-template-columns: auto 1fr; }
  .tmx-shop__count { grid-column: 1 / -1; }
  .tmx-shop__ftog {
    position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--paper); color: var(--navy-900); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  }
  .tmx-shop__ftog svg { width: 18px; height: 18px; }
  .tmx-shop__ftog i { position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
  .tmx-shop__sort { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-self: end; max-width: 100%; }
  .tmx-shop__sort::-webkit-scrollbar { display: none; }
  .tmx-shop__sort a { flex: none; }

  .tmx-pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .tmx-pdp__gallery { position: static; }
  .tmx-pdp__more .woocommerce-tabs { grid-template-columns: minmax(0, 1fr); }
  .tmx-pdp__more ul.tabs { position: static; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .tmx-pdp__more ul.tabs li { flex: none; }
  .tmx-pdp__more ul.tabs li.active a::before { left: 18px; right: 18px; top: auto; bottom: 6px; width: auto; height: 2px; border-radius: 2px; }
  .tmx-pdp__related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .tmx-cart-layout, .tmx-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .tmx-cart-summary, .tmx-checkout-order { position: static; }
  .woocommerce-account .tmx-commerce .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; }
  .woocommerce-MyAccount-navigation li { flex: none; }
}

@media (max-width: 720px) {
  .tmx-page--shop .tmx-shop__cats { flex-direction: row; align-items: center; gap: 8px; }
  .tmx-shop__cats { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .tmx-shop__cats a { height: 46px; padding-right: 14px; font-size: 13.5px; }
  .tmx-shop__cat-ic { width: 30px; height: 30px; border-radius: 8px; }
  .tmx-shop__cat-ic svg { width: 17px; height: 17px; }
  .tmx-shop__grid, .tmx-pdp__related ul.products { gap: 12px; }
  .tmx-store-product-card__body { padding: 12px 12px 14px; gap: 6px; }
  .tmx-store-product-card__topline { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tmx-store-product-card__title { font-size: 14px; }
  .tmx-store-product-card__price { font-size: 16px; }
  .tmx-store-product-card__actions .button { height: 42px; padding: 0 8px; gap: 6px; font-size: 12.5px; white-space: nowrap; }
  .tmx-store-product-card__actions .button::before { width: 15px; height: 15px; }
  .tmx-store-product-card__actions .added_to_cart { font-size: 12.5px; }

  .tmx-pdp__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tmx-pdp__perks { grid-template-columns: minmax(0, 1fr); }
  .tmx-pdp__perks li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .tmx-pdp__perks li span { grid-row: span 2; margin: 0; }
  .tmx-pdp__cart .single_add_to_cart_button { min-width: 0; }

  .tmx-chead__inner { flex-direction: column; align-items: stretch; }
  .tmx-chead__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tmx-chead__steps li { font-size: 12px; }

  .tmx-cart-card { padding: 6px 16px 16px; }
  .tmx-cart-table__head { display: none; }
  .tmx-cart-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "p p" "q s"; gap: 14px; }
  .tmx-cart-item__product { grid-area: p; grid-template-columns: 64px minmax(0, 1fr) 28px; }
  .tmx-cart-item__remove { order: 3; align-self: start; }
  .tmx-cart-item__thumb { width: 64px; }
  .tmx-cart-item__quantity { grid-area: q; justify-content: flex-start; }
  .tmx-cart-item__subtotal { grid-area: s; align-self: center; }
  .tmx-cart-actions { justify-content: stretch; }
  .tmx-cart-actions > button { flex: 1; justify-content: center; padding: 0 10px; white-space: nowrap; font-size: 13px; }
}
.tmx-pagination .tmx-ico { width: 18px; height: 18px; }
.tmx-pagination .tmx-pg-prev { display: grid; transform: rotate(-90deg); }
.tmx-whatsapp-quote-button .tmx-ico { width: 18px; height: 18px; }
.tmx-whatsapp-quote-button span { display: grid; }
.tmx-whatsapp-quote-button:hover span { transform: translate(3px, -3px); }
