/****************************************************
   SmartPaw 2.0 – SHOP INTEGRATION STYLES
*****************************************************/

/****************************************************
   GLOBAL BUTTON
*****************************************************/
.sp-shop-bundle-btn,
.sp-single-add {
    background: #007bff;
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    transition: 0.2s ease;
    display: block;
}

.sp-shop-bundle-btn:hover,
.sp-single-add:hover {
    background: #005fcc;
}

/****************************************************
   ARCHIVE PRODUCT CARD ENHANCEMENTS
*****************************************************/
ul.products li.product {
    position: relative;
}

ul.products li.product .sp-shop-bundle-btn {
    margin-top: 12px;
}

/****************************************************
   SINGLE PRODUCT PAGE BUNDLE BOX
*****************************************************/
.sp-single-bundle-box {
    margin-top: 25px;
    padding: 20px;
    background: #f7f9fc;
    border-radius: 18px;
    border: 1px solid #e2e6ee;
}

.sp-qty-label {
    font-size: 14px;
    color: #1a1f36;
    font-weight: 600;
}

.sp-single-qty-wrap {
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 20px;
}

/****************************************************
   ± BUTTONS
*****************************************************/
.sp-single-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e5e7eb;
    border: none;
    font-size: 20px;
    color: #1f2937;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s ease;
}

.sp-single-qty-btn:hover {
    background: #d5d6d8;
}

/****************************************************
   QUANTITY INPUT
*****************************************************/
#sp_single_qty {
    width: 60px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #d6d9e4;
    background: #fff;
    text-align: center;
    margin: 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: #1a1f36;
}

/****************************************************
   PRODUCT CARD "VIEW BUNDLE" TOAST (from bundle.js)
*****************************************************/
.sp-toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%) translateY(60px);
    background: #1a1f36;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 99999;
}

.sp-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
}

.sp-toast-text {
    font-size: 15px;
    font-weight: 500;
}

.sp-toast-btn {
    padding: 8px 14px;
    background: #007bff;
    border-radius: 10px;
    color: #fff !important;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.sp-toast-btn:hover {
    background: #005fcc;
}

/****************************************************
   BLOCKED SHOP PAGE (when no pets)
*****************************************************/
.sp-block-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-block-box {
    width: 90%;
    max-width: 420px;
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

.sp-block-box h3 {
    font-size: 22px;
    color: #1a1f36;
    font-weight: 700;
    margin-bottom: 8px;
}

.sp-block-box p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.sp-block-box a {
    display: inline-block;
    background: #007bff;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
}

.sp-block-box a:hover {
    background: #005fcc;
}

/****************************************************
   RESPONSIVE
*****************************************************/
@media (max-width: 600px) {
    .sp-single-bundle-box {
        padding: 16px;
    }

    #sp_single_qty {
        width: 48px;
    }
}
