:root {
    --nv-black: #000000;
    --nv-red: #ed1c24;
    --nv-pink-light: #fff0f3;
    --nv-border: #e8e8e8;
    --nv-gray: #666;
    --nv-black: #000000;
}

body {
    background-color: #fff;
    color: #333;
}

/* Product Gallery */
.main-img-container {
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    position: relative;
    padding: 0px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid var(--nv-border);
    border-radius: 4px;
    cursor: pointer;
}

.thumb-img.active {
    border-color: var(--nv-black);
    box-shadow: 0 0 0 1px var(--nv-black);
}

/* Breadcrumbs */
.breadcrumb {
    flex-wrap: nowrap !important;
    overflow: hidden;
}

.breadcrumb-item {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.breadcrumb-item:first-child {
    flex-shrink: 0;
    overflow: visible;
}

.breadcrumb-item a {
    color: var(--nv-black);
    text-decoration: none;
}

/* Pricing & Size Selection */
.price-current {
    font-size: 24px;
    font-weight: 700;
}

.price-mrp {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount-tag {
    color: var(--nv-red);
    font-weight: 600;
}

/* --- READ MORE COMPONENT STYLES --- */
.description-collapsed {
    max-height: 52px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.description-expanded {
    max-height: 2000px;
    overflow: visible;
}

/* The inline-style Read More / Read Less button */
.desc-read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.75;
}

.desc-read-more-btn:hover {
    text-decoration: underline;
    color: #0a58ca;
}

#size-selector-group > .col-6 {
    display: flex;
}

.size-card {
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.size-card.active {
    border-color: var(--nv-black);
    background-color: #f9f9f9;
}

.size-label {
    font-size: 13px;
    font-weight: 600;
}

.size-price {
    font-size: 16px;
    font-weight: 700;
}

.size-mrp-label {
    font-size: 11px;
    color: #999;
}

.size-stock {
    font-size: 11px;
    color: #28a745;
    font-style: italic;
}

.size-sale {
    font-size: 11px;
    color: #6f42c1;
    font-weight: 600;
}

/* STICKY SIDEBAR CARD */
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    /* This must be greater than your navbar height */
    top: 180px;
    z-index: 10;
    /* This is the key fix for Bootstrap columns */
    align-self: flex-start;
    height: fit-content;
}

.offers-box {
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.offer-header {
    color: var(--nv-black);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-fixed {
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qty-btn {
    border: 1px solid var(--nv-border);
    background: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart {
    background-color: var(--nv-black);
    color: white;
    font-weight: 700;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.btn-cart:hover {
    opacity: 0.9;
}

.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* Side Cart */
.side-cart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100dvh;
    background: white;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.side-cart.active {
    right: 0;
}

/* Header */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #000;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.cart-close:hover {
    color: #FFC0CB;
}

/* Progress Bar */
.shipping-progress {
    padding: 24px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.progress-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.progress-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 0 0 auto;
}

.milestone-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
}

.progress-milestone.active .milestone-circle {
    background: #FFC0CB;
}

.milestone-label {
    text-align: center;
}

.milestone-amount {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.milestone-status {
    font-size: 10px;
    color: #0a0a0a;
    font-weight: 500;
}

.progress-milestone:not(.active) .milestone-status {
    color: #999;
}

.progress-line {
    position: absolute;
    top: 16px;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-line.line-1 {
    left: 15%;
    width: 20%;
}

.progress-line.line-2 {
    left: 50%;
    width: 20%;
}

.progress-line.active {
    background: #FFC0CB;
}

/* Cart Body */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    background: #fafafa;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.cart-item-image-placeholder {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 4px;
}

.cart-details {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0 0 4px 0;
}

.cart-item-variant {
    font-size: 12px;
    color: #666;
    margin: 0 0 12px 0;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: white;
    border: none;
    padding: 2px 4px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #FFC0CB;
    color: white;
}

.qty-value {
    padding: 6px 12px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    color: #000;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-price del {
    font-size: 12px;
    color: #999;
}

.item-price-current {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #000;
}

/* Offers Section */
.offers-section,
.best-offers {
    margin-bottom: 20px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
}

.coupons-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff0f5;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid #FFC0CB;
}

.coupon-count {
    margin-left: auto;
    color: #000;
    font-weight: 500;
}

/* Offers Carousel */
.offers-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.offers-carousel::-webkit-scrollbar {
    height: 4px;
}

.offers-carousel::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

.offer-card {
    flex: 0 0 160px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    background: #fafafa;
}

.offer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #000;
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
}

.offer-image {
    width: 100%;
    height: 96px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.offer-image.pink {
    background: #fff0f5;
}

.offer-image-placeholder {
    width: 64px;
    height: 64px;
    background: #e0e0e0;
    border-radius: 4px;
}

.offer-image-placeholder.pink {
    background: #FFC0CB;
}

.offer-title {
    font-size: 11px;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.3;
    height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.offer-price del {
    font-size: 10px;
    color: #999;
}

.offer-price-current {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.add-btn {
    width: 100%;
    padding: 6px;
    border: 1px solid #000;
    background: white;
    color: #000;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background: #000;
    color: white;
}

.carousel-arrow {
    flex: 0 0 auto;
    align-self: center;
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: #FFC0CB;
    color: white;
    border-color: #FFC0CB;
}

/* Newsletter */
.newsletter-opt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-opt input[type="checkbox"] {
    accent-color: #FFC0CB;
    width: 16px;
    height: 16px;
}

.newsletter-opt label {
    font-size: 12px;
    color: #666;
    margin: 0;
    cursor: pointer;
}

/* Cart Footer */
.cart-footer {
    border-top: 1px solid #f0f0f0;
    padding: 20px;
    background: white;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.total-section {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.total-amount {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.estimated-text {
    font-size: 12px;
    color: #999;
}

.checkout-btn {
    flex: 1;
    padding: 16px 24px;
    background: #000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 12px;
}

.checkout-btn:hover {
    background: #FFC0CB;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 192, 203, 0.4);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #999;
    margin-top: 12px;
}

/* Open Cart Button */
.open-cart-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    background: black;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s;
}

.open-cart-btn:hover {
    background: #1f2937;
}

@media (max-width: 480px) {
    .side-cart {
        width: 100%;
        right: -100%;
    }
}

.faq-section {
    background-color: #f5f5f5;
    padding: 25px 20px;
    /* margin-top: 60px; */
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 16px;
    text-align: left;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    padding: 15px 30px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-icon {
    font-size: 24px;
    color: #000000;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 30px 25px 30px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* Ratings & Reviews Section */
.ratings-section {
    padding: 0px 0px 20px 0px;
    /* border-top: 1px solid #eee; */
}

.ratings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

.rating-summary h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

.rating-stars {
    color: #000;
    font-size: 18px;
}

.btn-rate-product {
    border: 2px solid #000;
    background: transparent;
    color: #000;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .btn-rate-product {
        padding: 5px 15px;
    }

    .rating-stars {
        font-size: 12px;
    }
}

.btn-rate-product:hover {
    background: #000;
    color: #fff;
}

/* Progress Bars */
.rating-bar-container {
    max-width: 600px;
    margin-bottom: 40px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.bar-label {
    width: 30px;
    font-size: 14px;
}

.progress-bg {
    flex: 1;
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: #000;
    height: 100%;
}

.bar-count {
    width: 30px;
    font-size: 14px;
    color: #777;
}

/* Review Comments */
.reviews-list {
    max-height: 1024px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.reviews-list::-webkit-scrollbar {
    width: 4px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.btn-load-more-reviews {
    background: none;
    border: 1.5px solid #222;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 9px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.btn-load-more-reviews:hover:not(:disabled) {
    background: #222;
    color: #fff;
}

.btn-load-more-reviews:disabled {
    opacity: .55;
    cursor: default;
}

.review-item {
    padding: 25px 0px 0px 0px;
    border-bottom: 1px solid #f5f5f5;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.reviewer-name {
    font-weight: 600;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.verified-badge {
    color: #4CAF50;
    font-size: 12px;
    font-weight: 500;
}

.review-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* REVIEW MODAL (POPUP) */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.review-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.review-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 14px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
    text-align: left;
}

.review-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 24px 24px;
    text-align: center;
}

.close-modal {
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #444;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-stars {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.modal-stars i {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
}

.modal-stars i.active {
    color: #000;
}

.review-form input,
.review-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    outline: none;
}

.btn-submit-review {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
}

.btn-submit-review:disabled {
    opacity: .65;
    cursor: not-allowed;
}

@keyframes starShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.star-shake {
    animation: starShake .45s ease;
}

@media (max-width: 575.98px) {
    .review-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .review-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 88vh;
    }

    .review-modal-header {
        padding: 16px 18px 12px;
    }

    .review-modal-body {
        padding: 10px 18px 28px;
    }

    .modal-stars {
        gap: 10px;
        margin: 14px 0;
    }

    .modal-stars i {
        font-size: 26px;
    }

    .review-modal-header h4 {
        font-size: 1rem;
    }

    .review-modal-header p.small {
        font-size: .78rem;
    }

    .review-form textarea {
        font-size: 14px;
    }
}

/* --- VIDEO & POSTER STYLES --- */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    margin: 3rem 0;
    display: block;
    /* Ensure it's treated as a block */
}

.video-container iframe,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    border: 2px dashed #444;
}

.poster-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0.5rem 0;
}

.poster-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.poster-item img {
    width: 100%;
    display: block;
    /* height: 180px !important; */
    /* crops cleanly instead of squishing */
    object-fit: cover;
}

@media (max-width: 767px) {
    .poster-item img {
        height: auto;
    }
}

/* Shorts-style horizontal video carousel
   #video_section renders <div.shorts-slider> with N <div.shorts-card> children.
   Each card autoplays muted (Shorts preview) and clicks open a fullscreen
   popup with sound + native controls. */
.shorts-slider-wrap {
    margin: 2rem 0;
}

.shorts-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.shorts-slider::-webkit-scrollbar {
    display: none;
}

.shorts-card {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shorts-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.shorts-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    pointer-events: none;
    /* let the card receive the click */
}

.shorts-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.shorts-card:hover .shorts-card-play {
    opacity: 1;
}

@media (max-width: 575px) {
    .shorts-slider {
        gap: 10px;
        padding: 2px 2px 10px;
    }

    .shorts-card {
        width: 150px;
        border-radius: 12px;
    }

    .shorts-card-play {
        font-size: 22px;
    }
}

/* ===== Fullscreen popup ===== */
.product-video-popup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10500;
    align-items: center;
    justify-content: center;
}

.product-video-popup.open {
    display: flex;
}

.product-video-popup .pvp-close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top, 16px));
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.product-video-popup .pvp-stage {
    width: min(420px, 95vw);
    max-height: 90vh;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-video-popup .pvp-stage video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: block;
    background: #000;
    object-fit: contain;
}

@media (max-width: 575px) {
    .product-video-popup .pvp-stage {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .product-video-popup .pvp-stage video {
        height: 100dvh;
        max-height: 100dvh;
        object-fit: contain;
    }

    .product-video-popup .pvp-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: max(12px, env(safe-area-inset-top, 12px));
        right: 12px;
    }
}

/* --- INTERACTIVE TABS SECTION --- */
/* ADD THIS – BOX STYLE TABS */

.tab-link {
    padding: 10px 16px;
    border: 1px solid #ccc;
    background: #fff;
    color: #555;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.tab-link.active {
    background: #eaf7ff;
    border-color: #3aa0d8;
    color: #3aa0d8;
}


/* Key Ingredients Enhancement */
.ingredient-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--nv-border);
    border-radius: 16px;
    height: 100%;
}

/* Why Nivioma Grid */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 4px 0 8px;
}

.why-col {
    display: grid;
    grid-template-columns: 45% 55%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.why-col-nivioma {
    border-color: #d1fae5;
    background: #f0fdf4;
}

.why-col-other {
    border-color: #fee2e2;
    background: #fff5f5;
}

.why-img-wrap {
    overflow: hidden;
    background: #f5f5f5;
    min-height: 160px;
}

.why-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-points {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.why-col-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.why-label-pro {
    color: #16a34a;
}

.why-label-con {
    color: #dc2626;
}

.why-point-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.why-icon {
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.why-icon-con {
    color: #dc2626;
}

.why-point-pro {
    color: #16a34a;
}

.why-point-con {
    color: #6b7280;
}

/* No image: single-column content */
.why-col.no-img {
    grid-template-columns: 1fr;
}

@media (max-width: 767px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .why-col {
        grid-template-columns: 42% 58%;
    }

    /* Other: mirror — image right, content left */
    .why-col-other .why-img-wrap {
        order: 2;
    }

    .why-col-other .why-points {
        order: 1;
    }
}

.ingredient-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    flex-shrink: 0;
    object-fit: cover;
    border: 4px solid var(--nv-light-bg);
}

@media (max-width: 768px) {
    .ingredient-card {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .ingredient-card img {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
}

/* Key Ingredients carousel image.
   Breakpoints match the Swiper config's own breakpoints (640/1024) in
   details.php, not an arbitrary size — 640-1023px is the tightest zone
   (1.4 slides per view), so it stays small until 2-per-view at 1024px. */
.key-ingre-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .key-ingre-img {
        width: 110px;
        height: 110px;
    }
}

/* Why Nivioma Comparison Section */
.comparison-container {
    border: 1px solid var(--nv-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    background: #fff;
    flex-direction: column;
    /* Stacked on mobile, row on desktop via media query */
}

@media (min-width: 768px) {
    .comparison-container {
        flex-direction: row;
    }
}

.comparison-half {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-half img {
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.comparison-half.danger-side {
    background-color: #fff5f5;
    border-right: 1px solid var(--nv-border);
}

.comparison-half.success-side {
    background-color: #f6fff6;
}

.comparison-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.comparison-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.comparison-list i {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Ingredients Table */
.ing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nv-border);
}

.ing-table th {
    background: var(--nv-light-bg);
    padding: 15px;
    font-weight: 700;
}

.ing-table td {
    padding: 15px;
    border-top: 1px solid var(--nv-border);
}

.step-circle {
    width: 40px;
    height: 40px;
    background: var(--nv-black);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- FEATURE SECTION CUSTOM CSS (EXACT FIX) --- */
/* Container Grid */
.info-grid {
    display: flex !important;
    flex-direction: row !important;
    /* Force horizontal layout */
    flex-wrap: nowrap !important;
    /* Prevent wrapping to next line */
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    text-align: center;
    width: 100%;
}

.info-card {
    flex: 1;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    /* Allow shrinking if needed */
}

.info-card .icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.info-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Specific Contact Card Styles */
.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.contact-btn:hover {
    background-color: #f06292;
    /* Baby Pink Hover */
    color: #fff;
}

/* Payment Section Styling */
.text-pink {
    color: #f06292;
}

.payment-title {
    color: #000;
}

/* --- PRODUCT CARD STYLE (USER PROVIDED) --- */
.product-card-item {
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 12px;
    margin-bottom: 20px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.product-img {
    margin-top: 15px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #fdfdfd;

    /* ADD THESE LINES */
    display: block;
    /* Prevents bottom gap */
    border-radius: 15px;
    /* Your desired radius */
    -webkit-border-radius: 15px;
    /* Safari support */
    transform: translateZ(0);
    /* Fixes "disappearing" corners bug */
    -webkit-transform: translateZ(0);
}

.product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-benefit {
    font-size: 12px;
    color: #777;
    margin-bottom: 12px;
}

.product-meta-area {
    margin-top: auto;
    /* border-top: 1px solid #eee; */
    padding-top: 10px;
}

.product-size-text {
    font-size: 12px;
    color: #999;
    text-align: center;
}

.product-rating {
    font-size: 12px;
    margin-bottom: 5px;
    text-align: center;
}

.stars {
    color: #f1c40f;
    font-weight: 700;
}

.review-count {
    color: #999;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--nv-black);
    margin-bottom: 15px;
    text-align: center;
}

/* --- ADD TO CART & QUANTITY SELECTOR --- */
.product-card-item .btn-add-to-cart {
    width: 100%;
    background: var(--nv-black);
    color: white;
    border: none;
    padding: 10px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 12px;
    /* Matched to selector */
    transition: background 0.3s;
    cursor: pointer;
}

.product-card-item .btn-add-to-cart:hover {
    background: #333;
}

.qty-selector {
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 2px solid var(--nv-black);
    border-radius: 12px;
    padding: 6px 12px;
    font-weight: 700;
    background: #fff;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

.qty-value {
    font-size: 16px;
}

/* State for active selector */
.product-card-item.in-cart .btn-add-to-cart {
    display: none;
}

.product-card-item.in-cart .qty-selector {
    display: flex;
}

/* --- FULL WIDTH SECTIONS --- */
.full-width-section {
    padding: 1.5rem 0;
    border-top: 1px solid var(--nv-border);
}

/* --- EXACT STYLING FOR DISCLAIMER & ADDITIONAL INFO --- */
/* --- ADDITIONAL INFO STYLES (Left Aligned) --- */
.section-tab-header {
    border-top: 1px solid var(--nv-border);
    border-bottom: 1px solid var(--nv-border);
    padding: 15px 0;
    margin-top: 30px;
}

.section-tab-title {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
}

.info-collapsible-content {
    padding: 25px 0px 0px 0px;
    transition: all 0.3s ease;
}

.info-collapsible-content.collapsed {
    display: none;
}

/* Grid for columns. Two equal columns that always shrink to fit the
   container (no fixed 180px minimum), so the content never overflows or
   gets clipped at the corners on narrow screens; collapses to a single
   column on small phones for readability. Left aligned. */
.info-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    justify-content: start;
}
@media (max-width: 480px) {
    .info-grid-new {
        grid-template-columns: 1fr;
    }
}

.info-item-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--nv-black);
    margin-bottom: 4px;
    text-align: left;
}

.info-item-value {
    font-size: 0.9rem;
    color: var(--nv-text-muted);
    line-height: 1.5;
    text-align: left;
}

/* Disclaimer Section Styles */

.disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* max-width: 860px; */
}

.disclaimer-list li {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.75;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 16px;
    background: #fafafa;
    border-left: 3px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-list li:last-child {
    margin-bottom: 0;
}

.disclaimer-list .dis-text::first-letter {
    text-transform: uppercase;
}



.add-to-cart-fixed {
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    padding: 24px;
    background: #fff;
}


/* Mobile specific font size adjustments to keep it on one line */
@media (max-width: 768px) {
    .info-card .icon {
        font-size: 30px;
    }

    .info-card h4 {
        font-size: 0.9rem;
    }

    .contact-card h4 {
        font-size: 1rem;
    }

    .contact-btn {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

.fullscreen-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #000;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Customer Photos & Videos slider - positioning context for its nav arrows */
.review-glam-slider-wrap {
    position: relative;
}

/* Navigation Arrows */
.nav-arrow,
.zoom-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.nav-arrow:hover,
.zoom-nav-arrow:hover {
    background: #000;
    color: #fff;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Clean Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
}

.zoom-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-content {
    max-height: 85vh;
    max-width: 85vw;
    object-fit: contain;
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #000;
    /* Change to #fff if using a dark background */
    font-size: 50px;
    font-weight: 600px;
    cursor: pointer;
    z-index: 10001;
    /* Must be higher than the modal z-index */
    line-height: 1;
}

.close-zoom:hover {
    color: #000000;
    /* Optional: turns red when hovering */
}

/* Offer card box */
.offer-card-box {
    padding: 14px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* dots below */
.offer-dots-wrap {
    position: static !important;
    /* important */
    margin-top: 10px;
    margin-bottom: 0px !important;
    display: flex !important;
    justify-content: center;
    gap: 6px;
}

/* dot style */
.offer-dots-wrap button {
    width: 18px !important;
    height: 4px !important;
    border-radius: 10px;
    border: none !important;
    background: #ddd !important;
    opacity: 1 !important;
}

/* active dot */
.offer-dots-wrap button.active {
    background: #000000 !important;
}

/* remove default bootstrap indicators space */


/* custom dots wrap */
.offer-dots-wrap {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

/* dot style */
.offer-dots-wrap button {
    width: 18px;
    height: 4px;
    border-radius: 10px;
    border: none;
    background: #ddd;
    opacity: 1;
    padding: 0;
}

/* active dot = green like screenshot */
.offer-dots-wrap button.active {
    background: #000000;
    /* mild green */
}

.howto-simple {
    padding: 15px 5px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.howto-simple p {
    margin-bottom: 8px;
}

.product-card-item {
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
}

/* Badge styling */
#card_list .product-card-item .badge,
#card_list .product-card-item [class*="stock"],
#card_list .product-card-item [class*="label"],
#card_list .product-card-item [class*="tag"],
#card_list .product-card-item [class*="badge"] {
    display: inline-block !important;
    width: auto !important;
    position: absolute !important;
    top: 12px !important;
    left: 20px !important;
    z-index: 10;
}

.product-card-item .product-img {
    width: calc(100% - 40px) !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 40px auto 0 auto !important;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    padding: 0;
    display: block;
    position: static !important;
    flex-shrink: 0;
    border-radius: 12px !important;
    clip-path: inset(0 round 12px) !important;
}

.full-width-section .product-card-item .badge-tag {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 2 !important;
    margin: 0 !important;
}

.full-width-section .product-card-item {
    position: relative !important;
}

.product-card-item .product-details {
    position: static !important;
    padding: 10px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}


.product-card-item .product-benefit {
    font-size: 12px;
    color: #666;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-item .product-meta-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card-item .btn-add-to-cart {
    margin-top: auto;
    width: 100%;
}

/* Section header spacing */
.full-width-section .section-header {
    margin-bottom: 24px !important;
}

/* MOBILE */
@media (max-width: 576px) {
    .product-card-item .product-title {
        font-size: 13px;
    }

    .full-width-section .section-header {
        margin-bottom: 16px !important;
    }
}

.product-tabs-nav {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.full-width-section h2 {
    padding-left: 16px !important;
}

.full-width-section .container {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* The zeroed container padding above is meant for the product-card rows.
   The Disclaimer and Additional Information text blocks must instead line up
   with the rest of the page content (which sits at the standard 12px gutter),
   so restore that gutter for those two sections only. */
.full-width-section.nv-tab-section .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
.full-width-section.nv-tab-section .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.full-width-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.full-width-section .row>[class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.payment-section {
    text-align: center !important;
}

.payment-section .payment-note {
    text-align: center !important;
    display: block !important;
}

.payment-section .payment-icons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.payment-section .fas.fa-shield-alt {
    display: inline !important;
}

.main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* changed from contain to cover */
    object-position: center top;
    /* top so face/product top is visible */
    background: #fff;
}

@media (max-width: 768px) {
    .main-img-container {
        border: none;
    }

    .main-img-container img {
        object-fit: contain;
    }
}

/* ── Tablet + small desktop (768px–1399px): 3 cards ── */
@media (min-width: 768px) and (max-width: 1399px) {
    .full-width-section .row.g-4 {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 calc(33.333% - 12px) !important;
        max-width: calc(33.333% - 12px) !important;
        margin: 6px !important;
        padding: 0 !important;
    }
}

/* ── Mobile (480px–767px): 2 cards ── */
@media (min-width: 480px) and (max-width: 767px) {
    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        margin: 6px !important;
        padding: 0 !important;
    }
}

/* ── Small mobile (under 480px): 1 card ── */
@media (max-width: 479px) {
    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        margin: 6px auto !important;
        padding: 0 !important;
    }
}

.poster-item {
    width: 100%;
    /* max-width: 500px; */
    /* limits card width */
    margin: 0 auto;
    /* centers it */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.poster-item img {
    width: 100%;
    display: block;
    /* natural proportions, no cropping */
    /* height: 500px;   */
}

#multi_image_a_d {
    margin-top: 12px;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

#multi_image_a_d .thumb-img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
}


.btn-buy-now {
    background: #ff6f00 !important;
    color: #fff !important;
    border: none;
}

.btn-buy-now:hover {
    background: #e85d00 !important;
}

.product-cta-row {
    display: flex;
    gap: 8px;
}

.product-cta-row>.btn-cart {
    flex: 1;
}


/* details customer review style for images and videos */

/* Review photo strip (display) */
.review-photos-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.review-photo-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e9ecef;
    transition: opacity .2s;
}

.review-photo-thumb:hover {
    opacity: .82;
}

/* Upload button & preview in modal */
.review-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px dashed #ccc;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: border-color .2s, color .2s;
    margin: 10px 0 8px;
}

.review-upload-label:hover {
    border-color: #000;
    color: #000;
}

.review-img-preview-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.rev-prev-item {
    position: relative;
}

.rev-prev-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.rev-prev-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

/* Video upload preview in modal */
.rev-video-preview {
    margin-top: 6px;
    margin-bottom: 10px;
}

.rev-video-preview video {
    width: 100%;
    max-height: 150px;
    border-radius: 8px;
    display: block;
    background: #000;
}

.rev-vid-remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
}

.rev-vid-remove:hover {
    background: #dc3545;
    color: #fff;
}

/* Video in review display */
.review-video-wrap {
    margin-top: 10px;
}

.review-video-wrap video {
    max-width: 280px;
    max-height: 200px;
    border-radius: 8px;
    display: block;
    background: #000;
}

/* Lightbox */
#rvLightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#rvLightbox.open {
    display: flex;
}

#rvLightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    object-fit: contain;
    cursor: default;
}

#rvLightboxClose {
    position: absolute;
    top: 14px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    -webkit-user-select: none;
    user-select: none;
}

/* Review media glam cards */
.review-glam-card {
    cursor: pointer;
}

.review-glam-card img,
.review-glam-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.review-glam-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .28) 65%, transparent 100%);
    padding: 44px 12px 12px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.review-glam-avatar {
    min-width: 32px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
    flex-shrink: 0;
}

.review-glam-meta {
    flex: 1;
    min-width: 0;
}

.review-glam-name {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-glam-stars {
    color: #ffc107;
    font-size: .72rem;
    line-height: 1.4;
}

.review-glam-desc {
    font-size: .72rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.4;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Review media full popup */
#rvMediaPopup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, .96);
    z-index: 10001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#rvMediaPopup.open {
    display: flex;
}

#rvMediaPopup .rv-media-wrap {
    width: min(400px, 92vw);
    max-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rvMediaPopup .rv-media-wrap img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

#rvMediaPopup .rv-media-wrap video {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 10px;
    display: block;
    background: #000;
}

#rvMediaPopup .rv-info-bar {
    width: min(400px, 92vw);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 0;
    color: #fff;
}

#rvMediaPopup .rv-info-avatar {
    min-width: 38px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .35);
    flex-shrink: 0;
}

#rvMediaPopup .rv-info-name {
    font-size: .88rem;
    font-weight: 700;
}

#rvMediaPopup .rv-info-stars {
    color: #ffc107;
    font-size: .82rem;
}

#rvMediaPopup .rv-info-desc {
    font-size: .78rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.5;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-popup-close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top, 16px));
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.rv-popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    font-size: 26px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-popup-nav.prev {
    left: 12px;
}

.rv-popup-nav.next {
    right: 12px;
}

.rv-popup-mute {
    position: absolute;
    top: max(16px, env(safe-area-inset-top, 16px));
    left: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

#rvGlamLoadMoreWrap {
    width: min(400px, 92vw);
    text-align: center;
    padding-bottom: 4px;
}

.rv-glam-load-more-btn {
    background: none;
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.rv-glam-load-more-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.rv-glam-load-more-btn:disabled {
    opacity: .5;
    cursor: default;
}

/* ── Product card grid inside full-width-section (details page) ──
   Mirrors the #card_list rules from category.css so the related /
   bought-together carousels get the same look. */

.full-width-section .product-card-item {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: unset !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
}

.full-width-section .product-card-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%);
    transform: skewX(-15deg);
    pointer-events: none;
}

.full-width-section .product-card-item:hover::after {
    animation: cardShine 0.6s ease forwards;
}

.full-width-section .product-card-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.full-width-section .product-card-item .product-img {
    width: calc(100% - 40px) !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 47px auto 0 auto !important;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    padding: 0;
    display: block;
    position: static !important;
    flex-shrink: 0;
    border-radius: 12px !important;
    clip-path: inset(0 round 12px) !important;
    transition: transform 0.3s ease;
}

.full-width-section .product-card-item:hover .product-img {
    transform: scale(1.03);
}

.full-width-section .product-card-item .product-details {
    padding: 12px 12px 0 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    position: static !important;
}

.full-width-section .product-card-item .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical !important;
    overflow: hidden;
    position: static !important;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    /* line-height: 1.5 ;
    min-height: 48px ; */

}

.full-width-section .product-card-item .product-benefit {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.full-width-section .product-card-item .product-meta-area {
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.full-width-section .product-card-item .btn-add-to-cart,
.full-width-section .product-card-item .btn-notify-me {
    margin-top: auto;
    margin-bottom: 12px;
    width: 100%;
    border-radius: 10px;
}

/* Container background (mirrors category.css pink gradient) */
.full-width-section .row.g-4 {
    background: linear-gradient(to right, #f9c0d0 0%, #f6d2de 40%, #f4d9e1 70%, #fffefe 100%);
    border-radius: 20px;
    padding: 25px 20px 25px 15px;
}

/* Badge positioning */
.full-width-section .product-card-item .badge-tag {
    position: absolute !important;
    top: 12px !important;
    left: 20px !important;
    z-index: 10 !important;
    margin: 0 !important;
    border-radius: 6px !important;
}

/* ── Responsive grid ── */
/* Large desktop: 4 cards */
@media (min-width: 1400px) {
    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
        margin: 6px !important;
        padding: 8px !important;
    }
}

/* Tablet / small desktop: 3 cards */
@media (min-width: 983px) and (max-width: 1250px) {
    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 calc(33.333% - 12px) !important;
        max-width: calc(33.333% - 12px) !important;
        margin: 6px !important;
        padding: 4px !important;
    }

    .full-width-section .product-card-item .product-img {
        clip-path: none !important;
        border-radius: 12px !important;
        margin-top: 44px !important;
    }
}

/* Mobile: 2 cards */
@media (max-width: 982px) {
    .full-width-section .row.g-4 {
        padding: 8px 6px !important;
        border-radius: 14px !important;
    }

    .full-width-section .row.g-4>[class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 12px !important;
        margin: 0 !important;
    }

    .full-width-section .product-card-item {
        margin: 0 auto !important;
        width: 100% !important;
    }
}


@media (max-width: 475px) {
    .full-width-section .row.g-4>[class*="col-"] {
        padding: 8px !important;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .full-width-section .row.g-4>[class*="col-"] {
        padding: 6px !important;
    }
}

.dUMgqb {
    --dUMgqb-height: 10px;
    --dUMgqb-color: #F2F2F2;
    width: 100%;
    margin: calc(var(--dUMgqb-height) + 10px) 0px;
    border-bottom: var(--dUMgqb-height) solid var(--dUMgqb-color);
}

.ingre-tooltip-wide .tooltip-inner {
    max-width: 360px;
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
    padding: 10px 14px;
}

.site-logo-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.site-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.ingre-desc-clamp {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
}

/* Ingredients List table: on narrow screens scroll sideways inside its own
   box instead of getting cropped. The min-width keeps the 4 columns readable
   rather than squashing them; the wrapper scrolls, the page body does not. */
.nv-ingre-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nv-ingre-table {
    min-width: 560px;
}