/****************************************************
   SmartPaw 2.0 – MY BUNDLE (Premium UI)
*****************************************************/

.sp-bundle-wrapper {
    max-width: 1040px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial;
}

.sp-bundle-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
    color: #1a1f36;
}

.sp-bundle-subtitle {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 30px;
}

/****************************************************
   EMPTY STATE
*****************************************************/
.sp-bundle-empty {
    text-align: center;
    padding: 60px 20px;
}

.sp-empty-img {
    width: 160px;
    opacity: 0.75;
    margin-bottom: 20px;
}

.sp-bundle-empty h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36;
}

.sp-bundle-empty p {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ---------------------------------------------
   FORCE SmartPaw button colors over WoodMart
----------------------------------------------*/

.sp-bundle-btn {
    display: inline-block !important;
    padding: 12px 22px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: 0.2s ease !important;
    border: none !important;
    margin: 0 8px !important;
    box-shadow: none !important;
    outline: none !important;
}

/* BLUE BUTTON (Add More Products) */
.sp-bundle-btn.sp-bundle-blue {
    background-color: #007bff !important;
    color: #fff !important;
}

.sp-bundle-btn.sp-bundle-blue:hover {
    background-color: #005fcc !important;
}

/* GREEN BUTTON (Proceed to Checkout) */
.sp-bundle-btn.sp-bundle-green {
    background-color: #28a745 !important;
    color: #fff !important;
}

.sp-bundle-btn.sp-bundle-green:hover {
    background-color: #218838 !important;
}

/* Remove WoodMart button border & weird styles */
.sp-bundle-btn,
.sp-bundle-btn:focus,
.sp-bundle-btn:active {
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.sp-bundle-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}



/****************************************************
   BUNDLE LIST
*****************************************************/
.sp-bundle-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/****************************************************
   BUNDLE CARD
*****************************************************/
.sp-bundle-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
    position: relative;
    transition: transform .2s;
}

.sp-bundle-card:hover {
    transform: translateY(-3px);
}

.sp-bundle-card.sp-ordered {
    opacity: 0.7;
    background: #f9fafb;
}

/****************************************************
   ORDERED BADGE
*****************************************************/
.sp-ordered-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/****************************************************
   PRODUCT IMAGE
*****************************************************/
.sp-bundle-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    margin-right: 16px;
    flex-shrink: 0;
}

/****************************************************
   PRODUCT INFO
*****************************************************/
.sp-bundle-info {
    flex: 1;
}

.sp-bundle-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 4px;
}

.sp-bundle-price {
    font-size: 14px;
    color: #007bff;
    font-weight: 600;
}

/****************************************************
   QUANTITY CONTROL
*****************************************************/
.sp-bundle-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 14px;
}

.sp-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f3f4f6;
    border: none;
    font-size: 18px;
    color: #374151;
    cursor: pointer;
    transition: background .2s;
}

.sp-qty-btn:hover {
    background: #e4e5e7;
}

.sp-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 16px;
    color: #1a1f36;
}

.sp-qty-display {
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

/****************************************************
   REMOVE BUTTON (X)
*****************************************************/
.sp-bundle-remove {
    border: none;
    background: #fee2e2;
    color: #dc2626;
    font-size: 16px;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background .2s;
    font-weight: 700;
}

.sp-bundle-remove:hover {
    background: #fecaca;
}

/****************************************************
   FOOTER TOTAL SECTION
*****************************************************/
.sp-bundle-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eef0f4;
    text-align: center;
}

.sp-total-line {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #1a1f36;
}

.sp-total-line strong {
    color: #007bff;
    font-size: 22px;
}

.sp-all-ordered-msg {
    margin-top: 20px;
    padding: 16px 20px;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 12px;
    color: #065f46;
    font-size: 15px;
    font-weight: 500;
}

.sp-all-ordered-msg a {
    color: #065f46;
    text-decoration: underline;
    font-weight: 600;
}

.sp-all-ordered-msg a:hover {
    color: #047857;
}

/****************************************************
   MOBILE RESPONSIVE
*****************************************************/
@media (max-width: 680px) {

    .sp-bundle-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .sp-bundle-img {
        margin: 0 0 10px 0;
    }

    .sp-bundle-info {
        margin-bottom: 12px;
    }

    .sp-bundle-qty {
        justify-content: center;
        margin: 12px 0;
    }

    .sp-bundle-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .sp-bundle-btn {
        display: block;
        width: 100%;
        margin: 8px 0;
    }

    .sp-bundle-footer {
        padding-top: 20px;
    }
}