.pdp-stock-status {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.pdp-stock-in {
    color: #15803d;
    background: #dcfce7;
}

.pdp-stock-out {
    color: #dc2626;
    background: #fee2e2;
}

.pdp-main-img-box {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    height: 400px !important;
    max-height: 400px !important;
    aspect-ratio: auto !important;
    background: #FAF6F0;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.pdp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
    -webkit-user-drag: none;
    user-select: none;
}

.pdp-thumb-btn:hover,
.pdp-thumb-btn.active {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.35) !important;
}

/* Mobile Carousel Dots inside Main Image Box */
.pdp-carousel-dots {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    gap: 6px;
    z-index: 5;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(28, 19, 13, 0.35);
    backdrop-filter: blur(4px);
}

.pdp-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pdp-carousel-dot.active {
    width: 18px;
    border-radius: 10px;
    background: var(--gold-bright, #D4A017);
}

@media (max-width: 991px) {
    .pdp-main-img-box {
        height: 350px !important;
        max-height: 350px !important;
        cursor: grab;
    }
}

@media (max-width: 768px) {
    .pdp-main-img-box {
        height: 290px !important;
        max-height: 290px !important;
        cursor: grab;
    }

    .pdp-carousel-dots {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pdp-main-img-box {
        height: 260px !important;
        max-height: 260px !important;
    }
}

#pdp-short-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

#pdp-short-desc p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   PDP COMPACT SPACING (REDUCE UNWANTED BLANK SPACE ACROSS ALL DEVICES)
   ========================================================================== */
.pdp-breadcrumb-bar,
#mobile-drawer + div {
    margin-top: 96px !important;
}

@media (max-width: 992px) {
    .pdp-breadcrumb-bar,
    #mobile-drawer + div {
        margin-top: 60px !important;
    }
}

@media (max-width: 768px) {
    .pdp-breadcrumb-bar,
    #mobile-drawer + div {
        margin-top: 54px !important;
    }
}

@media (max-width: 480px) {
    .pdp-breadcrumb-bar,
    #mobile-drawer + div {
        margin-top: 50px !important;
    }
}

.pdp-section {
    padding: 1.5rem 0 1.75rem !important;
}

.pdp-grid {
    gap: 2.25rem !important;
    margin-bottom: 1.75rem !important;
}

.pdp-badge-row {
    margin-bottom: 0.35rem !important;
}

.pdp-title {
    margin-bottom: 0.45rem !important;
}

.pdp-price-wrap {
    padding: 0.65rem 0 !important;
    margin-bottom: 0.85rem !important;
}

.pdp-sizes-wrap {
    margin-bottom: 0.9rem !important;
}

.pdp-size-chips-row {
    margin-top: 0.4rem !important;
}

.pdp-actions-row {
    margin-bottom: 0.9rem !important;
}

.pdp-tabs-wrap {
    padding: 1.35rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.pdp-tabs-nav {
    margin-bottom: 1rem !important;
}

#pdp-tab-desc-content p:last-child {
    margin-bottom: 0 !important;
}

.pdp-related-section {
    margin-top: 1.25rem !important;
    margin-bottom: 0 !important;
}

.pdp-related-header {
    margin-bottom: 0.85rem !important;
}

.pdp-related-header .section-tag {
    display: inline-block;
    margin-bottom: 0.15rem !important;
}

.pdp-related-title {
    margin: 0 !important;
    line-height: 1.2 !important;
}

@media (max-width: 991px) {
    .pdp-section {
        padding: 1.15rem 0 1.5rem !important;
    }

    .pdp-grid {
        gap: 1rem !important;
        margin-bottom: 1.35rem !important;
    }

    .pdp-tabs-wrap {
        padding: 1.15rem 1.15rem !important;
        margin-bottom: 1.25rem !important;
    }

    .pdp-related-section {
        margin-top: 1rem !important;
    }

    .pdp-related-header {
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .pdp-breadcrumb-bar {
        padding: 0.35rem 0 !important;
    }

    .pdp-section {
        padding: 0.75rem 0 1rem !important;
    }

    .pdp-grid {
        gap: 0.35rem !important;
        margin-bottom: 1.1rem !important;
    }

    .pdp-badge-row {
        margin-bottom: 0.2rem !important;
    }

    .pdp-title {
        margin: 0 0 0.5rem 0 !important;
    }

    .pdp-gallery-wrap {
        margin-bottom: 0.65rem !important;
    }

    .pdp-main-img-box {
        margin-bottom: 0.45rem !important;
    }

    .pdp-thumbs-row {
        padding-bottom: 0.1rem !important;
    }

    .pdp-price-wrap {
        padding: 0.5rem 0 !important;
        margin-bottom: 0.65rem !important;
    }

    .pdp-sizes-wrap {
        margin-bottom: 0.65rem !important;
    }

    .pdp-actions-row {
        margin-bottom: 0.65rem !important;
    }

    #pdp-short-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 0.25rem !important;
    }

    .pdp-tabs-wrap {
        padding: 0.9rem 0.85rem !important;
        margin-bottom: 1.1rem !important;
    }

    .pdp-tabs-nav {
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.35rem !important;
    }

    .pdp-related-section {
        margin-top: 0.85rem !important;
    }

    .pdp-related-header {
        margin-bottom: 0.65rem !important;
    }

    .pdp-related-title {
        font-size: 1.35rem !important;
    }

    #pdp-related-grid {
        padding: 0.15rem 0.1rem 0.35rem 0.1rem !important;
    }
}

@media (max-width: 480px) {
    .pdp-section {
        padding: 0.6rem 0 0.85rem !important;
    }

    .pdp-grid {
        margin-bottom: 0.9rem !important;
    }

    .pdp-tabs-wrap {
        padding: 0.8rem 0.75rem !important;
        margin-bottom: 0.9rem !important;
    }

    .pdp-related-section {
        margin-top: 0.65rem !important;
    }

    .pdp-related-header {
        margin-bottom: 0.5rem !important;
    }
}

.pdp-size-chip.active {
    background: #c99412;
    color: #fff;
    border-color: #c99412;
}

.pdp-size-error {
    color: #dc2626;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

/* ==========================================================================
   YOU MAY ALSO LOVE (#pdp-related-grid) - SINGLE ROW HORIZONTAL DRAG CAROUSEL
   Shows 2 full cards + a small portion of the 3rd card initially, slides on drag
   ========================================================================== */
#pdp-related-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 1rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0.15rem 0.85rem 0.15rem !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

#pdp-related-grid.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

#pdp-related-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#pdp-related-grid>.product-card {
    flex: 0 0 42% !important;
    width: 42% !important;
    min-width: 42% !important;
    max-width: 42% !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
    margin: 0 !important;
}

#pdp-related-grid>.product-card img {
    -webkit-user-drag: none;
    user-select: none;
}

#pdp-related-grid .product-price-row {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
}

#pdp-related-grid .product-price-row ins {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #1C130D !important;
    font-size: 0.88rem !important;
}

#pdp-related-grid .product-price-row del {
    font-size: 0.75rem !important;
    color: #8A7968 !important;
    font-weight: 400 !important;
}

@media (max-width: 768px) {
    #pdp-related-grid {
        gap: 10px !important;
        padding: 0.2rem 0.1rem 0.75rem 0.1rem !important;
    }

    #pdp-related-grid>.product-card {
        flex: 0 0 42.5% !important;
        width: 42.5% !important;
        min-width: 42.5% !important;
        max-width: 42.5% !important;
    }

    #pdp-related-grid .product-details {
        padding: 0.5rem 0.45rem !important;
    }

    #pdp-related-grid .product-category-name {
        font-size: 0.54rem !important;
        letter-spacing: 0.05em !important;
        margin-bottom: 0.12rem !important;
        display: block;
    }

    #pdp-related-grid .product-title {
        font-size: 0.72rem !important;
        line-height: 1.22 !important;
        margin-bottom: 0.25rem !important;
        min-height: 2.4em !important;
    }

    #pdp-related-grid .product-price-row,
    #pdp-related-grid .product-price-row .amount,
    #pdp-related-grid .product-price-row ins,
    #pdp-related-grid .product-price-row ins .amount {
        font-size: clamp(0.66rem, 2.5vw, 0.78rem) !important;
        font-weight: 700 !important;
        color: #1C130D !important;
        text-decoration: none !important;
    }

    #pdp-related-grid .product-price-row del,
    #pdp-related-grid .product-price-row del .amount {
        font-size: clamp(0.58rem, 2.1vw, 0.68rem) !important;
        font-weight: 400 !important;
        color: #8A7968 !important;
    }

    #pdp-related-grid .product-price-row {
        gap: 0.22rem !important;
    }
}