.hanlob-purchase-box,.hanlob-purchase-box *{box-sizing:border-box}
.hanlob-purchase-box{--hanlob-primary:#2d93c8;--hanlob-primary-dark:#117eae;--hanlob-text:#26384b;width:100%;padding:24px;background:#fff;border:1px solid #cfe2ef;border-radius:16px;box-shadow:0 8px 22px rgba(31,79,128,.06);font-family:Helvetica,Arial,sans-serif;color:var(--hanlob-text)}
.hanlob-purchase-box h3{margin:0 0 20px;color:#173f68;font-size:18px;line-height:1.3;font-weight:800}
.hanlob-native-form table.variations,.hanlob-native-form .quantity,.hanlob-native-form .single_add_to_cart_button,.hanlob-native-form .reset_variations,.hanlob-native-form .stock,.hanlob-native-form .woocommerce-variation-description,.hanlob-native-form .woocommerce-variation-price,.hanlob-native-form .woocommerce-variation-availability{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.hanlob-native-form form.cart,.hanlob-native-form .single_variation_wrap{min-height:0!important;margin:0!important;padding:0!important}
.hanlob-product-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px}
.hanlob-favorite-button,.hanlob-share-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px;min-height:38px;margin:0!important;padding:8px 10px!important;background:#fff!important;border:1px solid #d2e0ea!important;border-radius:9px!important;color:#36546d!important;font-size:11.5px!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;transition:.2s ease}
.hanlob-favorite-button svg,.hanlob-share-button svg{width:16px;height:16px;flex:0 0 16px;fill:currentColor}.hanlob-favorite-button:hover,.hanlob-share-button:hover{background:#f5fbfe!important;border-color:var(--hanlob-primary)!important;color:var(--hanlob-primary-dark)!important}.hanlob-favorite-button.is-favorite{background:#fff2f4!important;border-color:#e85b74!important;color:#d63f5c!important}
.hanlob-share-message{display:none;margin:-8px 0 14px;padding:8px 10px;background:#eef8fd;border:1px solid #cbe6f4;border-radius:8px;color:#167eaf;font-size:11px;font-weight:700;text-align:center}.hanlob-share-message.is-visible{display:block}
.hanlob-attribute-block{margin:0 0 18px}.hanlob-attribute-label,.hanlob-final-qty-label{margin:0 0 9px;font-size:14px;font-weight:700;color:var(--hanlob-text)}
.hanlob-attribute-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hanlob-attribute-option{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;min-width:0;min-height:50px;margin:0!important;padding:9px 8px!important;background:#fff!important;border:1px solid #d2e0ea!important;border-radius:10px!important;color:#25384b!important;font-size:13px!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;transition:.2s ease}.hanlob-attribute-option.has-color{min-height:60px}.hanlob-color-dot{width:22px;height:22px;flex:0 0 22px;border:1px solid #aeb8bf;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}.hanlob-attribute-option:hover{background:#f7fbfe!important;border-color:var(--hanlob-primary)!important}.hanlob-attribute-option.is-selected{background:#eef8fd!important;border-color:var(--hanlob-primary)!important;color:#173f68!important;box-shadow:0 0 0 2px rgba(45,147,200,.12)!important}.hanlob-attribute-option.is-selected:after{content:'✓';position:absolute;top:5px;right:5px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:var(--hanlob-primary);border-radius:50%;color:#fff;font-size:10px;font-weight:800}.hanlob-attribute-option.is-disabled{opacity:.42;cursor:not-allowed;text-decoration:line-through}
.hanlob-quantity-stock-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}.hanlob-final-qty{display:grid;grid-template-columns:44px 52px 44px;width:140px;height:44px;overflow:hidden;background:#fff;border:1px solid #cbdce8;border-radius:9px}.hanlob-final-qty button,.hanlob-qty-number{display:flex!important;align-items:center!important;justify-content:center!important;height:42px;margin:0!important;padding:0!important}.hanlob-final-qty button{background:#f5faff!important;border:0!important;color:var(--hanlob-primary)!important;font-size:20px!important;cursor:pointer}.hanlob-final-qty button:hover{background:#eaf6fc!important}.hanlob-qty-number{background:#fff;color:#1d3144;font-size:15px;font-weight:800}.hanlob-stock-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.hanlob-stock-status{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:22px;font-size:12px;font-weight:700;color:#19833a;text-align:right}.hanlob-stock-dot{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:2px solid currentColor;border-radius:50%;font-size:10px}.hanlob-stock-status.is-error{color:#b42318}.hanlob-shipping-ready{font-size:11px;color:#5b6f80;font-weight:600}
.hanlob-final-main-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:12px}.hanlob-final-secondary-actions{display:grid;grid-template-columns:1.15fr 1fr;gap:10px}.hanlob-add-cart,.hanlob-buy-now,.hanlob-whatsapp,.hanlob-file{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%;min-width:0;min-height:48px;margin:0!important;padding:0 14px!important;border-radius:10px!important;font-size:13px!important;line-height:1.25!important;font-weight:700!important;text-align:center;text-transform:none!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:transform .15s ease,background .2s ease,border-color .2s ease}.hanlob-add-cart svg,.hanlob-buy-now svg,.hanlob-whatsapp svg,.hanlob-file svg{width:18px;height:18px;flex:0 0 18px;fill:currentColor}.hanlob-whatsapp svg{width:20px;height:20px;flex-basis:20px}.hanlob-add-cart{background:#fff!important;border:1.5px solid var(--hanlob-primary)!important;color:var(--hanlob-primary-dark)!important}.hanlob-buy-now{min-height:58px!important;flex-wrap:wrap;background:linear-gradient(135deg,var(--hanlob-primary),var(--hanlob-primary-dark))!important;border:1.5px solid var(--hanlob-primary)!important;color:#fff!important}.hanlob-buy-now small{display:block;flex-basis:100%;margin-top:-6px;font-size:10px;font-weight:600;opacity:.9}.hanlob-whatsapp{background:#25c85a!important;border:1.5px solid #25c85a!important;color:#fff!important}.hanlob-file{background:#fff!important;border:1.5px solid #1597cf!important;color:#158fc3!important}.hanlob-add-cart:hover,.hanlob-buy-now:hover,.hanlob-whatsapp:hover,.hanlob-file:hover{transform:translateY(-1px)}.hanlob-add-cart:hover{background:#f5fbfe!important}.hanlob-buy-now:hover{filter:brightness(.96)}.hanlob-whatsapp:hover{background:#1fa84c!important;border-color:#1fa84c!important}.hanlob-file:hover{background:#eef9fd!important}.hanlob-add-cart:disabled,.hanlob-buy-now:disabled,.hanlob-sticky-buy:disabled{opacity:.5;cursor:not-allowed;transform:none}
.hanlob-security-banner{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding:12px;background:#eef8fd;border-radius:10px;color:#155f97}.hanlob-security-banner svg{width:28px;height:28px;fill:currentColor}.hanlob-security-banner span{display:flex;flex-direction:column}.hanlob-security-banner strong{font-size:13px}.hanlob-security-banner small{font-size:11px;color:#5b6f80}
.hanlob-final-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:14px;padding-top:14px;border-top:1px solid #e0eaf1;color:#158fc3;font-size:11px;font-weight:700}.hanlob-final-trust span{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:4px 8px;text-align:center}.hanlob-final-trust span+span{border-left:1px solid #e0eaf1}.hanlob-final-trust svg{width:15px;height:15px;flex:0 0 15px;fill:currentColor}
.hanlob-mobile-sticky{display:none}.hanlob-editor-notice{padding:16px;border:1px dashed #ccd6df;background:#fff;color:#4a5560}
@media(max-width:767px){body{padding-bottom:72px}.hanlob-purchase-box{padding:20px}.hanlob-final-secondary-actions{grid-template-columns:1.15fr 1fr}.hanlob-attribute-options{grid-template-columns:repeat(3,minmax(0,1fr))}.hanlob-final-trust{font-size:10.5px}.hanlob-final-trust span{padding:4px}.hanlob-mobile-sticky{position:fixed;z-index:9999;left:0;right:0;bottom:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;background:#fff;border-top:1px solid #cfe2ef;box-shadow:0 -7px 18px rgba(31,79,128,.12)}.hanlob-mobile-sticky img{width:44px;height:44px;object-fit:cover;border-radius:8px;border:1px solid #d8e4ec}.hanlob-sticky-title{overflow:hidden;color:#173f68;font-size:12px;font-weight:700;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hanlob-sticky-buy{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px;min-height:42px;margin:0!important;padding:0 14px!important;background:var(--hanlob-primary)!important;border:0!important;border-radius:9px!important;color:#fff!important;font-size:12px!important;font-weight:800!important;text-transform:none!important;box-shadow:none!important}.hanlob-sticky-buy svg{width:15px;height:15px;fill:currentColor}}
@media(max-width:390px){.hanlob-product-tools{grid-template-columns:1fr 1fr}.hanlob-final-secondary-actions{grid-template-columns:1fr 1fr}.hanlob-quantity-stock-row{align-items:flex-end}.hanlob-stock-status{justify-content:flex-end}.hanlob-final-trust{grid-template-columns:1fr}.hanlob-final-trust span+span{border-left:0;border-top:1px solid #e0eaf1}.hanlob-final-trust span{justify-content:flex-start;padding:7px 0}.hanlob-sticky-title{font-size:11px}.hanlob-sticky-buy{padding:0 10px!important}}


/* v2.1.2: selector duplicado oculto, título móvil correcto y barra fija sobre el menú */
.hanlob-heading-mobile{display:none}
.hanlob-sticky-info{display:flex;min-width:0;flex-direction:column;gap:2px}
.hanlob-sticky-price{color:#158fc3;font-size:12px;font-weight:800;line-height:1.1}
.hanlob-sticky-price del{display:none}
.hanlob-sticky-price ins{text-decoration:none}
@media (max-width:767px){
  body{padding-bottom:140px!important}
  .hanlob-purchase-box .hanlob-variation-ui,
  .hanlob-purchase-box .hanlob-variation-ui .hanlob-attribute-block{display:none!important}
  .hanlob-heading-desktop{display:none!important}
  .hanlob-heading-mobile{display:inline!important}
  .hanlob-purchase-box .hanlob-mobile-sticky{
    display:grid!important;
    bottom:68px!important;
    z-index:9998!important;
  }
}

/* v2.1.3: ajuste de barra móvil, precio promocional y bloque de confianza */
.hanlob-sticky-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.hanlob-sticky-price del{display:inline!important;color:#76899a;font-size:10.5px;font-weight:700;opacity:1;text-decoration-thickness:1.5px}
.hanlob-sticky-price ins{display:inline!important;color:#087fb5;font-size:13px;font-weight:900;text-decoration:none}
.hanlob-sticky-price>.amount{color:#087fb5;font-size:13px;font-weight:900}
.hanlob-final-trust{gap:8px;border-top:0;padding-top:0}
.hanlob-final-trust .hanlob-trust-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;padding:10px 6px;background:#f7fbfe;border:1px solid #dcebf4;border-radius:10px;color:#176f9f;text-align:center;line-height:1.2}
.hanlob-final-trust .hanlob-trust-item+.hanlob-trust-item{border-left:1px solid #dcebf4}
.hanlob-final-trust .hanlob-trust-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;background:#e6f5fc;border-radius:50%;color:#138fc5}
.hanlob-final-trust .hanlob-trust-icon svg{width:17px;height:17px;fill:currentColor}
.hanlob-final-trust .hanlob-trust-item strong{font-size:10.5px;font-weight:800}
@media(max-width:767px){
  body{padding-bottom:130px!important}
  .hanlob-purchase-box .hanlob-mobile-sticky{bottom:58px!important}
}
@media(max-width:390px){
  .hanlob-final-trust{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hanlob-final-trust .hanlob-trust-item+.hanlob-trust-item{border-top:1px solid #dcebf4}
  .hanlob-final-trust .hanlob-trust-item{justify-content:center;padding:8px 4px}
  .hanlob-final-trust .hanlob-trust-item strong{font-size:9.5px}
}


/* v2.1.4: miniatura móvil sincronizada con la variación seleccionada */
.hanlob-mobile-sticky img{transition:opacity .18s ease,transform .18s ease}
.hanlob-mobile-sticky img.is-changing{opacity:.55;transform:scale(.96)}

/* v2.2.0: edición completa en Elementor y acabado premium de escritorio */
.hanlob-purchase-box{--hanlob-section-gap:18px}
.hanlob-product-tools{margin-bottom:var(--hanlob-section-gap)}
.hanlob-purchase-heading{margin-bottom:var(--hanlob-section-gap)!important}
.hanlob-attribute-block{margin-bottom:var(--hanlob-section-gap)}
.hanlob-quantity-stock-row{margin-bottom:var(--hanlob-section-gap)}

@media(min-width:768px){
  .hanlob-purchase-box{padding:28px;border-width:1px;box-shadow:0 12px 34px rgba(31,79,128,.10)}
  .hanlob-purchase-heading{font-size:22px;letter-spacing:-.2px}
  .hanlob-product-tools{gap:12px}
  .hanlob-favorite-button,.hanlob-share-button{min-height:46px;font-size:13px!important;border-radius:11px!important}
  .hanlob-favorite-button svg,.hanlob-share-button svg{width:18px;height:18px;flex-basis:18px}
  .hanlob-attribute-options{gap:12px}
  .hanlob-attribute-option{min-height:58px;padding:12px!important;border-radius:12px!important;font-size:14px!important}
  .hanlob-attribute-option.has-color{min-height:70px}
  .hanlob-color-dot{width:28px;height:28px;flex-basis:28px}
  .hanlob-quantity-stock-row{padding:16px 18px;background:#f8fbfd;border:1px solid #e3edf4;border-radius:12px;align-items:center}
  .hanlob-final-qty{width:154px;height:48px;grid-template-columns:48px 58px 48px}
  .hanlob-final-qty button,.hanlob-qty-number{height:46px}
  .hanlob-final-main-actions{grid-template-columns:1fr 1.2fr;gap:12px}
  .hanlob-add-cart,.hanlob-buy-now{min-height:58px!important}
  .hanlob-final-secondary-actions{gap:12px}
  .hanlob-whatsapp,.hanlob-file{min-height:54px}
  .hanlob-security-banner{padding:15px 18px;border:1px solid #d8eaf5}
  .hanlob-final-trust{gap:12px;margin-top:16px}
  .hanlob-final-trust .hanlob-trust-item{min-height:92px;padding:14px 10px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
  .hanlob-final-trust .hanlob-trust-item:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(31,79,128,.08);border-color:#c5e1f0}
  .hanlob-final-trust .hanlob-trust-icon{width:36px;height:36px}
  .hanlob-final-trust .hanlob-trust-icon svg{width:19px;height:19px}
  .hanlob-final-trust .hanlob-trust-item strong{font-size:12px}
}
