/* Product Page Styles */
.product-page-content {
    padding: 10px 0 30px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: clip;
}

.product-page-container {
    background: transparent;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Main Product Card */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 22px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    align-items: start;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-detail-image-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}

/* Image Section */
.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    max-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.product-detail-image:hover {
    border-color: var(--primary-color);
}

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-detail-image:hover img {
    transform: scale(1.04);
}

.product-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
}

.product-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    overflow: hidden;
    background: #ffffff;
    flex-shrink: 0;
    transition: var(--transition);
    padding: 6px;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info Section */
.product-detail-info {
    display: flex;
    flex-direction: column;
    padding: 4px 4px 0 0;
    min-height: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.product-detail-category {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.product-detail-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 16px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.brand-seller-status {
    background: rgba(63, 111, 148, 0.08);
    border: 1px solid rgba(63, 111, 148, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.brand-seller-status strong {
    font-weight: 700;
}

/* Price Block */
.product-detail-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f7f8fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: left;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary-color);
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.product-detail-price::after {
    content: attr(data-suffix);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 8px;
}

.product-detail-old-price {
    font-size: 15px;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 600;
}

/* Sizes/Options */
.product-detail-sizes {
    margin-bottom: 18px;
}

.size-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.size-option.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Actions */
.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-bottom: 4px;
}

.product-detail-button {
    width: 100%;
    background: var(--accent-color);
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.product-detail-button:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
}

.product-detail-button.secondary {
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(196, 95, 95, 0.2);
    border: none;
}

.product-detail-button.secondary:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-detail-button.product-compare-btn {
    background: #fff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.product-detail-button.product-compare-btn:hover,
.product-detail-button.product-compare-btn.active {
    background: rgba(63, 111, 148, 0.08);
    color: var(--primary-color, #3f6f94);
    border-color: rgba(63, 111, 148, 0.45);
    transform: none;
    box-shadow: none;
}

/* Badge & Fav */
.detail-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    font-size: 16px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.detail-fav-btn:hover {
    transform: scale(1.04);
    background: #f7f8fa;
}

.detail-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 8px;
    background: var(--primary-color);
    color: #ffffff;
}

.product-detail-image .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 60px);
}

.product-detail-image .product-badges .detail-badge,
.product-detail-image .product-badges .product-badge {
    position: static;
    top: auto;
    left: auto;
}

.detail-badge.promo {
    background: var(--accent-color);
}

.product-badge.package,
.detail-badge.package {
    background: #3f6f94;
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 800;
}

.detail-badge.stock-many,
.product-badge.stock-many { background: #10b981; }

.detail-badge.stock-enough,
.product-badge.stock-enough { background: #f59e0b; }

.detail-badge.stock-low,
.product-badge.stock-low {
    background: #ef4444;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.25;
}

.product-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.product-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.product-stock-chip.stock-many {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: rgba(16, 185, 129, 0.22);
    color: #047857;
}
.product-stock-chip.stock-many .product-stock-dot {
    background: #10b981;
}

.product-stock-chip.stock-enough {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border-color: rgba(245, 158, 11, 0.28);
    color: #b45309;
}
.product-stock-chip.stock-enough .product-stock-dot {
    background: #f59e0b;
}

.product-stock-chip.stock-low {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    border-color: rgba(239, 68, 68, 0.22);
    color: #b91c1c;
}
.product-stock-chip.stock-low .product-stock-dot {
    background: #ef4444;
}

.product-stock-chip.package-chip {
    background: linear-gradient(180deg, #eef6fb 0%, #e2eef6 100%);
    border-color: rgba(63, 111, 148, 0.28);
    color: #244862;
    font-weight: 800;
}

/* Tabs Section */
.product-tabs-container {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-tabs {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tabs-nav {
    display: flex;
    background: #f7f8fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tabs-nav .tab-btn {
    flex: none;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.tabs-nav .tab-btn:hover {
    color: var(--secondary-color);
}

.tabs-nav .tab-btn.active {
    color: var(--primary-color);
    background: #ffffff;
}

.tabs-nav .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tabs-content {
    padding: 20px 22px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

.product-detail-description {
    font-size: 12px;
    line-height: 1.6;
    color: #4a5568;
}

.product-detail-description p {
    margin: 0 0 10px;
}

.characteristics-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.characteristics-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.characteristics-table td:first-child {
    font-weight: 700;
    color: var(--secondary-color);
    width: 40%;
}

.characteristics-table td:last-child {
    color: #4a5568;
}

.product-legal-meta {
    margin-top: 28px;
    max-width: 760px;
}

.product-legal-meta-rows {
    margin-bottom: 14px;
}

.product-legal-meta-rows p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.45;
    color: #888888;
    font-weight: 400;
}

.product-legal-meta-rows p:last-child {
    margin-bottom: 0;
}

.product-legal-disclaimer {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #888888;
    font-weight: 400;
}

.product-error-report-link {
    color: #2f6fed;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 111, 237, 0.35);
}

.product-error-report-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.product-documents-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 560px;
}

.product-document-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-document-link span {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
}

.product-document-link:hover {
    border-color: rgba(63, 111, 148, 0.45);
    background: #fff;
    color: var(--primary-color);
}

.product-documents-empty {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.product-section-subtitle {
    margin: 22px 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.product-completeness-block {
    margin-top: 8px;
    max-width: 720px;
}

.product-qa-list,
.product-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}

.product-qa-item,
.product-review-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.product-qa-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.product-qa-question p,
.product-qa-answer p,
.product-review-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.product-qa-answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.product-qa-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
}

.product-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.product-review-head strong {
    font-size: 14px;
    color: #0f172a;
}

.product-review-stars {
    color: #e2a100;
    letter-spacing: 1px;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 8px;
}

.product-rating .star {
    color: #edf2f7;
    font-size: 12px;
    line-height: 1;
}

.product-rating .star.active {
    color: #fbbf24;
}

.product-rating--empty {
    gap: 6px;
    color: #94a3b8;
}

.product-rating--empty .star-none {
    position: relative;
    color: #cbd5e1;
    font-size: 14px;
}

.product-rating--empty .star-none::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 1.5px;
    background: #94a3b8;
    transform: rotate(-20deg);
}

.product-rating-text {
    font-size: 12px;
    color: #94a3b8;
}

.product-rating-value {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
}

.product-rating-count {
    font-size: 11px;
    color: #a0aec0;
    margin-left: 2px;
}

.product-rating--detail {
    margin: 6px 0 12px;
}

.product-rating--detail .star {
    font-size: 16px;
}

.product-rating--detail .product-rating-value {
    font-size: 14px;
}

.product-rating--detail .product-rating-text {
    font-size: 13px;
}

.product-rating-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-rating-picker-label {
    font-size: 14px;
    color: #475569;
}

.product-rating-picker-stars {
    display: flex;
    gap: 2px;
}

.product-rating-pick {
    border: none;
    background: transparent;
    padding: 0 2px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #cbd5e1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.product-rating-pick.active {
    color: #fbbf24;
}

.product-rating-pick:hover {
    transform: scale(1.12);
    color: #f59e0b;
}

.product-feedback-form {
    margin-top: 22px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-feedback-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
}

.product-feedback-input,
.product-feedback-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
}

.product-feedback-textarea {
    min-height: 100px;
    resize: vertical;
}

.product-feedback-btn {
    align-self: flex-start;
    border: none;
    border-radius: 10px;
    background: var(--primary-color, #3f6f94);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 18px;
    cursor: pointer;
}

.product-feedback-btn:hover {
    filter: brightness(0.95);
}

.product-feedback-msg {
    min-height: 18px;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 768px) {
    .product-feedback-row {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-detail-image-section {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .product-detail-image {
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .product-page-content {
        padding: 5px 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .product-page-container {
        width: 100%;
        max-width: 100%;
    }

    .product-detail {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 12px;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .product-detail-image-section,
    .product-detail-info,
    .product-tabs-container,
    .product-tabs,
    .tabs-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .product-detail-image {
        border-radius: 10px;
        padding: 10px;
        max-height: 260px;
        width: 100%;
    }

    .product-detail-name {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
        word-break: break-word;
    }

    .product-detail-price {
        font-size: 22px;
        flex-wrap: wrap;
    }

    .product-detail-price-container {
        padding: 12px 14px;
        margin-bottom: 12px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .product-detail-button {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
        width: 100%;
        box-sizing: border-box;
    }

    .detail-fav-btn {
        width: 44px;
        height: 44px;
    }

    .gallery-thumb {
        width: 56px;
        height: 56px;
        border-radius: 8px;
        padding: 4px;
        flex-shrink: 0;
    }

    .tabs-content {
        padding: 14px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.55;
    }

    .tabs-nav {
        width: 100%;
        max-width: 100%;
    }

    .tabs-nav .tab-btn {
        padding: 12px 14px;
        font-size: 13px;
        min-height: 44px;
    }

    .product-feedback-input,
    .product-feedback-textarea,
    .product-feedback-select {
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-document-link {
        flex-wrap: wrap;
        word-break: break-word;
        max-width: 100%;
    }

    .characteristics-table td {
        font-size: 13px;
        padding: 10px 8px;
    }
}

.product-warranty-chip {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(63, 111, 148, 0.1);
    color: #3f6f94;
    font-size: 13px;
    font-weight: 600;
}

.completeness-list {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.7;
    color: #334155;
}

.completeness-list li {
    margin-bottom: 6px;
}

.product-drawing img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

/* Related products: «С этим товаром покупают» */
.product-related {
    margin: 16px 0 0;
    padding: 20px 22px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-related-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-related-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.product-related-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 12px 12px 8px;
    text-decoration: none;
    color: inherit;
}

.product-related-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef2f7;
}

.product-related-image img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.product-related-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-related-sku {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

.product-related-price {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.product-related-cart {
    margin: 0 12px 12px;
    padding: 9px 12px;
    border: none;
    border-radius: 10px;
    background: #3f6f94;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.product-related-cart:hover {
    background: #335c7c;
}

@media (max-width: 900px) {
    .product-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .product-related {
        padding: 16px;
    }

    .product-related-title {
        font-size: 16px;
    }

    .product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-related-image {
        height: 96px;
    }
}

@media (max-width: 480px) {
    .product-detail-name {
        font-size: 16px;
    }

    .product-detail-price {
        font-size: 20px;
    }

    .product-detail-actions {
        gap: 8px;
    }
}
