.pdp-page {
    background: #F5F7FA;
    padding: 24px 0 40px;
    min-height: 60vh;
}

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

.pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pdp-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.pdp-breadcrumb a:hover {
    text-decoration: underline;
}

.pdp-breadcrumb span {
    color: #94A3B8;
}

/* --- Product Main Card --- */
.pdp-main-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.pdp-top-row {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
}

/* Gallery */
.pdp-gallery {
    position: relative;
}

.pdp-main-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    background: #F8FAFC;
    display: block;
}

.pdp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}

.pdp-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #E8EDF3;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

.pdp-thumbs img:hover,
.pdp-thumbs img.active {
    border-color: var(--primary-color);
}

/* Product Info */
.pdp-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 6px;
    line-height: 1.3;
}

.pdp-info-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pdp-info-meta .rating {
    color: #F59E0B;
    font-weight: 600;
}

.pdp-info-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #CBD5E1;
}

.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.pdp-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.pdp-price small {
    font-size: 14px;
    font-weight: 400;
    color: #64748B;
}

.pdp-moq {
    font-size: 13px;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E8EDF3;
    padding: 4px 12px;
    border-radius: 8px;
}

.pdp-stock {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
}

.pdp-stock.in-stock {
    background: #ECFDF5;
    color: #059669;
}

.pdp-stock.out-of-stock {
    background: #FEF2F2;
    color: #DC2626;
}

.pdp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.pdp-tags span {
    background: #F8FAFC;
    border: 1px solid #E8EDF3;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: #475569;
}

.pdp-desc-text {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Quantity + Buttons */
.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pdp-qty-row label {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 1px solid #E8EDF3;
    border-radius: 10px;
    overflow: hidden;
}

.pdp-qty button {
    width: 36px;
    height: 36px;
    border: none;
    background: #F8FAFC;
    font-size: 16px;
    cursor: pointer;
    color: #475569;
    transition: all .2s;
}

.pdp-qty button:hover {
    background: #E8EDF3;
}

.pdp-qty input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid #E8EDF3;
    border-right: 1px solid #E8EDF3;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
    outline: none;
}

.pdp-actions {
    display: flex;
    gap: 10px;
}

.pdp-btn {
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pdp-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.pdp-btn-primary:hover {
    background: #1a4fcf;
}

.pdp-btn-success {
    background: #059669;
    color: #fff;
}

.pdp-btn-success:hover {
    background: #047857;
}

.pdp-btn-outline {
    background: #F8FAFC;
    color: #475569;
    border: 1px solid #E8EDF3;
}

.pdp-btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Tabs --- */
.pdp-tabs {
    display: flex;
    border-bottom: 1px solid #E8EDF3;
    margin-bottom: 20px;
    gap: 0;
}

.pdp-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.pdp-tab:hover {
    color: #1A1A2E;
}

.pdp-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.pdp-tab-content {
    display: none;
}

.pdp-tab-content.active {
    display: block;
}

/* Specs Table */
.pdp-specs {
    width: 100%;
    border-collapse: collapse;
}

.pdp-specs tr {
    border-bottom: 1px solid #F1F5F9;
}

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

.pdp-specs td {
    padding: 10px 16px;
    font-size: 13px;
    color: #475569;
}

.pdp-specs td:first-child {
    font-weight: 500;
    color: #1A1A2E;
    width: 200px;
    background: #FAFBFC;
}

.pdp-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E8EDF3;
}

/* Company Details Tab */
.pdp-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pdp-company-item {
    padding: 12px 16px;
    background: #FAFBFC;
    border-radius: 10px;
    border: 1px solid #F1F5F9;
}

.pdp-company-item .label {
    font-size: 11px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.pdp-company-item .value {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
}

/* Reviews */
.pdp-rating-overview {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #FAFBFC;
    border-radius: 12px;
    margin-bottom: 20px;
}

.pdp-rating-big {
    text-align: center;
    min-width: 100px;
}

.pdp-rating-big .score {
    font-size: 36px;
    font-weight: 700;
    color: #1A1A2E;
    line-height: 1;
}

.pdp-rating-big .stars {
    color: #F59E0B;
    font-size: 16px;
    margin: 4px 0;
}

.pdp-rating-big .total {
    font-size: 12px;
    color: #94A3B8;
}

.pdp-rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdp-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748B;
}

.pdp-rating-bar-row .bar-bg {
    flex: 1;
    height: 6px;
    background: #E8EDF3;
    border-radius: 3px;
    overflow: hidden;
}

.pdp-rating-bar-row .bar-fill {
    height: 100%;
    background: #F59E0B;
    border-radius: 3px;
}

.pdp-review-card {
    padding: 16px;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    margin-bottom: 12px;
}

.pdp-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pdp-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EEF2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pdp-review-name {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
}

.pdp-review-date {
    font-size: 11px;
    color: #94A3B8;
    margin-left: auto;
}

.pdp-review-stars {
    color: #F59E0B;
    font-size: 12px;
}

.pdp-review-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

/* --- Sidebar --- */
.pdp-sidebar {
    position: sticky;
    top: 90px;
}

.pdp-side-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.pdp-supplier-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.pdp-supplier-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
    border: 1px solid #E8EDF3;
}

.pdp-supplier-name {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A2E;
    text-decoration: none;
    display: block;
}

.pdp-supplier-name:hover {
    color: var(--primary-color);
}

.pdp-supplier-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
}

.pdp-supplier-rating .stars {
    color: #F59E0B;
}

.pdp-supplier-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-supplier-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.pdp-supplier-info-list li i {
    width: 16px;
    color: var(--primary-color);
    font-size: 14px;
}

.pdp-supplier-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdp-supplier-contact .pdp-btn {
    justify-content: center;
}

/* Sidebar Inquiry */
.pdp-side-inquiry {
    background: linear-gradient(135deg, #1A1A2E, #16213E);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

.pdp-side-inquiry h3 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 4px;
}

.pdp-side-inquiry p {
    font-size: 12px;
    color: #94A3B8;
    margin: 0 0 14px;
    line-height: 1.5;
}

.pdp-side-inquiry input,
.pdp-side-inquiry textarea {
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.pdp-side-inquiry input::placeholder,
.pdp-side-inquiry textarea::placeholder {
    color: #64748B;
}

.pdp-side-inquiry textarea {
    resize: vertical;
    min-height: 60px;
}

.pdp-side-inquiry .pdp-btn {
    width: 100%;
    justify-content: center;
}

/* --- Related Products --- */
.pdp-related {
    margin-top: 28px;
}

.pdp-related h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 16px;
}

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

.pdp-related-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
}

.pdp-related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.pdp-related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.pdp-related-body {
    padding: 10px 12px 12px;
}

.pdp-related-body .title {
    font-size: 13px;
    font-weight: 500;
    color: #1A1A2E;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.pdp-related-body .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.pdp-related-body .price small {
    font-size: 11px;
    font-weight: 400;
    color: #64748B;
}

/* --- Also Listed In --- */
.pdp-listed {
    margin-top: 24px;
}

.pdp-listed h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 14px;
}

.pdp-listed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-listed-tags a {
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: all .2s;
}

.pdp-listed-tags a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Bottom Bulk Inquiry --- */
.pdp-bulk-inquiry {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 28px;
    margin-top: 28px;
}

.pdp-bulk-inquiry h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 6px;
}

.pdp-bulk-inquiry p {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 18px;
}

.pdp-bulk-inquiry .inq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pdp-bulk-inquiry input,
.pdp-bulk-inquiry select,
.pdp-bulk-inquiry textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #E8EDF3;
    font-size: 13px;
    color: #1A1A2E;
    background: #FAFBFC;
    box-sizing: border-box;
}

.pdp-bulk-inquiry input:focus,
.pdp-bulk-inquiry select:focus,
.pdp-bulk-inquiry textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.pdp-bulk-inquiry textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 70px;
}

.pdp-bulk-inquiry .pdp-btn {
    grid-column: 1 / -1;
    padding: 12px;
    font-size: 14px;
    justify-content: center;
}

/* --- Supplier Inquiry Section on left --- */
.pdp-supplier-inquiry {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.pdp-supplier-inquiry h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 4px;
}

.pdp-supplier-inquiry p {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 16px;
}

.pdp-si-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pdp-si-row input,
.pdp-si-row select,
.pdp-si-row textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #E8EDF3;
    font-size: 13px;
    color: #1A1A2E;
    background: #FAFBFC;
    box-sizing: border-box;
}

.pdp-si-row textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 60px;
}

.pdp-si-row .pdp-btn {
    grid-column: 1 / -1;
    justify-content: center;
}

/* --- Responsive --- */
@media(max-width:1100px) {
    .pdp-top-row {
        grid-template-columns: 300px 1fr;
    }

    .pdp-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:950px) {
    .pdp-layout {
        grid-template-columns: 1fr;
    }

    .pdp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pdp-sidebar .pdp-side-card {
        margin-bottom: 0;
    }

    .pdp-sidebar .pdp-side-inquiry {
        grid-column: 1 / -1;
    }

    .pdp-top-row {
        grid-template-columns: 1fr;
    }

    .pdp-main-img {
        height: 280px;
    }

    .pdp-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:650px) {
    .pdp-page {
        padding: 16px 0 30px;
    }

    .pdp-main-card {
        padding: 16px;
    }

    .pdp-info-title {
        font-size: 18px;
    }

    .pdp-price {
        font-size: 22px;
    }

    .pdp-main-img {
        height: 220px;
    }

    .pdp-actions {
        flex-direction: column;
    }

    .pdp-actions .pdp-btn {
        justify-content: center;
    }

    .pdp-sidebar {
        grid-template-columns: 1fr;
    }

    .pdp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdp-company-grid {
        grid-template-columns: 1fr;
    }

    .pdp-bulk-inquiry .inq-row {
        grid-template-columns: 1fr;
    }

    .pdp-si-row {
        grid-template-columns: 1fr;
    }

    .pdp-rating-overview {
        flex-direction: column;
        text-align: center;
    }

    .pdp-specs td:first-child {
        width: 120px;
    }

    .pdp-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pdp-tab {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
}
