/**
 * WooCommerce Single Product Popup
 * Isolated mobile add-to-cart popup styles.
 */

.aurora-mobile-atc-popup {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}

.aurora-mobile-atc-popup.is-visible {
    display: block;
}

.aurora-mobile-atc-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.aurora-mobile-atc-popup__card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    max-width: 500px;
    background: #d4bc8a;
    border: 1px solid #1a1208;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
}

.aurora-mobile-atc-popup__title {
    margin: 0 0 1rem;
    align-items: center;
    gap: 0.55rem;
    color: #1a1208;
    font-weight: 600;
}

.aurora-mobile-atc-popup__title::before {
    content: "\2713";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #96A14E;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 22px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.aurora-mobile-atc-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.65rem;
}

.aurora-mobile-atc-popup__btn {
    border: 2px solid #1a1208;
    border-radius: var(--radius-button, 50px);
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    cursor: pointer;
    background: #d4bc8a;
    color: #1a1208;
}

.aurora-mobile-atc-popup__btn--checkout {
    border: 0;
    background: #1a1208;
    color: #d4bc8a;
}

@media (max-width: 768px) {
    .single-product .single-product-price-wrapper {
        display: none !important;
    }

    /* Mobile fallback: remove Woo default notice actions/icons */
    .single-product .woocommerce-message a,
    .single-product .woocommerce-info a,
    .single-product .woocommerce-error a,
    .single-product .woocommerce-message .button,
    .single-product .woocommerce-info .button,
    .single-product .woocommerce-error .button {
        display: none !important;
    }

    .single-product .woocommerce-message::before,
    .single-product .woocommerce-message::after,
    .single-product .woocommerce-info::before,
    .single-product .woocommerce-info::after,
    .single-product .woocommerce-error::before,
    .single-product .woocommerce-error::after,
    .single-product .aurora-notice-no-icon::before,
    .single-product .aurora-notice-no-icon::after {
        content: none !important;
        display: none !important;
    }

    .single-product a.added_to_cart.wc-forward {
        display: none !important;
    }

    .single-product .woocommerce a.button.added::after,
    .single-product .woocommerce button.button.added::after,
    .single-product .woocommerce input.button.added::after,
    .single-product .woocommerce #respond input#submit.added::after {
        content: none !important;
        display: none !important;
    }
}
