/* ============================================================
   Dea Shoppe — Product Detail (single-product) styles
   Combines every <style> block from the page + inline style=""
   ============================================================ */

/* ── Small utility classes (replaces inline style="display:none;") ── */
.spd-hidden          { display: none !important; }
.spd-hidden-inline   { display: none; }

/* Replaces the old page-level:
   .mob-gender-scroll, .btn-secondary overrides — kept in case theme uses them */
.mob-gender-scroll { display: none !important; }
.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}
.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* intl-tel-input inside Order Enquiry modal */
#orderEnquiryModal .iti { width: 100%; }
#orderEnquiryModal .iti__flag-container { z-index: 99999; }

/* ── Order Enquiry modal ── */
.product-summary-box img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
#enq-product-code { font-size: 12px; color: #888; margin-bottom: 2px; }
.enq-err { font-size: 12px; }
.optional-label { font-weight: 400; color: #888; font-size: 12px; }
.enq-note-en { margin-bottom: 3px; color: gray; font-weight: 600; }
.enq-note-ta { font-size: 12px; color: gray; font-weight: 600; }
.enq-global-error { font-size: 13px; }
#enquiry-success-msg { text-align: center; padding: 10px 0; }
#enquiry-success-msg .success-icon { font-size: 46px; color: #27ae60; margin-bottom: 8px; }
#enquiry-success-msg h4 { color: #222; font-weight: 700; }
#enquiry-success-msg p { color: #666; font-size: 13px; }

/* ── Share modal ── */
.share-modal .share-options-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.share-modal .share-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.share-modal .share-option-item:hover { background: #fafafa; border-color: #ddd; }
.share-modal .share-option-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.share-modal .share-option-icon.whatsapp { background: #25D366; }
.share-modal .share-option-icon.facebook { background: #1877F2; }
.share-modal .share-option-info { flex: 1; }
.share-modal .share-option-title { font-weight: 700; font-size: 14px; color: #222; }
.share-modal .share-option-desc { font-size: 12px; color: #888; }
.share-option-chev { color: #ccc; font-size: 12px; }
.share-modal .link-copy-label { font-weight: 600; font-size: 13px; color: #333; display: block; margin-bottom: 6px; }
.share-modal .copy-link-wrapper { display: flex; gap: 8px; }
.share-modal .product-link-input {
    flex: 1;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #444;
}
.share-modal .copy-link-btn {
    width: 42px;
    height: 38px;
    border-radius: 6px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ── Toast ── */
.copy-success-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 120%);
    background: #000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    z-index: 1000001;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.copy-success-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL (nspd-*) — 60 / 40 desktop split
   ═══════════════════════════════════════════════════════════════════════ */
.nspd-product-view {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
.nspd-gallery-col { flex: 0 0 calc(60% - 12px); max-width: calc(60% - 12px); box-sizing: border-box; }
.nspd-info-col    { flex: 0 0 calc(40% - 12px); max-width: calc(40% - 12px); box-sizing: border-box; }

@media (max-width: 991px) {
    .nspd-gallery-col,
    .nspd-info-col { flex: 1 1 100%; max-width: 100%; }
}

/* ---------- desktop grid gallery ---------- */
.nspd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nspd-grid--single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.nspd-grid-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    background: #f2efe9;
    cursor: zoom-in;
}
.nspd-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.nspd-grid-item:hover img { transform: scale(1.04); }

.nspd-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #f5bd41;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    pointer-events: none;
}
.nspd-play-icon svg { display: block; width: 100%; height: 100%; }
.nspd-play-icon circle { fill: transparent; }
.nspd-play-icon polygon { fill: #fff; }

.nspd-grid-item.nspd-flash { outline: 3px solid #c0392b; outline-offset: -3px; }

.nspd-grid-item:first-child::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.2' y2='16.2'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    pointer-events: none;
    z-index: 3;
}

.nspd-mobile { display: none; }

.nspd-mobile-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    cursor: pointer;
}
.nspd-mobile-zoom svg { display: block; width: 100%; height: 100%; }

/* ---------- lightbox ---------- */
.nspd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    background: black;
    padding: 40px 70px;
}
.nspd-lightbox.nspd-lightbox--open { display: flex; align-items: center; justify-content: center; }

.nspd-lb-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 900px; width: 100%; }
.nspd-lb-stage { display: flex; align-items: center; justify-content: center; max-height: 72vh; width: 100%; }
.nspd-lb-zoomwrap {
    display: flex;
    max-width: 100%;
    max-height: 72vh;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
    touch-action: none;
}
.nspd-lb-image {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .25s ease-out;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}
.nspd-lb-image.nspd-noanim { transition: none; }

@media (hover: hover) and (pointer: fine) {
    .nspd-lb-zoomwrap { cursor: zoom-in; }
    .nspd-lb-zoomwrap.nspd-is-zoomed { cursor: zoom-out; }
}

.nspd-lb-zoom-ctrl {
    display: flex;
    position: fixed;
    top: 76px;
    right: 28px;
    flex-direction: column;
    gap: 10px;
    z-index: 100002;
}
.nspd-lb-zoom-ctrl button {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.nspd-lb-zoom-ctrl button:hover { background: rgba(255, 255, 255, .18); }

@media (max-width: 767px) {
    .nspd-lb-zoom-ctrl { top: 12px; right: 58px; flex-direction: row; gap: 8px; }
    .nspd-lb-zoom-ctrl button { width: 38px; height: 38px; font-size: 22px; }
}

.nspd-lb-video-wrap { width: 100%; max-height: 72vh; background: #000; }
.nspd-lb-video { width: 100%; max-height: 72vh; display: block; }

.nspd-lb-close,
.nspd-lb-arrow {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    opacity: .9;
}
.nspd-lb-close:hover,
.nspd-lb-arrow:hover { opacity: 1; }

.nspd-lb-close {
    position: fixed;
    top: 22px;
    right: 28px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(0, 0, 0, .35);
    z-index: 100002;
}
.nspd-lb-close:hover { background: rgba(255, 255, 255, .18); }
.nspd-lb-close svg { width: 100%; height: 100%; }

.nspd-lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 100002;
}
.nspd-lb-arrow svg { width: 100%; height: 100%; }
.nspd-lb-prev { left: 26px; }
.nspd-lb-next { right: 26px; }

.nspd-lb-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 2px;
}
.nspd-lb-thumbs .nspd-lb-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 80px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: .65;
    border: 2px solid transparent;
    position: relative;
    transition: opacity .2s, border-color .2s;
    background: #fff;
}
.nspd-lb-thumbs .nspd-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nspd-lb-thumbs .nspd-lb-thumb.nspd-lb-thumb--active { opacity: 1; border-color: #fff; }
.nspd-lb-thumbs .nspd-lb-thumb .nspd-play-icon { width: 26px; height: 26px; border-width: 2px; }

@media (max-width: 767px) {
    .nspd-lightbox { padding: 16px; }
    .nspd-lb-arrow {
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .92);
        color: #333;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    }
    .nspd-lb-prev { left: 10px; }
    .nspd-lb-next { right: 10px; }
    .nspd-lb-close { top: 12px; right: 12px; width: 38px; height: 38px; padding: 8px; }
    .nspd-lb-thumbs .nspd-lb-thumb { flex: 0 0 48px; width: 48px; height: 62px; }
}

/* ---------- mobile slider ---------- */
@media (max-width: 991px) {
    .nspd-grid { display: none !important; }
    .nspd-mobile { display: block; position: relative; }
    .nspd-mobile-viewport { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #f2efe9; }
    .nspd-mobile-track { display: flex; width: 100%; height: 100%; }
    .nspd-mobile-slide {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        position: relative;
        cursor: zoom-in;
    }
    .nspd-mobile-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .nspd-mobile-fab-col {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 4;
    }
    .nspd-fab-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .92);
        border: none;
        display: none;
        align-items: center;
        justify-content: center;
        color: #333;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
        padding: 0;
    }
    .nspd-fab-btn svg { width: 18px; height: 18px; }
    .nspd-fab-wishlist.nspd-fab-active { color: #c0392b; }

    .nspd-mobile-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, .9);
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 4;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
        padding: 0;
    }
    .nspd-mobile-arrow svg { width: 16px; height: 16px; }
    .nspd-mobile-prev { left: 12px; }
    .nspd-mobile-next { right: 12px; }

    .nspd-dots {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 6px;
        z-index: 4;
    }
    .nspd-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .6);
        border: 1px solid rgba(0, 0, 0, .15);
        transition: all .2s;
    }
    .nspd-dot--active { background: #c0392b; border-color: #c0392b; width: 7px; }
}

/* ---------- product info ---------- */
.nspd-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}
.nspd-title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.nspd-share-btn {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    cursor: pointer;
    transition: all .2s;
}
.nspd-share-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    transform: translateY(-2px);
}

.nspd-meta-box { margin: 14px 0; }
.nspd-meta-row { margin-bottom: 6px; font-size: 14px; color: #333; }
.nspd-meta-label { font-weight: 600; color: #555; margin-right: 4px; }

.nspd-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.nspd-price-current { font-size: 1.3em; font-weight: 700; color: #000; }
.nspd-price-pills { display: none; flex-wrap: wrap; gap: 6px; }
.nspd-price-pill {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
    background: #4caf50 !important;
}
.nspd-pill-cad { background: #6a1b9a; }
.nspd-pill-chf { background: #c0392b; }
.nspd-pill-eur { background: #1a4fa0; }
.nspd-pill-lkr { background: #e67e22; }

.nspd-price-row--sub { margin-top: 2px; }
.nspd-price-original { color: #888; text-decoration: line-through; font-size: .95em; }
.nspd-price-discount-badge { color: #27ae60; font-weight: 700; font-size: .95em; }

@media (max-width: 767px) {
    .nspd-price-pill { font-size: 11px; padding: 3px 8px; }
}

/* ---------- options ---------- */
.nspd-option-group { margin-bottom: 16px; }
.nspd-option-label { font-weight: 600; margin-bottom: 8px; display: block; }
.nspd-option-selected { font-weight: 400; color: #555; }
.nspd-option-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nspd-option-list--color { gap: 10px; }
.nspd-option-list li label { cursor: pointer; margin: 0; display: block; }
.nspd-option-list input { display: none; }

.nspd-size-swatch {
    display: inline-block;
    min-width: 40px;
    padding: 5px 12px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    background: #fff;
    color: #333;
    transition: all .2s;
    user-select: none;
}
.nspd-size-swatch:hover { border-color: #c0392b; color: #c0392b; }
.nspd-size-swatch.nspd-selected {
    border-color: #c0392b;
    background: #fdeceb;
    color: #c0392b;
    font-weight: 600;
}

.nspd-color-swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: border .2s, transform .2s;
    vertical-align: middle;
}
.nspd-color-swatch:hover { transform: scale(1.1); }
.nspd-color-swatch.nspd-selected { border: 3px solid #b7b5b3; transform: scale(1.18); }

/* ---------- purchase box ---------- */
.nspd-purchase-box { margin-top: 26px; }
.nspd-soldout-alert {
    background: #fff3cd;
    border: 1px solid #ffe08a;
    color: #7a5b00;
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
}

.nspd-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nspd-qty-label { font-weight: 600; }
.nspd-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.nspd-qty-btn {
    width: 34px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
}
.nspd-qty-input {
    width: 46px;
    height: 38px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.nspd-btn-row { margin-bottom: 12px; }
.nspd-btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

.nspd-btn {
    flex: 1 1 0;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.nspd-btn:active { transform: scale(.99); }
.nspd-btn-cart { background: #fff; color: #000; border: solid 1px; }
.nspd-btn-cart:hover { background: #fff; color: #000; border: solid 1px; }
.nspd-btn-order { background: #000 !important; border: solid 1px !important; color: #fff !important; }
.nspd-btn-order:hover { background: #000 !important; border: solid 1px !important; color: #fff !important; }

/* ---------- accordion ---------- */
.nspd-tabs { margin-top: 30px; }
.nspd-accordion { border-top: 1px solid #e5e5e5; }
.nspd-acc-item { border-bottom: 1px solid #e5e5e5; }
.nspd-acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: none;
    border: none;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
}
.nspd-acc-header:hover { color: #000; }
.nspd-acc-title { flex: 1; }
.nspd-acc-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: #000;
}
.nspd-acc-item.nspd-acc-active .nspd-acc-header { color: #000; }
.nspd-acc-panel {
    display: none;
    padding: 0 4px 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}
.nspd-acc-item.nspd-acc-active .nspd-acc-panel { display: block; }

.nspd-attr-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.nspd-attr-table td { border: 1px solid #eee; padding: 8px 12px; font-size: 13px; }

/* ---------- rating chip ---------- */
.nspd-rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    padding: 3px 11px;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.nspd-rating-chip i { color: #f5a623; font-size: 12px; }
.nspd-rating-chip:hover { border-color: #000; color: #000; text-decoration: none; }
.nspd-rating-chip--empty { font-weight: 500; color: #777; }
.nspd-rating-chip--empty i { display: none; }
.nspd-acc-count { font-weight: 500; color: #888; font-size: 13px; margin-left: 2px; }

/* ---------- reviews ---------- */
.nspd-reviews-section { margin: 0; padding: 0; border: 0; }
.nspd-reviews-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #f0f0f0;
}
.nspd-reviews-summary-left { display: flex; align-items: center; gap: 8px; }
.nspd-reviews-avg { font-size: 16px; font-weight: 700; color: #222; display: flex; align-items: center; gap: 5px; }
.nspd-reviews-avg i.fa-star { font-size: 13px; color: #f5a623; }
.nspd-reviews-total { color: #777; font-size: 12.5px; }
.nspd-write-review-btn {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.nspd-write-review-btn:hover { background: #000; color: #fff; }

.nspd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c0392b #f1f1f1;
}
.nspd-reviews-list::-webkit-scrollbar { width: 6px; }
.nspd-reviews-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 6px; }
.nspd-reviews-list::-webkit-scrollbar-thumb { background: #c0392b; border-radius: 6px; }
.nspd-reviews-loading, .nspd-reviews-empty { color: #888; font-size: 13px; padding: 14px 0; text-align: center; }
.nspd-review-card { border: 1px solid #f0f0f0; border-radius: 8px; padding: 10px 12px; background: #fff; }
.nspd-review-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.nspd-reviewer-block { display: flex; align-items: flex-start; gap: 10px; }
.nspd-reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c10037;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.nspd-reviewer-meta-col { display: flex; flex-direction: column; gap: 1px; }
.nspd-review-name { font-weight: 700; font-size: 13px; color: #222; }
.nspd-review-subtitle { font-size: 11.5px; color: #1a9850; font-weight: 600; }
.nspd-review-stars { color: #f5a623; font-size: 12px; }
.nspd-review-date { font-size: 11px; color: #999; margin-left: 6px; font-weight: 400; }
.nspd-review-actions { display: none !important; }

.nspd-reviews-pagination { display: none; }
.nspd-page-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    font-size: 12.5px;
    cursor: pointer;
    color: #444;
}
.nspd-page-btn:hover:not(:disabled) { border-color: #c0392b; color: #c0392b; }
.nspd-page-btn.nspd-active { background: #c0392b; border-color: #c0392b; color: #fff; }
.nspd-page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- review modal ---------- */
.modal-dialog.nspd-rv-dialog { width: calc(100% - 24px); max-width: 400px; margin: 8vh auto; }
.nspd-review-modal-content { border: none; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.nspd-rv-head { display: flex; align-items: center; gap: 12px; padding: 16px 46px 16px 18px; background: #000; color: #fff; position: relative; }
.nspd-rv-head-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
}
.nspd-rv-title { margin: 0; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.nspd-rv-sub { margin: 2px 0 0; font-size: 12px; color: #fff; opacity: .85; }
.nspd-rv-close {
    position: absolute;
    top: 10px;
    right: 14px;
    color: #fff;
    opacity: .85;
    font-size: 26px;
    line-height: 1;
    text-shadow: none;
    background: none;
    border: 0;
    cursor: pointer;
}
.nspd-rv-close:hover { opacity: 1; color: #fff; }
.nspd-rv-body { padding: 18px 18px 6px; }
.nspd-review-star-group {
    text-align: center;
    padding: 4px 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #eee;
}
.nspd-star-rating { display: inline-flex; gap: 8px; font-size: 34px; color: #ddd; cursor: pointer; line-height: 1; }
.nspd-star-rating i { transition: color .15s, transform .15s; }
.nspd-star-rating i:hover { transform: scale(1.15); }
.nspd-star-rating i.active { color: #f5a623; }
.nspd-star-text { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #888; min-height: 18px; }
.nspd-review-form-group { margin-bottom: 14px; }
.nspd-review-form-group label { font-weight: 600; font-size: 12.5px; margin-bottom: 5px; display: block; color: #444; }
.nspd-rv-body .form-control { height: 40px; border-radius: 8px; border: 1px solid #ddd; box-shadow: none; font-size: 14px; }
.nspd-rv-body .form-control:focus { border-color: #c10037; box-shadow: 0 0 0 3px rgba(193, 0, 55, .10); }
.nspd-review-err { font-size: 12px; display: block; margin-top: 4px; min-height: 0; color: #c0392b; }
.nspd-rv-foot { display: flex; gap: 10px; padding: 8px 18px 18px; }
.nspd-rv-btn {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: opacity .2s;
}
.nspd-rv-btn--ghost { background: #f3f3f3; color: #555; }
.nspd-rv-btn--primary { background: #000; color: #fff; }
.nspd-rv-btn--primary:hover { opacity: .92; }
.nspd-rv-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- delete confirm ---------- */
.nspd-confirm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}
.nspd-confirm-overlay.nspd-confirm-active { display: flex; }
.nspd-confirm-box {
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    width: 92%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.nspd-confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fdeceb;
    color: #c0392b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}
.nspd-confirm-box h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #222; }
.nspd-confirm-box p { margin: 0 0 18px; font-size: 13px; color: #777; }
.nspd-confirm-actions { display: flex; gap: 10px; justify-content: center; }
.nspd-confirm-btn {
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.nspd-confirm-cancel { background: #f0f0f0; color: #444; }
.nspd-confirm-delete { background: #c0392b; color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   RELATED PRODUCTS
   ═══════════════════════════════════════════════════════════════════════ */
#relatedProductsModule .rel-prod-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}
#relatedProductsModule .rel-prod-col {
    display: flex !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    width: 25% !important;
    z-index: 0 !important;
}
@media (max-width: 991px) {
    #relatedProductsModule .rel-prod-col { width: 25% !important; }
}
@media (max-width: 767px) {
    #relatedProductsModule .rel-prod-col { width: 50% !important; }
}

#relatedProductsModule .lp-prod-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    cursor: pointer !important;
    width: 100% !important;
}
#relatedProductsModule .lp-prod-card:hover { transform: none !important; box-shadow: none !important; }

#relatedProductsModule .lp-prod-img-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    background: transparent !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
    line-height: 0 !important;
}
#relatedProductsModule .lp-prod-img-wrap::before { display: none !important; content: none !important; }
#relatedProductsModule .lp-prod-img-wrap .na-carousel-track {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
}
#relatedProductsModule .lp-prod-img-wrap img.na-carousel-img {
    object-fit: cover !important;
    object-position: center top !important;
}

#relatedProductsModule .lp-prod-badge {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    top: auto !important;
    right: auto !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 3px !important;
    z-index: 6 !important;
    background: #000 !important;
    color: #fff !important;
}

#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 6 !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn,
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    border: 1px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn:hover {
    background: #fff !important;
    border-color: #fff !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn:hover {
    background: #fff !important;
    border-color: #fff !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn span,
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn .pr-btn-text,
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn svg {
    display: none !important;
}
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn i,
#relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn i {
    font-size: 14px !important;
    line-height: 1 !important;
    color: #000 !important;
}

#relatedProductsModule .lp-prod-img-wrap .lp-prod-soldout {
    background: #888 !important;
    color: #fff !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    z-index: 6 !important;
}

#relatedProductsModule .lp-prod-info {
    padding: 10px 2px 4px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
#relatedProductsModule .lp-prod-meta {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #000 !important;
    line-height: 18px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
#relatedProductsModule .lp-prod-meta .lp-prod-code { font-weight: 600 !important; color: #6b6b6b !important; }
#relatedProductsModule .lp-prod-name {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: auto !important;
}
#relatedProductsModule .lp-prod-price-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
}
#relatedProductsModule .lp-prod-price-now { font-size: 15px !important; font-weight: 600 !important; color: #1a1a1a !important; }
#relatedProductsModule .lp-prod-price-mrp { font-size: 13px !important; text-decoration: line-through !important; color: #9a9a9a !important; }
#relatedProductsModule .lp-prod-off-pct { font-size: 13px !important; font-weight: 600 !important; color: #1eda18 !important; }

#relatedProductsModule .lp-prod-currency-badges {
    display: none !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 4px 0 6px !important;
}
#relatedProductsModule .lp-prod-currency-badges .na-price-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #fff !important;
    background: #4CAF50 !important;
}
#relatedProductsModule .lp-prod-currency-badges .na-price-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    opacity: 0.95 !important;
}
#relatedProductsModule .lp-prod-currency-badges .na-price-val { font-size: 10.5px !important; }

#relatedProductsModule .lp-prod-soldout-badge {
    background: #888;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

#relatedProductsModule .na-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.03);
    will-change: opacity, transform;
}
#relatedProductsModule .na-carousel-img.active { opacity: 1; z-index: 2; pointer-events: auto; }
#relatedProductsModule .na-carousel-dots {
    position: absolute;
    top: 8px;
    left: 8px;
    display: none;
    gap: 5px;
    z-index: 7;
    pointer-events: none;
}
#relatedProductsModule .na-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.25s, transform 0.25s;
}
#relatedProductsModule .na-carousel-dot.active { background: #fff; transform: scale(1.35); }

@media (max-width: 767px) {
    #relatedProductsModule .lp-prod-img-wrap { aspect-ratio: 3 / 4 !important; border-radius: 10px !important; }
    #relatedProductsModule .lp-prod-name { font-size: 13px !important; min-height: auto !important; }
    #relatedProductsModule .lp-prod-meta { font-size: 10.5px !important; line-height: 16px !important; }
    #relatedProductsModule .lp-prod-price-now { font-size: 14px !important; }
    #relatedProductsModule .lp-prod-price-mrp { font-size: 11.5px !important; }
    #relatedProductsModule .lp-prod-off-pct { font-size: 11.5px !important; }
    #relatedProductsModule .lp-prod-badge {
        font-size: 9.5px !important;
        padding: 4px 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        top: auto !important;
        right: auto !important;
    }
    #relatedProductsModule .lp-prod-img-wrap .lp-prod-actions { right: 8px !important; bottom: 8px !important; gap: 5px !important; }
    #relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn,
    #relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }
    #relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .na-add-to-cart-btn i,
    #relatedProductsModule .lp-prod-img-wrap .lp-prod-actions .order-now-btn.pr-order-now-btn i { font-size: 12px !important; }
    #relatedProductsModule .lp-prod-currency-badges { gap: 3px !important; margin: 3px 0 5px !important; flex-wrap: nowrap !important; }
    #relatedProductsModule .lp-prod-currency-badges .na-price-row { padding: 2px 5px !important; font-size: 9.5px !important; }
    #relatedProductsModule .lp-prod-currency-badges .na-price-label { font-size: 7px !important; }
    #relatedProductsModule .lp-prod-currency-badges .na-price-val { font-size: 7px !important; }
}

/* related products heading */
#relatedProductsModule .ns-related-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 10px 0 28px !important;
    text-align: center !important;
}
#relatedProductsModule .ns-section-title {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 500 !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    color: #1a1a1a !important;
    background: none !important;
    text-transform: none !important;
}
#relatedProductsModule .ns-title-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 340px !important;
    gap: 10px !important;
    margin: 0 auto !important;
}
#relatedProductsModule .ns-title-divider .ns-line {
    flex: 1 1 auto !important;
    height: 2.5px !important;
    background: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent) !important;
    position: relative !important;
}
#relatedProductsModule .ns-title-divider .ns-line::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #000 !important;
    transform: translateY(-50%) !important;
}
#relatedProductsModule .ns-title-divider .ns-line.ns-line-left::before { right: -3px !important; }
#relatedProductsModule .ns-title-divider .ns-line.ns-line-right::before { left: -3px !important; }
#relatedProductsModule .ns-title-divider .ns-ornament {
    flex: 0 0 auto !important;
    width: 32px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
}
#relatedProductsModule .ns-title-divider .ns-ornament svg { width: 100% !important; height: 100% !important; display: block !important; }

@media (max-width: 767px) {
    #relatedProductsModule .ns-related-head { margin: 6px 0 20px !important; }
    #relatedProductsModule .ns-section-title { font-size: 24px !important; margin-bottom: 4px !important; }
    #relatedProductsModule .ns-title-divider { max-width: 240px !important; }
    #relatedProductsModule .ns-title-divider .ns-ornament { width: 24px !important; height: 15px !important; }
}

/* ── misc leftover overrides from the original inline styles ── */
#inline-video-close-btn {
    z-index: 9999 !important;
    pointer-events: all !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#inline-video-wrap { z-index: 25 !important; }
#inline-video-player { width: 100% !important; height: 100% !important; object-fit: contain !important; }
#recent-purchase-popup { display: none !important; }

/* Video modal in product gallery (ntpv*) — was defined elsewhere in your theme, kept for safety */
.ntpv-modal-open { display: flex !important; }