/* F1-REDESIGN v1 — look fiorinet con paleta flores1 (ambar #FAAF40 / carbon #2B2B2B / crema #FDF4E3) */
/* ============ CHECKOUT (Amasty OSC, body.checkout-index-index) ============ */
body.checkout-index-index .page-title-wrapper h1,
body.checkout-index-index .checkout-header .title{color:#2B2B2B;font-weight:800}
body.checkout-index-index .checkout-header .description{color:#8a8a8a}

body.checkout-index-index .checkout-block{background:#fff !important;border:1px solid #F0E6D2 !important;border-radius:14px !important;box-shadow:0 2px 14px rgba(43,43,43,.07) !important;padding:20px 22px !important;margin:0 8px 24px !important}

body.checkout-index-index .checkout-block .step-title,
body.checkout-index-index .step-title.amcheckout-title{background:linear-gradient(90deg,#FAAF40,#E8951C);color:#fff !important;border-radius:10px;padding:10px 16px !important;font-size:17px;font-weight:700;letter-spacing:.3px;border-bottom:0 !important;margin-bottom:16px}
body.checkout-index-index .step-title .step-number,
body.checkout-index-index .step-title span[class*="number"]{background:#fff;color:#E8951C !important;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;margin-right:8px}

body.checkout-index-index .checkout-block input[type="text"],
body.checkout-index-index .checkout-block input[type="email"],
body.checkout-index-index .checkout-block input[type="tel"],
body.checkout-index-index .checkout-block input[type="password"],
body.checkout-index-index .checkout-block input[type="number"],
body.checkout-index-index .checkout-block select,
body.checkout-index-index .checkout-block textarea{border:1px solid #EAD9B8 !important;border-radius:10px !important;min-height:40px;padding:8px 12px !important;color:#2B2B2B;background:#fff}
body.checkout-index-index .checkout-block textarea{min-height:80px}
body.checkout-index-index .checkout-block input:focus,
body.checkout-index-index .checkout-block select:focus,
body.checkout-index-index .checkout-block textarea:focus{border-color:#FAAF40 !important;box-shadow:0 0 0 2px rgba(250,175,64,.25) !important}
body.checkout-index-index .checkout-block .label,
body.checkout-index-index .checkout-block label{color:#4a4a4a;font-weight:600}
body.checkout-index-index .field._error input,
body.checkout-index-index .field._error select{border-color:#d24a4a !important}

/* metodos de pago */
body.checkout-index-index .payment-method{border:1px solid #eee !important;border-radius:12px !important;margin:0 0 10px !important;padding:8px 12px !important;background:#fff !important;transition:background .15s,border-color .15s}
body.checkout-index-index .payment-method._active{background:#FDF4E3 !important;border-color:#E8951C !important;box-shadow:inset 0 0 0 1px #E8951C !important}
body.checkout-index-index .payment-method input[type="radio"]{accent-color:#E8951C;width:18px;height:18px}
body.checkout-index-index .payment-method .label{font-weight:600;color:#2B2B2B}

/* boton realizar pedido */
body.checkout-index-index button.action.primary.checkout.amasty,
body.checkout-index-index .am-submit-summary button.action.primary.checkout{background:#FAAF40 !important;border:0 !important;color:#fff !important;font-weight:800 !important;letter-spacing:.6px;border-radius:999px !important;padding:14px 34px !important;font-size:16px;box-shadow:0 4px 14px rgba(232,149,28,.4);text-transform:uppercase}
body.checkout-index-index button.action.primary.checkout.amasty:hover{background:#E8951C !important}

/* botones secundarios (fecha de entrega, etc.) */
body.checkout-index-index .checkout-block button.action:not(.primary),
body.checkout-index-index .checkout-block .action-select-date{border:1.5px solid #E8951C !important;color:#C97F12 !important;background:#fff !important;border-radius:999px !important;padding:8px 18px !important;font-weight:700}

/* resumen */
body.checkout-index-index .checkout-block.-summary .step-title{background:linear-gradient(90deg,#FAAF40,#E8951C);color:#fff !important}
body.checkout-index-index .opc-block-summary .table-totals .grand .amount,
body.checkout-index-index .opc-block-summary .table-totals .grand th{color:#2B2B2B;font-weight:800;font-size:17px}
body.checkout-index-index .opc-block-summary .product-item-name{color:#2B2B2B;font-weight:600}
body.checkout-index-index .minicart-items .product-image-container{border-radius:10px;overflow:hidden}
/* lineas de confianza bajo el resumen */
body.checkout-index-index .checkout-block.-summary::after{content:"\1F69A  Entrega el mismo día\A\1F338  Flores frescas garantizadas\A\1F512  Pago 100% seguro, cifrado SSL";white-space:pre-line;display:block;margin-top:14px;padding-top:12px;border-top:1px dashed #EAD9B8;color:#6b6b6b;font-size:13px;line-height:2}

/* cupon */
body.checkout-index-index .amcheckout-discount-trigger,
body.checkout-index-index .payment-option-title{color:#C97F12 !important;font-weight:600}

/* ocultar titulo redundante express en desktop */
@media (min-width:768px){body.checkout-index-index .payment-group .step-title.mobile{display:none}}

/* movil */
@media (max-width:767px){
 body.checkout-index-index .checkout-block{margin:0 0 16px !important;padding:16px 14px !important}
 body.checkout-index-index button.action.primary.checkout.amasty{width:100%}
}

/* ============ CARRITO (body.checkout-cart-index) ============ */
body.checkout-cart-index .page-title-wrapper h1{color:#2B2B2B;font-weight:800}
body.checkout-cart-index .cart-container{display:flex !important;flex-wrap:wrap;gap:24px;align-items:flex-start}
body.checkout-cart-index .cart-container .form-cart,
body.checkout-cart-index .cart-container #form-validate{flex:1 1 560px;background:#fff;border:1px solid #F0E6D2;border-radius:14px;box-shadow:0 2px 14px rgba(43,43,43,.07);padding:18px 20px;order:1}
body.checkout-cart-index .cart-summary{flex:0 0 340px !important;width:340px;position:sticky;top:16px;background:#fff !important;border:1px solid #F0E6D2;border-radius:14px;box-shadow:0 2px 14px rgba(43,43,43,.07);padding:0 0 18px !important;order:2;float:none !important}
body.checkout-cart-index .cart-summary > .summary.title{display:block;background:linear-gradient(90deg,#FAAF40,#E8951C);color:#fff;font-weight:800;font-size:18px;border-radius:14px 14px 0 0;padding:14px 18px;margin:0}
body.checkout-cart-index .cart-summary .block,
body.checkout-cart-index .cart-summary #cart-totals{padding:0 18px}
body.checkout-cart-index .cart-discount{order:3;flex:1 1 100%}

/* tabla de items */
body.checkout-cart-index #shopping-cart-table .col.item .product-image-container{border-radius:12px;overflow:hidden;border:1px solid #F0E6D2}
body.checkout-cart-index #shopping-cart-table .product-item-name a{color:#2B2B2B !important;font-weight:700;font-size:16px}
body.checkout-cart-index #shopping-cart-table dl.item-options dt{color:#8a8a8a;font-weight:600}
body.checkout-cart-index #shopping-cart-table dl.item-options dd{color:#4a4a4a}
body.checkout-cart-index #shopping-cart-table .price{color:#C97F12 !important;font-weight:800}
body.checkout-cart-index #shopping-cart-table .input-text.qty{border:1px solid #EAD9B8 !important;border-radius:8px !important}
body.checkout-cart-index #shopping-cart-table .action-edit,
body.checkout-cart-index #shopping-cart-table .action-delete{color:#C97F12}

/* totales */
body.checkout-cart-index #cart-totals .grand.totals .amount strong,
body.checkout-cart-index #cart-totals .grand.totals th strong{color:#2B2B2B;font-size:18px}
body.checkout-cart-index #cart-totals .totals.shipping .value{display:none}
#f1-gratis{color:#2e7d32;font-weight:800}

/* botones */
body.checkout-cart-index ul.checkout.methods button.action.primary.checkout{background:#FAAF40 !important;border:0 !important;color:#fff !important;font-weight:800 !important;border-radius:999px !important;padding:14px 26px !important;letter-spacing:.5px;box-shadow:0 4px 14px rgba(232,149,28,.4);width:100%;text-transform:uppercase}
body.checkout-cart-index ul.checkout.methods button.action.primary.checkout:hover{background:#E8951C !important}
body.checkout-cart-index .action.update,
body.checkout-cart-index .action.continue{border:1.5px solid #2B2B2B !important;background:#fff !important;color:#2B2B2B !important;border-radius:999px !important;font-weight:700;padding:9px 20px !important}
body.checkout-cart-index #block-discount .action.apply,
body.checkout-cart-index .cart-discount .action.apply{background:#2B2B2B !important;color:#fff !important;border:0 !important;border-radius:999px !important;font-weight:700;padding:10px 22px !important;float:none !important;width:auto !important}
body.checkout-cart-index .cart-discount .actions-toolbar,
body.checkout-cart-index .cart-discount .primary{float:none !important;width:auto !important;display:inline-block}
body.checkout-cart-index .cart-discount .input-text{border:1px solid #EAD9B8 !important;border-radius:999px !important;padding:10px 16px !important}

/* chips de pago bajo el CTA */
#f1-pay{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:12px 18px 0}
#f1-pay span{border:1px solid #EAD9B8;background:#FDF4E3;color:#6b5a35;border-radius:8px;padding:3px 9px;font-size:11.5px;font-weight:700}
#f1-secure{text-align:center;color:#8a8a8a;font-size:12px;margin:8px 0 0}

/* estimacion de envio fuera */
body.checkout-cart-index #block-shipping{display:none !important}

@media (max-width:767px){
 body.checkout-cart-index .cart-summary{flex:1 1 100%;width:auto;position:static}
 body.checkout-cart-index .checkout-methods-items{position:static !important}
}
body.checkout-cart-index #gift-options-cart{display:none !important}
/* F1 v3: botones fecha de entrega Hoy/Mañana/Otra */
#f1-dd-btns{display:flex;gap:8px;margin:6px 0 8px}
.f1-dd-btn{flex:1;border:1.5px solid #EAD9B8;background:#fff;color:#2B2B2B;border-radius:12px;padding:11px 6px;font-weight:700;font-size:13.5px;cursor:pointer;min-height:44px}
.f1-dd-btn.is-active{background:#FDF4E3;border-color:#E8951C;color:#C97F12;box-shadow:inset 0 0 0 1px #E8951C}
#f1-dd-note{color:#6b6b6b;font-size:12.5px;margin:2px 0 6px}
/* F1 v4: mensaje de regalo inline */
#f1-gift{display:flex;flex-direction:column;gap:8px;margin-top:6px}
#f1-gift input,#f1-gift textarea{border:1px solid #EAD9B8 !important;border-radius:10px !important;padding:9px 12px !important;width:100%;box-sizing:border-box;color:#2B2B2B}
#f1-gift input:focus,#f1-gift textarea:focus{border-color:#FAAF40 !important;box-shadow:0 0 0 2px rgba(250,175,64,.25) !important}
#f1-gift-note{color:#8a8a8a;font-size:12.5px}
