/* ==========================================================================
   Telfo · WooCommerce (tienda, ficha, carrito, pago y cuenta)
   ========================================================================== */

/* --- Banda de cabecera ---------------------------------------------------- */
.shop-band {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(36px, 4.5vw, 64px));
  padding-bottom: clamp(36px, 4.5vw, 60px);
}
.shop-band .wrap { position: relative; z-index: 1; }
.shop-band::after {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(0,148,216,.22), transparent 66%); filter: blur(40px); pointer-events: none;
}
.shop-band .eyebrow { margin-bottom: 16px; }
.shop-band .crumbs ol, .shop-steps { padding: 0; margin-left: 0; list-style: none; }
.shop-band h1 { max-width: 22ch; }
.shop-band .lede { margin-top: 18px; max-width: 62ch; }

/* Pasos del proceso */
.shop-steps { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; counter-reset: s; }
.shop-steps li { display: flex; align-items: center; gap: 11px; font-size: .92rem; font-weight: 550; color: var(--muted-inv); position: relative; }
.shop-steps li + li::before { content: ""; width: 34px; height: 1px; background: var(--line-inv); margin-right: 6px; }
.shop-step-n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: .78rem; border: 1px solid var(--line-inv); color: var(--muted-inv);
}
.shop-steps .is-on { color: #fff; }
.shop-steps .is-on .shop-step-n { background: var(--green); border-color: var(--green); color: var(--ink); box-shadow: 0 0 24px rgba(116,202,0,.35); }
.shop-steps .is-done { color: var(--text-inv); }
.shop-steps .is-done .shop-step-n { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
@media (max-width: 560px) {
  .shop-steps { gap: 10px 14px; }
  .shop-steps li + li::before { width: 14px; margin-right: 0; }
  .shop-steps li:not(.is-on) span:last-child { display: none; }
}

/* --- Contenedor ------------------------------------------------------------ */
.shop-main { background: var(--paper); padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 110px); }
.shop-page .wrap > * { max-width: none; }

/* --- Formularios ----------------------------------------------------------- */
.shop-main input[type="text"], .shop-main input[type="email"], .shop-main input[type="tel"],
.shop-main input[type="password"], .shop-main input[type="number"], .shop-main select, .shop-main textarea {
  font: inherit; font-size: .97rem; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.shop-main input:focus, .shop-main select:focus, .shop-main textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,148,216,.14);
}
.shop-main label { font-size: .9rem; font-weight: 600; }

.shop-main .button, .shop-main button.button, .shop-main a.button, .shop-main input.button,
.shop-main .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 650 .97rem/1.2 var(--sans); letter-spacing: -.005em;
  padding: 15px 26px; min-height: 52px; border-radius: var(--radius-sm);
  background: var(--blue-700); color: #fff; border: 0; cursor: pointer;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.shop-main .button:hover, .shop-main .single_add_to_cart_button:hover { background: #00699C; transform: translateY(-2px); }
.shop-main .button.disabled, .shop-main .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* --- Avisos ----------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 0 0 30px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  font-size: .95rem;
}
.woocommerce-message { border-left-color: var(--green); background: #F4FAEC; }
.woocommerce-error { border-left-color: #D64545; background: #FDF3F3; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 10px 18px; font-size: .88rem; background: var(--ink); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

/* --- Listado de la tienda --------------------------------------------------- */
.shop-main ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 0; padding: 0; }
.shop-main ul.products::before, .shop-main ul.products::after { display: none; }
.shop-main ul.products li.product {
  float: none; width: auto; margin: 0; padding: 0 0 22px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.shop-main ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.shop-main ul.products li.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 18px; }
.shop-main ul.products li.product .woocommerce-loop-product__title { font-size: 1.2rem; font-weight: 700; padding: 0 22px; letter-spacing: -.02em; }
.shop-main ul.products li.product .price { display: block; padding: 8px 22px 16px; color: var(--text); font-weight: 650; }
.shop-main ul.products li.product .button { margin: 0 22px; }

/* --- Ficha de producto ------------------------------------------------------ */
.shop-main div.product {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 76px); align-items: start;
}
.shop-main div.product > *:not(.woocommerce-product-gallery):not(.summary) { grid-column: 1 / -1; }
.shop-main div.product div.images, .shop-main div.product div.summary { float: none; width: auto; margin: 0; }
@media (max-width: 900px) { .shop-main div.product { grid-template-columns: 1fr; } }

/* Galería */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { float: none; width: auto; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: var(--radius-sm); cursor: pointer; opacity: .55; aspect-ratio: 4 / 3; object-fit: cover;
  border: 2px solid transparent; transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.woocommerce-product-gallery .flex-control-thumbs img:hover, .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--blue); }
.woocommerce-product-gallery__trigger {
  position: absolute; top: 16px; left: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8,21,29,.72); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
  content: ""; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; box-sizing: border-box; transform: translate(-1px,-1px);
}
.woocommerce-product-gallery__trigger::after {
  content: ""; position: absolute; width: 2px; height: 7px; background: #fff; transform: translate(6px, 6px) rotate(-45deg);
}
.woocommerce-product-gallery__trigger img { display: none !important; }

/* Resumen */
.shop-main div.product p.price, .shop-main div.product span.price { color: var(--text); }
.summary > .price {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  font-variation-settings: "wdth" 108; margin: 0 0 18px;
}
.price-from { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-right: 4px; }
.woocommerce-price-suffix { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.woocommerce-product-details__short-description { color: var(--muted); font-size: 1.04rem; line-height: 1.62; }
.woocommerce-product-details__short-description ul { margin-top: 16px; display: grid; gap: 9px; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 28px; color: var(--text); font-size: .97rem; }
.woocommerce-product-details__short-description li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2308151D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Variaciones en botones */
.variations_form { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.variations_form table.variations { width: 100%; border: 0; border-collapse: collapse; margin: 0 0 6px; }
.variations_form table.variations th, .variations_form table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.variations_form table.variations th label { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.variations_form table.variations td { margin-top: 12px; }
.variations_form.has-pills table.variations select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.var-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.var-pill {
  position: relative; text-align: left; cursor: pointer;
  padding: 14px 16px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.var-pill:hover { border-color: var(--blue-300); transform: translateY(-2px); }
.var-pill[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,148,216,.13); }
.var-pill-t { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; }
.var-pill-p { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }
.var-pill-h { display: block; margin-top: 2px; font-family: var(--mono); font-size: .7rem; color: var(--blue-700); letter-spacing: .02em; }
.var-pill-tag {
  position: absolute; top: -10px; right: 10px; padding: 3px 8px; border-radius: 999px;
  background: var(--green); color: var(--ink); font: 700 .64rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.single_variation_wrap { margin-top: 20px; }
.woocommerce-variation-price .price { font-size: 1.15rem; font-weight: 650; }
.woocommerce-variation-description { font-size: .9rem; color: var(--green-700); margin-bottom: 4px; }
.woocommerce-variation.single_variation:not(:empty) { margin-bottom: 16px; padding: 14px 16px; border-radius: 10px; background: var(--paper-2); }

/* Cantidad + botón */
.shop-main form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.shop-main .quantity input.qty { width: 84px; text-align: center; min-height: 52px; font-weight: 600; }
.shop-main .single_add_to_cart_button { flex: 1 1 220px; }

/* Garantías */
.pdp-trust { margin-top: 26px; display: grid; gap: 12px; }
.pdp-trust li { display: flex; gap: 12px; align-items: center; font-size: .93rem; }
.pdp-trust svg { flex: none; color: var(--blue-700); fill: none; }
.pdp-help { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: .9rem; color: var(--muted); }
.pdp-help a { color: var(--blue-700); font-weight: 600; }
.pdp-help a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Descripción + aside */
.pdp-desc {
  margin-top: clamp(56px, 7vw, 100px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start;
}
@media (max-width: 900px) { .pdp-desc { grid-template-columns: 1fr; } .pdp-aside { position: static; } }
.pdp-desc-body { max-width: 72ch; }
.pdp-desc-body > p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.7; color: var(--text); }
.pdp-desc-body h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 42px 0 16px; font-variation-settings: "wdth" 110; }
.pdp-desc-body ol { counter-reset: n; display: grid; gap: 14px; padding: 0; list-style: none; }
.pdp-desc-body ol li { counter-increment: n; position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.pdp-desc-body ol li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 15px;
  font: 600 .82rem/1.6 var(--mono); color: var(--blue-700);
}
.pdp-desc-body ul { display: grid; gap: 10px; }
.pdp-desc-body ul li { position: relative; padding-left: 22px; }
.pdp-desc-body ul li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 2px; background: var(--blue); }
.pdp-aside {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(26px, 3vw, 38px); border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.pdp-aside .d3 { margin-bottom: 14px; }
.pdp-aside p:not(.eyebrow) { color: var(--muted-inv); margin-bottom: 24px; }

/* --- Carrito y pago (bloques) ---------------------------------------------- */
.shop-page .wp-block-woocommerce-cart, .shop-page .wp-block-woocommerce-checkout { margin: 0; max-width: none; }
.shop-page .wc-block-components-sidebar-layout { margin: 0; }
.shop-page .wc-block-components-main { padding-right: clamp(0px, 3vw, 48px); }
.shop-page .wc-block-components-sidebar {
  padding: 26px 26px 18px !important; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
}
@media (max-width: 699px) { .shop-page .wc-block-components-sidebar { padding: 18px !important; } }
.shop-page .wc-block-cart__totals-title, .shop-page .wc-block-components-title, .shop-page .wc-block-components-checkout-step__title {
  font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: -.02em; text-transform: none !important; font-size: 1.15rem !important;
}
.shop-page .wc-block-cart-items th { font-family: var(--mono); font-size: .72rem !important; letter-spacing: .14em; color: var(--muted); font-weight: 500 !important; }
.shop-page .wc-block-cart-items, .shop-page .wc-block-cart-items td { border-color: var(--line) !important; }
.shop-page .wc-block-components-product-name { font-weight: 700; font-size: 1.05rem; color: var(--text) !important; text-decoration: none !important; letter-spacing: -.015em; }
.shop-page .wc-block-cart-item__image img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.shop-page .wc-block-components-product-metadata { font-size: .87rem; color: var(--muted); }
.shop-page .wc-block-components-product-price, .shop-page .wc-block-components-totals-item__value { font-weight: 650; }
.shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.shop-page .wc-block-components-button:not(.is-link) {
  font: 650 1rem/1.2 var(--sans) !important; min-height: 54px; border-radius: var(--radius-sm) !important;
  background: var(--blue-700) !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.shop-page .wc-block-components-button:not(.is-link):hover { background: #00699C !important; transform: translateY(-2px); }
.shop-page .wc-block-components-button.wc-block-components-checkout-place-order-button:not(.is-link) { background: var(--green) !important; color: var(--ink) !important; }
.shop-page .wc-block-components-button.wc-block-components-checkout-place-order-button:not(.is-link):hover { background: var(--green-300) !important; }
.shop-page .wc-block-components-text-input input, .shop-page .wc-block-components-combobox .components-combobox-control input,
.shop-page .wc-blocks-components-select .wc-blocks-components-select__select, .shop-page .wc-block-components-textarea {
  border-radius: var(--radius-sm) !important; border-color: var(--line) !important; font-family: var(--sans) !important;
}
.shop-page .wc-block-components-text-input.is-active input:focus, .shop-page .wc-block-components-text-input input:focus {
  border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(0,148,216,.14) !important;
}
.shop-page .wc-block-components-radio-control-accordion-option, .shop-page .wc-block-components-radio-control__option {
  border-color: var(--line) !important;
}
.shop-page .wc-block-components-radio-control__input:checked { border-color: var(--blue) !important; }
.shop-page .wc-block-components-radio-control__input:checked::before { background: var(--blue) !important; }
.shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--blue-700) !important; border-color: var(--blue-700) !important; }
.shop-page .wc-block-components-checkout-step__container::after { background: var(--line) !important; }
.shop-page .wc-block-components-checkout-step__heading-container::before { color: var(--blue-700); }
.shop-page .wc-block-components-quantity-selector { border-radius: 10px; border-color: var(--line); }
.shop-page .wc-block-components-quantity-selector::after { border-color: var(--line) !important; border-radius: 10px !important; }
.shop-page .wc-block-cart-item__remove-link { font-size: .82rem !important; color: var(--muted) !important; }
.shop-page .wc-block-components-notice-banner { border-radius: var(--radius-sm); font-size: .93rem; }
.shop-page .wc-block-components-notice-banner.is-success { border-color: var(--green); background: #F4FAEC; }
.shop-page .wc-block-components-notice-banner.is-success > svg { background: var(--green); }
.shop-page .wc-block-checkout__terms { font-size: .87rem; color: var(--muted); }
.shop-page .wc-block-components-panel__button, .shop-page .wc-block-components-totals-coupon-link { color: var(--blue-700) !important; font-weight: 600; }
.shop-page a:not(.wc-block-components-button):not(.button) { color: var(--blue-700); }
.shop-page .wc-block-components-product-name { color: var(--text) !important; }
.shop-page .wc-block-cart__empty-cart__title { font-size: 1.5rem; }
.shop-page .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }

/* --- Pedido recibido -------------------------------------------------------- */
.woocommerce-order .woocommerce-thankyou-order-received, .wc-block-order-confirmation-status p {
  font-size: 1.15rem; padding: 18px 22px; border-radius: var(--radius-sm); background: #F4FAEC; border-left: 3px solid var(--green);
}
.woocommerce-order-overview, .wc-block-order-confirmation-summary-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 0; margin: 24px 0; list-style: none;
}
.woocommerce-order-overview li, .wc-block-order-confirmation-summary-list-item {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .82rem; color: var(--muted);
}
.woocommerce-order-overview li strong { display: block; color: var(--text); font-size: 1rem; margin-top: 4px; }
.shop-page table.shop_table, .shop-page .wc-block-order-confirmation-totals table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.shop-page table.shop_table th, .shop-page table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.shop-page .woocommerce-bacs-bank-details, .shop-page .wc-bacs-bank-details { margin-top: 18px; }

/* --- Mi cuenta -------------------------------------------------------------- */
.shop-page .woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; }
.shop-page .woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 8px; font-weight: 550; color: var(--text) !important; }
.shop-page .woocommerce-MyAccount-navigation .is-active a, .shop-page .woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); color: var(--blue-700) !important; }
.shop-page .woocommerce-account .woocommerce, .shop-page .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 800px) { .shop-page .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; } }
.shop-page .woocommerce-MyAccount-navigation, .shop-page .woocommerce-MyAccount-content { float: none; width: auto; }
.shop-page .u-columns.col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.shop-page .u-columns .u-column1, .shop-page .u-columns .u-column2 { float: none; width: auto; }
.shop-page form.login, .shop-page form.register {
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0;
}
.shop-page .u-columns h2 { font-size: 1.35rem; margin-bottom: 18px; }
.shop-page .form-row { margin: 0 0 16px; padding: 0; }
.shop-page .form-row label { display: block; margin-bottom: 6px; }
.shop-page .woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin-bottom: 16px !important; }
.shop-page .lost_password a { font-size: .9rem; }

/* Variaciones en móvil: una por fila, nombre a la izquierda y precio a la derecha */
@media (max-width: 560px) {
  .var-pills { grid-template-columns: 1fr; gap: 12px; }
  .var-pill { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 14px 16px; }
  .var-pill-t { grid-row: 1 / 3; }
  .var-pill-p { margin-top: 0; text-align: right; color: var(--text); font-weight: 600; }
  .var-pill-h { text-align: right; }
  .var-pill-tag { top: -9px; right: auto; left: 14px; }
  .shop-page .wc-block-components-sidebar { padding: 4px 16px !important; }
}

/* --- Pago de factura --------------------------------------------------------- */
.pay-fields { flex: 1 1 100%; width: 100%; margin: 26px 0 20px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.pay-field label { display: block; margin-bottom: 7px; font-family: var(--mono); font-size: .74rem !important; font-weight: 500 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pay-amount { position: relative; display: block; }
.pay-amount input { font-size: 1.6rem !important; font-weight: 700; letter-spacing: -.02em; padding-right: 44px !important; min-height: 60px !important; }
.pay-amount span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.pay-note { font-size: .87rem; color: var(--muted); }
.shop-main form.cart .quantity:has(input[max="1"][min="1"]) { display: none; }

.summary > .price:empty { display: none; }

/* --- Mis horas ------------------------------------------------------------- */
.hrs-hero { padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: var(--text-inv); margin-bottom: 26px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.hrs-hero .eyebrow { color: var(--blue-300); margin-bottom: 8px; }
.hrs-big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; color: #fff; font-variation-settings: "wdth" 110; line-height: 1.1; }
.hrs-sub { margin-top: 10px; color: var(--muted-inv); font-size: .93rem; }
.hrs-sub a { color: var(--green) !important; }
.hrs-bag { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; background: #fff; }
.hrs-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.hrs-head h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.hrs-head p { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hrs-state { font: 600 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.hrs-state.is-on { background: #EAF6DA; color: var(--green-700); }
.hrs-state.is-off { background: var(--paper-2); color: var(--muted); }
.hrs-state.is-wait { background: #FFF4E0; color: #9A5B00; }
.hrs-bar { height: 10px; border-radius: 999px; background: var(--paper-3); margin: 18px 0 14px; overflow: hidden; }
.hrs-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green)); }
.hrs-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.hrs-nums div { padding: 12px 14px; border-radius: 10px; background: var(--paper-2); }
.hrs-nums dt { font: 500 .68rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hrs-nums dd { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.hrs-log { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .92rem; }
.hrs-log th { text-align: left; font: 500 .68rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.hrs-log td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.hrs-log td:last-child, .hrs-log th:last-child { text-align: right; white-space: nowrap; }
.hrs-log td:first-child { white-space: nowrap; color: var(--muted); }
.hrs-empty { margin-top: 14px; font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) { .hrs-nums { grid-template-columns: 1fr; } }
.order-invoice { margin-top: 18px; }
