﻿.pd-store-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 20px;
}

.pd-store-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 13px;
}

    .pd-store-info > .bi-shop {
        font-size: 22px;
        color: #f97316;
        flex-shrink: 0;
    }

.pd-store-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1;
    margin-bottom: 2px;
}

.pd-store-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.pd-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #111827;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, transform .15s;
    flex-shrink: 0;
}

    .pd-store-btn:hover {
        background: #f97316;
        transform: translateY(-1px);
    }

@media (max-width: 480px) {
    .pd-store-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-store-btn {
        width: 100%;
        justify-content: center;
    }
}
.pd-wrap {
    background: #f8f9fb;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    overflow-x: hidden;
}

.pd-breadcrumb-bar {
   
    border-bottom: 1px solid #f3f4f6;
    padding: 16px 0 0;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    flex-wrap: wrap;
}

    .pd-breadcrumb li {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #9ca3af;
    }

        .pd-breadcrumb li::after {
            content: '/';
            color: #d1d5db;
        }

        .pd-breadcrumb li:last-child::after {
            display: none;
        }

    .pd-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
        transition: color .2s;
    }

        .pd-breadcrumb a:hover {
            color: #f97316;
        }

    .pd-breadcrumb li:last-child {
        color: #111827;
        font-weight: 600;
    }

.pd-section {
    padding: 2.5rem 0;
}
.pd-gallery-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 68px;
    flex-shrink: 0;
    max-height: 460px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.pd-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .18s, transform .12s, box-shadow .18s;
    background: #f3f4f6;
}

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

    .pd-thumb.active {
        border-color: #f97316;
        box-shadow: 0 0 0 2px rgba(249,115,22,.2);
    }

    .pd-thumb:hover:not(.active) {
        border-color: #9ca3af;
        transform: scale(1.04);
    }

.pd-main-wrap {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    aspect-ratio: 1/1;
    max-width: 100%;
    position: relative;
    cursor: crosshair;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.pd-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity .13s;
    pointer-events: none;
}

.pg-lens {
    display: none;
    position: absolute;
    border: 1.5px solid rgba(249,115,22,.4);
    border-radius: 6px;
    background: rgba(249,115,22,.06);
    backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 0 9999px rgba(0,0,0,.14);
}

.pg-zoom-result {
    display: none;
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    pointer-events: none;
}

.pd-no-image {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 13px;
    gap: 8px;
}

@media (max-width: 575.98px) {
    .pd-gallery-wrap {
        flex-direction: column-reverse;
    }

    .pd-thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .pd-thumb {
        flex-shrink: 0;
    }
}

.pd-right {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    padding: 1.5rem 1.6rem 1.75rem;
    height: fit-content;
}

.pd-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 1rem;
}

/* Price */
.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.pd-price-cur {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f97316;
    line-height: 1;
}

.pd-price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
}

.pd-discount-badge {
    display: inline-flex;
    align-items: center;
    background: #fef2f2;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    border: 1px solid #fecaca;
}

/* Stock / availability */
.pd-stock-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 12px;
    color: #6b7280;
}

    .pd-stock-row i {
        color: #f97316;
    }

.pd-stock-in {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    font-weight: 600;
    font-size: 12px;
}

    .pd-stock-in::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #10b981;
        display: inline-block;
    }

.pd-stock-out {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-weight: 600;
    font-size: 12px;
}

    .pd-stock-out::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ef4444;
        display: inline-block;
    }

/* Description */
.pd-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.pd-variant-section {
    margin-bottom: 1rem;
}

.pd-variant-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .pd-variant-label .pd-selected-val {
        font-size: 13px;
        font-weight: 600;
        color: #111827;
        text-transform: none;
        letter-spacing: 0;
    }

.pd-color-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.pd-color-opt {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, outline-color .15s;
    position: relative;
}

    .pd-color-opt:hover {
        transform: scale(1.15);
        outline-color: #d1d5db;
        outline-offset: 2px;
    }

    .pd-color-opt.selected {
        border-color: #fff;
        outline: 2.5px solid #f97316;
        outline-offset: 2px;
        transform: scale(1.1);
    }

    /* Color tooltip */
    .pd-color-opt::after {
        content: attr(data-name);
        position: absolute;
        bottom: 36px;
        left: 50%;
        transform: translateX(-50%);
        background: #111827;
        color: #fff;
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 6px;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity .15s;
        z-index: 10;
    }

    .pd-color-opt:hover::after {
        opacity: 1;
    }

/* Size pills */
.pd-size-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.pd-size-opt {
    min-width: 40px;
    height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #374151;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all .18s;
    user-select: none;
}

    .pd-size-opt:hover {
        border-color: #f97316;
        color: #f97316;
        background: #fff7ed;
    }

    .pd-size-opt.selected {
        background: #111827;
        color: #fff;
        border-color: #111827;
    }

/* Validation message */
.pd-required-msg {
    display: none;
    font-size: 11px;
    color: #ef4444;
    margin-top: 4px;
    align-items: center;
    gap: 4px;
}

    .pd-required-msg.show {
        display: flex;
    }

.pd-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

/* Qty stepper */
.pd-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    height: 42px;
}

.pd-qty-btn {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: background .18s, color .18s;
    line-height: 1;
    padding: 0;
}

    .pd-qty-btn:hover {
        background: #f3f4f6;
        color: #111827;
    }

.pd-qty-display {
    min-width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    padding: 0 4px;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
}

/* Add to cart button */
.pd-atc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 1.5rem;
    height: 42px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background .22s, transform .18s, box-shadow .22s;
    white-space: nowrap;
}

    .pd-atc-btn:hover {
        background: #f97316;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(249,115,22,.35);
    }

.pd-meta {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    flex-wrap: wrap;
}

.pd-meta-key {
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
    min-width: 36px;
}

.pd-meta-val {
    color: #374151;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pd-tag-link {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 11px;
    color: #374151;
    text-decoration: none;
    transition: all .18s;
}

    .pd-tag-link:hover {
        border-color: #f97316;
        color: #f97316;
        background: #fff7ed;
    }

.pd-tabs-section {
    padding: 2rem 0;
}

.pd-tabs-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
}

    .pd-tabs-card .nav-tabs {
        border-bottom: 1px solid #f3f4f6;
        padding: 0 1.5rem;
        gap: 0;
        flex-wrap: wrap;
    }

        .pd-tabs-card .nav-tabs .nav-link {
            font-size: 13px;
            font-weight: 600;
            color: #6b7280;
            border: none;
            border-bottom: 2.5px solid transparent;
            border-radius: 0;
            padding: 14px 18px 12px;
            transition: color .2s, border-color .2s;
            background: none;
        }

            .pd-tabs-card .nav-tabs .nav-link:hover {
                color: #111827;
            }

            .pd-tabs-card .nav-tabs .nav-link.active {
                color: #f97316;
                border-bottom-color: #f97316;
                background: none;
            }

.pd-tab-body {
    padding: 1.5rem;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.75;
}

/* Review form */
.pd-review-form {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

    .pd-review-form label {
        font-size: 12px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 5px;
        display: block;
    }

    .pd-review-form textarea,
    .pd-review-form input[type="text"] {
        width: 100%;
        border: 1.5px solid #e5e7eb;
        border-radius: 9px;
        padding: 9px 12px;
        font-size: 13px;
        color: #111827;
        background: #f9fafb;
        transition: border-color .2s;
        outline: none;
        margin-bottom: 12px;
    }

    .pd-review-form textarea {
        min-height: 90px;
        resize: vertical;
    }

        .pd-review-form textarea:focus,
        .pd-review-form input[type="text"]:focus {
            border-color: #f97316;
            background: #fff;
        }

.pd-review-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background .22s;
}

    .pd-review-submit:hover {
        background: #f97316;
    }

/* ── Related products section ─────────────────────────── */
.pd-related-section {
    padding: 2rem 0 3rem;
}

.pd-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 4px;
}

.pd-section-title {
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.pd-related-section {
    background: #f8f9fb;
}

.pd-rel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.pd-rel-outer {
    position: relative;
}

.pd-rel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
    transition: all .22s;
    flex-shrink: 0;
    line-height: 1;
}

    .pd-rel-btn:hover {
        background: #f97316;
        border-color: #f97316;
        color: #fff;
        box-shadow: 0 4px 14px rgba(249,115,22,.3);
    }

    .pd-rel-btn:disabled {
        opacity: .3;
        cursor: not-allowed;
        pointer-events: none;
    }

.pd-rel-btn-prev {
    left: -18px;
}

.pd-rel-btn-next {
    right: -18px;
}

.pd-rel-viewport {
    overflow: hidden;
    width: 100%;
}

.pd-rel-track {
    display: flex;
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.pd-rel-slide {
    flex: 0 0 auto;
    padding: 0 6px;
    box-sizing: border-box;
}

.pd-rel-card {
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}

    .pd-rel-card:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,.13);
        transform: translateY(-4px);
    }

.pd-rel-img {
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

    .pd-rel-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
        display: block;
    }

.pd-rel-card:hover .pd-rel-img img {
    transform: scale(1.06);
}

.pd-rel-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    z-index: 2;
    letter-spacing: .02em;
}

.pd-rel-noimg {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #d1d5db;
}

    .pd-rel-noimg i {
        font-size: 1.6rem;
    }

.pd-rel-body {
    padding: 9px 10px 11px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pd-rel-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 9px;
    color: #d1d5db;
    margin-bottom: 4px;
}

    .pd-rel-stars .rfs {
        color: #f59e0b;
    }

    .pd-rel-stars .rrc {
        color: #9ca3af;
        font-size: 9px;
        margin-left: 2px;
    }

.pd-rel-name {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    flex: 1;
    transition: color .2s;
}

    .pd-rel-name:hover {
        color: #f97316;
    }

.pd-rel-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 6px;
}

.pd-rel-cur {
    font-size: 13px;
    font-weight: 700;
    color: #f97316;
}

.pd-rel-old {
    font-size: 10px;
    color: #9ca3af;
    text-decoration: line-through;
}

.pd-rel-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}

    .pd-rel-link:hover {
        color: #f97316;
    }

@media (max-width: 767.98px) {
    .pd-right {
        padding: 1.1rem 1.1rem 1.25rem;
    }

    .pd-title {
        font-size: 1.15rem;
    }

    .pd-price-cur {
        font-size: 1.3rem;
    }

    .pd-action-row {
        gap: 8px;
    }

    .pd-atc-btn {
        padding: 0 1rem;
        font-size: 12px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.vc-related-section {
    padding: 3rem 0;
}

    .vc-related-section .container {
        max-width: 85% !important;
    }

.vc-rel-header {
    margin-bottom: 2.5rem;
}

.vc-rel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.vc-rel-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .vc-rel-card:hover {
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12);
        transform: translateY(-4px);
    }

.vc-rel-img-container {
    position: relative;
    padding-top: 100%; 
}

.vc-rel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-rel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #6366f1;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 5;
}

.vc-rel-body {
    padding: 1.1rem;
}

.vc-rel-name {
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1f2937;
    text-decoration: none;
}

.vc-rel-price {
    margin-bottom: 1rem;
}

.vc-rel-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.vc-rel-old {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1rem;
    margin-left: 6px;
}