/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Product Detail Page - Comprehensive Styles */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
    --accent-color: #008fd7;
    --accent-dark: #0073b3;
    --accent-light: #e8f5ff;
    --text-heading: #1f2937;
    --text-body: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --card-bg: #f8f9fa;
    --bg-light: #f9fafb;
}

[data-theme="dark"] {
    --text-heading: #f9fafb;
    --text-body: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --card-bg: #1f2937;
    --bg-light: #111827;
}

.pd-detail-page {
    background: var(--card-bg);
    min-height: 100vh;
}

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.pd-breadcrumb-section {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 60px;
    z-index: 99;
}

[data-theme="dark"] .pd-breadcrumb-section {
    background: #1f2937;
}

.pd-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.pd-breadcrumb-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pd-breadcrumb-link:hover {
    color: var(--accent-dark);
}

.pd-breadcrumb-nav i {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.5;
}

.pd-breadcrumb-current {
    color: var(--text-body);
    font-weight: 500;
}

/* ─── Hero Section ─────────────────────────────────────────────── */
.pd-hero-section {
    background: #fff;
    padding: 48px 0;
}

[data-theme="dark"] .pd-hero-section {
    background: #1f2937;
}

.pd-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ─── Gallery Column ─────────────────────────────────────────────── */
.pd-gallery-column {
    min-width: 0;
}

.pd-gallery-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .pd-gallery-card {
    background: #2d3748;
    border-color: #374151;
}

.pd-gallery-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--card-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pd-gallery-main-img:hover {
    transform: scale(1.02);
}

.pd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

[data-theme="dark"] .pd-gallery-nav {
    background: rgba(31, 41, 55, 0.95);
    border-color: #374151;
    color: #9ca3af;
}

.pd-gallery-nav:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 143, 215, 0.2);
}

[data-theme="dark"] .pd-gallery-nav:hover {
    background: #2d3748;
}

.pd-gallery-nav-prev {
    left: 14px;
}

.pd-gallery-nav-next {
    right: 14px;
}

.pd-gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pd-gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--card-bg);
    overflow-x: auto;
    overflow-y: hidden;
}

.pd-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.pd-gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.pd-gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.pd-gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.pd-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: var(--bg-light);
}

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

.pd-thumb:hover {
    opacity: 0.8;
    border-color: var(--accent-color);
}

.pd-thumb.active {
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color), 0 4px 12px rgba(0, 143, 215, 0.2);
}

/* ─── Info Column ─────────────────────────────────────────────── */
.pd-info-column {
    min-width: 0;
}

/* ─── Badges ─────────────────────────────────────────────── */
.pd-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pd-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pd-badge-bestseller {
    background: #008fd7;
    color: #fff;
}

.pd-badge-instock {
    background: #10b981;
    color: #fff;
}

.pd-badge-express {
    background: #f59e0b;
    color: #fff;
}

/* ─── Product Title ─────────────────────────────────────────────── */
.pd-product-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
    margin: 0 0 12px;
    word-wrap: break-word;
}

/* ─── Product Description ─────────────────────────────────────────────── */
.pd-product-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 24px;
}

/* ─── Price Card ─────────────────────────────────────────────── */
.pd-price-card {
    background: #e8f5ff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #b3e5fc;
}

[data-theme="dark"] .pd-price-card {
    background: #1e3a5f;
    border-color: #2c5aa0;
}

.pd-price-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-body);
    margin-bottom: 6px;
}

.pd-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
    margin-bottom: 4px;
    display: inline-block;
}

.pd-price-unit {
    display: inline-block;
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 8px;
}

.pd-price-note {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.5;
    margin-top: 12px;
}

/* ─── Action Buttons ─────────────────────────────────────────────── */
.pd-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.pd-btn-order-now {
    flex: 1;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 143, 215, 0.2);
}

.pd-btn-order-now:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 143, 215, 0.3);
}

.pd-btn-order-now:active {
    transform: translateY(0);
}

.pd-btn-share {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

[data-theme="dark"] .pd-btn-share {
    background: #2d3748;
    border-color: #374151;
}

.pd-btn-share:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ─── Share Menu ─────────────────────────────────────────────── */
.pd-share-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .pd-share-menu {
    background: #2d3748;
    border-color: #374151;
}

.pd-share-menu.active {
    display: flex;
}

.pd-share-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.pd-share-item:hover {
    background: #f0f0f0;
    color: var(--accent-color);
}

[data-theme="dark"] .pd-share-item:hover {
    background: #374151;
}

/* ─── Benefits Row ─────────────────────────────────────────────── */
.pd-benefits-row {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pd-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.pd-benefit-item i {
    font-size: 20px;
    color: var(--accent-color);
}

/* ─── Specifications Section ─────────────────────────────────────────────── */
.pd-specs-section {
    background: var(--card-bg);
    padding: 28px 0 32px;
}

.pd-section-header {
    margin-bottom: 18px;
    position: relative;
    padding-left: 16px;
}

.pd-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 4px;
}

.pd-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.pd-specs-table-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .pd-specs-table-card {
    background: #2d3748;
    border-color: #374151;
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

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

.pd-specs-table th {
    background: var(--card-bg);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-heading);
    font-size: 14px;
    width: 35%;
}

[data-theme="dark"] .pd-specs-table th {
    background: #1f2937;
}

.pd-specs-table td {
    padding: 12px 16px;
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.45;
}

/* ─── Notes & Help Section ─────────────────────────────────────────────── */
.pd-notes-section {
    background: #fff;
    padding: 32px 0;
}

[data-theme="dark"] .pd-notes-section {
    background: #1f2937;
}

.pd-notes-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}

.pd-warning-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
}

[data-theme="dark"] .pd-warning-card {
    background: #2d3748;
    border-color: #374151;
}

.pd-warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pd-warning-icon {
    width: 40px;
    height: 40px;
    background: #fed7d7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cf4b43;
    font-size: 20px;
    flex-shrink: 0;
}

.pd-warning-badge {
    display: inline-block;
    background: #cf4b43;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pd-warning-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 8px;
}

.pd-warning-text {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0 0 8px;
}

.pd-warning-highlight {
    font-size: 12px;
    color: #cf4b43;
    font-weight: 600;
    margin: 0;
}

.pd-help-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

[data-theme="dark"] .pd-help-card {
    background: #2d3748;
    border-color: #374151;
}

.pd-help-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 24px;
    margin-bottom: 12px;
}

.pd-help-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 6px;
}

.pd-help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.pd-help-btn {
    width: 100%;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pd-help-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* ─── Related Products Section ─────────────────────────────────────────────── */
.pd-related-section {
    background: var(--card-bg);
    padding: 32px 0 44px;
}

.pd-section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.pd-section-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.pd-section-link:hover {
    color: var(--accent-dark);
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pd-related-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .pd-related-card {
    background: #2d3748;
    border-color: #374151;
}

.pd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pd-related-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--card-bg);
}

.pd-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pd-related-card:hover .pd-related-img {
    transform: scale(1.05);
}

.pd-related-content {
    padding: 16px;
}

.pd-related-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.pd-related-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pd-related-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Lightbox Styles */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0, 143, 215, 0.5);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: 80vw;
    overflow-x: auto;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Responsive Design */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1200px) {
    .pd-hero-layout {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .pd-hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pd-gallery-container {
        height: 350px;
    }

    .pd-notes-grid {
        grid-template-columns: 1fr;
    }

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

    .pd-section-header-with-link {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .pd-hero-section {
        padding: 32px 0;
    }

    .pd-gallery-container {
        height: 280px;
    }

    .pd-product-title {
        font-size: 24px;
    }

    .pd-price-amount {
        font-size: 26px;
    }

    .pd-badges-row {
        gap: 6px;
    }

    .pd-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .pd-benefits-row {
        gap: 16px;
    }

    .pd-benefit-item {
        font-size: 11px;
    }

    .pd-benefit-item i {
        font-size: 16px;
    }

    .pd-specs-section,
    .pd-notes-section,
    .pd-related-section {
        padding: 32px 0;
    }

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

    .pd-section-header-with-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-section-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .pd-hero-section {
        padding: 24px 0;
    }

    .pd-breadcrumb-section {
        padding: 8px 0;
    }

    .pd-breadcrumb-nav {
        font-size: 12px;
        gap: 6px;
    }

    .pd-breadcrumb-nav i {
        font-size: 12px;
    }

    .pd-gallery-container {
        height: 240px;
    }

    .pd-gallery-thumbs {
        padding: 8px;
        gap: 6px;
    }

    .pd-thumb {
        width: 60px;
        height: 60px;
    }

    .pd-product-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .pd-product-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .pd-price-card {
        padding: 18px;
        margin-bottom: 20px;
    }

    .pd-price-amount {
        font-size: 22px;
    }

    .pd-price-label {
        font-size: 10px;
    }

    .pd-action-buttons {
        flex-direction: column;
        margin-bottom: 18px;
    }

    .pd-btn-order-now {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 46px;
    }

    .pd-btn-share {
        width: 100%;
        height: auto;
        min-height: 46px;
    }

    .pd-benefits-row {
        gap: 12px;
    }

    .pd-benefit-item {
        font-size: 10px;
        flex: 1;
    }

    .pd-benefit-item i {
        font-size: 14px;
    }

    .pd-specs-table th,
    .pd-specs-table td {
        padding: 12px 14px;
        font-size: 12px;
    }

    .pd-specs-table th {
        width: 40%;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pd-related-card {
        display: flex;
        gap: 12px;
    }

    .pd-related-img-wrap {
        width: 100px;
        height: 100px;
        min-width: 100px;
        border-radius: 10px;
    }

    .pd-related-content {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .pd-section-title {
        font-size: 18px;
    }

    .pd-warning-card,
    .pd-help-card {
        padding: 16px;
    }
}

@media (max-width: 380px) {
    .pd-hero-layout {
        gap: 16px;
    }

    .pd-product-title {
        font-size: 18px;
    }

    .pd-price-amount {
        font-size: 20px;
    }

    .pd-badges-row {
        gap: 4px;
    }

    .pd-badge {
        font-size: 9px;
        padding: 4px 8px;
    }

    .pd-price-card {
        padding: 14px;
        margin-bottom: 16px;
    }

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

    .pd-benefit-item {
        font-size: 9px;
    }
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-thumbnails {
        bottom: 60px;
        max-width: 90vw;
    }

    .lightbox-thumb {
        width: 50px;
        height: 50px;
    }

    .lightbox-counter {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 100vw;
    }

    .lightbox-image {
        max-width: 100vw;
        max-height: 80vh;
        border-radius: 0;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .lightbox-nav.prev {
        left: 8px;
    }

    .lightbox-nav.next {
        right: 8px;
    }
}
