/*
 * Leka Catálogo WA — estilos integrados con la identidad visual de la home.
 * Paleta: azul corporativo, verde brillante, azul claro y azul marino.
 */

:root {
    --leka-blue: #0b3fc5;
    --leka-blue-hover: #082f98;
    --leka-green: #20ef00;
    --leka-green-hover: #1bd100;
    --leka-navy: #101a33;
    --leka-text: #25334f;
    --leka-muted: #69758c;
    --leka-light: #edf3ff;
    --leka-light-2: #dfeaff;
    --leka-white: #ffffff;
    --leka-border: #c4d3f2;
    --leka-field-border: #4c73ef;
    --leka-danger: #b42318;
    --leka-success: #087443;
    --leka-radius-lg: 22px;
    --leka-radius-md: 14px;
    --leka-radius-sm: 9px;
    --leka-shadow: 0 18px 55px rgba(16, 26, 51, .14);
}

.leka-product-modal-content,
.leka-cart-sidebar-content,
.leka-producto-modal-host,
.leka-carrito-lateral-host {
    font-family: "Poppins", sans-serif;
    color: var(--leka-text);
}

.leka-product-modal-content *,
.leka-cart-sidebar-content * {
    box-sizing: border-box;
}

/* Botón de las tarjetas de producto */
.woocommerce a.button.leka-ver-producto,
a.button.leka-ver-producto,
.leka-ver-producto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid var(--leka-green) !important;
    border-radius: 8px !important;
    background: var(--leka-green) !important;
    color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.woocommerce a.button.leka-ver-producto:hover,
a.button.leka-ver-producto:hover,
.leka-ver-producto:hover {
    border-color: var(--leka-blue) !important;
    background: var(--leka-blue) !important;
    color: var(--leka-white) !important;
    transform: translateY(-1px);
}

.leka-loading,
.leka-placeholder {
    padding: 48px 24px;
    color: var(--leka-muted);
    font-size: 14px;
    text-align: center;
}

.leka-product-modal-content {
    width: 100%;
}

.leka-product-modal {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
    width: 100%;
}

/* Galería */
.leka-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--leka-border);
    border-radius: var(--leka-radius-lg);
    background: linear-gradient(145deg, #f8fbff 0%, var(--leka-light) 100%);
}

.leka-main-image img {
    width: 100%;
    height: 100%;
    padding: 22px;
    object-fit: contain;
    transition: transform .25s ease;
}

.leka-main-image:hover img {
    transform: scale(1.025);
}

.leka-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.leka-thumb {
    width: 70px;
    height: 70px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid var(--leka-border);
    border-radius: 10px;
    background: var(--leka-white);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.leka-thumb:hover,
.leka-thumb.is-active {
    border-color: var(--leka-blue);
    box-shadow: 0 0 0 2px rgba(11, 63, 197, .10);
    transform: translateY(-1px);
}

.leka-thumb.is-active {
    border-color: var(--leka-green);
    box-shadow: 0 0 0 2px rgba(32, 239, 0, .22);
}

.leka-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Información del producto */
.leka-product-summary {
    padding-top: 4px;
}

.leka-sale-badge {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    margin-bottom: 14px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--leka-green);
    color: var(--leka-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.leka-product-title {
    margin: 0 0 12px;
    color: var(--leka-navy);
    font-size: clamp(26px, 2vw, 39px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.leka-product-price {
    margin-bottom: 18px;
    color: var(--leka-blue);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.25;
}

.leka-product-price del {
    margin-right: 8px;
    color: var(--leka-muted);
    font-size: .72em;
    font-weight: 500;
    opacity: .7;
}

.leka-product-price ins {
    color: var(--leka-blue);
    text-decoration: none;
}

.leka-product-description {
    margin-bottom: 20px;
    color: var(--leka-text);
    font-size: 15px;
    line-height: 1.7;
}

.leka-product-description p:last-child {
    margin-bottom: 0;
}

.leka-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid var(--leka-border);
    border-radius: 12px;
    background: var(--leka-light);
    color: var(--leka-text);
    font-size: 13px;
}

.leka-product-meta strong {
    color: var(--leka-navy);
}

.leka-product-meta .stock,
.leka-product-meta .stock p {
    margin: 0;
}

.leka-stock.in-stock,
.leka-stock.in-stock .stock {
    color: var(--leka-success);
}

.leka-stock.out-of-stock,
.leka-stock.out-of-stock .stock {
    color: var(--leka-danger);
}

/* Formulario de compra */
.leka-product-form {
    margin-top: 22px;
}

.leka-variations {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.leka-variation-field label,
.leka-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--leka-navy);
    font-size: 13px;
    font-weight: 600;
}

.leka-variation-field select,
.leka-field input,
.leka-field select,
.leka-field textarea,
.leka-purchase-row .quantity .qty {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--leka-field-border) !important;
    border-radius: var(--leka-radius-sm) !important;
    outline: none;
    background: var(--leka-white) !important;
    color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.leka-variation-field select,
.leka-field input,
.leka-field select,
.leka-field textarea {
    padding: 10px 13px;
}

.leka-field textarea {
    min-height: 95px;
    resize: vertical;
}

.leka-variation-field select:focus,
.leka-field input:focus,
.leka-field select:focus,
.leka-field textarea:focus,
.leka-purchase-row .quantity .qty:focus {
    border-color: var(--leka-blue) !important;
    box-shadow: 0 0 0 3px rgba(11, 63, 197, .12) !important;
}

.leka-field input::placeholder,
.leka-field textarea::placeholder {
    color: #8b94a5;
}

.reset_variations {
    justify-self: start;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--leka-blue) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.leka-purchase-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 17px;
}

.leka-purchase-row .quantity {
    flex: 0 0 90px;
}

.leka-purchase-row .quantity .qty {
    width: 90px;
    padding: 8px 10px;
    text-align: center;
}

/* Selector de cantidad dentro del modal de producto */
.leka-modal-qty-control {
    display: grid;
    grid-template-columns: 42px 64px 42px;
    flex: 0 0 auto;
    overflow: hidden;
    min-height: 46px;
    border: 1px solid var(--leka-field-border);
    border-radius: var(--leka-radius-sm);
    background: var(--leka-white);
}

.leka-modal-qty-control .quantity {
    display: block !important;
    width: 64px !important;
    min-width: 64px !important;
    margin: 0 !important;
}

.leka-modal-qty-control .quantity .qty,
.leka-modal-qty-control .leka-modal-qty-input {
    display: block !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--leka-white) !important;
    color: var(--leka-navy) !important;
    -webkit-text-fill-color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 46px !important;
    text-align: center !important;
    box-shadow: none !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.leka-modal-qty-control .quantity .qty::-webkit-inner-spin-button,
.leka-modal-qty-control .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.leka-modal-qty-minus,
.leka-modal-qty-plus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 46px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--leka-white) !important;
    color: var(--leka-blue) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.leka-modal-qty-minus:hover,
.leka-modal-qty-plus:hover {
    background: var(--leka-light) !important;
}

/* Contador sobre el icono del carrito del header */
.leka-header-cart-link {
    position: relative !important;
    overflow: visible !important;
}

.leka-has-cart-badge {
    overflow: visible !important;
}

.leka-header-cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 2px solid var(--leka-white);
    border-radius: 999px;
    background: var(--leka-green);
    color: var(--leka-navy);
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    box-sizing: border-box;
}

.leka-header-cart-count.is-empty {
    display: none;
}

.leka-add-to-cart,
.leka-send-whatsapp,
.leka-show-checkout,
.leka-empty-cart .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px !important;
    border: 1px solid var(--leka-green) !important;
    border-radius: 8px !important;
    background: var(--leka-green) !important;
    color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.leka-add-to-cart {
    flex: 1;
}

.leka-add-to-cart:hover,
.leka-send-whatsapp:hover,
.leka-show-checkout:hover,
.leka-empty-cart .button:hover {
    border-color: var(--leka-blue) !important;
    background: var(--leka-blue) !important;
    color: var(--leka-white) !important;
    transform: translateY(-1px);
}

.leka-add-to-cart:disabled,
.leka-add-to-cart.disabled,
.leka-send-whatsapp:disabled {
    opacity: .55;
    transform: none;
    cursor: not-allowed;
}

.leka-form-message,
.leka-checkout-message,
.leka-notice {
    margin-top: 13px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.45;
}

.leka-form-message:empty,
.leka-checkout-message:empty {
    display: none;
}

.is-error,
.leka-error {
    border: 1px solid #f4b8b3;
    background: #fff1f0;
    color: var(--leka-danger);
}

.is-success {
    border: 1px solid #a9e0c5;
    background: #ecfbf4;
    color: var(--leka-success);
}

/* Carrito lateral */
.leka-cart-sidebar-content {
    min-height: 100%;
    padding: 6px;
}

.leka-sidebar-shell {
    min-height: 100%;
    color: var(--leka-text);
}

.leka-sidebar-shell [data-panel] {
    display: none;
}

.leka-sidebar-shell [data-panel].is-active {
    display: block;
    animation: lekaFadeIn .22s ease;
}

@keyframes lekaFadeIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.leka-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0 17px;
    border-bottom: 1px solid var(--leka-border);
}

.leka-panel-heading h2,
.leka-checkout-panel h2 {
    margin: 0;
    color: var(--leka-navy);
    font-size: clamp(23px, 4vw, 30px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.leka-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--leka-blue);
    color: var(--leka-white);
    font-size: 13px;
    font-weight: 700;
}

.leka-cart-items {
    display: grid;
    gap: 12px;
    padding: 16px 0 4px;
}

.leka-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--leka-border);
    border-radius: var(--leka-radius-md);
    background: var(--leka-white);
    box-shadow: 0 6px 20px rgba(16, 26, 51, .045);
}

.leka-cart-item.is-updating {
    opacity: .45;
    pointer-events: none;
}

.leka-cart-item-image img {
    width: 76px;
    height: 76px;
    padding: 5px;
    border-radius: 11px;
    background: var(--leka-light);
    object-fit: contain;
}

.leka-cart-item-info h3 {
    margin: 0 0 5px;
    color: var(--leka-navy);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.leka-cart-item-variation,
.leka-cart-item-variation dl,
.leka-cart-item-variation p {
    margin: 0;
    color: var(--leka-muted);
    font-size: 11px;
    line-height: 1.4;
}

.leka-cart-item-price {
    margin: 6px 0 9px;
    color: var(--leka-blue);
    font-size: 13px;
    font-weight: 700;
}

.leka-cart-item-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.leka-qty-control {
    display: inline-grid;
    grid-template-columns: 32px 40px 32px;
    overflow: hidden;
    border: 1px solid var(--leka-field-border);
    border-radius: 8px;
    background: var(--leka-white);
}

.leka-qty-control button,
.leka-qty-control input {
    height: 34px;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    background: var(--leka-white) !important;
    color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif;
    text-align: center;
    box-shadow: none !important;
}

.leka-qty-control button {
    padding: 0;
    color: var(--leka-blue) !important;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.leka-qty-control button:hover {
    background: var(--leka-light) !important;
}

.leka-qty-control input,
.leka-qty-control input[type="number"],
.leka-carrito-lateral-host .leka-cart-qty {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: var(--leka-white) !important;
    color: var(--leka-navy) !important;
    -webkit-text-fill-color: var(--leka-navy) !important;
    caret-color: var(--leka-navy) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
    text-indent: 0 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
    transform: none !important;
    clip: auto !important;
}

.leka-qty-control input[type="number"]::-webkit-inner-spin-button,
.leka-qty-control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.leka-remove-item {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--leka-danger) !important;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.leka-cart-item-subtotal {
    align-self: start;
    color: var(--leka-navy);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.leka-cart-totals {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 17px;
    border: 1px solid var(--leka-border);
    border-radius: var(--leka-radius-md);
    background: var(--leka-light);
}

.leka-cart-totals > div,
.leka-checkout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--leka-text);
    font-size: 13px;
}

.leka-cart-totals strong,
.leka-checkout-summary strong {
    color: var(--leka-navy);
}

.leka-total-row,
.leka-checkout-summary {
    padding-top: 13px;
    border-top: 1px solid var(--leka-border);
    color: var(--leka-navy) !important;
    font-size: 17px !important;
    font-weight: 700;
}

.leka-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    margin-top: 14px;
}

.leka-continue-shopping-wrap {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.leka-continue-shopping-link {
    color: var(--leka-blue) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: center;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.leka-continue-shopping-link:hover,
.leka-continue-shopping-link:focus {
    color: var(--leka-navy) !important;
}

.leka-cart-buttons .button,
.leka-send-whatsapp {
    width: 100%;
    text-align: center;
}

.leka-empty-cart-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px !important;
    border: 1px solid var(--leka-blue) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--leka-blue) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.leka-empty-cart-button:hover {
    background: var(--leka-blue) !important;
    color: var(--leka-white) !important;
}

/* Formulario de pedido */
.leka-checkout-panel {
    padding-top: 2px;
}

.leka-back-to-cart {
    margin-bottom: 16px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--leka-blue) !important;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.leka-back-to-cart:hover {
    text-decoration: underline;
}

#leka-checkout-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.leka-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.leka-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--leka-text);
    font-size: 12px;
    line-height: 1.45;
}

.leka-terms input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--leka-blue);
}

.leka-checkout-summary {
    margin-top: 3px;
    padding: 15px 16px;
    border: 1px solid var(--leka-border);
    border-radius: 12px;
    background: var(--leka-light);
}

/* Integración del botón nativo en la ficha individual de producto */
.single-product form.cart .leka-single-product-message,
.elementor-widget-woocommerce-product-add-to-cart form.cart .leka-single-product-message {
    width: 100%;
    margin-top: 12px;
}

.single-product form.cart .single_add_to_cart_button.leka-native-add-to-cart-loading,
.elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button.leka-native-add-to-cart-loading {
    opacity: .68 !important;
    cursor: wait !important;
    pointer-events: none !important;
}


/* La ficha usa el carrito lateral: ocultar la confirmación nativa que rompe
   la fila de botones (check + enlace "Ver carrito"). */
.single-product form.cart + a.added_to_cart.wc-forward,
.single-product form.cart ~ a.added_to_cart.wc-forward,
.elementor-widget-woocommerce-product-add-to-cart a.added_to_cart.wc-forward {
    display: none !important;
}

.single-product form.cart .single_add_to_cart_button.added::after,
.elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button.added::after {
    display: none !important;
    content: none !important;
}

.leka-single-product-message[hidden] {
    display: none !important;
}

.leka-empty-cart {
    padding: 65px 20px;
    color: var(--leka-muted);
    text-align: center;
}

.leka-empty-cart p {
    margin: 0;
}

.leka-empty-cart .button {
    margin-top: 14px;
}

.leka-add-to-cart.is-loading,
.leka-send-whatsapp.is-loading,
.leka-cart-sidebar-content.is-loading {
    opacity: .65;
    cursor: wait;
}

/* Ajustes útiles para los contenedores de Elementor */
.leka-producto-modal-host,
.leka-product-modal-host {
    width: 100%;
    padding: clamp(4px, 1vw, 10px);
}

.leka-carrito-lateral-host {
    min-height: 100%;
    padding: 18px;
    border-radius: var(--leka-radius-lg);
    background: var(--leka-light);
}

/* Mejor integración visual en los popups de Elementor modernos */
.elementor-popup-modal:has(.leka-producto-modal-host) .dialog-widget-content,
.elementor-popup-modal:has(.leka-product-modal-host) .dialog-widget-content {
    border-radius: 24px;
    box-shadow: var(--leka-shadow);
}

.elementor-popup-modal:has(.leka-carrito-lateral-host) .dialog-widget-content {
    background: var(--leka-light);
    box-shadow: -15px 0 45px rgba(16, 26, 51, .16);
}

.elementor-popup-modal:has(.leka-producto-modal-host) .dialog-close-button,
.elementor-popup-modal:has(.leka-product-modal-host) .dialog-close-button,
.elementor-popup-modal:has(.leka-carrito-lateral-host) .dialog-close-button {
    color: var(--leka-navy);
    transition: color .2s ease, transform .2s ease;
}

.elementor-popup-modal:has(.leka-producto-modal-host) .dialog-close-button:hover,
.elementor-popup-modal:has(.leka-product-modal-host) .dialog-close-button:hover,
.elementor-popup-modal:has(.leka-carrito-lateral-host) .dialog-close-button:hover {
    color: var(--leka-blue);
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    .leka-product-modal {
        gap: 30px;
    }

    .leka-cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .leka-cart-item-subtotal {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .leka-product-modal {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .leka-main-image {
        border-radius: 16px;
    }

    .leka-main-image img {
        padding: 14px;
    }

    .leka-product-title {
        font-size: 26px;
    }

    .leka-purchase-row {
        flex-wrap: wrap;
    }

    .leka-purchase-row .quantity {
        flex-basis: 100%;
        width: 100%;
    }

    .leka-purchase-row .quantity .qty {
        width: 100%;
    }

    .leka-modal-qty-control {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        flex-basis: 100%;
        width: 100%;
    }

    .leka-modal-qty-control .quantity {
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    .leka-modal-qty-control .quantity .qty,
    .leka-modal-qty-control .leka-modal-qty-input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .leka-modal-qty-minus,
    .leka-modal-qty-plus {
        width: 48px;
        min-width: 48px;
    }

    .leka-add-to-cart {
        flex-basis: 100%;
        width: 100%;
    }

    .leka-cart-sidebar-content,
    .leka-carrito-lateral-host {
        padding: 10px;
    }

    .leka-cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 11px;
    }

    .leka-cart-item-image img {
        width: 64px;
        height: 64px;
    }

    .leka-cart-item-subtotal {
        grid-column: 2;
    }

    .leka-field-grid,
    .leka-cart-buttons {
        grid-template-columns: 1fr;
    }

    .leka-cart-buttons {
        gap: 9px;
    }
}
