body.mageworx_checkout-onepage-index{background:#ffffff !important;font-family:'Manrope',system-ui,-apple-system,sans-serif !important;color:#1E1A1D;}
body.mageworx_checkout-onepage-index .checkout-container{max-width:1180px;margin:0 auto;padding:24px 16px 64px;}
/* Tarjetas */
body.mageworx_checkout-onepage-index .layout__pane{background:#FFFFFF !important;border:1px solid #EDF0E6 !important;border-radius:16px !important;padding:24px 24px 26px !important;margin-bottom:20px !important;box-shadow:0 2px 10px rgba(30,26,29,.05) !important;}
/* Encabezados de secci\00f3n: limpios, serif oscuro (sin barra magenta) */
body.mageworx_checkout-onepage-index .layout__pane__heading,
body.mageworx_checkout-onepage-index .layout__pane .heading,
body.mageworx_checkout-onepage-index .step-title{background:transparent !important;color:#1E1A1D !important;font-family:inherit,Georgia,serif !important;font-weight:700 !important;font-size:24px !important;letter-spacing:.2px;padding:0 0 14px 0 !important;margin:0 0 18px 0 !important;border-bottom:1px solid #EDF0E6 !important;border-radius:0 !important;}
/* Resumen: cabecera en degradado magenta, al ras de la tarjeta */
body.mageworx_checkout-onepage-index #mwCheckoutSidebarBlock .layout__pane__heading,
body.mageworx_checkout-onepage-index .layout__pane--styled .layout__pane__heading{background:linear-gradient(135deg,#55624C,#3E4A36) !important;color:#fff !important;border:none !important;border-radius:16px 16px 0 0 !important;margin:-24px -24px 18px -24px !important;padding:18px 22px !important;font-size:23px !important;}
/* Campos */
body.mageworx_checkout-onepage-index .input__control,
body.mageworx_checkout-onepage-index input.input-text,
body.mageworx_checkout-onepage-index input[type="text"],
body.mageworx_checkout-onepage-index input[type="email"],
body.mageworx_checkout-onepage-index input[type="tel"],
body.mageworx_checkout-onepage-index input[type="number"],
body.mageworx_checkout-onepage-index input[type="password"],
body.mageworx_checkout-onepage-index input[type="date"],
body.mageworx_checkout-onepage-index select,
body.mageworx_checkout-onepage-index textarea{background:#ffffff !important;border:1.5px solid #EDF0E6 !important;border-radius:11px !important;padding:12px 14px !important;font-family:inherit !important;font-size:15px !important;color:#1E1A1D !important;box-shadow:none !important;transition:border-color .15s, box-shadow .15s, background .15s;}
body.mageworx_checkout-onepage-index .input__control:focus,
body.mageworx_checkout-onepage-index input.input-text:focus,
body.mageworx_checkout-onepage-index input[type="text"]:focus,
body.mageworx_checkout-onepage-index input[type="email"]:focus,
body.mageworx_checkout-onepage-index input[type="tel"]:focus,
body.mageworx_checkout-onepage-index select:focus,
body.mageworx_checkout-onepage-index textarea:focus{outline:none !important;border-color:#55624C !important;background:#FFFFFF !important;box-shadow:0 0 0 4px rgba(192,20,107,.10) !important;}
body.mageworx_checkout-onepage-index .input__label,
body.mageworx_checkout-onepage-index .field > .label,
body.mageworx_checkout-onepage-index label{color:#1E1A1D !important;font-weight:600 !important;font-size:13px;letter-spacing:.2px;}
body.mageworx_checkout-onepage-index .input--is-required .input__label:after,
body.mageworx_checkout-onepage-index .field._required > .label:after{color:#55624C !important;}
body.mageworx_checkout-onepage-index input[type="radio"],
body.mageworx_checkout-onepage-index input[type="checkbox"]{accent-color:#55624C;}
/* Botones */
body.mageworx_checkout-onepage-index .button--primary,
body.mageworx_checkout-onepage-index .action.primary,
body.mageworx_checkout-onepage-index button.action.primary.checkout{background:#55624C !important;border:1px solid #55624C !important;color:#fff !important;border-radius:12px !important;font-family:inherit !important;font-weight:700 !important;letter-spacing:.3px;transition:background .2s, transform .12s, box-shadow .2s;}
body.mageworx_checkout-onepage-index .button--primary:hover,
body.mageworx_checkout-onepage-index .action.primary:hover,
body.mageworx_checkout-onepage-index button.action.primary.checkout:hover{background:#3E4A36 !important;border-color:#3E4A36 !important;}
body.mageworx_checkout-onepage-index .button--type-checkout{background:#55624C !important;border-color:#55624C !important;color:#fff !important;border-radius:13px !important;padding:16px !important;font-size:16px !important;font-weight:700 !important;box-shadow:0 8px 22px rgba(192,20,107,.28) !important;}
body.mageworx_checkout-onepage-index .button--type-checkout:hover{background:#3E4A36 !important;box-shadow:0 12px 26px rgba(192,20,107,.34) !important;}
body.mageworx_checkout-onepage-index .button--type-checkout:after{content:"  \2192";font-weight:700;}
body.mageworx_checkout-onepage-index .link--variation-accent,
body.mageworx_checkout-onepage-index a{color:#55624C;}
body.mageworx_checkout-onepage-index a:hover{color:#3E4A36;}
/* M\00e9todos de pago */
body.mageworx_checkout-onepage-index .payment-method{border:1.5px solid #EDF0E6 !important;border-radius:13px !important;padding:14px 16px !important;margin-bottom:12px !important;background:#fff !important;transition:border-color .15s, box-shadow .15s, background .15s;}
body.mageworx_checkout-onepage-index .payment-method:hover{border-color:#F6D8E5 !important;}
body.mageworx_checkout-onepage-index .payment-method._active,
body.mageworx_checkout-onepage-index .payment-method:has(input:checked){border-color:#55624C !important;background:#EDF0E6 !important;box-shadow:0 0 0 3px rgba(192,20,107,.08) !important;}
body.mageworx_checkout-onepage-index .payment-method-title{font-weight:600 !important;}
/* Resumen (sidebar) */
body.mageworx_checkout-onepage-index .layout__pane--styled,
body.mageworx_checkout-onepage-index #mwCheckoutSidebarBlock{background:#FFFFFF !important;border:1px solid #EDF0E6 !important;border-radius:16px !important;box-shadow:0 8px 30px rgba(30,26,29,.07) !important;position:sticky !important;top:16px !important;overflow:hidden;}
body.mageworx_checkout-onepage-index .opc-block-summary{background:transparent !important;}
body.mageworx_checkout-onepage-index .opc-block-summary .text--size-xxl,
body.mageworx_checkout-onepage-index .opc-block-summary .grand .price,
body.mageworx_checkout-onepage-index .summary__field--align-bottom .cart-price .price{font-family:inherit,Georgia,serif !important;font-weight:700 !important;font-size:30px !important;color:#55624C !important;}
body.mageworx_checkout-onepage-index .opc-block-summary .media__image,
body.mageworx_checkout-onepage-index .summary__cell .media__image img{border-radius:12px !important;border:1px solid #EDF0E6;}
/* Sellos de confianza bajo el resumen */
body.mageworx_checkout-onepage-index #mwCheckoutSidebarBlock:after{content:"\1F512  Pago 100% seguro, cifrado SSL\A\1F69A  Entrega garantizada\A\1F4AC  Atenci\00f3n por WhatsApp y Chat";white-space:pre-line;display:block;margin:18px -24px -26px -24px;padding:18px 22px;background:#ffffff;border-top:1px solid #EDF0E6;font-size:13px;line-height:2;color:#6A6168;}
body.mageworx_checkout-onepage-index .form-discount .button--primary{border-radius:11px !important;}
body.mageworx_checkout-onepage-index .message--error{color:#3E4A36;}
/* === Layout 2 columnas: pasos 1-5 a la izquierda, resumen a la derecha === */
body.mageworx_checkout-onepage-index .layout{display:grid !important;grid-template-columns:minmax(0,1fr) 384px !important;gap:28px !important;align-items:start !important;}
body.mageworx_checkout-onepage-index .layout__section{width:auto !important;max-width:none !important;min-width:0 !important;display:block !important;flex:none !important;margin:0 !important;}
body.mageworx_checkout-onepage-index .layout__section:nth-child(1){grid-column:1 !important;grid-row:1 !important;}
body.mageworx_checkout-onepage-index .layout__section:nth-child(2){grid-column:1 !important;grid-row:2 !important;}
body.mageworx_checkout-onepage-index .layout__section:nth-child(3){grid-column:2 !important;grid-row:1 / span 2 !important;}
@media (max-width:900px){
 body.mageworx_checkout-onepage-index .layout{grid-template-columns:1fr !important;}
 body.mageworx_checkout-onepage-index .layout__section:nth-child(1),
 body.mageworx_checkout-onepage-index .layout__section:nth-child(2),
 body.mageworx_checkout-onepage-index .layout__section:nth-child(3){grid-column:1 !important;grid-row:auto !important;}
}
/* Paso 1 (datos remitente) Nombre+Apellido en 2 columnas */
body.mageworx_checkout-onepage-index .order-attributes-form{display:flex !important;flex-wrap:wrap !important;gap:16px;}
body.mageworx_checkout-onepage-index .order-attributes-form > .field{flex:1 1 100% !important;min-width:0 !important;}
body.mageworx_checkout-onepage-index .order-attributes-form > .field:has(input[name="sender_fname"]),
body.mageworx_checkout-onepage-index .order-attributes-form > .field:has(input[name="sender_lname"]){flex:1 1 45% !important;}

/* Checkout: ocultar barra gris (menu+buscador) y mostrar logo en el header */
body.mageworx_checkout-onepage-index .menubar-afterheader{display:none !important;}
body.mageworx_checkout-onepage-index .headercontentin{align-items:center;}
body.mageworx_checkout-onepage-index .headercontentin:not(:has(#fg-checkout-logo))::before{content:"";order:-1;flex:0 0 auto;align-self:center;display:inline-block;width:365px;height:62px;margin-right:24px;background:url('/media/logo/default/logo-new.png') no-repeat left center;background-size:contain;}

/* Titulos de pasos 1-5: tipografia Manrope + numero en recuadro magenta claro */
body.mageworx_checkout-onepage-index .layout__pane:not(.layout__pane--styled) .layout__pane__heading{font-family:'Manrope',system-ui,sans-serif !important;font-weight:700 !important;font-size:18px !important;display:flex;align-items:center;gap:12px;}
body.mageworx_checkout-onepage-index .fg-step-badge{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#EDF0E6;color:#55624C;font-family:'Manrope',system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1;flex:0 0 auto;}

/* Encabezado superior del checkout + Paso 1 estilo mockup */
body.mageworx_checkout-onepage-index #fg-checkout-head{margin:0 0 6px 2px;}
body.mageworx_checkout-onepage-index #fg-checkout-head h1{font-family:inherit,Georgia,serif;font-weight:700;font-size:40px;color:#1E1A1D;margin:0 0 4px;line-height:1.1;}
body.mageworx_checkout-onepage-index #fg-checkout-head p{font-family:'Manrope',system-ui,sans-serif;color:#8A7F86;font-size:15px;margin:0 0 16px;}
body.mageworx_checkout-onepage-index .layout__pane:not(.layout__pane--styled) .layout__pane__heading{border-bottom:none !important;padding-bottom:0 !important;margin-bottom:18px !important;}
body.mageworx_checkout-onepage-index .fg-head-note{margin-left:auto;font-family:'Manrope',system-ui,sans-serif;font-weight:400;font-size:13px;color:#8A7F86;}
body.mageworx_checkout-onepage-index .fg-phone-note{margin-top:6px;font-family:'Manrope',system-ui,sans-serif;font-size:13px;color:#8A7F86;}

/* Pasos 1 y 2 en tarjetas blancas separadas (mwShippingAddressBlock se vuelve contenedor transparente) */
body.mageworx_checkout-onepage-index #mwShippingAddressBlock{background:transparent !important;border:none !important;box-shadow:none !important;padding:0 !important;}
body.mageworx_checkout-onepage-index #mwShippingAddressBlock .fg-card{background:#fff !important;border:1px solid #EDF0E6 !important;border-radius:16px !important;padding:24px 24px 26px !important;margin-bottom:20px !important;box-shadow:0 2px 10px rgba(30,26,29,.05) !important;}

/* Resumen sticky: acompaña el scroll. Liberar el scroll-container falso de #html-body y estirar la columna */
#html-body.mageworx_checkout-onepage-index{overflow:visible !important;}
body.mageworx_checkout-onepage-index .layout__section:nth-child(3){align-self:stretch !important;}

/* Compuerta de validacion: ocultar 'campo obligatorio' hasta que el cliente toque el campo o presione Realizar Pedido (checkout-enhance.js agrega .fg-touched) */
body.mageworx_checkout-onepage-index .field:not(.fg-touched) .field-error,
body.mageworx_checkout-onepage-index .form__field:not(.fg-touched) .field-error{display:none !important;}
body.mageworx_checkout-onepage-index .field._error:not(.fg-touched) input.input-text,
body.mageworx_checkout-onepage-index .field._error:not(.fg-touched) .input__control{border-color:#EDF0E6 !important;box-shadow:none !important;}

/* Fix: el texto del selector (Pais/Estado) se cortaba por padding+line-height en alto fijo */
body.mageworx_checkout-onepage-index select{line-height:1.2 !important;padding-top:8px !important;padding-bottom:8px !important;height:auto !important;min-height:44px !important;}

/* Pasos 3 y 4 en tarjetas separadas (mwShippingMethodsBlock transparente) */
body.mageworx_checkout-onepage-index #mwShippingMethodsBlock{background:transparent !important;border:none !important;box-shadow:none !important;padding:0 !important;}
body.mageworx_checkout-onepage-index .fg-card{background:#fff !important;border:1px solid #EDF0E6 !important;border-radius:16px !important;padding:24px 24px 26px !important;margin-bottom:20px !important;box-shadow:0 2px 10px rgba(30,26,29,.05) !important;}

/* Paso 3: selector moderno de Fecha de entrega (Hoy/Manana/Otra fecha) */
body.mageworx_checkout-onepage-index #fg-dd{margin:2px 0 6px;}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-btns{display:flex;gap:10px;flex-wrap:nowrap;}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-btn{flex:1 1 0;min-width:0;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 8px;border:1.5px solid #EDF0E6;border-radius:13px;background:#fff;color:#1E1A1D;font-family:inherit;font-weight:700;font-size:14.5px;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,color .15s;}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-btn:hover{border-color:#F6D8E5;}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-btn.is-active{border-color:#55624C;background:#EDF0E6;color:#55624C;box-shadow:0 0 0 3px rgba(192,20,107,.08);}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-ico{width:20px;height:20px;flex:0 0 auto;}
body.mageworx_checkout-onepage-index #fg-dd .fg-dd-note{margin-top:12px;font-weight:700;font-size:14px;color:#1E1A1D;}


/* ===== Paso 4: Tarjeta de regalo (toggle + auto-guardado) ===== */
body.mageworx_checkout-onepage-index #fg-card-4 .cart-gift-item .title{position:relative !important;padding-left:62px !important;min-height:30px;cursor:pointer;}
body.mageworx_checkout-onepage-index #fg-card-4 .cart-gift-item .title::before{content:'' !important;position:absolute !important;left:0 !important;top:2px !important;width:46px !important;height:26px !important;border-radius:13px !important;background:#D9D2D7 !important;transition:background .2s;box-shadow:none !important;}
body.mageworx_checkout-onepage-index #fg-card-4 .gift-item-block._active .title::before{background:#55624C !important;}
body.mageworx_checkout-onepage-index #fg-card-4 .cart-gift-item .title input[type="checkbox"]{position:absolute !important;left:3px !important;top:5px !important;right:auto !important;width:20px !important;height:20px !important;border-radius:50% !important;background:#fff !important;-webkit-appearance:none !important;appearance:none !important;margin:0 !important;border:none !important;box-shadow:0 1px 3px rgba(0,0,0,.25) !important;transition:left .2s !important;z-index:5 !important;cursor:pointer !important;}
body.mageworx_checkout-onepage-index #fg-card-4 .gift-item-block._active .title input[type="checkbox"]{left:23px !important;}
body.mageworx_checkout-onepage-index #fg-card-4 .cart-gift-item .title::after{display:none !important;}
body.mageworx_checkout-onepage-index .fg-gift-label{font-weight:700;color:#1E1A1D;font-size:15px;display:block;}
body.mageworx_checkout-onepage-index .fg-gift-sub{font-weight:400;color:#8A8088;font-size:13px;display:block;margin-top:2px;}
body.mageworx_checkout-onepage-index #fg-card-4 .action-update,body.mageworx_checkout-onepage-index #fg-card-4 .action-cancel{display:none !important;}

/* === fg: magenta + label instrucciones === */
body.mageworx_checkout-onepage-index #fg-checkout-head p{color:#55624C !important;}
body.mageworx_checkout-onepage-index #fg-dd-note{color:#55624C !important;}
body.mageworx_checkout-onepage-index .fg-di-label{font-family:Manrope,system-ui,sans-serif !important;font-weight:700 !important;color:#1E1A1D !important;}

/* fg: Pais y Estado en el mismo renglon (Paso 2) */
.fieldset.address > .field:has(select[name="country_id"]),
.fieldset.address > .field:has(input[name="region"]){display:inline-block !important;vertical-align:top;box-sizing:border-box;width:calc(50% - 10px);}
.fieldset.address > .field:has(select[name="country_id"]){margin-right:16px;}
@media (max-width:600px){.fieldset.address > .field:has(select[name="country_id"]),.fieldset.address > .field:has(input[name="region"]){width:100% !important;margin-right:0;}}
/* fg: logos de metodos de pago (Paso 5) */
label[for="paypalspb_paypal"]{background:url('/static/frontend/Smartwave/porto_child/es_MX/StripeIntegration_Payments/img/methods/paypal.svg') no-repeat 34px center !important;background-size:auto 18px !important;padding-left:120px !important;}
label[for="mercadopago_adbpayment_cc"] img{display:none !important;}
label[for="mercadopago_adbpayment_cc"],label[for="stripe_payments"]{background:url('/media/mageworx/payment_methods/icons/default/visam_1.jpg') no-repeat 34px center !important;background-size:auto 18px !important;padding-left:124px !important;}
/* fg: espacio Paso 4 tarjeta regalo */
.cart-gift-item .gift-item-block .content{margin-bottom:14px !important;padding-bottom:0 !important;}
.cart-gift-item .gift-options{padding-bottom:0 !important;margin-bottom:10px !important;}
.cart-gift-item .gift-options .fieldset{margin-bottom:0 !important;padding-bottom:0 !important;}
.cart-gift-item .gift-options .field-from,.cart-gift-item .gift-options .field-to{margin-bottom:14px !important;}
.cart-gift-item .gift-options .field.text{margin-bottom:0 !important;}

/* fg: resumen orden (boton ancho + total + acuerdo abajo) */
.button--type-checkout{width:100% !important;max-width:none !important;display:block !important;}
.summary{display:flex !important;flex-direction:column !important;}
.summary > .summary__field:has(.button--type-checkout){order:1 !important;margin-top:8px !important;}
.summary > .summary__field:has(small[data-bind*="agreementsMessage"]){order:2 !important;margin-top:8px !important;text-align:center;}
.summary__field--align-bottom .summary__cell--content-right{font-family:inherit,Georgia,serif !important;font-size:30px !important;line-height:1.1 !important;color:#55624C !important;font-weight:700 !important;}
.summary__field--align-bottom .summary__cell:first-child{font-size:18px !important;font-weight:700 !important;color:#1E1A1D !important;}
.summary small[data-bind*="agreementsMessage"] a,.summary .fg-agree a{color:#55624C !important;text-decoration:none !important;}

/* fg: reCAPTCHA badge (login Paso 1) a la mitad */
.field-recaptcha .grecaptcha-badge,.grecaptcha-badge{transform:scale(.5) !important;transform-origin:left top !important;}
.field-recaptcha{height:40px !important;overflow:hidden !important;}

/* fg: lapiz editar por direccion (Paso 2) + oculta el del titulo */
#fg-edit-addr{display:none !important;}


/* FG-MOBILE-HEADER */
@media (max-width:767px){
.mageworx_checkout-onepage-index #fg-checkout-logo{width:160px !important;height:28px !important;margin-right:0 !important;margin-left:46px !important;}
.mageworx_checkout-onepage-index .headercontentin{padding-top:6px !important;padding-bottom:6px !important;}
.mageworx_checkout-onepage-index #fg-checkout-head h1{font-size:26px !important;line-height:1.15 !important;}
.mageworx_checkout-onepage-index #fg-checkout-head p{font-size:13px !important;margin-bottom:10px !important;}
.mageworx_checkout-onepage-index .fieldset.address > .field:has(select[name="country_id"]),
.mageworx_checkout-onepage-index .fieldset.address > .field:has(input[name="region"]){display:block !important;width:100% !important;margin-right:0 !important;}
}


/* FG-GIFT-REQ: el mensaje de regalo es OPCIONAL; ocultar el falso "campo obligatorio" */
.field-error.gift-message-require, .cart-gift-item .field-error.gift-message-require{display:none !important;}


/* FG-GIFT-TOGGLE: interruptor on/off (opción A) para el mensaje de regalo */
.cart-gift-item .gift-item-block .title::before{background:#cfcfcf !important;transition:background .2s ease !important;}
.cart-gift-item .gift-item-block._active .title::before{background:#55624C !important;}
.cart-gift-item .gift-item-block .title::after{content:"" !important;position:absolute !important;left:2px !important;top:4px !important;width:22px !important;height:22px !important;background:#fff !important;border-radius:50% !important;box-shadow:0 1px 2px rgba(0,0,0,.3) !important;transition:transform .2s ease !important;display:block !important;}
.cart-gift-item .gift-item-block._active .title::after{transform:translateX(20px) !important;}


/* FG-MISSING-BOX: aviso de campos faltantes junto al boton */
#fg-missing-box{background:#fcebeb !important;border:1px solid #e24b4a !important;border-radius:10px !important;padding:10px 14px !important;margin:0 0 14px !important;}
#fg-missing-box .fg-mb-title{color:#a32d2d !important;font-weight:600 !important;font-size:14px !important;margin-bottom:6px !important;}
#fg-missing-box .fg-mb-title::before{content:'\26A0  ';}
#fg-missing-box .fg-mb-list{font-size:14px !important;line-height:1.7 !important;}
#fg-missing-box .fg-mb-link{color:#55624C !important;text-decoration:underline !important;cursor:pointer !important;font-weight:500 !important;}
#fg-missing-box .fg-mb-sep{color:#999 !important;}


/* fiorinet ajustes: centrar icono+texto en tabs de fecha + solo metodo de pago activo en verde */
.fg-dd-btn{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:6px !important;min-height:62px}
.fg-dd-ico{margin:0 !important;display:block}
body.mageworx_checkout-onepage-index #checkout .payment-method{background:#fff !important}
body.mageworx_checkout-onepage-index #checkout .payment-method._active{background:#EDF0E6 !important;border-color:#55624C !important}

/* fiorinet movil: metodos de pago con texto dentro de la tarjeta + boton Comprar del carrito NO fijo */
@media (max-width:767px){
  body.mageworx_checkout-onepage-index #checkout .payment-method{padding:10px 14px !important}
  body.mageworx_checkout-onepage-index #checkout .payment-method .payment-method-title{flex-wrap:wrap !important;gap:6px !important;padding-right:6px}
  body.mageworx_checkout-onepage-index #checkout .payment-method .payment-method-label,
  body.mageworx_checkout-onepage-index #checkout .payment-method-label{white-space:normal !important;overflow-wrap:break-word !important;word-break:normal;line-height:1.25}
  body.checkout-cart-index .cart-summary .checkout.methods.items,
  body.checkout-cart-index .checkout-methods-items{position:static !important;bottom:auto !important;left:auto !important;right:auto !important;width:auto !important;box-shadow:none !important;z-index:auto !important;background:transparent !important;padding:6px 20px 16px !important}
}

/* fiorinet: boton APLICAR del cupon dentro del cuadro (desktop + movil) */
body.checkout-cart-index #block-discount .fieldset.coupon{display:flex !important;gap:10px !important;align-items:center !important;flex-wrap:nowrap !important}
body.checkout-cart-index #block-discount .fieldset.coupon>.field{flex:1 1 auto !important;min-width:0 !important;margin:0 !important}
body.checkout-cart-index #block-discount input#coupon_code{width:100% !important;box-sizing:border-box !important}
body.checkout-cart-index #block-discount .fieldset.coupon>.actions-toolbar{flex:0 0 auto !important;margin:0 !important}
body.checkout-cart-index #block-discount .action.apply{white-space:nowrap !important;padding:0 18px !important;flex-shrink:0 !important}

/* fiorinet: el boton APLICAR estaba flotado (float:left) y colapsaba su contenedor -> desbordaba */
body.checkout-cart-index #block-discount .fieldset.coupon>.actions-toolbar{flex:0 0 auto !important;width:auto !important;margin:0 !important;display:block !important}
body.checkout-cart-index #block-discount .fieldset.coupon>.actions-toolbar .primary{float:none !important;width:auto !important;margin:0 !important}
body.checkout-cart-index #block-discount .action.apply{float:none !important}

/* PDP fiorinet 2026-07-03: imagen de producto mas chica + galeria sticky que acompana el scroll y frena en la descripcion */
body.catalog-product-view{overflow-x:clip}
@media(min-width:768px){
body.catalog-product-view #fg-pdp-row{grid-template-columns:470px minmax(0,1fr) !important}
body.catalog-product-view #fg-pdp-row>.product.media{align-self:start !important;top:90px !important}
}
@media(max-width:767px){
body.catalog-product-view #fg-pdp-row>.product.media{position:static !important}
}

/* FN-PM-MOBILE (2026-07-03): payment method labels overflowing their boxes on mobile.
   Root: label.label has padding-left ~120-124px (to clear the left icon/background) which,
   on a ~290px mobile box, leaves a cramped right column so long labels touch/overflow the
   border. Fix: smaller left icon + reduced padding + guaranteed wrap + right padding. */
@media (max-width:767px){
  .checkout-payment-method .payment-method-title{
    padding-right:12px !important;
    box-sizing:border-box;
    align-items:center;
  }
  .checkout-payment-method .payment-method-title > label.label{
    padding-left:50px !important;
    background-size:32px auto !important;
    background-position:7px center !important;
    overflow-wrap:anywhere;
    word-break:break-word;
    min-width:0;
    box-sizing:border-box;
    line-height:1.25;
  }
  /* methods with a separate icon block (checkmo / phone): shrink the icon, drop label pad */
  .checkout-payment-method .payment-method-title > .checkmo-paymentIcon{
    flex:0 0 auto;
    width:62px !important;
    transform:scale(.72);
    transform-origin:left center;
  }
  .checkout-payment-method .payment-method-title > .checkmo-paymentIcon + label.label{
    padding-left:8px !important;
    background:none !important;
  }
}

/* FN-CO-LOGO: ocultar logo Porto duplicado en checkout (dejar solo #fg-checkout-logo) */
body.mageworx_checkout-onepage-index a.logo{display:none!important}

/* FN-DD-ICO: que el icono de calendario no se salga del boton de fecha (min-height 62->76 + padding) */
.fg-dd-btn{min-height:66px!important;padding-top:11px!important;padding-bottom:11px!important;gap:3px!important}
