/* Plugin Kubo Add to Cart Basic - CSS */

/* Botón principal (normal, search bar y full-width) */
.kubo-add-to-cart-btn,
button.kubo-add-to-cart-btn,
a.kubo-add-to-cart-btn,
.asp_r .kubo-add-to-cart-btn,
div.asp_w .kubo-add-to-cart-btn,
.kubo-add-to-cart-btn.kubo-full-width,
button.kubo-add-to-cart-btn.kubo-full-width,
a.kubo-add-to-cart-btn.kubo-full-width,
.kubo-full-width,
button.kubo-full-width,
a.kubo-full-width {
    border: 2px solid #FA010A !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    background: #FA010A !important;
    background-color: #FA010A !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    padding: 8px 24px;
    min-width: 128px;
    height: 44px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    outline: none;
    box-shadow: none !important;
    box-sizing: border-box;
}

.kubo-add-to-cart-btn:hover,
button.kubo-add-to-cart-btn:hover,
a.kubo-add-to-cart-btn:hover,
.asp_r .kubo-add-to-cart-btn:hover,
div.asp_w .kubo-add-to-cart-btn:hover,
.kubo-add-to-cart-btn.kubo-full-width:hover,
button.kubo-add-to-cart-btn.kubo-full-width:hover,
a.kubo-add-to-cart-btn.kubo-full-width:hover,
.kubo-full-width:hover,
button.kubo-full-width:hover,
a.kubo-full-width:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #FA010A !important;
    border: 2px solid #FA010A !important;
    border-color: #FA010A !important;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn .kubo-btn-text,
button.kubo-add-to-cart-btn .kubo-btn-text,
a.kubo-add-to-cart-btn .kubo-btn-text,
.asp_r .kubo-add-to-cart-btn .kubo-btn-text,
.kubo-full-width .kubo-btn-text {
    color: inherit !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: color 0.2s ease;
}

.kubo-add-to-cart-btn:hover .kubo-btn-text,
button.kubo-add-to-cart-btn:hover .kubo-btn-text,
a.kubo-add-to-cart-btn:hover .kubo-btn-text,
.asp_r .kubo-add-to-cart-btn:hover .kubo-btn-text,
.kubo-full-width:hover .kubo-btn-text {
    color: #FA010A !important;
}

.kubo-add-to-cart-btn:active,
.kubo-add-to-cart-btn:focus,
.kubo-full-width:active,
.kubo-full-width:focus {
    outline: none;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn:active,
.kubo-add-to-cart-btn.kubo-btn-clicked,
button.kubo-add-to-cart-btn:active,
button.kubo-add-to-cart-btn.kubo-btn-clicked,
.kubo-full-width:active,
.kubo-full-width.kubo-btn-clicked {
    transform: scale(0.96);
    transition: transform 0.1s ease;
    border-color: #FA010A !important;
    background-color: #FA010A !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn:disabled,
.kubo-add-to-cart-btn.kubo-out-of-stock,
.kubo-full-width:disabled,
.kubo-full-width.kubo-out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #202020 !important;
    box-shadow: none !important;
    transform: none !important;
}

.kubo-add-to-cart-btn.kubo-out-of-stock:hover,
.kubo-full-width.kubo-out-of-stock:hover {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #202020 !important;
    box-shadow: none !important;
}

.kubo-full-width,
.kubo-add-to-cart-btn.kubo-full-width,
button.kubo-add-to-cart-btn.kubo-full-width,
a.kubo-add-to-cart-btn.kubo-full-width {
    width: 100% !important;
    display: inline-flex !important;
    background-color: #FA010A !important;
    border: 2px solid #FA010A !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.kubo-full-width:hover,
.kubo-add-to-cart-btn.kubo-full-width:hover,
button.kubo-add-to-cart-btn.kubo-full-width:hover,
a.kubo-add-to-cart-btn.kubo-full-width:hover {
    background-color: #ffffff !important;
    color: #FA010A !important;
    border: 2px solid #FA010A !important;
    border-color: #FA010A !important;
    box-shadow: none !important;
}

/* Responsive para el botón */
@media (max-width: 768px) {
    .kubo-add-to-cart-btn {
        padding: 8px 16px;
        font-size: 1rem;
        height: 40px;
    }
}

/* Prevenir zoom en dispositivos móviles cuando el modal está abierto */
@media (max-width: 767px) {
    body.kubo-modal-open {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .kubo-bottom-sheet-overlay.active {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: rgba(0, 0, 0, 0.45) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        transition: opacity 0.2s ease !important;
    }

    .kubo-bottom-sheet-overlay.active .kubo-bottom-sheet {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    body.kubo-zoom-prevented {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Universal Box-Sizing for the Quick-Add Modal */
.kubo-bottom-sheet-overlay,
.kubo-bottom-sheet-overlay *,
.kubo-bottom-sheet-overlay *::before,
.kubo-bottom-sheet-overlay *::after {
    box-sizing: border-box !important;
}

/* Prevenir scroll en el overlay */
.kubo-bottom-sheet-overlay {
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
}

/* Bottom Sheet Overlay */
.kubo-bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease,
        visibility 0.2s ease,
        background-color 0.2s ease,
        backdrop-filter 0.2s ease,
        -webkit-backdrop-filter 0.2s ease;
}

.kubo-bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: opacity 0.2s ease,
        visibility 0.2s ease,
        background-color 0.2s ease,
        backdrop-filter 0.2s ease,
        -webkit-backdrop-filter 0.2s ease;
}

/* Bottom Sheet */
.kubo-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px 8px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        min-height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.kubo-sale-badge-modal {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.kubo-close-btn-modal {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    color: #202020;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
    box-shadow: none !important;
}

.kubo-close-btn-modal:hover {
    background-color: #ffffff;
    border-color: #FA010A;
    color: #FA010A;
}

.kubo-close-btn-modal:active {
    transform: scale(0.92);
}

.kubo-bottom-sheet-overlay.active .kubo-bottom-sheet {
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        min-height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease;
}

/* Close Row */
.kubo-bottom-sheet-close-row {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px 0;
}

.kubo-bottom-sheet-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    color: #202020;
    padding: 8px;
    margin: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kubo-bottom-sheet-close:hover {
    background-color: #f0f0f0;
    color: #FA010A;
}

/* Image Row */
.kubo-bottom-sheet-image-row {
    display: block;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.kubo-image-container {
    position: relative;
    display: block;
    width: 100%;
}

.kubo-product-image-main {
    width: 100%;
    height: 288px;
    margin-top: -96px;
    object-fit: cover;
    display: block;
    transition: opacity 0.16s ease-in-out !important;
    opacity: 1;
}

/* Sobrescribir reglas de WooCommerce para la imagen del modal */
.kubo-bottom-sheet .kubo-product-image-main {
    height: 288px !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Main Content */
.kubo-bottom-sheet-main {
    padding: 16px;
    max-height: calc(80vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Desktop Layout */
.kubo-desktop-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: stretch;
    height: 100%;
}

.kubo-col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kubo-col-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Product Info */
.kubo-product-name {
    font-weight: 600;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    color: #202020;
    margin-bottom: 4px;
    line-height: 1.25;
}

.kubo-product-price {
    font-weight: 600;
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    color: #202020;
    margin-bottom: 0;
}

.kubo-subtotal {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #202020;
    margin-bottom: 0px;
    font-weight: 400;
}

/* Rating */
.kubo-rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 24px;
}

.kubo-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.kubo-star {
    font-size: 1rem;
    line-height: 1;
    color: #dddddd;
}

.kubo-star.kubo-star-filled {
    color: #fab000 !important;
}

.kubo-star-partial {
    position: relative;
    color: #dddddd;
}

.kubo-star-partial::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    color: #fab000;
    width: var(--fill-percentage);
    overflow: hidden;
}

.kubo-star.kubo-star-empty {
    color: #dddddd !important;
}

.kubo-rating-text {
    color: #202020;
    font-size: 0.75rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.kubo-rating-number {
    color: #202020;
    font-weight: 600;
}

.kubo-no-rating {
    color: #202020;
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

/* View Row */
.kubo-view-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.kubo-view-product-btn {
    background-color: #ffffff;
    background: #ffffff;
    color: #71178e;
    border: 2px solid #71178e;
    border-radius: 8px;
    height: 40px;
    padding: 0 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    flex: 1;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.kubo-view-product-btn:hover {
    border: 2px solid #FAB000;
    border-color: #FAB000;
    color: #71178e;
    background-color: #ffffff;
    background: #ffffff;
    box-shadow: none !important;
}

.kubo-view-product-btn:active {
    transform: scale(0.96);
    border: 2px solid #FAB000;
    border-color: #FAB000;
    color: #71178e;
    background-color: #ffffff;
    background: #ffffff;
    box-shadow: none !important;
}

.kubo-fav-container {
    flex-shrink: 0;
    margin-left: -4px;
    margin-right: 4px;
    margin-bottom: -16px;
    margin-top: 8px;
    z-index: 10 !important;
}

/* Presets */
.kubo-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.kubo-preset-btn {
    background-color: #f7f7f7;
    color: #202020;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    height: 36px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.kubo-preset-btn:hover {
    background-color: #ffffff;
    color: #FA010A;
    border: 2px solid #FA010A;
    box-shadow: none !important;
}

.kubo-preset-btn:active {
    transform: scale(0.96);
}

/* Quantity Control */
.kubo-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
    position: relative;
}

.kubo-quantity-input-wrapper {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
}

/* Sufijo de cantidad: SOLO mostrar 'g' cuando data-unit="g" */
.kubo-quantity-input-wrapper::after {
    content: '';
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #202020;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    z-index: 1;
    left: var(--suffix-left, 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.kubo-quantity-input-wrapper[data-unit="g"]::after {
    content: 'g';
    display: block;
}

.kubo-quantity-input-wrapper[data-unit="g"].suffix-positioned::after {
    opacity: 1;
}

.kubo-quantity-input-wrapper:not([data-unit="g"])::after {
    content: '' !important;
    display: none !important;
    opacity: 0 !important;
}

.kubo-quantity-btn {
    background-color: #ffffff;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 1;
    box-shadow: none !important;
}

.kubo-quantity-btn[data-action="decrease"] {
    color: #FA010A;
}

.kubo-quantity-btn[data-action="increase"] {
    color: #FAB000;
}

.kubo-quantity-btn:hover[data-action="decrease"] {
    border-color: #FA010A !important;
    box-shadow: none !important;
}

.kubo-quantity-btn:hover[data-action="increase"] {
    border-color: #FAB000 !important;
    box-shadow: none !important;
}

.kubo-quantity-btn:active {
    transform: scale(0.92);
}

/* Estilos para botones deshabilitados */
.kubo-quantity-btn-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background-color: #f5f5f5 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

.kubo-quantity-btn-disabled::before {
    opacity: 0.4 !important;
}

.kubo-quantity-btn-disabled:hover {
    border-color: #e2e8f0 !important;
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.kubo-quantity-input {
    text-align: center;
    width: 100%;
    height: 40px;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding-right: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #202020 !important;
    font-family: 'Montserrat', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
    flex: 1;
    min-width: 0;
    background-color: #f8f9fa !important;
    cursor: default !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    box-shadow: none !important;
}

.kubo-quantity-input::-webkit-outer-spin-button,
.kubo-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button Sheet */
.kubo-add-to-cart-btn-sheet {
    background-color: #FA010A;
    color: #ffffff;
    border: 2px solid #FA010A;
    border-radius: 8px;
    padding: 0 24px;
    height: 44px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn-sheet:hover {
    background-color: #ffffff;
    color: #FA010A;
    border: 2px solid #FA010A;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn-sheet:active {
    transform: scale(0.96);
}

/* Estado de éxito del botón */
.kubo-add-to-cart-btn-sheet-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
    cursor: default !important;
    border: 2px solid #28a745 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.kubo-add-to-cart-btn-sheet-success:hover {
    background-color: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
    box-shadow: none !important;
}

/* Aviso bajo stock debajo del subtotal */
.kubo-low-stock-hint {
    margin: 4px 0 8px;
    font-size: 0.75rem;
    color: #b45309;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Tooltip para límite de stock */
.kubo-tooltip {
    position: absolute;
    right: 0;
    top: -32px;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    background: #202020;
    color: #ffffff !important;
    padding: 4px 8px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    display: block !important;
    visibility: visible !important;
    line-height: 1.5;
    box-shadow: none !important;
}

.kubo-tooltip.show {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Botón ver carrito */
.kubo-view-cart-btn {
    background-color: #ffffff;
    color: #fab000;
    border: 2px solid #fab000;
    border-radius: 8px 8px 0 0;
    padding: 0 16px;
    height: 48px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 208px;
    margin-top: 0;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border-bottom: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kubo-view-cart-btn:hover {
    background-color: #fab000;
    color: #ffffff;
    box-shadow: none;
}

.kubo-view-cart-btn:active {
    transform: translateX(-50%) scale(0.96);
}

/* Spinner de carga en botón */
.kubo-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(40, 167, 69, 0.25);
    border-top-color: #28a745;
    border-left-color: #28a745;
    border-radius: 8px;
    animation: kubo-spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

/* Ocultar botón ver carrito en mobile */
@media (max-width: 767px) {
    .kubo-view-cart-btn {
        display: none !important;
    }

    .kubo-quantity-input-wrapper[data-unit="g"]::after {
        margin-left: 0 !important;
        left: var(--suffix-left, calc(50% + 16px));
    }
}

/* Layout Unificado (Card vertical de una sola columna tanto en Desktop como Mobile) */
.kubo-desktop-layout {
    display: none !important;
}

.kubo-mobile-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Mobile Viewport: Bottom Sheet que aparece de abajo hacia arriba */
@media (max-width: 767px) {
    .kubo-bottom-sheet {
        position: absolute;
        bottom: 72px;
        left: 0;
        top: auto;
        transform: translateY(calc(100% + 100px));
        width: 100%;
        min-height: 200px;
        max-height: calc(90vh - 144px);
        border-radius: 8px 8px 0 0;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.3s ease;
        overflow: hidden !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .kubo-fav-container {
        flex-shrink: 0;
        margin: 0 !important;
        z-index: 10 !important;
    }

    .kubo-rating-container {
        gap: 4px;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .kubo-rating-text {
        font-size: 0.75rem;
        line-height: 1 !important;
    }

    .kubo-star {
        gap: 0px;
    }

    .kubo-product-name {
        font-size: 1rem;
    }

    .kubo-bottom-sheet-overlay.active .kubo-bottom-sheet {
        transform: translateY(0);
    }

    .kubo-product-image-main {
        width: 100%;
        height: 192px;
        margin-top: -80px;
        object-fit: cover;
    }

    .kubo-bottom-sheet .kubo-product-image-main {
        height: 192px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .kubo-bottom-sheet-image-row {
        padding: 0;
        overflow: hidden;
    }

    .kubo-bottom-sheet-main {
        padding: 16px;
        max-height: calc(90vh - 200px);
        overflow-y: auto;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

    /* Header Row: Title & Wishlist, Base Price below Title */
    .kubo-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .kubo-mobile-title-block {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .kubo-mobile-layout .kubo-product-name {
        font-size: 1.25rem;
        font-weight: 600;
        color: #202020;
        line-height: 1.25;
        margin: 0;
    }

    .kubo-mobile-layout .kubo-product-price {
        font-size: 1rem;
        font-weight: 600;
        color: #202020;
        line-height: 1.25;
        display: inline-flex !important;
        align-items: baseline !important;
        white-space: nowrap !important;
        margin-top: 0;
    }

    .kubo-mobile-layout .kubo-product-price .kubo-price-block {
        display: inline-flex !important;
        align-items: baseline !important;
        white-space: nowrap !important;
    }

    .kubo-mobile-layout .kubo-product-price .kubo-prices-shortcode-suffix,
    .kubo-mobile-layout .kubo-product-price .kubo-price-suffix {
        display: inline !important;
        font-size: 0.75rem !important;
        font-weight: 400 !important;
        color: #202020 !important;
        margin-left: 4px !important;
        white-space: nowrap !important;
    }

    .kubo-mobile-layout .kubo-fav-container {
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Reviews / Negative Social Proof Suppression */
    .kubo-mobile-layout .kubo-product-rating {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .kubo-mobile-layout .kubo-rating-container {
        margin: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .kubo-rating-container:has(.kubo-no-rating),
    .kubo-no-rating {
        display: none !important;
    }

    /* Low Stock Indicator: Cleanly above Weight Selectors */
    .kubo-mobile-stock-container {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .kubo-mobile-stock-container:empty {
        display: none !important;
    }

    /* Reducir espacio entre precio y stock hint cuando NO hay reviews */
    .kubo-mobile-layout.kubo-no-reviews .kubo-mobile-stock-container:not(:empty),
    .kubo-mobile-layout:has(.kubo-product-rating:empty) .kubo-mobile-stock-container:not(:empty),
    .kubo-mobile-layout:has(.kubo-product-rating[style*="display: none"]) .kubo-mobile-stock-container:not(:empty) {
        margin-top: -4px !important;
    }

    .kubo-mobile-layout.kubo-no-reviews .kubo-mobile-stock-container:empty + .kubo-mobile-selectors,
    .kubo-mobile-layout:has(.kubo-product-rating:empty) .kubo-mobile-stock-container:empty + .kubo-mobile-selectors,
    .kubo-mobile-layout:has(.kubo-product-rating[style*="display: none"]) .kubo-mobile-stock-container:empty + .kubo-mobile-selectors {
        margin-top: -4px !important;
    }

    .kubo-mobile-layout .kubo-low-stock-hint {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #b45309 !important;
        background-color: #fffbeb !important;
        border: 1px solid #fde68a !important;
        border-radius: 8px !important;
        padding: 4px 8px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        line-height: 1.25 !important;
        box-shadow: none !important;
    }

    /* Weight Selectors (100% Width) */
    .kubo-mobile-selectors {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Quick-Select Pills (Grid 3 Columns) */
    .kubo-mobile-layout .kubo-presets {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .kubo-mobile-layout .kubo-preset-btn {
        height: 36px !important;
        min-height: 36px !important;
        background-color: #f7f7f7 !important;
        color: #202020 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 8px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-preset-btn:hover {
        border: 2px solid #FA010A !important;
        color: #FA010A !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-preset-btn:active,
    .kubo-mobile-layout .kubo-preset-btn.selected {
        background-color: #fff5f5 !important;
        border: 2px solid #FA010A !important;
        color: #FA010A !important;
        font-weight: 900 !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-preset-btn.disabled,
    .kubo-mobile-layout .kubo-preset-btn[disabled],
    .kubo-preset-btn.disabled,
    .kubo-preset-btn[disabled] {
        opacity: 0.4 !important;
        pointer-events: none !important;
        text-decoration: line-through !important;
        cursor: not-allowed !important;
        background-color: #f0f0f0 !important;
        border: 1px solid #e2e8f0 !important;
        color: #202020 !important;
        box-shadow: none !important;
    }

    /* Stepper Container (100% Width) */
    .kubo-mobile-layout .kubo-quantity-control {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        background-color: #ffffff !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 8px !important;
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        line-height: 1 !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn[data-action="decrease"] {
        color: #FA010A !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn[data-action="increase"] {
        color: #FAB000 !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn:hover[data-action="decrease"] {
        border-color: #FA010A !important;
        color: #FA010A !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn:hover[data-action="increase"] {
        border-color: #FAB000 !important;
        color: #FAB000 !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-btn:active {
        transform: scale(0.96) !important;
    }

    /* Fixed Input Wrapper: Unit sits cleanly inside next to number */
    .kubo-mobile-layout .kubo-quantity-input-wrapper {
        flex: 1 !important;
        height: 40px !important;
        min-height: 40px !important;
        background-color: #f8f9fa !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        position: relative !important;
        overflow: hidden !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Disable floating pseudo-element on mobile */
    .kubo-mobile-layout .kubo-quantity-input-wrapper::after {
        display: none !important;
        content: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-input {
        width: 4ch !important;
        height: 100% !important;
        border: none !important;
        background: transparent !important;
        text-align: right !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        color: #202020 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        flex: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-unit-label {
        font-size: 1rem !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        color: #202020 !important;
        line-height: 1 !important;
        display: inline-block !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
    }

    .kubo-mobile-layout .kubo-quantity-input-wrapper:not([data-unit="g"]) .kubo-quantity-input {
        text-align: center !important;
        width: 100% !important;
    }

    .kubo-mobile-layout .kubo-quantity-input-wrapper:not([data-unit="g"]) .kubo-quantity-unit-label {
        display: none !important;
    }

    /* Remove standalone subtotal on mobile to prevent collision */
    .kubo-mobile-layout .kubo-subtotal {
        display: none !important;
    }

    /* Bottom Action Row ("Ver producto" + "Agregar") */
    .kubo-mobile-row-3 {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
    }

    /* Left button ("ver producto"): Secondary outline style (2px border) */
    .kubo-mobile-layout .kubo-view-product-btn {
        border: 2px solid #71178e !important;
        color: #71178e !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 8px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 16px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        text-transform: none !important;
        transition: all 0.2s ease !important;
        box-shadow: none !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .kubo-mobile-layout .kubo-view-product-btn:hover {
        border: 2px solid #FAB000 !important;
        border-color: #FAB000 !important;
        color: #71178e !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-view-product-btn:active {
        transform: scale(0.96) !important;
        border: 2px solid #FAB000 !important;
        border-color: #FAB000 !important;
        color: #71178e !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    /* Right button ("Agregar • $15.00"): Primary CTA */
    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet {
        background: #FA010A !important;
        background-color: #FA010A !important;
        color: #ffffff !important;
        border: 2px solid #FA010A !important;
        border-radius: 8px !important;
        height: 44px !important;
        min-height: 44px !important;
        font-weight: 600 !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 16px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet:hover {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #FA010A !important;
        border: 2px solid #FA010A !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet:hover .kubo-btn-text,
    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet:hover .kubo-btn-subtotal {
        color: #FA010A !important;
    }

    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet:active {
        transform: scale(0.98) !important;
        box-shadow: none !important;
    }

    .kubo-mobile-layout .kubo-btn-text {
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    .kubo-mobile-layout .kubo-btn-subtotal {
        color: #ffffff !important;
        font-weight: 600 !important;
        opacity: 1 !important;
    }

    .kubo-mobile-layout .kubo-add-to-cart-btn-sheet.kubo-out-of-stock {
        background: #cccccc !important;
        background-color: #cccccc !important;
        border-color: #cccccc !important;
        color: #202020 !important;
        box-shadow: none !important;
        cursor: not-allowed !important;
    }
/* Desktop Viewport: Modal Centrado con Fade y Scale (NO de abajo hacia arriba) */
@media (min-width: 768px) {
    .kubo-bottom-sheet {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) scale(0.92) !important;
        opacity: 0 !important;
        width: 440px !important;
        max-width: 90vw !important;
        min-height: auto !important;
        max-height: 90vh !important;
        border-radius: 8px !important;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.25s ease,
            background-color 0.3s ease !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }

    .kubo-bottom-sheet-overlay.active .kubo-bottom-sheet {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
    }

    .kubo-bottom-sheet-image-row {
        padding: 0 !important;
        width: 100% !important;
        height: 192px !important;
        max-height: 192px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .kubo-product-image-main,
    .kubo-bottom-sheet .kubo-product-image-main {
        width: 100% !important;
        height: 192px !important;
        margin-top: 0 !important;
        object-fit: cover !important;
        display: block !important;
    }

    .kubo-bottom-sheet-main {
        padding: 16px 20px 20px !important;
        max-height: calc(90vh - 192px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
    }

    .kubo-bottom-sheet-main::-webkit-scrollbar {
        width: 4px;
    }

    .kubo-bottom-sheet-main::-webkit-scrollbar-track {
        background: transparent;
    }

    .kubo-bottom-sheet-main::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 8px;
    }

    .kubo-bottom-sheet-main::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.25);
    }
}

/* Loading state para el modal */
.kubo-bottom-sheet-overlay.loading.active {
    background-color: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.kubo-bottom-sheet-overlay.loading .kubo-bottom-sheet {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .kubo-bottom-sheet-overlay.loading .kubo-bottom-sheet {
        width: 440px !important;
        min-height: 460px !important;
        height: 460px !important;
        max-height: 90vh !important;
        border-radius: 8px !important;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28) !important;
    }
}

@media (max-width: 767px) {
    .kubo-bottom-sheet-overlay.loading .kubo-bottom-sheet {
        width: 100% !important;
        min-height: 420px !important;
        height: 420px !important;
        max-height: calc(90vh - 144px) !important;
        border-radius: 8px 8px 0 0 !important;
        bottom: 72px !important;
    }
}

.kubo-loading-spinner {
    width: 44px !important;
    height: 44px !important;
    border: 4px solid #f0f0f0 !important;
    border-top: 4px solid #fab000 !important;
    border-radius: 50% !important;
    animation: kubo-spin 0.8s linear infinite !important;
    margin: auto !important;
    box-sizing: border-box !important;
}

@keyframes kubo-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Notificaciones */
.kubo-atc-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 320px;
    box-shadow: none;
}

.kubo-atc-notification-show {
    transform: translateX(0);
}

.kubo-atc-notification-success {
    background-color: #28a745;
    border: 2px solid #1e7e34;
}

.kubo-atc-notification-error {
    background-color: #dc3545;
    border: 2px solid #c82333;
}

/* Responsive para notificaciones */
@media (max-width: 767px) {
    .kubo-atc-notification {
        top: 80px;
        right: 16px;
        left: 16px;
        max-width: none;
        transform: translateY(-150%);
    }

    .kubo-atc-notification-show {
        transform: translateY(0);
    }
}

.kubo-product-image-main.kubo-image-loading {
    opacity: 0 !important;
}

/* --- ESTADOS DE PROCESANDO Y ÉXITO --- */

/* Semi-cierre (Encogimiento del modal) */
@media (min-width: 768px) {

    .kubo-bottom-sheet.kubo-state-processing,
    .kubo-bottom-sheet.kubo-state-success {
        width: 320px !important;
        min-height: 184px !important;
        max-height: 184px !important;
        border-radius: 8px !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

@media (max-width: 767px) {

    .kubo-bottom-sheet.kubo-state-processing,
    .kubo-bottom-sheet.kubo-state-success {
        min-height: 160px !important;
        max-height: 160px !important;
        height: 160px !important;
        width: 100% !important;
        border-radius: 8px 8px 0 0 !important;
    }
}

/* Override success state transforms during closure */
.kubo-bottom-sheet-overlay:not(.active) .kubo-bottom-sheet.kubo-state-processing,
.kubo-bottom-sheet-overlay:not(.active) .kubo-bottom-sheet.kubo-state-success {
    transform: translateY(calc(100% + 100px)) !important;
}

@media (min-width: 768px) {

    .kubo-bottom-sheet-overlay:not(.active) .kubo-bottom-sheet.kubo-state-processing,
    .kubo-bottom-sheet-overlay:not(.active) .kubo-bottom-sheet.kubo-state-success {
        transform: translate(-50%, -50%) scale(0.85) !important;
        opacity: 0 !important;
    }
}

/* Ocultar contenido original del producto */
.kubo-bottom-sheet.kubo-state-processing .kubo-bottom-sheet-image-row,
.kubo-bottom-sheet.kubo-state-success .kubo-bottom-sheet-image-row,
.kubo-bottom-sheet.kubo-state-processing .kubo-bottom-sheet-main,
.kubo-bottom-sheet.kubo-state-success .kubo-bottom-sheet-main,
.kubo-bottom-sheet.kubo-state-processing .kubo-close-btn-modal,
.kubo-bottom-sheet.kubo-state-success .kubo-close-btn-modal,
.kubo-bottom-sheet.kubo-state-processing .kubo-sale-badge-modal,
.kubo-bottom-sheet.kubo-state-success .kubo-sale-badge-modal {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* Pantalla de Éxito / Procesando Absoluta */
.kubo-bottom-sheet-success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
    z-index: 5;
    background-color: #ffffff;
    padding: 24px;
    box-sizing: border-box;
}

.kubo-bottom-sheet.kubo-state-processing .kubo-bottom-sheet-success-screen,
.kubo-bottom-sheet.kubo-state-success .kubo-bottom-sheet-success-screen {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Spinner de Procesando */
.kubo-success-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.kubo-bottom-sheet.kubo-state-processing .kubo-success-loader {
    opacity: 1;
}

.kubo-success-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(40, 167, 69, 0.12);
    border-top: 3px solid #28a745;
    border-radius: 50%;
    animation: kubo-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.kubo-success-loading-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #202020;
}

/* Checkmark e Icono de Éxito */
.kubo-success-checkmark-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kubo-bottom-sheet.kubo-state-success .kubo-success-checkmark-wrapper {
    display: flex;
}

.kubo-bottom-sheet.kubo-state-success .kubo-success-loader {
    display: none;
}

.kubo-success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #28a745;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: kubo-checkmark-fill .3s ease-in-out .2s forwards, kubo-checkmark-scale .2s ease-in-out forwards;
    margin: 0 auto 16px;
}

.kubo-success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: kubo-checkmark-stroke .3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.kubo-success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 4;
    stroke: #28a745;
    animation: kubo-checkmark-stroke .2s cubic-bezier(0.65, 0, 0.45, 1) .3s forwards, kubo-checkmark-check-white .3s ease-in-out .2s forwards;
}

.kubo-success-message {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #28a745;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    animation: kubo-fade-in-up 0.3s ease-out .4s forwards;
}

@keyframes kubo-checkmark-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes kubo-checkmark-scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.08, 1.08, 1);
    }
}

@keyframes kubo-checkmark-fill {
    100% {
        box-shadow: inset 0px 0px 0px 32px #28a745;
        stroke: #ffffff;
    }
}

@keyframes kubo-checkmark-check-white {
    100% {
        stroke: #ffffff;
    }
}

@keyframes kubo-fade-in-up {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}