.product-detail-page {
    padding: 32px 0 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-content-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    grid-template-areas:
        "media purchase"
        "info purchase";
    gap: 32px;
    align-items: start;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
}

.product-media-column {
    grid-area: media;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-info-column {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-image-container {
    width: 420px;
    height: 315px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

.info-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.product-purchase-column {
    grid-area: purchase;
    display: flex;
    flex-direction: column;
}

.purchase-card {
    width: 460px;
    min-height: 600px;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 33, 39, 0.8), rgba(26, 31, 40, 0.7));
    backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 32px, rgba(255, 255, 255, 0.05) 0px 1px 0px inset;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-title-card {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.product-rating-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: rgb(255, 184, 77);
    font-size: 16px;
    line-height: 1;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.quantity-selector {
    margin-bottom: 0;
}

.quantity-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.08);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-value {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-section {
    margin-bottom: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-old {
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 227, 140);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-total {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-total-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 227, 140);
    letter-spacing: -0.02em;
    line-height: 1;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(0, 227, 140), rgb(0, 179, 104));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    box-shadow: rgba(0, 227, 140, 0.3) 0px 4px 20px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-buy:hover {
    transform: scale(1.02);
    box-shadow: rgba(0, 227, 140, 0.4) 0px 6px 24px;
}

.btn-buy:active {
    transform: scale(0.98);
}

.btn-favorite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-favorite:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.08);
}

.btn-favorite:active {
    transform: scale(0.98);
}

.icon-cart,
.icon-heart {
    width: 20px;
    height: 20px;
}

.icon-heart {
    stroke: currentColor;
    fill: none;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(107, 159, 232, 0.1);
    border: 1px solid rgba(107, 159, 232, 0.2);
}

.icon-lightning {
    color: var(--accent-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.delivery-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.guarantees-section-card {
    margin-top: 8px;
}

.guarantees-title-card {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.guarantees-list-card {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guarantees-list-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.guarantees-list-card .icon-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .product-content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "purchase"
            "info";
        max-width: 100%;
    }
    
    .product-image-container {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 420 / 315;
    }
    
    .purchase-card {
        width: 100%;
        max-width: 460px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 24px 0 48px;
    }

    .product-content-grid {
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .product-image-container {
        width: 100%;
    }
    
    .purchase-card {
        width: 100%;
        padding: 24px;
    }

    .info-section {
        padding: 24px;
    }
}
