/* ==========================================================================
   Bundle Detail Page CSS Stylesheet
   Design System & Theme Integration (Green / Premium Clean Theme)
   ========================================================================== */

:root {
    --pa-primary: #198754;
    --pa-primary-dark: #146c43;
    --pa-primary-light: #eef7f2;
    --pa-accent: #00a651;
    --pa-bg-muted: #f8f9fa;
    --pa-border-color: rgba(0, 0, 0, 0.08);
    --pa-text-dark: #212529;
    --pa-text-muted: #5a6e85;
    --pa-font-sans: 'Outfit', 'Poppins', sans-serif;
    --pa-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --pa-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --pa-radius-card: 16px;
    --pa-radius-item: 8px;
}

/* Base section wrapper styling */
.bundle-detail-section {
    background-color: var(--pa-bg-muted);
    font-family: var(--pa-font-sans);
    color: var(--pa-text-dark);
}

/* Card Styling */
.bundle-card {
    border-radius: var(--pa-radius-card);
    border: 1px solid var(--pa-border-color);
    box-shadow: var(--pa-shadow);
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bundle-card:hover {
    box-shadow: var(--pa-shadow-hover);
}

/* Hero elements */
.bundle-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    aspect-ratio: 4 / 3;
}

.bundle-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bundle-sku {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bundle-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pa-text-dark);
    line-height: 1.3;
}

.bundle-description {
    font-size: 14.5px;
    color: var(--pa-text-muted);
    line-height: 1.6;
}

/* Badges and pills */
.badge-pill-outline {
    border: 1.5px solid var(--pa-primary);
    background-color: var(--pa-primary-light);
    color: var(--pa-primary);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bg-light-green {
    background-color: var(--pa-primary-light);
}

.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-weight-bold { font-weight: 700; }



/* Quantity Selector */
.qty-selector {
    background-color: #f1f3f5;
    border: 1px solid var(--pa-border-color) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.qty-btn {
    transition: background-color 0.2s ease;
    color: var(--pa-text-dark);
}

.qty-btn:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.qty-btn:focus {
    box-shadow: none;
}

/* CTA buttons */
.btn-cart-premium {
    background-color: #00A651;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-cart-premium:hover {
    background-color: var(--pa-primary-dark);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: #ffffff;
}

.btn-cart-premium:active {
    transform: translateY(0);
}

.text-dark-green {
    color: var(--pa-primary-dark);
}

.bg-secondary-light {
    background-color: rgba(25, 135, 84, 0.1);
}

/* Included Item details list */
.included-list {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom Scrollbar for list */
.included-list::-webkit-scrollbar {
    width: 6px;
}
.included-list::-webkit-scrollbar-track {
    background: transparent;
}
.included-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.included-plant-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.included-plant-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-thumb-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--pa-radius-item);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--pa-border-color);
}

.item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Math breakdown */
.math-summary {
    font-size: 14.5px;
}

.bg-green {
    background-color: var(--pa-primary) !important;
}

/* Logistics / Logistics components */


.logistics-title {
    font-size: 15px;
    color: var(--pa-text-dark);
}

.logistics-desc {
    font-size: 13.5px;
}

/* Store details styles */
@media (min-width: 992px) {
    .more-from-store {
        flex: 0 0 350px !important;
        width: 350px !important;
        max-width: 350px !important;
    }
    .bundle-left-col,
    .bundle-mid-col {
        flex: 1 1 0% !important;
        max-width: none !important;
    }
}

.bundle-store-widget {
    padding: 0 !important;
    overflow: hidden;
    background-color: #ffffff;
}

.bundle-store-profile {
    padding: 20px;
}

.bundle-store-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bundle-store-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--pa-primary-light);
    color: var(--pa-primary);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bundle-store-info {
    min-width: 0;
}

.bundle-store-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--pa-text-dark);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.bundle-store-name:hover {
    color: var(--pa-primary) !important;
}

.bundle-store-meta {
    font-size: 13px;
    color: var(--pa-text-muted);
}

.bundle-store-address {
    color: var(--pa-text-muted);
    font-size: 13.5px;
}

.bundle-store-btn {
    border: 1.5px solid rgba(25, 135, 84, 0.2);
    color: var(--pa-primary);
    background-color: transparent;
    transition: all 0.2s ease;
    padding: 10px 16px;
    font-size: 14.5px;
}

.bundle-store-btn:hover {
    background-color: var(--pa-primary-light);
    border-color: var(--pa-primary);
    color: var(--pa-primary-dark);
}

/* Listings section */
.bundle-store-listings {
    border-top: 1px solid var(--pa-border-color);
    display: flex;
    flex-direction: column;
}

.bundle-store-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pa-border-color);
    transition: background-color 0.2s ease;
    text-decoration: none !important;
}

.bundle-store-item:last-child {
    border-bottom: none;
}

.bundle-store-item:hover {
    background-color: var(--pa-bg-muted);
}

.bundle-store-thumb-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--pa-border-color);
}

.bundle-store-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-store-item-title {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--pa-text-dark);
}

.bundle-store-item-scientific {
    font-size: 12px;
    color: var(--pa-text-muted);
}

.bundle-store-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pa-text-dark);
}

/* Miscellaneous Helpers */
.cursor-pointer {
    cursor: pointer;
}


/* Toast overrides */
.toast.bg-green {
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.4);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .bundle-card {
        padding: 12px;
    }
    .bundle-title {
        font-size: 22px;
    }
}
