.product-page {
    padding: 42px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.product-gallery,
.product-info,
.product-description-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.product-gallery {
    padding: 24px;
}

.product-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    border-radius: 12px;
    background: #eef2f7;
    color: var(--muted);
    font-weight: 800;
}

.product-info {
    padding: 28px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
}

.product-info h1 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 34px;
    line-height: 1.15;
}

.product-code {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.product-price-box {
    margin: 24px 0;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
}

.old-price {
    margin-bottom: 6px;
    color: var(--muted);
    text-decoration: line-through;
}

.current-price {
    color: var(--primary);
    font-size: 36px;
    font-weight: 900;
}

.discount {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 900;
}

.stock-box {
    display: grid;
    gap: 6px;
    margin-bottom: 22px;
}

.stock-box small {
    color: var(--muted);
}

.in-stock {
    color: #15803d;
    font-weight: 900;
}

.out-stock {
    color: #b91c1c;
    font-weight: 900;
}

.buy-box {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.buy-box label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.buy-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.buy-box button {
    align-self: end;
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.product-benefits {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.product-description-section {
    margin-top: 30px;
    padding: 28px;
}

.product-description-section h2 {
    margin: 0 0 14px;
    color: var(--primary-dark);
}

.product-description-section p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

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

    .product-main-image {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .buy-box {
        grid-template-columns: 1fr;
    }

    .product-info h1 {
        font-size: 28px;
    }
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
    background: #fff;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-image {
    height: 240px;
    padding: 16px;
}

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

.product-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
