/* ============================================================
   ALTUM — Capa WooCommerce
   El prototipo React no tiene carrito, checkout ni mi-cuenta.
   Todo lo de aquí se construye SOLO con tokens y patrones que
   ya existen en el diseño: .field, .sticky-card, .callout,
   .filter-option, .btn, .detail-layout, .listing-layout.
   Cero hex nuevos.
   ============================================================ */

/* ---------- Neutralizar lo que trae Woo por defecto ---------- */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-head);font-weight:600;font-size:.95rem;
  padding:14px 28px;border-radius:var(--radius-pill);
  border:2px solid transparent;
  background:var(--red-600);color:var(--white);
  text-transform:none;line-height:1.6;font-weight:600;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{background:var(--red-700);color:var(--white);}
.woocommerce .button.disabled,
.woocommerce .button:disabled{opacity:.5;}

/* Variante secundaria para acciones no principales */
.woocommerce .button--secondary,
.woocommerce a.button.wc-backward,
.woocommerce .woocommerce-message .button,
.woocommerce .return-to-shop .button{
  background:transparent;border-color:var(--ink-900);color:var(--ink-900);
}
.woocommerce .button--secondary:hover,
.woocommerce a.button.wc-backward:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .return-to-shop .button:hover{background:var(--ink-900);color:var(--white);}

/* ---------- Campos de formulario (idénticos a .field del kit) ---------- */
.woocommerce form .form-row{margin:0 0 18px;padding:0;}
.woocommerce form .form-row label,
.woocommerce-page form .form-row label{
  display:block;font-family:var(--font-body);font-size:.82rem;font-weight:600;
  margin-bottom:6px;color:var(--ink-800);line-height:1.6;
}
.woocommerce form .form-row label .required{color:var(--red-600);border:none;text-decoration:none;}
.woocommerce form .form-row .optional{color:var(--ink-400);font-weight:400;}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select{
  width:100%;padding:13px 16px;
  border:1.5px solid var(--grey-100);border-radius:var(--radius-sm);
  font-family:var(--font-body);font-size:.94rem;line-height:1.6;
  background:var(--grey-050);color:var(--ink-800);height:auto;
  transition:border-color .15s ease,background .15s ease;
  box-shadow:none;
}
.woocommerce form .form-row textarea{min-height:110px;}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline:none;border-color:var(--red-600);background:var(--white);box-shadow:none;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--red-600);}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:var(--green-600);}
/* select2 (país / departamento) con el mismo look */
.woocommerce .select2-container--default .select2-selection--single{
  border:1.5px solid var(--grey-100);border-radius:var(--radius-sm);
  background:var(--grey-050);height:auto;padding:13px 16px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
  color:var(--ink-800);line-height:1.6;padding:0;font-size:.94rem;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;right:10px;}
.woocommerce .select2-dropdown{border-color:var(--grey-100);border-radius:var(--radius-sm);}
.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--red-600);}

/* Fila doble en el checkout (nombre/apellido, DNI/RUC) */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last{width:calc(50% - 8px);float:left;}
.woocommerce form .form-row-first{margin-right:16px;}
.woocommerce form .form-row-wide{clear:both;width:100%;}
@media (max-width:640px){
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last{width:100%;float:none;margin-right:0;}
}

/* Checkbox (términos, crear cuenta) con el look de .field-check */
.woocommerce form .form-row.woocommerce-validated .checkbox,
.woocommerce .woocommerce-form__label-for-checkbox{
  display:flex;align-items:flex-start;gap:10px;font-size:.82rem;color:var(--ink-600);
  font-weight:400;
}
.woocommerce .woocommerce-form__label-for-checkbox input{width:auto;margin-top:3px;flex:none;}
.woocommerce-terms-and-conditions-wrapper a{color:var(--red-600);font-weight:600;}

/* ---------- Avisos (message / info / error) ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error{
  border-radius:var(--radius-md);
  padding:20px 24px;margin:0 0 28px;
  display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;
  font-size:.96rem;color:var(--ink-800);
  border:none;border-left:4px solid var(--red-600);
  background:var(--red-050);
  list-style:none;
}
.woocommerce-message{background:var(--green-050);border-left-color:var(--green-600);}
.woocommerce-info{background:var(--gold-100);border-left-color:var(--gold-500);}
.woocommerce-error{background:var(--red-050);border-left-color:var(--red-600);}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{display:none;}
.woocommerce-message .button,
.woocommerce-info .button{margin-left:auto;padding:10px 18px;font-size:.85rem;}
.woocommerce-error li{margin:0;}

/* ---------- Carrito ----------
   El shortcode de Woo emite el formulario y los totales como hermanos.
   Se maquetan en dos columnas con el mismo grid que .detail-layout. */
.woocommerce-cart .woocommerce{
  display:grid;grid-template-columns:1fr 380px;gap:48px;align-items:start;
}
.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce>.cart-empty,
.woocommerce-cart .woocommerce>.return-to-shop{grid-column:1 / -1;}
.woocommerce-cart .woocommerce-cart-form{grid-column:1;margin:0;}
.woocommerce-cart .cart-collaterals{grid-column:2;}
@media (max-width:1080px){
  .woocommerce-cart .woocommerce{grid-template-columns:1fr;gap:32px;}
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals{grid-column:1;}
}

.woocommerce table.shop_table{
  border:1px solid var(--grey-100);border-radius:var(--radius-lg);
  border-collapse:separate;border-spacing:0;overflow:hidden;
  width:100%;margin:0;background:var(--white);
}
.woocommerce table.shop_table th{
  font-family:var(--font-head);font-weight:700;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.04em;color:var(--ink-600);
  padding:16px 20px;background:var(--grey-050);border:none;
  border-bottom:1px solid var(--grey-100);text-align:left;
}
.woocommerce table.shop_table td{
  padding:20px;border:none;border-bottom:1px solid var(--grey-100);
  color:var(--ink-800);font-size:.94rem;vertical-align:middle;
}
.woocommerce table.shop_table tbody tr:last-child td{border-bottom:1px solid var(--grey-100);}
.woocommerce table.shop_table .product-thumbnail img{
  width:88px;height:auto;border-radius:var(--radius-sm);
}
.woocommerce table.cart .product-name a{
  font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--ink-900);
}
.woocommerce table.cart .product-name a:hover{color:var(--red-600);}
.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal{
  font-family:var(--font-head);font-weight:700;color:var(--red-600);
}
.woocommerce a.remove{
  width:28px;height:28px;line-height:26px;border-radius:50%;
  color:var(--ink-400)!important;font-size:1.1rem;
  background:var(--grey-050);text-align:center;
}
.woocommerce a.remove:hover{background:var(--red-050);color:var(--red-600)!important;}
.woocommerce .quantity input.qty{
  width:72px;padding:10px;text-align:center;
  border:1.5px solid var(--grey-100);border-radius:var(--radius-sm);
  background:var(--grey-050);font-family:var(--font-body);font-size:.94rem;
}
.woocommerce table.cart td.actions{padding:20px;background:var(--grey-050);}
.woocommerce table.cart td.actions .coupon{display:flex;gap:10px;align-items:center;float:none;}
.woocommerce table.cart td.actions .coupon label{display:none;}
.woocommerce table.cart td.actions .coupon .input-text{
  width:auto;min-width:220px;padding:13px 16px;
  border:1.5px solid var(--grey-100);border-radius:var(--radius-sm);
  background:var(--white);font-family:var(--font-body);font-size:.94rem;
}
.woocommerce table.cart td.actions .coupon .button{
  background:transparent;border-color:var(--red-600);color:var(--red-600);
  padding:11px 20px;font-size:.84rem;font-weight:700;
}
.woocommerce table.cart td.actions .coupon .button:hover{background:var(--red-600);color:var(--white);}
.woocommerce table.cart td.actions>.button{float:right;}
@media (max-width:640px){
  .woocommerce table.cart td.actions .coupon{flex-direction:column;align-items:stretch;}
  .woocommerce table.cart td.actions .coupon .input-text{min-width:0;width:100%;}
  .woocommerce table.cart td.actions>.button{float:none;width:100%;margin-top:12px;}
}

/* Resumen del pedido — reusa el patrón .sticky-card */
.altum-order-summary{
  position:sticky;top:calc(var(--header-h) + 24px);
  background:var(--white);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden;
}
@media (max-width:1080px){.altum-order-summary{position:relative;top:0;}}
.altum-order-summary>h2,
.woocommerce .cart_totals>h2{
  font-size:1.05rem;margin:0;padding:22px 26px;
  border-bottom:1px solid var(--grey-100);background:var(--grey-050);
}
.woocommerce .cart_totals{
  width:100%;float:none;
  background:var(--white);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden;
  position:sticky;top:calc(var(--header-h) + 24px);
}
@media (max-width:1080px){.woocommerce .cart_totals{position:relative;top:0;}}
.woocommerce .cart_totals table.shop_table{border:none;border-radius:0;box-shadow:none;}
.woocommerce .cart_totals table.shop_table th{
  background:transparent;text-transform:none;letter-spacing:0;
  font-size:.88rem;color:var(--ink-800);font-weight:600;padding:16px 26px;
}
.woocommerce .cart_totals table.shop_table td{padding:16px 26px;text-align:right;}
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td{
  border-top:1px solid var(--grey-100);border-bottom:none;
}
.woocommerce .cart_totals .order-total th{font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--ink-900);}
.woocommerce .cart_totals .order-total td strong{
  font-family:var(--font-head);font-weight:800;font-size:1.5rem;color:var(--red-600);
}
.woocommerce .wc-proceed-to-checkout{padding:0 26px 26px;}
.woocommerce .wc-proceed-to-checkout a.checkout-button{width:100%;margin:0;}
.woocommerce .cart-collaterals{width:100%;float:none;}
.woocommerce .cart-collaterals .cross-sells{width:100%;float:none;margin-top:48px;}

/* Carrito vacío */
.woocommerce .cart-empty{
  font-family:var(--font-head);font-weight:700;font-size:1.3rem;color:var(--ink-900);
  text-align:center;margin-bottom:24px;
}
.woocommerce .return-to-shop{text-align:center;}

/* ---------- Checkout ----------
   Igual que el carrito: datos a la izquierda, resumen sticky a la derecha. */
.woocommerce-checkout form.checkout{
  display:grid;grid-template-columns:1fr 380px;gap:0 48px;align-items:start;
}
.woocommerce-checkout form.checkout>.col2-set,
.woocommerce-checkout form.checkout>#customer_details{grid-column:1;grid-row:1 / span 2;}
.woocommerce-checkout form.checkout>#order_review_heading{grid-column:2;grid-row:1;display:none;}
.woocommerce-checkout form.checkout>#order_review{grid-column:2;grid-row:1 / span 2;}
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout .woocommerce-notices-wrapper{grid-column:1 / -1;}
@media (max-width:1080px){
  .woocommerce-checkout form.checkout{grid-template-columns:1fr;gap:32px;}
  .woocommerce-checkout form.checkout>.col2-set,
  .woocommerce-checkout form.checkout>#customer_details,
  .woocommerce-checkout form.checkout>#order_review{grid-column:1;grid-row:auto;}
}
.woocommerce .col2-set,
.woocommerce-page .col2-set{width:100%;}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{width:100%;float:none;}
.woocommerce .col2-set .col-2{margin-top:32px;}
.woocommerce-billing-fields>h3,
.woocommerce-additional-fields>h3,
.woocommerce-shipping-fields>h3,
#order_review_heading{
  font-family:var(--font-head);font-weight:700;font-size:1.05rem;color:var(--ink-900);
  margin:0 0 6px;
}
.altum-checkout-section{
  background:var(--white);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);padding:32px;margin-bottom:24px;
}
.altum-checkout-section>h3{margin-bottom:22px;}
.altum-checkout-section-note{
  font-size:.86rem;color:var(--ink-600);margin:-2px 0 20px;
}

/* Resumen lateral del checkout */
#order_review{
  background:var(--white);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden;
  position:sticky;top:calc(var(--header-h) + 24px);
}
@media (max-width:1080px){#order_review{position:relative;top:0;}}
#order_review_heading{padding:22px 26px;margin:0;background:var(--grey-050);border-bottom:1px solid var(--grey-100);}
.woocommerce-checkout-review-order-table{border:none!important;border-radius:0!important;}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{padding:14px 26px!important;font-size:.9rem;}
.woocommerce-checkout-review-order-table thead th{background:transparent!important;border-bottom:1px solid var(--grey-100);}
.woocommerce-checkout-review-order-table .product-name{color:var(--ink-800);}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td{text-align:right;font-family:var(--font-head);font-weight:700;}
.woocommerce-checkout-review-order-table tfoot th{
  font-family:var(--font-head);font-weight:600;font-size:.9rem;color:var(--ink-800);
  background:transparent!important;text-transform:none;letter-spacing:0;
}
.woocommerce-checkout-review-order-table tfoot td{text-align:right;}
.woocommerce-checkout-review-order-table tfoot .order-total th{
  font-weight:700;font-size:1rem;color:var(--ink-900);border-top:1px solid var(--grey-100);
}
.woocommerce-checkout-review-order-table tfoot .order-total td{
  border-top:1px solid var(--grey-100);
}
.woocommerce-checkout-review-order-table tfoot .order-total td strong{
  font-family:var(--font-head);font-weight:800;font-size:1.5rem;color:var(--red-600);
}

/* Métodos de pago */
.woocommerce #payment{background:transparent;border-radius:0;padding:0;}
.woocommerce #payment ul.payment_methods{
  border:none;border-top:1px solid var(--grey-100);
  padding:22px 26px 0;margin:0;
}
.woocommerce #payment ul.payment_methods li{
  border:1.5px solid var(--grey-100);border-radius:var(--radius-md);
  padding:16px 18px;margin-bottom:12px;list-style:none;
  transition:border-color .15s ease,background .15s ease;
}
.woocommerce #payment ul.payment_methods li:hover{border-color:var(--red-600);}
.woocommerce #payment ul.payment_methods li label{
  font-family:var(--font-head);font-weight:600;font-size:.92rem;color:var(--ink-900);
  display:inline;cursor:pointer;
}
.woocommerce #payment ul.payment_methods li input[type=radio]{margin-right:8px;accent-color:var(--red-600);}
.woocommerce #payment div.payment_box{
  background:var(--grey-050);border-radius:var(--radius-sm);
  color:var(--ink-600);font-size:.88rem;margin:14px 0 0;padding:16px 18px;
}
.woocommerce #payment div.payment_box::before{display:none;}
.woocommerce #payment div.payment_box p:last-child{margin-bottom:0;}
.woocommerce #payment div.form-row.place-order{padding:22px 26px 26px;margin:0;}
.woocommerce #payment #place_order{width:100%;float:none;}
.woocommerce-privacy-policy-text{font-size:.82rem;color:var(--ink-600);}
.woocommerce-privacy-policy-text a{color:var(--red-600);}

/* Cupón en el checkout */
.woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:20px;}
.woocommerce form.checkout_coupon{
  border:1px solid var(--grey-100);border-radius:var(--radius-md);
  padding:24px;margin:0 0 24px;background:var(--white);
}

/* ---------- Pedido recibido / Gracias ---------- */
.altum-thankyou-banner{margin-bottom:36px;}
.woocommerce ul.order_details{
  display:flex;flex-wrap:wrap;gap:1px;margin:0 0 36px;padding:0;
  background:var(--grey-100);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);overflow:hidden;list-style:none;
}
.woocommerce ul.order_details li{
  flex:1 1 180px;background:var(--white);padding:22px 20px;margin:0;border:none;
  font-family:var(--font-body);font-size:.72rem;text-transform:uppercase;
  letter-spacing:.04em;color:var(--ink-400);font-weight:700;
}
.woocommerce ul.order_details li strong{
  display:block;margin-top:6px;font-family:var(--font-head);font-weight:800;
  font-size:1.05rem;color:var(--ink-900);text-transform:none;letter-spacing:0;
}
.woocommerce ul.order_details li::after{display:none;}
.woocommerce .woocommerce-order h2,
.woocommerce .woocommerce-column__title{
  font-size:1.2rem;margin-top:2.2em;
}
.woocommerce .woocommerce-order h2:first-of-type{margin-top:0;}
.woocommerce .woocommerce-customer-details .woocommerce-columns{
  display:grid;grid-template-columns:1fr 1fr;gap:28px;
}
@media (max-width:640px){.woocommerce .woocommerce-customer-details .woocommerce-columns{grid-template-columns:1fr;}}
.woocommerce .woocommerce-customer-details address{
  border:1px solid var(--grey-100);border-radius:var(--radius-md);
  padding:22px;font-style:normal;color:var(--ink-800);font-size:.94rem;line-height:1.8;
}
.woocommerce .woocommerce-bacs-bank-details{margin-bottom:36px;}
.woocommerce .woocommerce-bacs-bank-details h2{margin-top:0;}
.woocommerce ul.wc-bacs-bank-details{
  border:1px solid var(--grey-100);border-radius:var(--radius-md);
  padding:22px 26px;background:var(--gold-100);border-left:4px solid var(--gold-500);
}
.woocommerce ul.wc-bacs-bank-details li{
  color:var(--ink-800);font-size:.94rem;margin-bottom:8px;display:flex;gap:8px;
}
.woocommerce ul.wc-bacs-bank-details li:last-child{margin-bottom:0;}
.woocommerce ul.wc-bacs-bank-details li strong{color:var(--ink-900);font-weight:700;}

/* ---------- Mi cuenta ---------- */
.woocommerce-account .woocommerce{
  display:grid;grid-template-columns:264px 1fr;gap:40px;align-items:start;
}
@media (max-width:1080px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr;}
}
.woocommerce-account .woocommerce-MyAccount-navigation{
  width:100%;float:none;
  background:var(--white);border:1px solid var(--grey-100);
  border-radius:var(--radius-lg);padding:26px;
  position:sticky;top:calc(var(--header-h) + 24px);
}
@media (max-width:1080px){
  .woocommerce-account .woocommerce-MyAccount-navigation{position:relative;top:0;}
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;gap:2px;}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;}
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:flex;align-items:center;gap:10px;
  width:100%;text-align:left;
  padding:9px 4px;border-radius:var(--radius-sm);
  font-family:var(--font-body);font-size:.9rem;color:var(--ink-700);
  transition:color .15s ease,background .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before{
  content:"";width:15px;height:15px;border-radius:5px;flex:none;
  border:1.5px solid var(--ink-200);
  transition:background .15s ease,border-color .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{color:var(--red-600);background:var(--red-050);}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  color:var(--red-600);font-weight:700;background:var(--red-050);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before{
  background:var(--red-600);border-color:var(--red-600);
}
.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none;}
.woocommerce-account .woocommerce-MyAccount-content>p:first-child{font-size:1.02rem;color:var(--ink-600);}
.woocommerce-account .woocommerce-MyAccount-content mark{background:var(--gold-100);color:var(--ink-900);padding:2px 6px;border-radius:4px;}

/* Login / registro */
.woocommerce-account:not(.logged-in) .woocommerce{grid-template-columns:1fr;}
.woocommerce .altum-account-forms{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:920px;margin:0 auto;}
@media (max-width:860px){.woocommerce .altum-account-forms{grid-template-columns:1fr;}}
.woocommerce form.login,
.woocommerce form.register{
  border:1px solid var(--grey-100);border-radius:var(--radius-lg);
  padding:36px;margin:0;background:var(--white);box-shadow:var(--shadow-sm);
}
.woocommerce form.login h2,
.woocommerce form.register h2{font-size:1.15rem;margin-bottom:20px;}
.woocommerce form.login .button,
.woocommerce form.register .button{width:100%;}
.woocommerce form.login .woocommerce-form-login__rememberme{margin:0 0 16px;}
.woocommerce form.login .lost_password a{color:var(--red-600);font-size:.86rem;font-weight:600;}
.woocommerce .password-input,.woocommerce .show-password-input{display:block;}

/* Pedidos en mi cuenta */
.woocommerce-account .woocommerce-orders-table__cell-order-number a{color:var(--red-600);font-weight:700;}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button{
  padding:8px 14px;font-size:.8rem;margin:2px;
}
.woocommerce mark.order-status,
.woocommerce .woocommerce-orders-table__cell-order-status{
  font-family:var(--font-head);font-weight:700;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.04em;
}

/* ---------- Paginación (archivo de productos) ---------- */
.woocommerce nav.woocommerce-pagination{margin-top:48px;text-align:center;}
.woocommerce nav.woocommerce-pagination ul{
  display:inline-flex;gap:8px;border:none;
}
.woocommerce nav.woocommerce-pagination ul li{border:none;margin:0;overflow:visible;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  display:flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 12px;
  border:1.5px solid var(--grey-100);border-radius:var(--radius-pill);
  font-family:var(--font-head);font-weight:600;font-size:.88rem;color:var(--ink-600);
  background:var(--white);
  transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover{border-color:var(--red-600);color:var(--red-600);background:var(--white);}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--red-600);border-color:var(--red-600);color:var(--white);
}

/* ---------- 404 y búsqueda ---------- */
.altum-404-code{
  font-family:var(--font-head);font-weight:800;
  font-size:clamp(4rem,12vw,9rem);line-height:1;color:var(--red-600);
  margin:0 0 8px;letter-spacing:-.04em;
}
.altum-search-form{display:flex;gap:10px;max-width:520px;margin:28px auto 0;}
.altum-search-form input[type=search]{
  flex:1;padding:14px 18px;
  border:1.5px solid var(--grey-100);border-radius:var(--radius-sm);
  background:var(--grey-050);font-family:var(--font-body);font-size:.94rem;color:var(--ink-800);
}
.altum-search-form input[type=search]:focus{outline:none;border-color:var(--red-600);background:var(--white);}
.altum-search-result{
  padding:24px 0;border-bottom:1px solid var(--grey-100);
}
.altum-search-result:last-child{border-bottom:none;}
.altum-search-result h3{font-size:1.12rem;margin-bottom:6px;}
.altum-search-result h3 a:hover{color:var(--red-600);}
.altum-search-result .kind{
  display:inline-flex;align-items:center;
  font-family:var(--font-head);font-weight:700;font-size:.68rem;
  letter-spacing:.04em;text-transform:uppercase;
  padding:4px 10px;border-radius:var(--radius-pill);
  background:var(--red-050);color:var(--red-600);margin-bottom:10px;
}
.altum-search-result p{color:var(--ink-600);font-size:.94rem;margin:0;}

/* ---------- Ocultar lo que el diseño no tiene ---------- */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .product .star-rating,
.woocommerce .woocommerce-product-rating,
.woocommerce div.product form.cart .variations_button .quantity,
.woocommerce-breadcrumb{display:none;}
