/* =========================================
   PETALVANTA PRODUCT DETAILS
========================================= */

.bb-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    color: #35443b;
}

.bb-breadcrumbs {
    font-size: 13px;
    color: #929990;
    margin-bottom: 30px;
}

.bb-breadcrumbs a {
    color: #637b68;
    text-decoration: none;
}

.bb-breadcrumbs a:hover {
    text-decoration: underline;
}

.bb-detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 55px;
    align-items: start;
    background: #fff;
    border: 1px solid #edf0e9;
    border-radius: 20px;
    padding: 28px;
}

/* =========================================
   PRODUCT GALLERY
========================================= */

.bb-product-gallery {
    min-width: 0;
}

.bb-detail-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 16px;
    background: #f7f8f4;
}

.bb-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#bbMainProductImage {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

#bbMainProductImage:hover {
    transform: scale(1.05);
}

.bb-featured-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 8px 15px;
    background: #a50045;
    color: #fff;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bb-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.bb-gallery-thumb {
    width: 75px;
    height: 75px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid #e8eee6;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.bb-gallery-thumb.active,
.bb-gallery-thumb:hover {
    border-color: #a50045;
}

.bb-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* =========================================
   PRODUCT LIGHTBOX
========================================= */

.bb-lightbox {
    display: none;
}

.bb-lightbox.active {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: rgba(15, 20, 17, 0.94);
}

#bbLightboxImage {
    display: block;
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    cursor: zoom-in;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.15s ease;
}

#bbLightboxImage.zoomed {
    cursor: grab;
}

.bb-lightbox-close,
.bb-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.2s ease;
}

.bb-lightbox-close:hover,
.bb-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.bb-lightbox-close {
    top: 25px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 30px;
}

.bb-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    transform: translateY(-50%);
}

.bb-lightbox-prev {
    left: 25px;
}

.bb-lightbox-next {
    right: 25px;
}

.bb-lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: #fff;
    font-size: 13px;
    transform: translateX(-50%);
}

/* =========================================
   PRODUCT INFORMATION
========================================= */

.bb-detail-copy {
    min-width: 0;
    padding: 8px 5px;
}

.bb-detail-category {
    margin: 0 0 12px;
    color: #a50045;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bb-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.bb-detail-title-row h1 {
    margin: 0;
    color: #35443b;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.3;
}

.bb-detail-wishlist {
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eadde3;
    border-radius: 50%;
    background: #fff;
    color: #a50045;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-detail-wishlist:hover,
.bb-detail-wishlist.saved {
    background: #fff0f5;
    border-color: #a50045;
}

.bb-detail-price {
    margin: 18px 0;
    color: #a50045;
    font-size: 27px;
    font-weight: 700;
}

.bb-detail-divider {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid #edf0e9;
}

.bb-detail-description {
    color: #737e75;
    font-size: 14px;
    line-height: 1.9;
    white-space: pre-line;
}

/* =========================================
   STOCK STATUS
========================================= */

.bb-stock-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 20px 0;
    font-size: 13px;
    font-weight: 600;
}

.bb-stock-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
}

.bb-stock-available {
    color: #39804e;
}

.bb-stock-available .bb-stock-dot {
    background: #42a65e;
}

.bb-stock-low {
    color: #b7791f;
}

.bb-stock-low .bb-stock-dot {
    background: #e6a23c;
}

.bb-stock-out {
    color: #c0392b;
}

.bb-stock-out .bb-stock-dot {
    background: #c0392b;
}

/* =========================================
   BOUQUET CUSTOMIZATION
========================================= */

.bb-customization {
    margin: 25px 0;
    padding: 22px;
    background: #f7f8f4;
    border: 1px solid #e8eee6;
    border-radius: 14px;
}

.bb-customization h3 {
    margin: 0 0 7px;
    color: #35443b;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}

.bb-customization > p {
    margin-bottom: 20px;
    color: #879087;
    font-size: 13px;
}

.bb-custom-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 19px;
}

.bb-custom-field:last-child {
    margin-bottom: 0;
}

.bb-custom-field > label {
    color: #536357;
    font-size: 13px;
    font-weight: 700;
}

.bb-custom-field select,
.bb-custom-field textarea,
.bb-custom-field input[type="number"] {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #e1e8df;
    border-radius: 9px;
    background: #fff;
    color: #35443b;
    font: inherit;
}

.bb-custom-field select:focus,
.bb-custom-field textarea:focus,
.bb-custom-field input:focus {
    outline: none;
    border-color: #a50045;
    box-shadow: 0 0 0 3px rgba(165, 0, 69, 0.08);
}

.bb-custom-field textarea {
    resize: vertical;
}

.bb-custom-field small {
    color: #879087;
    font-size: 11px;
    line-height: 1.6;
}

.bb-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e8eee6;
    font-size: 13px;
}

.bb-addon-option:last-child {
    border-bottom: 0;
}

.bb-addon-option label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #536357;
}

.bb-addon-option input[type="checkbox"] {
    accent-color: #a50045;
}

.bb-addon-option input[type="number"] {
    width: 75px;
    min-height: 36px;
    padding: 6px;
    border: 1px solid #e1e8df;
    border-radius: 7px;
}

/* =========================================
   QUANTITY AND ADD TO CART
========================================= */

.bb-add-detail-form > label {
    display: block;
    margin: 18px 0 8px;
    color: #536357;
    font-size: 13px;
    font-weight: 700;
}

.bb-quantity-input {
    width: 100%;
    max-width: 130px;
    height: 45px;
    padding: 10px;
    border: 1px solid #e1e8df;
    border-radius: 9px;
    background: #fff;
    color: #35443b;
    font-size: 15px;
}

.bb-add-cart-button {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: #a50045;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.bb-add-cart-button:hover {
    background: #850039;
    transform: translateY(-1px);
}

.bb-add-cart-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bb-fine-print {
    color: #929990;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   REVIEW FEEDBACK
========================================= */

.bb-review-feedback {
    margin: 25px 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
}

.bb-review-success {
    background: #edf7ef;
    border: 1px solid #cce6d1;
    color: #347448;
}

.bb-review-error {
    background: #fff0f0;
    border: 1px solid #f1d0d0;
    color: #b83232;
}

/* =========================================
   CUSTOMER REVIEWS
========================================= */

.bb-reviews {
    margin-top: 55px;
    padding: 30px;
    border: 1px solid #edf0e9;
    border-radius: 18px;
    background: #fff;
}

.bb-reviews-heading {
    margin-bottom: 25px;
}

.bb-reviews-heading h2,
.bb-related-heading h2 {
    margin: 0 0 12px;
    color: #35443b;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 500;
}

.bb-review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bb-review-average {
    color: #35443b;
    font-size: 23px;
    font-weight: 700;
}

.bb-review-stars {
    color: #e4a52e;
    font-size: 17px;
    letter-spacing: 2px;
}

.bb-review-count {
    color: #929990;
    font-size: 12px;
}

.bb-review-form {
    margin: 25px 0;
    padding: 22px;
    border-radius: 12px;
    background: #f8f9f6;
}

.bb-review-form h3 {
    margin: 0 0 8px;
    color: #35443b;
    font-family: Georgia, serif;
    font-size: 20px;
}

.bb-review-form > p {
    color: #879087;
    font-size: 13px;
}

.bb-submit-review {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8eee6;
}

.bb-submit-review > label {
    display: block;
    margin-bottom: 10px;
    color: #536357;
    font-size: 13px;
    font-weight: 700;
}

.bb-star-picker {
    display: flex;
    gap: 7px;
    margin-bottom: 15px;
}

.bb-star-picker label {
    cursor: pointer;
}

.bb-star-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bb-star-picker span {
    color: #d7d7d0;
    font-size: 28px;
}

.bb-star-picker input:checked + span {
    color: #e4a52e;
}

.bb-submit-review textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #e1e8df;
    border-radius: 9px;
    resize: vertical;
    font: inherit;
}

.bb-submit-review button {
    margin-top: 12px;
    padding: 12px 22px;
    border: 0;
    border-radius: 9px;
    background: #315b42;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.bb-submit-review button:hover {
    background: #254832;
}

.bb-review-login,
.bb-no-reviews {
    color: #879087;
    font-size: 13px;
}

.bb-review-login a {
    color: #a50045;
    font-weight: 700;
}

.bb-review-card {
    padding: 20px 0;
    border-top: 1px solid #edf0e9;
}

.bb-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bb-review-top strong {
    color: #35443b;
    font-size: 14px;
}

.bb-review-card p {
    margin: 12px 0;
    color: #6f7b71;
    font-size: 13px;
    line-height: 1.8;
}

.bb-review-card small {
    color: #a0a79f;
    font-size: 11px;
}

/* =========================================
   RELATED PRODUCTS
========================================= */

.bb-related {
    margin-top: 60px;
}

.bb-related-heading {
    margin-bottom: 25px;
}

.bb-related-heading p {
    color: #879087;
    font-size: 13px;
}

.bb-related .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bb-related .product-card {
    overflow: hidden;
    border: 1px solid #edf0e9;
    border-radius: 14px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bb-related .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(30, 50, 35, 0.08);
}

.bb-related .product-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #f7f8f4;
}

.bb-related .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-related .product-info {
    padding: 16px;
}

.bb-related .product-category {
    color: #a50045;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.bb-related .product-info h3 {
    margin: 8px 0;
    color: #35443b;
    font-family: Georgia, serif;
    font-size: 16px;
}

.bb-related .product-info strong {
    color: #a50045;
    font-size: 15px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {
    .bb-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 20px;
    }

    .bb-detail-image {
        height: 380px;
    }

    .bb-detail-title-row h1 {
        font-size: 28px;
    }
}

@media (max-width: 650px) {
    .bb-detail-page {
        padding: 20px 14px 45px;
    }

    .bb-detail-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px;
        border-radius: 14px;
    }

    .bb-detail-image {
        height: 330px;
    }

    .bb-detail-title-row h1 {
        font-size: 26px;
    }

    .bb-detail-price {
        font-size: 24px;
    }

    .bb-customization {
        padding: 16px;
    }

    .bb-reviews {
        padding: 20px 15px;
    }

    .bb-related .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bb-related .product-image {
        height: 160px;
    }

    .bb-lightbox.active {
        padding: 20px;
    }

    #bbLightboxImage {
        max-width: 100%;
        max-height: 75vh;
    }

    .bb-lightbox-prev {
        left: 8px;
    }

    .bb-lightbox-next {
        right: 8px;
    }
}

@media (max-width: 380px) {
    .bb-related .product-grid {
        grid-template-columns: 1fr;
    }
}
.bb-customize-toggle {
    width: 100%;
    padding: 14px 18px;
    margin: 20px 0 5px;
    border: 1px solid #a50045;
    border-radius: 10px;
    background: #fff;
    color: #a50045;
    font-weight: 700;
    cursor: pointer;
}

.bb-customize-toggle:hover {
    background: #fff0f5;
}

.bb-customization[hidden] {
    display: none !important;
}

/* =========================================
   PETALVANTA BOUQUET CUSTOMIZATION MODAL
========================================= */

.bb-customize-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    border: 1px solid #d9b6c4;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8fa, #ffffff);
    color: #873b59;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.bb-customize-toggle:hover {
    background: #fbedf2;
    border-color: #b86b89;
    transform: translateY(-2px);
}

.bb-customize-toggle > span:first-child {
    font-size: 21px;
}

.bb-customize-arrow {
    margin-left: auto;
    font-size: 20px;
}

.bb-custom-modal[hidden] {
    display: none !important;
}

.bb-custom-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bb-custom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 25, 28, 0.65);
    backdrop-filter: blur(5px);
}

.bb-custom-modal-dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: bbCustomModalIn 0.25s ease;
}

@keyframes bbCustomModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bb-custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 25px 28px;
    background: linear-gradient(135deg, #fff1f5, #f7f8f1);
    border-bottom: 1px solid #f0e6e9;
}

.bb-custom-eyebrow {
    color: #a45d79;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bb-custom-modal-header h2 {
    margin: 7px 0;
    color: #553b47;
    font-size: 25px;
    font-weight: 800;
}

.bb-custom-modal-header p {
    margin: 0;
    color: #85727a;
    font-size: 13px;
}

.bb-custom-modal-close {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #795666;
    font-size: 26px;
    cursor: pointer;
}

.bb-custom-modal-body {
    padding: 25px 28px;
    overflow-y: auto;
}

.bb-custom-field {
    margin-bottom: 23px;
}

.bb-custom-field > label {
    display: block;
    margin-bottom: 9px;
    color: #55434a;
    font-size: 13px;
    font-weight: 700;
}

.bb-custom-field select,
.bb-custom-field textarea,
.bb-custom-field > input[type="number"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e6dce0;
    border-radius: 11px;
    background: #fffdfd;
    color: #51454a;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.bb-custom-field select:focus,
.bb-custom-field textarea:focus,
.bb-custom-field > input[type="number"]:focus {
    border-color: #bc7893;
    box-shadow: 0 0 0 3px rgba(188, 120, 147, 0.12);
}

.bb-custom-field textarea {
    resize: vertical;
}

.bb-custom-field > small {
    display: block;
    margin-top: 7px;
    color: #8b7c82;
    font-size: 11px;
    line-height: 1.5;
}

.bb-addon-list {
    display: grid;
    gap: 10px;
}

.bb-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid #eee4e8;
    border-radius: 12px;
    background: #fffafb;
}

.bb-addon-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.bb-addon-option label span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bb-addon-option strong {
    color: #55434a;
    font-size: 13px;
}

.bb-addon-option small {
    color: #a45d79;
    font-size: 12px;
}

.bb-addon-option input[type="number"] {
    width: 65px;
    padding: 8px;
    border: 1px solid #e6dce0;
    border-radius: 8px;
}

.bb-custom-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 28px;
    border-top: 1px solid #f0e6e9;
    background: #fff;
}

.bb-custom-modal-footer > span {
    color: #8b7c82;
    font-size: 11px;
    line-height: 1.5;
}

.bb-custom-save {
    flex-shrink: 0;
    padding: 13px 20px;
    border: 0;
    border-radius: 11px;
    background: #a34e70;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.bb-custom-save:hover {
    background: #843b59;
}

@media (max-width: 600px) {
    .bb-custom-modal {
        padding: 10px;
    }

    .bb-custom-modal-dialog {
        max-height: 94vh;
        border-radius: 17px;
    }

    .bb-custom-modal-header,
    .bb-custom-modal-body {
        padding: 20px;
    }

    .bb-custom-modal-header h2 {
        font-size: 21px;
    }

    .bb-custom-modal-footer {
        padding: 15px 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .bb-custom-save {
        width: 100%;
    }
}
/* PETALVANTA LIVE PRICE SUMMARY */

.bb-custom-price-summary {
    margin-top: 22px;
    padding: 20px;
    background: #f8faf7;
    border: 1px solid #e2eadf;
    border-radius: 14px;
}

.bb-custom-price-summary h3 {
    margin: 0 0 16px;
    color: #344b3c;
    font-size: 17px;
    font-weight: 700;
}

.bb-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 11px 0;
    color: #59675d;
    font-size: 14px;
}

.bb-price-row strong {
    color: #344b3c;
    font-weight: 600;
    white-space: nowrap;
}

.bb-price-divider {
    height: 1px;
    margin: 16px 0;
    background: #dce6da;
}

.bb-price-grand-total {
    color: #344b3c;
    font-size: 15px;
    font-weight: 700;
}

.bb-price-grand-total strong {
    font-size: 18px;
}

.bb-price-quantity-total {
    margin-top: 14px;
    padding: 13px;
    background: #edf4ec;
    border-radius: 10px;
    color: #344b3c;
    font-weight: 700;
}

.bb-price-quantity-total strong {
    color: #315b40;
    font-size: 19px;
}

@media (max-width: 480px) {
    .bb-custom-price-summary {
        padding: 15px;
    }

    .bb-price-row {
        font-size: 13px;
    }

    .bb-price-grand-total strong,
    .bb-price-quantity-total strong {
        font-size: 16px;
    }
}

/* =========================================
   PETALVANTA PRODUCT DETAIL REFINEMENTS
========================================= */

/* Main product layout */
.bb-detail-grid {
    box-shadow: 0 12px 35px rgba(48, 66, 51, 0.045);
}

.bb-product-gallery {
    position: sticky;
    top: 25px;
}

.bb-detail-image {
    box-shadow: 0 5px 20px rgba(30, 50, 35, 0.06);
}

.bb-gallery-thumb {
    flex-shrink: 0;
}

.bb-gallery-thumb:focus-visible,
.bb-detail-wishlist:focus-visible,
.bb-customize-toggle:focus-visible,
.bb-add-cart-button:focus-visible {
    outline: 3px solid rgba(165, 0, 69, 0.25);
    outline-offset: 3px;
}

/* Product information */
.bb-detail-copy {
    padding: 12px 8px;
}

.bb-detail-title-row h1 {
    letter-spacing: -0.6px;
}

.bb-detail-description {
    margin-top: 8px;
}

.bb-stock-note {
    padding: 11px 13px;
    border-radius: 9px;
    background: #f7f9f5;
}

/* Customization button */
.bb-customize-toggle {
    justify-content: flex-start;
    min-height: 54px;
    margin: 25px 0 18px;
    box-shadow: 0 4px 12px rgba(165, 0, 69, 0.045);
}

.bb-customize-arrow {
    margin-left: auto;
}

/* Customization modal */
.bb-custom-modal-dialog {
    overscroll-behavior: contain;
}

.bb-custom-modal-body {
    overscroll-behavior: contain;
}

.bb-custom-field select,
.bb-custom-field textarea,
.bb-addon-option input[type="number"] {
    box-sizing: border-box;
}

.bb-addon-option {
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.bb-addon-option:has(input[type="checkbox"]:checked) {
    border-color: #d5a4b6;
    background: #fff2f6;
}

.bb-custom-save {
    min-height: 45px;
}

/* Quantity and cart */
.bb-quantity-input {
    box-sizing: border-box;
}

.bb-add-cart-button {
    min-height: 52px;
    box-shadow: 0 5px 14px rgba(165, 0, 69, 0.12);
}

/* Reviews */
.bb-reviews {
    box-shadow: 0 8px 25px rgba(48, 66, 51, 0.035);
}

.bb-review-card {
    transition: background 0.2s ease;
}

.bb-review-card:hover {
    background: #fdfcfb;
}

.bb-star-picker label:hover span,
.bb-star-picker label:focus-within span {
    color: #e4a52e;
}

/* Related products */
.bb-related .product-card {
    height: 100%;
}

.bb-related .product-image img {
    transition: transform 0.35s ease;
}

.bb-related .product-card:hover .product-image img {
    transform: scale(1.06);
}

.bb-related .product-info {
    min-height: 100px;
}

.bb-related .product-info h3 {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Responsive refinements */
@media (max-width: 900px) {
    .bb-product-gallery {
        position: static;
    }
}

@media (max-width: 650px) {
    .bb-detail-grid {
        box-shadow: none;
    }

    .bb-detail-copy {
        padding: 5px 2px;
    }

    .bb-detail-image {
        height: 350px;
    }

    .bb-custom-modal-header {
        gap: 10px;
    }

    .bb-related .product-info {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bb-detail-image img,
    .bb-related .product-card,
    .bb-related .product-image img,
    .bb-custom-modal-dialog {
        animation: none;
        transition: none;
    }
}
/* PRODUCT TITLE AND ACTION BUTTONS */

.bb-detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bb-detail-title-row h1 {
    flex: 1;
    min-width: 0;
}

.bb-detail-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.bb-detail-wishlist,
.pv-share-icon-button {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #eadde4;
    border-radius: 50%;
    background: #fff;
    color: #a50050;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pv-share-icon-button svg {
    display: block;
}

.bb-detail-wishlist:hover,
.pv-share-icon-button:hover {
    background: #a50050;
    border-color: #a50050;
    color: #fff;
}

.pv-social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.pv-share-feedback:empty {
    display: none;
}

.pv-share-feedback {
    position: absolute;
    font-size: 11px;
    color: #8b526f;
}