.product-details-page {
    background: #f8fafc;
    padding: 30px 0 60px;
}

.product-details-layout {
    display: flex;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-hero {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    padding: 24px;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1 1 420px;
}

.product-gallery-main {
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.active {
    border-color: #E23FEA;
}

.product-summary-card {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-badge {
    background: rgba(226, 63, 234, 0.15);
    color: #E23FEA;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.product-summary-card h1 {
    margin: 0;
    font-size: 28px;
    color: #0f172a;
}

.product-model {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 16px;
    color: #475569;
}

.price-display strong {
    font-size: 32px;
    color: #E23FEA;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.product-highlights li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #475569;
}

.contact-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-action,
.btn-secondary-action {
    flex: 1;
    min-width: 180px;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-action {
    background: linear-gradient(135deg, #E23FEA, #8b5cf6);
    color: #fff;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(226, 63, 234, 0.3);
}

.btn-secondary-action {
    background: #10b981;
    color: #fff;
}

.btn-secondary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
}

.supplier-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
}

.supplier-inline-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #312e81;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.supplier-inline strong {
    color: #0f172a;
    font-size: 15px;
}

.supplier-inline span {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.detail-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detail-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.detail-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 18px;
    color: #0f172a;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.spec-row strong {
    color: #0f172a;
}

.contact-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.contact-actions a {
    flex: 1;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    font-size: 13px;
    color: #475569;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-actions a:hover {
    border-color: #E23FEA;
    color: #E23FEA;
}

.message-form form .form-group {
    margin-bottom: 15px;
}

.message-form button {
    width: 100%;
    border-radius: 12px;
    background: #E23FEA;
    border: none;
    padding: 12px;
    color: white;
    font-weight: 600;
}

.product-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
    .product-details-layout {
        flex-direction: column;
    }

    .product-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-hero {
        flex-direction: column;
    }

    .contact-cta {
        flex-direction: column;
    }
}






