/**
 * NOOREXO — Atelier Product Detail Page (PDP) Stylesheet
 * High-fashion luxury aesthetic inspired by Net-A-Porter, The Row & Cos
 */

/* ============================================================
   BRAND TYPOGRAPHY SYSTEM
   Philosophy: "Cormorant Garamond speaks. Montserrat supports."
============================================================ */
.nx-pdp-container,
.nx-pdp-hero,
.nx-pdp-info,
.nx-pdp-modal {
    font-family: var(--nx-font-ui, 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nx-pdp-container button,
.nx-pdp-container input,
.nx-pdp-container select,
.nx-pdp-container textarea,
.nx-pdp-modal button,
.nx-pdp-modal input,
.nx-pdp-modal select,
.nx-pdp-modal textarea {
    font-family: var(--nx-font-ui, 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* ============================================================
   1. BREADCRUMBS
============================================================ */
.nx-pdp-breadcrumb {
    padding: 8px 0 10px;
    font-size: 0.75rem;
    color: #76746E;
    font-family: var(--nx-font-ui, 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    letter-spacing: 0.02em;
}

.nx-pdp-breadcrumb a {
    color: #76746E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nx-pdp-breadcrumb a:hover {
    color: #1F201B;
}

.nx-pdp-breadcrumb .divider {
    margin: 0 8px;
    color: #BBB8AF;
}

.nx-pdp-breadcrumb .current {
    color: #1F201B;
    font-weight: 500;
}

/* ============================================================
   2. MAIN HERO GRID (Gallery & Buy Box)
============================================================ */
.nx-pdp-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .nx-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .nx-pdp-info {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-info-sticky {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-cta-row {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 8px;
    }
    .nx-pdp-add-bag-btn {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 8px !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .nx-pdp-wishlist-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-trust-strip {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .nx-pdp-trust-item,
    .nx-pdp-trust-text {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-accordions,
    .nx-pdp-accordion-item,
    .nx-pdp-accordion-header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-pincode-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-pincode-input-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-pincode-input-wrap {
        flex: 1 1 140px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-pincode-input {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-breadcrumb {
        padding: 4px 0 6px;
        margin-bottom: 4px;
        font-size: 0.72rem;
    }
    .nx-pdp-hero {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 10px;
        margin-bottom: 18px;
        overflow-x: hidden;
    }
    .nx-pdp-gallery-wrap {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 8px;
    }
    .nx-pdp-main-viewport-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .nx-pdp-main-img-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: clamp(370px, 54vh, 470px) !important;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    .nx-pdp-thumbs-rail-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
    .nx-pdp-thumbs {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: auto;
    }
    .nx-pdp-top-meta {
        margin-bottom: 2px;
    }
    .nx-pdp-category-tag {
        font-size: 0.65rem;
    }
    .nx-pdp-title {
        font-size: 1.25rem;
        margin: 1px 0 2px;
        line-height: 1.2;
    }
    .nx-pdp-subtitle {
        font-size: 0.75rem;
        margin: 0 0 3px;
        line-height: 1.3;
    }
    .nx-pdp-rating-row {
        margin-bottom: 4px;
        font-size: 0.75rem;
    }
    .nx-pdp-price-wrap {
        margin-bottom: 0;
    }
    .nx-pdp-price-main {
        font-size: 1.25rem;
    }
    .nx-pdp-tax-note {
        margin: 0 0 6px;
        font-size: 0.65rem;
    }
    .nx-pdp-option-block {
        margin-bottom: 6px;
    }
    .nx-pdp-swatches {
        gap: 6px;
    }
    .nx-pdp-swatch-btn {
        width: 24px;
        height: 24px;
    }
    .nx-pdp-sizes {
        gap: 5px;
        margin-bottom: 4px;
    }
    .nx-pdp-size-btn {
        min-width: 36px;
        height: 30px;
        font-size: 0.72rem;
        padding: 0 8px;
    }
    .nx-pdp-stock-row {
        margin-bottom: 6px;
        font-size: 0.72rem;
    }
}

@media (min-width: 1024px) {
    .nx-pdp-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 36px;
        align-items: start;
    }
    .nx-pdp-gallery-wrap {
        width: 100%;
    }
    .nx-pdp-main-viewport-col {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .nx-pdp-main-img-box {
        width: 100%;
        max-width: 100%;
        height: 580px;
        aspect-ratio: unset;
    }
    .nx-pdp-thumbs-rail-wrap {
        height: 580px;
        max-height: 580px;
    }
}

/* ------------------------------------------------------------
   Gallery Component
------------------------------------------------------------ */
/* ------------------------------------------------------------
   Gallery Component
------------------------------------------------------------ */
.nx-pdp-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .nx-pdp-gallery-wrap {
        flex-direction: row;
        gap: 14px;
        align-items: flex-start;
    }
}

/* Mobile ordering: Main viewport on top (order: 1), Thumbnails rail below (order: 2) */
.nx-pdp-main-viewport-col {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nx-pdp-thumbs-rail-wrap {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .nx-pdp-thumbs-rail-wrap {
        order: 1;
        flex-direction: column;
        width: 78px;
        height: min(calc(100vh - 165px), 610px);
        max-height: min(calc(100vh - 165px), 610px);
        flex-shrink: 0;
    }

    .nx-pdp-main-viewport-col {
        order: 2;
        flex: 1;
        min-width: 0;
    }
}

/* Upper & Bottom Scroll Arrow Buttons (Desktop vertical rail only) */
.nx-pdp-thumb-arrow {
    display: none;
    width: 100%;
    height: 22px;
    background: #FAF8F5;
    border: 1px solid #E2DFD8;
    border-radius: 4px;
    color: #3E402F;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    z-index: 2;
}

@media (min-width: 768px) {
    .nx-pdp-thumb-arrow {
        display: flex;
    }
    .nx-pdp-thumb-arrow.up {
        margin-bottom: 6px;
    }
    .nx-pdp-thumb-arrow.down {
        margin-top: 6px;
    }
}

.nx-pdp-thumb-arrow:hover:not(.is-disabled) {
    background: #3E402F;
    color: #FFFFFF;
    border-color: #3E402F;
    box-shadow: 0 2px 6px rgba(62, 64, 47, 0.15);
}

.nx-pdp-thumb-arrow.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Thumbnails Track */
.nx-pdp-thumbs {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 2px;
    flex-shrink: 0;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.nx-pdp-thumbs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

@media (min-width: 768px) {
    .nx-pdp-thumbs {
        flex: 1;
        flex-direction: column;
        width: 78px;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: none;
        padding-bottom: 0;
        gap: 8px;
    }
}

.nx-pdp-thumb-item {
    width: 44px;
    height: 54px;
    border-radius: 3px;
    border: 1px solid #E2DFD8;
    background: #FAF8F5;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex: 0 0 44px;
}

@media (min-width: 768px) {
    .nx-pdp-thumb-item {
        width: 78px;
        height: 100px;
        border-radius: 4px;
        flex: 0 0 auto;
    }
}

.nx-pdp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nx-pdp-thumb-item.is-active {
    border: 2px solid #3E402F;
    box-shadow: 0 2px 8px rgba(62, 64, 47, 0.15);
}

.nx-pdp-thumb-item.is-video .video-badge {
    position: absolute;
    inset: 0;
    background: rgba(30, 31, 25, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: background 0.2s ease;
}

.nx-pdp-thumb-item.is-video:hover .video-badge {
    background: rgba(30, 31, 25, 0.6);
}

/* Main Image Viewport Box */
.nx-pdp-main-img-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #F4F2EE;
    border-radius: 6px;
    overflow: hidden;
    height: clamp(370px, 54vh, 470px);
    border: 1px solid #E8E6E0;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nx-pdp-main-img-box {
        height: min(calc(100vh - 165px), 560px);
        aspect-ratio: 3 / 4;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
}

.nx-pdp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity 0.22s ease, transform 0.22s ease;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.nx-pdp-main-img.is-sliding-next {
    animation: nxSlideImageNext 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nx-pdp-main-img.is-sliding-prev {
    animation: nxSlideImagePrev 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nxSlideImageNext {
    0% {
        opacity: 0.5;
        transform: translateX(18px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nxSlideImagePrev {
    0% {
        opacity: 0.5;
        transform: translateX(-18px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Left & Right Chevrons / Swipe Arrow Buttons */
.nx-pdp-gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #23241F;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
    pointer-events: auto;
    touch-action: manipulation;
    padding: 0;
}

.nx-pdp-gallery-nav-btn:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.nx-pdp-gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.92);
}

.nx-pdp-gallery-nav-btn.prev {
    left: 10px;
}

.nx-pdp-gallery-nav-btn.next {
    right: 10px;
}

.nx-pdp-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #22231E;
    transition: all 0.2s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nx-pdp-zoom-btn:hover {
    background: #FFFFFF;
    transform: scale(1.08);
}

.nx-pdp-zoom-btn:active {
    transform: scale(0.92);
}

/* Image Overlays for Mobile & Editorial View */
.nx-pdp-badge-bestseller-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2D2F24;
    color: #F8F6F0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.nx-pdp-wishlist-overlay-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.2s ease, background-color 0.2s ease;
    color: #23241F;
}

.nx-pdp-wishlist-overlay-btn:active {
    transform: scale(0.92);
}

.nx-pdp-counter-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 29, 24, 0.76);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 20;
    font-family: var(--nx-font-ui, 'Montserrat', sans-serif);
    pointer-events: none;
}

/* Gallery Bottom Actions (Watch Video directly below image) */
.nx-pdp-gallery-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
}

.nx-pdp-video-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    background: #FAF8F5;
    border: 1px solid #DFDCD4;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #3E402F;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nx-pdp-video-icon-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3E402F;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nx-pdp-video-pill-btn:hover {
    background: #3E402F;
    color: #FFFFFF;
    border-color: #3E402F;
    box-shadow: 0 4px 12px rgba(62, 64, 47, 0.18);
    transform: translateY(-1px);
}

.nx-pdp-video-pill-btn:hover .nx-pdp-video-icon-circle {
    background: #FFFFFF;
    color: #3E402F;
}

.nx-pdp-video-pill-btn:hover .nx-pdp-video-icon-circle svg {
    fill: #3E402F;
}

/* ------------------------------------------------------------
   Buy Box (Right Column)
------------------------------------------------------------ */
.nx-pdp-info {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nx-pdp-info-sticky {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .nx-pdp-info-sticky {
        position: sticky;
        top: 84px;
    }
}

.nx-pdp-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.nx-pdp-category-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #696C53;
}

.nx-pdp-top-right-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nx-pdp-sku-badge {
    font-size: 0.6875rem;
    color: #8C8A84;
    font-family: monospace, sans-serif;
    letter-spacing: 0.05em;
}

.nx-pdp-bestseller-badge {
    display: inline-block;
    background: #4A4C38;
    color: #F8F6F0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: capitalize;
    padding: 2px 8px;
    border-radius: 3px;
}

.nx-pdp-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.45rem, 2.1vw, 2.05rem);
    font-weight: 600;
    line-height: 1.15;
    color: #1D1E1A;
    margin: 2px 0 3px;
    letter-spacing: -0.01em;
}

.nx-pdp-subtitle {
    font-size: 0.8125rem;
    color: #63655D;
    line-height: 1.35;
    margin: 0 0 6px;
}

/* Rating Row */
.nx-pdp-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.nx-pdp-stars {
    color: #D9A441;
    letter-spacing: 2px;
    font-size: 0.8125rem;
}

.nx-pdp-rating-count {
    color: #55574F;
}

.nx-pdp-rating-link {
    color: #55574F;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nx-pdp-rating-link:hover {
    color: #1F201B;
}

/* Price Box */
.nx-pdp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
}

.nx-pdp-price-main {
    font-size: 1.45rem;
    font-weight: 600;
    color: #1D1E1A;
    font-family: var(--nx-font-ui, 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    letter-spacing: -0.02em;
}

.nx-pdp-price-original {
    font-size: 0.9375rem;
    color: #93918B;
    text-decoration: line-through;
}

.nx-pdp-tax-note {
    font-size: 0.6875rem;
    color: #8C8A84;
    margin: 0 0 8px;
}

/* Trust Assurance Strip (4 Pillars) */
.nx-pdp-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #FAF9F6;
    border: 1px solid #E6E4DF;
    border-radius: 4px;
    padding: 10px 12px;
    gap: 12px 10px;
    margin: 16px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .nx-pdp-trust-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 8px 12px;
        gap: 10px;
    }
}

.nx-pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nx-pdp-trust-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #4A4C38;
}

.nx-pdp-trust-text {
    min-width: 0;
}

.nx-pdp-trust-text strong {
    display: block;
    font-size: 0.75rem;
    color: #1D1E1A;
    font-weight: 600;
    line-height: 1.15;
}

.nx-pdp-trust-text span {
    display: block;
    font-size: 0.6875rem;
    color: #77756F;
    line-height: 1.15;
}

.nx-pdp-stock-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #2E7D32;
    margin-right: 5px;
}

/* Color Swatches */
.nx-pdp-option-block {
    margin-bottom: 8px;
}

.nx-pdp-option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1F201B;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
}

.nx-pdp-option-label strong {
    font-weight: 500;
    color: #63655D;
}

.nx-pdp-swatches {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nx-pdp-swatch-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, outline 0.2s ease;
}

.nx-pdp-swatch-btn.is-active {
    outline: 2px solid #3E402F;
    outline-offset: 2px;
    transform: scale(1.08);
}

/* Size Options */
.nx-pdp-size-guide-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #555747;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.nx-pdp-size-guide-trigger:hover {
    color: #1C1D1A;
}

.nx-pdp-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 5px;
}

.nx-pdp-size-btn {
    min-width: 40px;
    height: 34px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #D6D3CB;
    background: #FFFFFF;
    color: #1E1F1A;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nx-pdp-size-btn:hover {
    border-color: #3E402F;
}

.nx-pdp-size-btn.is-active {
    background: #252620;
    color: #FFFFFF;
    border-color: #252620;
}

.nx-pdp-size-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Stock Urgency Bar */
.nx-pdp-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.nx-pdp-stock-ready {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #484B36;
    font-weight: 600;
}

.nx-pdp-stock-ready::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #507A3E;
}

.nx-pdp-stock-low {
    color: #B53838;
    font-weight: 500;
    font-style: italic;
}

/* Quantity & Add to Bag Row */
.nx-pdp-cta-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.nx-pdp-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D0CDC5;
    border-radius: 4px;
    background: #FFFFFF;
    height: 42px;
}

.nx-pdp-qty-btn {
    width: 32px;
    height: 100%;
    border: none;
    background: none;
    font-size: 1rem;
    color: #33342D;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.nx-pdp-qty-btn:hover {
    background: #F4F2EC;
}

.nx-pdp-qty-input {
    width: 28px;
    border: none;
    background: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #1E1F1A;
}

.nx-pdp-add-bag-btn {
    flex: 1;
    height: 42px;
    background: #3E402F;
    color: #FFFFFF;
    border: 1px solid #3E402F;
    border-radius: 4px;
    font-size: 0.78125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

/* Responsive adjustments for compact screens (13" and 15" laptops with low viewport height) */
@media (min-width: 1024px) and (max-height: 780px) {
    .nx-pdp-breadcrumb {
        padding: 4px 0 6px;
    }
    .nx-pdp-hero {
        gap: 28px;
        margin-bottom: 24px;
    }

    .nx-pdp-thumb-arrow {
        height: 18px;
    }
    .nx-pdp-thumb-arrow.up {
        margin-bottom: 4px;
    }
    .nx-pdp-thumb-arrow.down {
        margin-top: 4px;
    }
    .nx-pdp-title {
        font-size: 1.4rem;
        margin: 1px 0 2px;
    }
    .nx-pdp-subtitle {
        font-size: 0.75rem;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .nx-pdp-rating-row {
        margin-bottom: 5px;
    }
    .nx-pdp-tax-note {
        margin-bottom: 5px;
    }
    .nx-pdp-trust-strip {
        padding: 4px 8px;
        margin-bottom: 6px;
    }
    .nx-pdp-option-block {
        margin-bottom: 5px;
    }
    .nx-pdp-stock-row {
        margin-bottom: 5px;
    }
    .nx-pdp-cta-row {
        margin-bottom: 6px;
    }
}

.nx-pdp-add-bag-btn:hover {
    background: #2A2B20;
    border-color: #2A2B20;
}

.nx-pdp-add-bag-btn:disabled {
    background: #9D9B94;
    border-color: #9D9B94;
    cursor: not-allowed;
}

/* Wishlist Button */
.nx-pdp-wishlist-btn {
    width: 100%;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #C8C5BD;
    border-radius: 4px;
    color: #23241F;
    font-size: 0.78125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.nx-pdp-wishlist-btn:hover {
    border-color: #1F201B;
    background: #FAF9F6;
}

.nx-pdp-wishlist-btn.is-active {
    background: #F4F3EE;
    color: #8C2D2D;
    border-color: #8C2D2D;
}

/* Delivery Pincode Box */
.nx-pdp-pincode-card {
    background: #FAF9F6;
    border: 1px solid #E6E4DF;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nx-pdp-pincode-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nx-pdp-pincode-input-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    border: 1px solid #D6D3CC;
    border-radius: 4px;
    background: #FFFFFF;
    overflow: hidden;
    box-sizing: border-box;
}

.nx-pdp-pincode-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    padding: 8px 12px;
    font-size: 0.8125rem;
    outline: none;
    color: #1E1F1A;
    box-sizing: border-box;
}

.nx-pdp-pincode-submit-btn {
    background: #3E402F;
    border: none;
    color: #FFFFFF;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nx-pdp-pincode-submit-btn:hover {
    background: #25261F;
}

.nx-pdp-dispatch-cutoff {
    font-size: 0.6875rem;
    color: #6C6E5A;
    font-weight: 500;
}

/* ============================================================
   3. 4-PILLAR VALUE PROPOSITION STRIP
============================================================ */
.nx-pdp-pillars {
    border-top: 1px solid #EAE7DF;
    border-bottom: 1px solid #EAE7DF;
    padding: 36px 0;
    margin: 48px 0 64px;
}

.nx-pdp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 1024px) {
    .nx-pdp-pillars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.nx-pdp-pillar-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nx-pdp-pillar-icon {
    width: 28px;
    height: 28px;
    color: #3E402F;
    flex-shrink: 0;
}

.nx-pdp-pillar-text strong {
    display: block;
    font-size: 0.8125rem;
    color: #1D1E1A;
    font-weight: 600;
    margin-bottom: 2px;
}

.nx-pdp-pillar-text span {
    display: block;
    font-size: 0.75rem;
    color: #79776F;
}

/* ============================================================
   4. FULL ATELIER PRODUCT DETAILS & SPECIFICATIONS SECTION
============================================================ */
.nx-pdp-details-section {
    margin: 48px 0 72px;
    padding-top: 36px;
    border-top: 1px solid #EAE7DF;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .nx-pdp-details-section {
        margin: 64px 0 84px;
        padding-top: 48px;
    }
}

.nx-pdp-details-header {
    margin-bottom: 36px;
    max-width: 820px;
}

.nx-pdp-story-overline {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #696C53;
    display: block;
    margin-bottom: 8px;
}

.nx-pdp-story-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 400;
    line-height: 1.14;
    color: #1C1D1A;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.nx-pdp-story-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #55574F;
    margin: 0;
}

.nx-pdp-details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .nx-pdp-details-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 56px;
    }
}

.nx-pdp-details-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nx-pdp-details-subheading {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: #1C1D1A;
    margin: 0 0 14px;
    line-height: 1.25;
}

.nx-pdp-details-lead-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #585A52;
    margin: 0 0 20px;
}

.nx-pdp-checkmarks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .nx-pdp-checkmarks {
        grid-template-columns: 1fr 1fr;
        gap: 14px 18px;
    }
}

.nx-pdp-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1E1F1A;
}

.nx-pdp-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3E402F;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    flex-shrink: 0;
}

/* Fabric Certified Spec Card */
.nx-pdp-spec-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #FAF9F6;
    border: 1px solid #E6E4DF;
    border-radius: 6px;
    padding: 16px 18px;
    margin-top: 20px;
    box-sizing: border-box;
}

.nx-pdp-spec-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(62, 64, 47, 0.08);
    color: #3E402F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nx-pdp-spec-card-content h4 {
    margin: 0 0 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1D1E1A;
}

.nx-pdp-spec-card-content p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #63655D;
}

/* Technical Specifications Table */
.nx-pdp-specs-table-wrap {
    width: 100%;
    max-width: 100%;
    border: 1px solid #E6E4DF;
    border-radius: 6px;
    overflow: hidden;
    background: #FFFFFF;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.nx-pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    text-align: left;
}

.nx-pdp-specs-table tr {
    border-bottom: 1px solid #EFECE5;
}

.nx-pdp-specs-table tr:last-child {
    border-bottom: none;
}

.nx-pdp-specs-table th {
    padding: 11px 14px;
    background: #FAF9F6;
    font-weight: 600;
    color: #3A3B32;
    width: 38%;
    vertical-align: top;
    border-right: 1px solid #EFECE5;
}

.nx-pdp-specs-table td {
    padding: 11px 14px;
    color: #55574F;
    line-height: 1.5;
    vertical-align: top;
}

/* Model Fit Badge Card */
.nx-pdp-model-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FAF8F5;
    border-left: 3px solid #3E402F;
    padding: 12px 14px;
    border-radius: 0 4px 4px 0;
    box-sizing: border-box;
}

.nx-pdp-model-stat-badge {
    background: #3E402F;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.nx-pdp-model-stat-body strong {
    display: block;
    font-size: 0.8125rem;
    color: #1E1F1A;
    margin-bottom: 2px;
}

.nx-pdp-model-stat-body p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #6A6C60;
}

/* Garment Measurements Section */
.nx-pdp-measurements-section {
    background: #FAF9F6;
    border: 1px solid #E6E4DF;
    border-radius: 6px;
    padding: 22px;
    margin-bottom: 36px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nx-pdp-measurements-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.nx-pdp-measurements-note {
    font-size: 0.72rem;
    color: #79776E;
    font-style: italic;
}

.nx-pdp-measurements-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #E2DFD6;
    border-radius: 4px;
    background: #FFFFFF;
}

.nx-pdp-measurements-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.8125rem;
    text-align: left;
}

.nx-pdp-measurements-table th {
    background: #F2EFE9;
    padding: 10px 14px;
    font-weight: 600;
    color: #2D2E26;
    border-bottom: 1px solid #DFDBD1;
    white-space: nowrap;
}

.nx-pdp-measurements-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #EDE9E1;
    color: #4C4E44;
    white-space: nowrap;
}

.nx-pdp-measurements-table tr:last-child td {
    border-bottom: none;
}

.nx-pdp-measurements-table tr.is-active-size td {
    background: #F4F3EE;
    font-weight: 600;
    color: #1E1F1A;
}

/* 3-Card Information Grid (Care, Shipping, Returns) */
.nx-pdp-info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .nx-pdp-info-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

.nx-pdp-info-card {
    background: #FFFFFF;
    border: 1px solid #E6E4DF;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
}

.nx-pdp-info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EFECE5;
}

.nx-pdp-info-card-header h4 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1D1E1A;
}

.nx-pdp-info-card-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #55574F;
}

.nx-pdp-info-card-list li {
    margin-bottom: 8px;
}

.nx-pdp-info-card-list li:last-child {
    margin-bottom: 0;
}

/* In-Buybox Jump Link to Full Specs */
.nx-pdp-jump-details-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #FAF9F6;
    border: 1px solid #E6E4DF;
    border-radius: 4px;
    font-size: 0.78125rem;
    font-weight: 600;
    color: #3E402F;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.nx-pdp-jump-details-link:hover {
    background: #F2EFE9;
    border-color: #3E402F;
    color: #1E1F1A;
}

/* Right Accordions Column */
.nx-pdp-accordions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0 24px;
    border-top: none;
}

.nx-pdp-accordion-item {
    border: 1px solid #E8E5DF;
    border-radius: 4px;
    background: #FFFFFF;
    transition: all 0.2s ease;
    overflow: hidden;
}

.nx-pdp-accordion-item:hover {
    border-color: #C8C5BD;
}

.nx-pdp-accordion-item.is-open {
    border-color: #3E402F;
}

.nx-pdp-accordion-header {
    width: 100%;
    padding: 13px 16px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E1F1A;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.nx-pdp-accordion-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nx-pdp-accordion-icon-left {
    width: 18px;
    height: 18px;
    color: #4A4C38;
    flex-shrink: 0;
}

.nx-pdp-accordion-header:hover {
    color: #4A4C38;
}

.nx-pdp-accordion-icon {
    font-size: 1.125rem;
    font-weight: 300;
    color: #6C6E66;
    transition: transform 0.25s ease;
}

.nx-pdp-accordion-body {
    display: none;
    padding: 0 16px 14px 46px;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #585A52;
}

.nx-pdp-accordion-item.is-open .nx-pdp-accordion-body {
    display: block;
}

.nx-pdp-accordion-item.is-open .nx-pdp-accordion-icon {
    transform: rotate(45deg);
}

/* ============================================================
   5. CUSTOMER REVIEWS SECTION
============================================================ */
.nx-pdp-reviews-section {
    margin-bottom: 72px;
}

.nx-pdp-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.nx-pdp-reviews-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nx-pdp-reviews-view-all {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1D1E1A;
    text-decoration: underline;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nx-pdp-reviews-view-all:hover {
    color: #4A4C38;
}

.nx-pdp-reviews-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 400;
    color: #1C1D1A;
    margin: 0;
}

.nx-pdp-reviews-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
}

.nx-pdp-reviews-score-val {
    font-weight: 600;
    color: #1C1D1A;
}

.nx-pdp-reviews-score-sub {
    color: #79776F;
}

.nx-pdp-write-review-btn {
    padding: 9px 22px;
    border-radius: 4px;
    border: 1px solid #C8C5BC;
    background: #FFFFFF;
    color: #23241F;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nx-pdp-write-review-btn:hover {
    border-color: #1F201B;
    background: #FAF9F6;
}

/* Reviews Carousel Navigation */
.nx-pdp-reviews-carousel-outer {
    position: relative;
}

.nx-pdp-reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #23241F;
    z-index: 5;
    transition: all 0.2s ease;
}

.nx-pdp-reviews-nav-btn:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.nx-pdp-reviews-nav-btn.prev {
    left: -14px;
}

.nx-pdp-reviews-nav-btn.next {
    right: -14px;
}

/* Reviews Carousel Grid */
.nx-pdp-reviews-wrap {
    position: relative;
}

.nx-pdp-reviews-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .nx-pdp-reviews-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .nx-pdp-reviews-track::-webkit-scrollbar {
        display: none;
    }
    .nx-pdp-review-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
    .nx-pdp-reviews-nav-btn.prev {
        left: 4px;
    }
    .nx-pdp-reviews-nav-btn.next {
        right: 4px;
    }
}

@media (min-width: 640px) and (min-width: 769px) {
    .nx-pdp-reviews-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nx-pdp-reviews-track {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nx-pdp-review-card {
    background: #FFFFFF;
    border: 1px solid #E8E6E0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nx-pdp-review-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.nx-pdp-review-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #F4F2EC;
    display: block;
}

.nx-pdp-review-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nx-pdp-review-headline {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1C1D1A;
    margin: 8px 0 6px;
}

.nx-pdp-review-body {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #55574F;
    margin: 0 0 14px;
    flex: 1;
}

.nx-pdp-review-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1E1F1A;
    margin-bottom: 4px;
}

.nx-pdp-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.6875rem;
}

.nx-pdp-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4A4C38;
    font-weight: 600;
}

.nx-pdp-review-date {
    color: #8C8A83;
}

/* Reviews Actions & See More Controls */
.nx-pdp-reviews-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.nx-pdp-see-more-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid #1E201B;
    background: #1E201B;
    color: #F7F5F0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nx-pdp-see-more-reviews-btn:hover {
    background: #3E402F;
    border-color: #3E402F;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(62, 64, 47, 0.2);
}

.nx-pdp-see-more-reviews-btn svg {
    transition: transform 0.25s ease;
}

.nx-pdp-reviews-wrap.is-expanded .nx-pdp-see-more-reviews-btn svg {
    transform: rotate(180deg);
}

.nx-pdp-all-reviews-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid #D6D3CC;
    background: #FFFFFF;
    color: #2F3129;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nx-pdp-all-reviews-modal-btn:hover {
    background: #FAF8F5;
    border-color: #1E201B;
    color: #1E201B;
}

/* Extra reviews toggling */
.nx-pdp-review-card.is-extra-review {
    display: none;
}

.nx-pdp-reviews-wrap.is-expanded .nx-pdp-review-card.is-extra-review {
    display: flex;
    animation: nxFadeInReview 0.35s ease forwards;
}

@keyframes nxFadeInReview {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   6. "YOU MAY ALSO LIKE" SECTION
============================================================ */
.nx-pdp-related-section {
    margin-bottom: 72px;
}

.nx-pdp-related-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.nx-pdp-related-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 400;
    color: #1C1D1A;
    margin: 0;
}

.nx-pdp-related-view-all {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1D1E1A;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.nx-pdp-related-view-all:hover {
    color: #4A4C38;
}

.nx-pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .nx-pdp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .nx-pdp-related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.nx-pdp-rec-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1E1F1A;
    margin: 0 0 4px;
    text-decoration: none;
    line-height: 1.35;
}

.nx-pdp-rec-title:hover {
    text-decoration: underline;
}

.nx-pdp-rec-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
}

.nx-pdp-rec-price {
    font-weight: 600;
    color: #1D1E1A;
}

.nx-pdp-rec-stars {
    color: #D9A441;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.nx-pdp-rec-rating-text {
    color: #79776F;
    font-size: 0.75rem;
}

/* ============================================================
   7. NEWSLETTER BAR
============================================================ */
.nx-pdp-newsletter {
    background: #F7F5F0;
    border-top: 1px solid #E6E4DF;
    border-bottom: 1px solid #E6E4DF;
    padding: 40px 0;
}

.nx-pdp-newsletter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nx-pdp-newsletter-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 400;
    color: #1C1D1A;
    margin: 0 0 4px;
}

.nx-pdp-newsletter-desc {
    font-size: 0.8125rem;
    color: #6C6E66;
    margin: 0;
}

.nx-pdp-newsletter-form {
    display: flex;
    width: 100%;
    max-width: 440px;
    border: 1px solid #D6D3CC;
    border-radius: 4px;
    background: #FFFFFF;
    overflow: hidden;
}

.nx-pdp-newsletter-input {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-size: 0.8125rem;
    outline: none;
}

.nx-pdp-newsletter-submit {
    background: #3E402F;
    border: none;
    color: #FFFFFF;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nx-pdp-newsletter-submit:hover {
    background: #25261F;
}

/* ============================================================
   8. MODALS (Size Guide, Video, Write Review)
============================================================ */
.nx-pdp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 31, 27, 0.72);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.nx-pdp-modal.is-open {
    display: flex;
}

.nx-pdp-modal-dialog {
    background: #FFFFFF;
    border-radius: 6px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.nx-pdp-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #7A7871;
    transition: color 0.2s ease;
}

.nx-pdp-modal-dialog h3,
.nx-pdp-modal-title {
    font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nx-pdp-modal-dialog button,
.nx-pdp-modal-dialog input,
.nx-pdp-modal-dialog textarea,
.nx-pdp-modal-dialog select,
.nx-pdp-modal-dialog table {
    font-family: var(--nx-font-ui, 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* ============================================================
   STICKY MOBILE ADD TO CART BAR
============================================================ */
.nx-pdp-sticky-bar {
    display: none;
}

@media (max-width: 767px) {
    .nx-pdp-sticky-bar {
        display: block;
        position: fixed;
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid #E6E4DF;
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.05);
        padding: 6px 14px;
        z-index: 190;
        animation: nxSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    body {
        padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .nx-pdp-sticky-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        max-width: 540px;
        margin: 0 auto;
    }

    .nx-pdp-sticky-left {
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 1 1 auto;
    }

    .nx-pdp-sticky-text {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .nx-pdp-sticky-title {
        font-family: var(--nx-font-editorial, 'Cormorant Garamond', Georgia, serif);
        font-size: 0.85rem;
        font-weight: 600;
        color: #1C1D1A;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.15;
    }

    .nx-pdp-sticky-price {
        font-size: 0.8rem;
        font-weight: 600;
        color: #3E402F;
        margin-top: 1px;
        font-family: var(--nx-font-ui, 'Montserrat', sans-serif);
        line-height: 1.15;
    }

    .nx-pdp-sticky-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .nx-pdp-sticky-qty {
        display: inline-flex;
        align-items: center;
        border: 1px solid #D6D3CC;
        border-radius: 3px;
        background: #FAF8F5;
        height: 34px;
        flex-shrink: 0;
    }

    .nx-pdp-sticky-qty-btn {
        width: 26px;
        height: 100%;
        background: none;
        border: none;
        font-size: 0.95rem;
        font-weight: 500;
        color: #2F3124;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .nx-pdp-sticky-qty-btn:active {
        background: #ECEAE4;
    }

    .nx-pdp-sticky-qty-val {
        width: 20px;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: #1F201B;
    }

    .nx-pdp-sticky-add-btn {
        height: 34px;
        padding: 0 16px;
        background: #3E402F;
        color: #FFFFFF;
        border: 1px solid #3E402F;
        border-radius: 3px;
        font-family: var(--nx-font-ui, 'Montserrat', sans-serif);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(62, 64, 47, 0.2);
        transition: background 0.2s ease, transform 0.15s ease;
    }

    .nx-pdp-sticky-add-btn:active {
        background: #2B2C20;
        transform: scale(0.98);
    }
}

@keyframes nxSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
