/* ==========================================================================
   WALMART-STYLE SINGLE PRODUCT (PDP) REPLICA STYLING
   ========================================================================== */

.vbo-pdp-wrapper {
    max-width: 1480px;
    margin: 0 auto;
    padding: 15px 24px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2e2f32;
    -webkit-font-smoothing: antialiased;
}

/* 1. BREADCRUMBS */
.vbo-pdp-breadcrumbs {
    font-size: 12px;
    color: #74767c;
    margin-bottom: 20px;
}
.vbo-pdp-breadcrumbs a {
    color: #74767c;
    text-decoration: underline;
}
.vbo-pdp-breadcrumbs a:hover {
    color: #0071dc;
}
.vbo-pdp-breadcrumbs span.sep {
    margin: 0 6px;
}

/* 2. 3-COLUMN PDP MAIN SHOWCASE */
.vbo-pdp-grid {
    display: grid;
    grid-template-columns: 480px 1fr 340px;
    gap: 32px;
    align-items: start;
    margin-bottom: 50px;
}

/* LEFT: GALLERY */
.vbo-gallery-container {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 20px;
}
.vbo-gallery-thumbs {
    width: 68px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vbo-thumb-btn {
    width: 64px;
    height: 64px;
    border: 1.5px solid #e3e4e5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    padding: 2px;
    transition: border-color 0.15s ease;
}
.vbo-thumb-btn.active, .vbo-thumb-btn:hover {
    border-color: #0071dc;
}
.vbo-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.vbo-gallery-main {
    flex: 1;
    position: relative;
    border: 1px solid #e3e4e5;
    border-radius: 12px;
    background: #ffffff;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vbo-main-product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.vbo-main-product-img:hover {
    transform: scale(1.08);
}
.vbo-gallery-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e3e4e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
.vbo-gallery-wishlist.active svg {
    fill: #e02424;
    stroke: #e02424;
}

/* MIDDLE: DETAILS & ACCORDIONS */
.vbo-middle-details {
    display: flex;
    flex-direction: column;
}
.vbo-pill-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.vbo-badge-pill {
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 700;
}
.vbo-badge-cart-popular {
    background: #eaf1f8;
    color: #004f9e;
}
.vbo-badge-flash {
    background: #fff0eb;
    color: #c91818;
}
.vbo-badge-pick {
    background: #002d62;
    color: #ffffff;
}

.vbo-store-link {
    font-size: 13px;
    color: #0071dc;
    text-decoration: underline;
    margin-bottom: 6px;
    display: inline-block;
}
.vbo-pdp-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #2e2f32;
}

.vbo-pdp-rating-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 20px;
}
.vbo-stars-outer-sm {
    position: relative;
    color: #cbd0d6;
    letter-spacing: 1px;
}
.vbo-stars-outer-sm::before {
    content: "★★★★★";
}
.vbo-stars-inner-sm {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffc220;
    white-space: nowrap;
}
.vbo-stars-inner-sm::before {
    content: "★★★★★";
}
.vbo-reviews-anchor {
    color: #74767c;
    text-decoration: underline;
}

/* Key Features & Specs Accordion */
.vbo-pdp-accordion-box {
    border-top: 1px solid #e3e4e5;
    padding: 16px 0;
}
.vbo-pdp-acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}
.vbo-pdp-acc-body {
    padding-top: 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #46474a;
}
.vbo-pdp-accordion-box.collapsed .vbo-pdp-acc-body {
    display: none;
}
.vbo-pdp-acc-arrow {
    font-size: 11px;
    color: #74767c;
}

/* RIGHT: BUY BOX */
.vbo-buybox-card {
    border: 1px solid #e3e4e5;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.vbo-buybox-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.vbo-buybox-now {
    font-size: 26px;
    font-weight: 800;
    color: #2a8703;
}
.vbo-buybox-now .prefix {
    font-size: 18px;
    color: #2a8703;
}
.vbo-buybox-was {
    font-size: 14px;
    color: #74767c;
    text-decoration: line-through;
}
.vbo-buybox-save {
    font-size: 13px;
    font-weight: 700;
    color: #2a8703;
    margin-bottom: 16px;
}

/* Big Blue Add to Cart Button */
.vbo-pdp-btn-add {
    width: 100%;
    background: #0071dc;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-bottom: 20px;
}
.vbo-pdp-btn-add:hover {
    background: #004f9e;
}

/* Allstate Protection Plan Box */
.vbo-protection-plan-box {
    border: 1px solid #cbd0d6;
    border-radius: 8px;
    padding: 14px;
    background: #fdfefe;
    margin-bottom: 20px;
}
.vbo-plan-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.vbo-plan-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    margin-bottom: 6px;
    cursor: pointer;
}

/* Fulfillment 3 Columns Box */
.vbo-fulfillment-card {
    border: 1px solid #e3e4e5;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-bottom: 18px;
    background: #f8fafc;
    overflow: hidden;
}
.vbo-ful-item {
    padding: 12px 6px;
    border-right: 1px solid #e3e4e5;
    font-size: 11px;
}
.vbo-ful-item:last-child {
    border-right: none;
}
.vbo-ful-title {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 4px;
}
.vbo-ful-status {
    color: #2a8703;
    font-weight: 600;
}
.vbo-ful-unavailable {
    color: #74767c;
}

/* Seller and Return Policy info */
.vbo-seller-info-block {
    font-size: 12.5px;
    color: #46474a;
    line-height: 1.5;
    margin-bottom: 16px;
}
.vbo-seller-info-block strong {
    color: #2e2f32;
}
.vbo-pdp-secondary-links {
    display: flex;
    gap: 16px;
    font-size: 12px;
    padding-top: 14px;
    border-top: 1px solid #e3e4e5;
}
.vbo-pdp-secondary-links a {
    color: #0071dc;
    text-decoration: underline;
}

/* ==========================================================================
   3. WALMART CAROUSEL & EXACT PRODUCT GIGS
   ========================================================================== */
.vbo-pdp-carousel-section {
    margin-top: 40px;
    margin-bottom: 50px;
}
.vbo-pdp-sec-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #2e2f32;
}
.vbo-pdp-sec-sub {
    font-size: 13px;
    color: #74767c;
    margin-bottom: 18px;
}
.vbo-pdp-product-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Exact Walmart Card Structure */
.vbo-product-card {
    background: #ffffff;
    border: 1px solid #e3e4e5;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    box-sizing: border-box;
}
.vbo-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #cbd0d6;
}

.vbo-card-top-tag {
    margin-bottom: 6px;
    min-height: 22px;
}
.vbo-tag-clearance {
    background: #ffea28;
    color: #2e2f32;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}
.vbo-tag-reduced {
    background: #eaf1f8;
    color: #0071dc;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.vbo-card-media-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.vbo-card-img-anchor {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vbo-product-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vbo-card-wishlist {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e3e4e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    transition: all 0.15s ease;
}
.vbo-card-wishlist:hover {
    background: #f4f6f8;
}
.vbo-card-wishlist.active svg {
    fill: #e02424;
    stroke: #e02424;
}

.vbo-card-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
}
.vbo-btn-add-pill {
    background: #0071dc;
    color: #ffffff !important;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.15s ease;
}
.vbo-btn-add-pill:hover {
    background: #004f9e;
}
.vbo-btn-add-pill.vbo-btn-options {
    background: #0071dc;
    color: #ffffff !important;
}

.vbo-card-details {
    display: flex;
    flex-direction: column;
}
.vbo-card-sponsored {
    font-size: 11px;
    color: #74767c;
    margin-bottom: 4px;
}
.vbo-card-price-row {
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.vbo-price-now {
    font-size: 17px;
    font-weight: 800;
    color: #2e2f32;
}
.vbo-price-was {
    font-size: 12.5px;
    color: #74767c;
    text-decoration: line-through;
}
.vbo-card-product-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 8px 0;
    height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vbo-card-product-title a {
    color: #2e2f32;
    text-decoration: none;
}
.vbo-card-product-title a:hover {
    text-decoration: underline;
}

.vbo-card-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 12px;
}
.vbo-stars-outer {
    display: inline-block;
    position: relative;
    font-family: Arial, sans-serif;
    color: #cbd0d6;
    font-size: 12px;
    letter-spacing: 1px;
}
.vbo-stars-outer::before {
    content: "★★★★★";
}
.vbo-stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffc220;
}
.vbo-stars-inner::before {
    content: "★★★★★";
}
.vbo-review-count {
    font-size: 11.5px;
    color: #74767c;
}
.vbo-card-delivery-info {
    font-size: 11px;
    color: #74767c;
}

/* ==========================================================================
   4. CUSTOMER RATINGS & REVIEWS + INTERACTIVE STAR RATING
   ========================================================================== */
.vbo-reviews-section {
    border-top: 1px solid #e3e4e5;
    padding-top: 45px;
    margin-top: 50px;
}
.vbo-reviews-top-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-bottom: 25px;
}
.vbo-big-score {
    font-size: 48px;
    font-weight: 800;
    color: #2e2f32;
    line-height: 1;
}
.vbo-score-sub {
    font-size: 13px;
    color: #74767c;
    margin-top: 6px;
}

.vbo-btn-write-review {
    display: inline-block;
    background: #ffffff;
    color: #2e2f32;
    border: 1px solid #2e2f32;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.vbo-btn-write-review:hover {
    background: #2e2f32;
    color: #ffffff;
}

.vbo-rating-bars-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 450px;
}
.vbo-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.vbo-bar-track {
    flex: 1;
    height: 8px;
    background: #e3e4e5;
    border-radius: 4px;
    overflow: hidden;
}
.vbo-bar-fill {
    height: 100%;
    background: #0071dc;
}

/* Review Form Container */
.vbo-review-form-container {
    background: #f8fafc;
    border: 1px solid #cbd0d6;
    border-radius: 10px;
    padding: 24px;
    margin: 25px 0 35px 0;
    max-width: 680px;
}
.vbo-review-form-container h3 {
    margin: 0 0 16px 0;
    font-size: 17px;
    font-weight: 700;
}
.vbo-review-form-row {
    margin-bottom: 14px;
}
.vbo-review-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2e2f32;
}

/* INTERACTIVE STAR SELECTOR (CLICKABLE & HOVERABLE) */
.vbo-clickable-stars {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
    margin-bottom: 8px;
    user-select: none;
}
.vbo-star-item {
    font-size: 28px;
    color: #cbd0d6;
    transition: color 0.15s ease, transform 0.1s ease;
}
.vbo-star-item:hover {
    transform: scale(1.15);
}
.vbo-star-item.active,
.vbo-star-item.hover {
    color: #ffc220;
}

.vbo-review-form-row input[type="text"],
.vbo-review-form-row input[type="email"],
.vbo-review-form-row textarea {
    width: 100%;
    border: 1px solid #cbd0d6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13.5px;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}
.vbo-review-form-row textarea {
    height: 100px;
    resize: vertical;
}
.vbo-submit-review-btn {
    background: #0071dc;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.vbo-submit-review-btn:hover {
    background: #004f9e;
}

/* User Reviews List */
.vbo-user-review-card {
    border-bottom: 1px solid #e3e4e5;
    padding: 24px 0;
    position: relative;
}
.vbo-rev-user {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}
.vbo-rev-badge {
    color: #2a8703;
    font-size: 11px;
    font-weight: 600;
}
.vbo-rev-comment {
    font-size: 13.5px;
    line-height: 1.55;
    color: #46474a;
    margin-top: 6px;
}
.vbo-admin-review-manage {
    margin-top: 8px;
    font-size: 11px;
}
.vbo-admin-review-manage a {
    color: #c91818;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1250px) {
    .vbo-pdp-product-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1150px) {
    .vbo-pdp-grid {
        grid-template-columns: 1fr 340px;
    }
    .vbo-gallery-container {
        position: relative;
        top: 0;
    }
    .vbo-middle-details {
        grid-column: span 2;
    }
}
@media (max-width: 820px) {
    .vbo-pdp-grid {
        grid-template-columns: 1fr;
    }
    .vbo-middle-details {
        grid-column: span 1;
    }
    .vbo-pdp-product-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .vbo-reviews-top-grid {
        grid-template-columns: 1fr;
    }
}