/* product.css — product detail page */

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

.product-gallery { min-width: 0; }
.gallery-main {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-gray);
    aspect-ratio: 4/3;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 84px; height: 64px;
    border: 2px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-gray);
    cursor: pointer;
    padding: 0;
    transition: border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--red); }

.product-seri {
    display: inline-block;
    background: var(--bg-gray);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 14px;
}
.product-title {
    color: var(--navy);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}
.product-summary { margin-bottom: 24px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.specs-table th, .specs-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    text-align: left;
}
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }
.specs-table th {
    width: 38%;
    background: var(--bg-gray);
    color: var(--navy);
    font-weight: 700;
}
.specs-table tr:nth-child(even) td { background: #fafbfc; }

.product-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: var(--radius);
}

