
/* HimoPet v3.18 — Cart & Checkout
   Supports WooCommerce Blocks and classic templates. */
body.woocommerce-cart,
body.woocommerce-checkout{
  background:#f5f8fa;
  color:#102d46;
}
body.woocommerce-cart .hp-main-content,
body.woocommerce-checkout .hp-main-content{padding:0 0 56px}
body.woocommerce-cart .hp-page,
body.woocommerce-checkout .hp-page{
  width:min(1420px,calc(100% - 40px));
  max-width:1420px;
  margin:0 auto;
  padding:38px 0 60px;
}
body.woocommerce-cart .hp-page>h1,
body.woocommerce-checkout .hp-page>h1{
  margin:0 0 26px;
  font-family:'Manrope','DM Sans',Arial,sans-serif;
  font-size:34px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.035em;
  color:#0a3455;
}
body.woocommerce-cart .hp-entry,
body.woocommerce-checkout .hp-entry{
  font-family:'DM Sans',Arial,sans-serif;
  color:#163b57;
}

/* ---------- WooCommerce Blocks shared ---------- */
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout{
  gap:28px!important;
  align-items:flex-start!important;
}
body.woocommerce-cart .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-main{
  background:#fff!important;
  border:1px solid #e2eaf0!important;
  border-radius:20px!important;
  padding:28px!important;
  box-shadow:0 12px 38px rgba(6,48,79,.06)!important;
}
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar{
  background:#fff!important;
  border:1px solid #e2eaf0!important;
  border-radius:20px!important;
  padding:0!important;
  box-shadow:0 12px 38px rgba(6,48,79,.06)!important;
  overflow:hidden;
  position:sticky;
  top:22px;
}
.wc-block-components-title,
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__title{
  font-family:'Manrope','DM Sans',Arial,sans-serif!important;
  color:#0a3455!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
.wc-block-components-checkout-step__description,
.wc-block-components-address-card__address-section,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__description{
  color:#6c8191!important;
}

/* Inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select{
  min-height:52px!important;
  border:1px solid #cfdae3!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#102d46!important;
  box-shadow:none!important;
  font:500 15px/1.3 'DM Sans',Arial,sans-serif!important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus{
  border-color:#079c9b!important;
  box-shadow:0 0 0 3px rgba(7,156,155,.10)!important;
  outline:0!important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label{
  color:#60788b!important;
  font-weight:600!important;
}
body.woocommerce-checkout .wc-block-components-address-form__country,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #shipping_country_field{
  display:none!important;
}

/* Primary CTAs */
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-cart .wp-element-button,
body.woocommerce-checkout .wp-element-button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .button.alt{
  border:0!important;
  border-radius:12px!important;
  min-height:52px!important;
  background:linear-gradient(135deg,#0ca4a0,#087c93)!important;
  color:#fff!important;
  font-family:'Manrope','DM Sans',Arial,sans-serif!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(8,140,145,.20)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout #place_order:hover{
  transform:translateY(-1px);
  filter:saturate(1.08);
  box-shadow:0 14px 28px rgba(8,140,145,.26)!important;
}

/* ---------- Cart block ---------- */
body.woocommerce-cart .wc-block-cart-items{
  border:0!important;
  margin:0!important;
}
body.woocommerce-cart .wc-block-cart-items thead{
  border-bottom:1px solid #e5edf2!important;
}
body.woocommerce-cart .wc-block-cart-items thead th{
  color:#7890a1!important;
  font-size:11px!important;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800!important;
  padding:0 8px 14px!important;
}
body.woocommerce-cart .wc-block-cart-items__row{
  border-bottom:1px solid #edf2f5!important;
}
body.woocommerce-cart .wc-block-cart-item__image{
  padding:22px 16px 22px 0!important;
}
body.woocommerce-cart .wc-block-cart-item__image img{
  width:96px!important;
  height:96px!important;
  object-fit:contain!important;
  background:#f8fafb!important;
  border:1px solid #e8eef2!important;
  border-radius:14px!important;
  padding:7px!important;
}
body.woocommerce-cart .wc-block-components-product-name{
  color:#0a3455!important;
  font-family:'Manrope','DM Sans',Arial,sans-serif!important;
  font-weight:800!important;
  font-size:15px!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-components-product-price{
  color:#163b57!important;
  font-weight:800!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  border:1px solid #d9e4ea!important;
  border-radius:10px!important;
  overflow:hidden!important;
  min-height:38px;
}
body.woocommerce-cart .wc-block-components-quantity-selector input{
  font-weight:800!important;
  color:#0a3455!important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
  color:#ff655d!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-cart__totals-title{
  padding:22px 24px 16px!important;
  margin:0!important;
  font-family:'Manrope','DM Sans',Arial,sans-serif!important;
  font-size:20px!important;
  font-weight:800!important;
  color:#0a3455!important;
  text-align:left!important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper{
  padding:16px 24px!important;
  border-top:1px solid #edf2f5!important;
}
body.woocommerce-cart .wc-block-cart__submit{
  padding:0 24px 24px!important;
}
body.woocommerce-cart .wc-block-cart__submit-button{width:100%!important}

/* ---------- Checkout block ---------- */
body.woocommerce-checkout .wc-block-checkout__main{
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0 0 16px!important;
  padding:0 0 24px!important;
  border-bottom:1px solid #e9eff3!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step:last-child{border-bottom:0!important}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{margin-bottom:16px!important}
body.woocommerce-checkout .wc-block-components-checkout-step__title{
  font-size:18px!important;
  line-height:1.25!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary{
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary__button-text{
  font-family:'Manrope','DM Sans',Arial,sans-serif!important;
  font-weight:800!important;
  color:#0a3455!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item{
  padding:16px 20px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  width:68px!important;
  height:68px!important;
  object-fit:contain!important;
  background:#f8fafb!important;
  border-radius:11px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  color:#0a3455!important;
  font-weight:800!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item{
  font-size:20px!important;
  font-weight:800!important;
  color:#0a3455!important;
}
body.woocommerce-checkout .wc-block-checkout__actions{
  padding-top:14px!important;
}
body.woocommerce-checkout .wc-block-checkout__actions_row{align-items:center!important}
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{
  width:min(100%,420px)!important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option{
  border:1px solid #dce6ec!important;
  border-radius:12px!important;
  margin:9px 0!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted{
  border-color:#079c9b!important;
  box-shadow:0 0 0 3px rgba(7,156,155,.08)!important;
}

/* ---------- Classic cart ---------- */
body.woocommerce-cart table.shop_table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0;
  background:#fff;
  border:1px solid #e2eaf0!important;
  border-radius:18px!important;
  overflow:hidden;
}
body.woocommerce-cart table.shop_table th{
  background:#f8fafb;
  color:#6d8597;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{padding:16px!important;border-color:#e9eff3!important}
body.woocommerce-cart table.shop_table img{width:84px!important;height:84px!important;object-fit:contain;border-radius:12px;background:#f8fafb}
body.woocommerce-cart .cart-collaterals .cart_totals{
  float:none!important;
  width:min(100%,480px)!important;
  margin-left:auto;
  background:#fff;
  border:1px solid #e2eaf0;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 38px rgba(6,48,79,.06);
}

/* ---------- Classic checkout ---------- */
body.woocommerce-checkout form.checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(390px,.44fr);
  gap:28px;
  align-items:start;
}
body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #order_review{
  background:#fff;
  border:1px solid #e2eaf0;
  border-radius:20px;
  padding:28px;
  box-shadow:0 12px 38px rgba(6,48,79,.06);
}
body.woocommerce-checkout form.checkout #order_review{position:sticky;top:22px}
body.woocommerce-checkout form.checkout #order_review_heading{
  grid-column:2;
  margin:0 0 -18px 0;
  padding:0 28px;
  z-index:2;
}
body.woocommerce-checkout .form-row label{font-weight:700;color:#476379}
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select{
  min-height:50px;
  width:100%;
  border:1px solid #cfdae3!important;
  border-radius:10px!important;
  padding:0 14px!important;
  background:#fff!important;
}
body.woocommerce-checkout .woocommerce-checkout-payment{
  background:#f8fafb!important;
  border-radius:14px!important;
}
body.woocommerce-checkout .shop_table{border:0!important}
body.woocommerce-checkout .shop_table td,
body.woocommerce-checkout .shop_table th{padding:12px 6px!important;border-color:#e8eef2!important}

/* US-only reassurance shown by CSS beside the hidden country field area. */
body.woocommerce-checkout .wc-block-checkout__billing-fields:after,
body.woocommerce-checkout .woocommerce-billing-fields:after{
  content:"Shipping and billing are available in the United States only.";
  display:block;
  margin:8px 0 2px;
  padding:11px 13px;
  border-radius:10px;
  background:#eef9f7;
  color:#0b7774;
  font-size:12px;
  font-weight:700;
}
body.hp-lang-es.woocommerce-checkout .wc-block-checkout__billing-fields:after,
body.hp-lang-es.woocommerce-checkout .woocommerce-billing-fields:after{
  content:"La venta y el envío están disponibles únicamente en Estados Unidos.";
}

@media(max-width:900px){
  body.woocommerce-cart .hp-page,
  body.woocommerce-checkout .hp-page{width:min(100% - 24px,1420px);padding-top:24px}
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{display:block!important}
  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar{position:static!important;margin-top:18px!important}
  body.woocommerce-checkout form.checkout{grid-template-columns:1fr!important}
  body.woocommerce-checkout form.checkout #order_review_heading{grid-column:1;margin:0}
  body.woocommerce-checkout form.checkout #order_review{position:static}
}
@media(max-width:560px){
  body.woocommerce-cart .hp-page>h1,
  body.woocommerce-checkout .hp-page>h1{font-size:27px}
  body.woocommerce-cart .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-main{padding:18px!important;border-radius:15px!important}
  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar{border-radius:15px!important}
  body.woocommerce-cart .wc-block-cart-item__image img{width:70px!important;height:70px!important}
}


/* ========================================================
   v3.19 Focused Checkout — no store-navigation distractions
   ======================================================== */
body.hp-focused-checkout{background:#f4f8fa!important;color:#0b3150!important;min-height:100vh}
body.hp-focused-checkout .hp-checkout-site{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff 0,#f5f9fb 170px,#f5f9fb 100%)}
.hp-checkout-header{height:92px;background:#fff;border-bottom:1px solid #e4edf2;display:flex;align-items:center;position:relative;z-index:20}
.hp-checkout-header-inner{width:min(100% - 48px,1360px);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hp-checkout-logo{display:flex;align-items:center;text-decoration:none}.hp-checkout-logo img,.hp-checkout-logo .custom-logo{width:200px!important;max-height:64px!important;object-fit:contain!important}
.hp-checkout-header-tools{display:flex;align-items:center;gap:28px}.hp-checkout-secure{display:grid;grid-template-columns:24px auto;column-gap:9px;align-items:center;color:#0b3150}.hp-checkout-secure svg{grid-row:1/3;width:22px;height:22px;color:#079b96}.hp-checkout-secure b{font-size:13px;line-height:1.1}.hp-checkout-secure small{font-size:11px;color:#768b9b;line-height:1.1}
.hp-back-cart{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border:1px solid #d9e5eb;border-radius:11px;background:#fff;color:#0b3150!important;text-decoration:none!important;font-weight:800;font-size:13px;transition:.2s}.hp-back-cart:hover{border-color:#079b96;box-shadow:0 7px 20px rgba(7,155,150,.09);transform:translateY(-1px)}
.hp-checkout-content{flex:1;width:100%;padding:0 24px 48px}.hp-checkout-page{width:min(100%,1360px);margin:0 auto}.hp-checkout-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:35px 0 24px}.hp-checkout-eyebrow{font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#079b96}.hp-checkout-intro h1{font:800 clamp(30px,3vw,42px)/1.1 'Manrope','DM Sans',Arial,sans-serif!important;color:#092f4e!important;margin:7px 0 7px!important}.hp-checkout-intro p{margin:0;max-width:680px;color:#6b8192;font-size:14px}.hp-checkout-trust{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hp-checkout-trust span{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e1eaf0;border-radius:999px;padding:9px 12px;font-size:11px;font-weight:800;color:#456278}.hp-checkout-trust svg{width:16px;height:16px;color:#079b96}
.hp-checkout-entry>.wp-block-woocommerce-checkout,.hp-checkout-entry .wc-block-checkout{max-width:none!important;margin:0!important;padding:0!important}
body.hp-focused-checkout .wc-block-checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,455px)!important;gap:28px!important;align-items:start!important}
body.hp-focused-checkout .wc-block-checkout__main{width:auto!important;max-width:none!important;background:transparent!important;padding:0!important}
body.hp-focused-checkout .wc-block-checkout__sidebar{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;position:sticky!important;top:20px!important}
body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step{background:#fff!important;border:1px solid #e0eaf0!important;border-radius:18px!important;padding:24px!important;margin:0 0 16px!important;box-shadow:0 10px 28px rgba(5,48,78,.045)!important}
body.hp-focused-checkout .wc-block-components-checkout-step__heading{margin:0 0 18px!important}.wc-block-components-checkout-step__title{font:800 18px/1.3 'Manrope','DM Sans',Arial,sans-serif!important;color:#0b3150!important}.wc-block-components-checkout-step__description{font-size:12px!important;color:#7890a1!important}
body.hp-focused-checkout .wc-block-components-text-input input,body.hp-focused-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,body.hp-focused-checkout .wc-block-components-address-form input,body.hp-focused-checkout .wc-block-components-address-form select{min-height:54px!important;border:1px solid #d6e2e9!important;border-radius:11px!important;background:#fff!important;font-size:14px!important;color:#0b3150!important;box-shadow:none!important}body.hp-focused-checkout .wc-block-components-text-input input:focus,body.hp-focused-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus{border-color:#079b96!important;box-shadow:0 0 0 3px rgba(7,155,150,.08)!important}
body.hp-focused-checkout .wc-block-components-address-form__country{display:none!important}
body.hp-focused-checkout .wc-block-checkout__sidebar>div,body.hp-focused-checkout .wc-block-components-order-summary{background:#fff!important;border:1px solid #e0eaf0!important;border-radius:18px!important;box-shadow:0 12px 34px rgba(5,48,78,.065)!important;overflow:hidden!important}
body.hp-focused-checkout .wc-block-components-order-summary__button-text{font-size:18px!important;padding:18px 20px!important}.wc-block-components-order-summary-item{padding:16px 20px!important}.wc-block-components-order-summary-item__image img{width:70px!important;height:70px!important;object-fit:contain!important;border-radius:10px!important;background:#f7fafb!important}.wc-block-components-order-summary-item__description .wc-block-components-product-name{font-size:13px!important;font-weight:800!important;color:#0b3150!important}
body.hp-focused-checkout .wc-block-components-totals-wrapper{padding:15px 20px!important;border-top:1px solid #eaf0f3!important}.wc-block-components-totals-item__label{color:#6b8192!important;font-size:12px!important}.wc-block-components-totals-item__value{font-weight:800!important;color:#0b3150!important}.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:20px!important;color:#0b3150!important}
body.hp-focused-checkout .wc-block-components-radio-control__option,body.hp-focused-checkout .wc-block-components-radio-control-accordion-option{border:1px solid #dce7ec!important;border-radius:12px!important;margin:9px 0!important;padding:14px 15px!important;background:#fff!important;transition:.18s!important}.wc-block-components-radio-control__option:hover{border-color:#a9cbc9!important}.wc-block-components-radio-control__option-checked,.wc-block-components-radio-control-accordion-option--checked-option-highlighted{border-color:#079b96!important;background:#f2fbfa!important;box-shadow:0 0 0 3px rgba(7,155,150,.07)!important}.wc-block-components-radio-control__label{font-weight:800!important;color:#0b3150!important}.wc-block-components-radio-control__description{font-size:11px!important;color:#7790a1!important}
body.hp-focused-checkout .wc-block-components-checkout-place-order-button{width:100%!important;min-height:56px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#08a39e,#067e8f)!important;color:#fff!important;font:800 15px/1 'Manrope','DM Sans',Arial,sans-serif!important;box-shadow:0 12px 25px rgba(7,155,150,.19)!important}.wc-block-components-checkout-place-order-button:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(7,155,150,.25)!important}
body.hp-focused-checkout .wc-block-checkout__actions{padding:14px 0 0!important}.wc-block-checkout__actions_row{display:block!important}.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button{display:none!important}
.hp-checkout-minifooter{width:min(100% - 48px,1360px);margin:0 auto;padding:18px 0 28px;border-top:1px solid #e0e9ee;display:flex;justify-content:space-between;gap:20px;color:#7890a0;font-size:11px}
/* classic checkout fallback */
body.hp-focused-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,455px)!important;gap:28px!important;align-items:start}body.hp-focused-checkout form.checkout #customer_details,body.hp-focused-checkout form.checkout #order_review{background:#fff!important;border:1px solid #e0eaf0!important;border-radius:18px!important;padding:26px!important;box-shadow:0 10px 30px rgba(5,48,78,.05)!important}body.hp-focused-checkout form.checkout #order_review{position:sticky;top:20px}.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row select{min-height:52px;border:1px solid #d6e2e9!important;border-radius:10px!important;padding:0 13px!important}.woocommerce-checkout #place_order{width:100%;min-height:54px!important;background:#079b96!important;border-radius:11px!important;font-weight:800!important}
@media(max-width:980px){.hp-checkout-header{height:80px}.hp-checkout-header-inner{width:min(100% - 30px,1360px)}.hp-checkout-logo img,.hp-checkout-logo .custom-logo{width:165px!important}.hp-checkout-secure{display:none}.hp-checkout-content{padding:0 15px 34px}.hp-checkout-intro{padding:25px 0 18px}.hp-checkout-trust{display:none}body.hp-focused-checkout .wc-block-checkout,body.hp-focused-checkout form.checkout{grid-template-columns:1fr!important}.wc-block-checkout__sidebar,body.hp-focused-checkout form.checkout #order_review{position:relative!important;top:auto!important}.hp-checkout-minifooter{width:calc(100% - 30px);flex-direction:column;gap:6px}}
@media(max-width:560px){.hp-checkout-header-inner{gap:10px}.hp-checkout-logo img,.hp-checkout-logo .custom-logo{width:135px!important}.hp-back-cart{min-height:40px;padding:0 12px;font-size:11px}.hp-checkout-intro h1{font-size:29px!important}.hp-checkout-intro p{font-size:12px}.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step{padding:17px!important;border-radius:14px!important}.hp-focused-checkout .wc-block-checkout__sidebar>div{border-radius:14px!important}.hp-checkout-minifooter{padding-bottom:18px}}

/* ========================================================
   v3.20 Desktop Checkout + native WooCommerce shipping
   ======================================================== */
body.hp-focused-checkout .hp-checkout-content{
  padding:0 32px 60px!important;
}
body.hp-focused-checkout .hp-checkout-page,
body.hp-focused-checkout .hp-checkout-header-inner{
  width:min(calc(100vw - 64px),1540px)!important;
  max-width:1540px!important;
}
body.hp-focused-checkout .hp-checkout-entry,
body.hp-focused-checkout .hp-checkout-entry>.wp-block-woocommerce-checkout,
body.hp-focused-checkout .hp-checkout-entry .wp-block-woocommerce-checkout,
body.hp-focused-checkout .wc-block-components-sidebar-layout,
body.hp-focused-checkout .wc-block-checkout{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.hp-focused-checkout .wc-block-checkout{
  display:grid!important;
  grid-template-columns:minmax(640px,1.28fr) minmax(470px,.82fr)!important;
  gap:34px!important;
  align-items:start!important;
}
body.hp-focused-checkout .wc-block-checkout__main,
body.hp-focused-checkout .wc-block-checkout__sidebar,
body.hp-focused-checkout .wc-block-components-main,
body.hp-focused-checkout .wc-block-components-sidebar{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  flex:initial!important;
  box-sizing:border-box!important;
}
body.hp-focused-checkout .wc-block-checkout__main{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
}
body.hp-focused-checkout .wc-block-checkout__sidebar{
  align-self:start!important;
  position:sticky!important;
  top:24px!important;
}
body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step{
  padding:26px 28px!important;
  margin:0 0 18px!important;
  border:1px solid #dfe9ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(5,48,78,.045)!important;
}
body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step__heading{
  padding:0!important;
  margin:0 0 18px!important;
}
body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step__title{
  font-size:19px!important;
}
body.hp-focused-checkout .wc-block-checkout__sidebar>div,
body.hp-focused-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.hp-focused-checkout .wc-block-components-sidebar{
  border:1px solid #dfe9ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(5,48,78,.07)!important;
}
/* Shipping methods — both Checkout Blocks and classic WooCommerce */
body.hp-focused-checkout .wc-block-components-shipping-rates-control,
body.hp-focused-checkout .wc-block-checkout__shipping-option,
body.hp-focused-checkout .wc-block-checkout__shipping-method{
  margin-top:4px!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control__package{
  border:0!important;
  padding:0!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
body.hp-focused-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
body.hp-focused-checkout .wc-block-components-radio-control-accordion-option{
  min-height:66px!important;
  border:1px solid #d8e5eb!important;
  border-radius:13px!important;
  background:#fff!important;
  margin:10px 0!important;
  padding:15px 16px!important;
  box-shadow:none!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option:hover,
body.hp-focused-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option:hover{
  border-color:#93c8c4!important;
  background:#f9fdfd!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option-checked,
body.hp-focused-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-checked{
  border-color:#079b96!important;
  background:#effbf9!important;
  box-shadow:0 0 0 3px rgba(7,155,150,.07)!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label,
body.hp-focused-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__label{
  color:#0b3150!important;
  font-weight:800!important;
  font-size:13px!important;
}
body.hp-focused-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label,
body.hp-focused-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-label{
  color:#079b96!important;
  font-weight:900!important;
}
body.hp-focused-checkout #shipping_method{
  list-style:none!important;
  padding:0!important;
  margin:8px 0 0!important;
}
body.hp-focused-checkout #shipping_method li{
  display:flex!important;
  gap:10px!important;
  align-items:center!important;
  padding:13px 14px!important;
  margin:8px 0!important;
  border:1px solid #d8e5eb!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.hp-focused-checkout #shipping_method li:has(input:checked){
  border-color:#079b96!important;
  background:#effbf9!important;
}
body.hp-focused-checkout #shipping_method label{
  width:100%!important;
  color:#0b3150!important;
  font-weight:800!important;
}
/* Classic checkout fallback: wider, cleaner two-column layout */
body.hp-focused-checkout form.checkout{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(640px,1.28fr) minmax(470px,.82fr)!important;
  gap:34px!important;
}
body.hp-focused-checkout form.checkout #customer_details,
body.hp-focused-checkout form.checkout #order_review{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:1180px){
  body.hp-focused-checkout .hp-checkout-page,
  body.hp-focused-checkout .hp-checkout-header-inner{width:min(calc(100vw - 36px),1040px)!important}
  body.hp-focused-checkout .wc-block-checkout,
  body.hp-focused-checkout form.checkout{grid-template-columns:1fr!important;gap:20px!important}
  body.hp-focused-checkout .wc-block-checkout__sidebar,
  body.hp-focused-checkout form.checkout #order_review{position:relative!important;top:auto!important}
}
@media(max-width:640px){
  body.hp-focused-checkout .hp-checkout-content{padding:0 12px 36px!important}
  body.hp-focused-checkout .hp-checkout-page,
  body.hp-focused-checkout .hp-checkout-header-inner{width:100%!important;max-width:100%!important}
  body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step{padding:18px!important;border-radius:14px!important}
}

/* ========================================================
   v3.20.1 Wide desktop checkout layout hotfix
   ======================================================== */
@media (min-width:1181px){
  body.hp-focused-checkout .hp-checkout-content{
    width:100%!important;
    max-width:none!important;
    padding:0 28px 64px!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .hp-checkout-page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
  body.hp-focused-checkout .hp-checkout-intro{
    width:100%!important;
    max-width:none!important;
    padding:34px 18px 28px!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .hp-checkout-entry,
  body.hp-focused-checkout .hp-checkout-entry>.wp-block-woocommerce-checkout,
  body.hp-focused-checkout .hp-checkout-entry .wp-block-woocommerce-checkout,
  body.hp-focused-checkout .wc-block-components-sidebar-layout,
  body.hp-focused-checkout .wc-block-checkout{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.hp-focused-checkout .wc-block-checkout{
    grid-template-columns:minmax(0,1.62fr) minmax(460px,.88fr)!important;
    gap:34px!important;
  }
  body.hp-focused-checkout .wc-block-checkout__main,
  body.hp-focused-checkout .wc-block-components-main{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
  }
  body.hp-focused-checkout .wc-block-checkout__sidebar,
  body.hp-focused-checkout .wc-block-components-sidebar{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
  body.hp-focused-checkout .wc-block-checkout__sidebar{
    position:sticky!important;
    top:22px!important;
  }
  body.hp-focused-checkout .wc-block-checkout__sidebar>div,
  body.hp-focused-checkout .wc-block-components-sidebar>div,
  body.hp-focused-checkout .wc-block-components-order-summary{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .wc-block-components-order-summary__button-text{
    display:block!important;
    width:100%!important;
    padding:20px 22px!important;
    font:800 20px/1.25 'Manrope','DM Sans',Arial,sans-serif!important;
    color:#0b3150!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .wc-block-components-order-summary-item{
    padding:18px 22px!important;
  }
  body.hp-focused-checkout .wc-block-components-totals-wrapper{
    padding:17px 22px!important;
  }
  body.hp-focused-checkout form.checkout{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1.62fr) minmax(460px,.88fr)!important;
    gap:34px!important;
  }
}
@media (min-width:1680px){
  body.hp-focused-checkout .hp-checkout-content{padding-left:38px!important;padding-right:38px!important}
  body.hp-focused-checkout .wc-block-checkout,
  body.hp-focused-checkout form.checkout{
    grid-template-columns:minmax(0,1.7fr) minmax(500px,.86fr)!important;
    gap:40px!important;
  }
}

/* ========================================================
   v3.20.2 TRUE WIDE CHECKOUT — viewport driven desktop layout
   Fixes WooCommerce Blocks content-width constraints on 1920px screens.
   ======================================================== */
@media (min-width:1181px){
  body.hp-focused-checkout .hp-checkout-content{
    width:100%!important;
    max-width:none!important;
    padding:0 36px 56px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.hp-focused-checkout .hp-checkout-page{
    width:calc(100vw - 72px)!important;
    max-width:1840px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .hp-checkout-intro{
    width:100%!important;
    max-width:none!important;
    padding:32px 20px 26px!important;
    box-sizing:border-box!important;
  }
  /* Gutenberg/Woo Blocks may re-apply a global content-size to this root.
     Use a viewport-derived width so the checkout can actually fill desktop. */
  body.hp-focused-checkout .hp-checkout-entry,
  body.hp-focused-checkout .hp-checkout-entry > .wp-block-woocommerce-checkout,
  body.hp-focused-checkout .hp-checkout-entry .wp-block-woocommerce-checkout,
  body.hp-focused-checkout .hp-checkout-entry .wc-block-components-sidebar-layout{
    width:calc(100vw - 72px)!important;
    max-width:1840px!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .hp-checkout-entry .wc-block-components-sidebar-layout,
  body.hp-focused-checkout .hp-checkout-entry .wc-block-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(460px,31vw,590px)!important;
    gap:32px!important;
    align-items:start!important;
  }
  body.hp-focused-checkout .wc-block-checkout__main,
  body.hp-focused-checkout .wc-block-components-main{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    flex:none!important;
  }
  body.hp-focused-checkout .wc-block-checkout__sidebar,
  body.hp-focused-checkout .wc-block-components-sidebar{
    grid-column:2!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    flex:none!important;
    position:sticky!important;
    top:18px!important;
  }
  body.hp-focused-checkout .wc-block-checkout__main .wc-block-components-checkout-step{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  body.hp-focused-checkout .wc-block-checkout__sidebar > div,
  body.hp-focused-checkout .wc-block-components-sidebar > div,
  body.hp-focused-checkout .wc-block-components-order-summary{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  /* Classic checkout fallback uses the same proportions. */
  body.hp-focused-checkout form.checkout{
    width:calc(100vw - 72px)!important;
    max-width:1840px!important;
    grid-template-columns:minmax(0,1fr) clamp(460px,31vw,590px)!important;
    gap:32px!important;
    margin:0!important;
  }
}
@media (min-width:1600px){
  body.hp-focused-checkout .hp-checkout-content{padding-left:40px!important;padding-right:40px!important}
  body.hp-focused-checkout .hp-checkout-page,
  body.hp-focused-checkout .hp-checkout-entry,
  body.hp-focused-checkout .hp-checkout-entry > .wp-block-woocommerce-checkout,
  body.hp-focused-checkout .hp-checkout-entry .wp-block-woocommerce-checkout,
  body.hp-focused-checkout .hp-checkout-entry .wc-block-components-sidebar-layout,
  body.hp-focused-checkout form.checkout{
    width:calc(100vw - 80px)!important;
    max-width:1840px!important;
  }
  body.hp-focused-checkout .hp-checkout-entry .wc-block-components-sidebar-layout,
  body.hp-focused-checkout .hp-checkout-entry .wc-block-checkout,
  body.hp-focused-checkout form.checkout{
    grid-template-columns:minmax(0,1fr) 570px!important;
    gap:38px!important;
  }
}

/* ========================================================
   v3.21.1 Cart + Checkout action placement refinement
   ======================================================== */
@media (min-width: 981px){
  /* CART: force a true two-column desktop layout */
  body.woocommerce-cart .hp-page{
    width:min(calc(100vw - 72px),1760px)!important;
    max-width:1760px!important;
  }
  body.woocommerce-cart .hp-entry,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-components-sidebar-layout{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-cart .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(390px,29vw,500px)!important;
    gap:34px!important;
    align-items:start!important;
  }
  body.woocommerce-cart .wc-block-components-main{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    grid-column:1!important;
    margin:0!important;
  }
  body.woocommerce-cart .wc-block-components-sidebar{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    position:sticky!important;
    top:22px!important;
    align-self:start!important;
  }

  /* Classic cart fallback */
  body.woocommerce-cart .woocommerce-cart-form{
    width:calc(100% - 530px)!important;
    float:left!important;
  }
  body.woocommerce-cart .cart-collaterals{
    width:490px!important;
    float:right!important;
    margin-top:0!important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals{
    width:100%!important;
    position:sticky!important;
    top:22px!important;
  }

  /* CHECKOUT: original action button remains in DOM for Woo state,
     but the visible action is rendered under the order summary. */
  body.hp-focused-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
    box-shadow:none!important;
  }
  body.hp-focused-checkout .wc-block-checkout__actions{
    padding-top:6px!important;
  }
}

.hp-sidebar-place-order{
  margin:0!important;
  padding:18px 20px 20px!important;
  border-top:1px solid #e5edf2!important;
  background:#fff!important;
}
.hp-sidebar-place-order__button{
  width:100%!important;
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#08a39e,#067e8f)!important;
  color:#fff!important;
  font:800 15px/1 'Manrope','DM Sans',Arial,sans-serif!important;
  box-shadow:0 12px 25px rgba(7,155,150,.19)!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.hp-sidebar-place-order__button:hover:not(:disabled){
  transform:translateY(-1px)!important;
  box-shadow:0 15px 30px rgba(7,155,150,.26)!important;
}
.hp-sidebar-place-order__button:disabled{
  opacity:.5!important;
  cursor:not-allowed!important;
  filter:grayscale(.18)!important;
}
.hp-sidebar-place-order__note{
  margin:10px 0 0!important;
  text-align:center!important;
  color:#718798!important;
  font-size:11px!important;
  line-height:1.45!important;
}
body.hp-lang-es .hp-sidebar-place-order__button .hp-en,
body:not(.hp-lang-es) .hp-sidebar-place-order__button .hp-es,
body.hp-lang-es .hp-sidebar-place-order__note .hp-en,
body:not(.hp-lang-es) .hp-sidebar-place-order__note .hp-es{display:none!important}

@media (max-width:980px){
  body.woocommerce-cart .wc-block-components-sidebar-layout{display:block!important}
  body.woocommerce-cart .wc-block-components-sidebar{position:static!important;margin-top:18px!important}
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals{width:100%!important;float:none!important}
  body.woocommerce-cart .cart-collaterals{margin-top:18px!important}
  body.hp-focused-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{
    position:static!important;
    width:100%!important;
    height:auto!important;
    min-height:56px!important;
    padding:inherit!important;
    margin:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
    border:0!important;
    box-shadow:0 12px 25px rgba(7,155,150,.19)!important;
  }
  .hp-sidebar-place-order{display:none!important}
}
