.product-detail {
    padding-block: 60px 80px;
}
.detail-top {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.detail-gallery {
    width: 47%;
    min-width: 0;
}
.detail-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.detail-main-image > img {
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.detail-main-image:hover {
    border-color: var(--brand);
}
.detail-main-image:hover > img {
    transform: scale(1.04);
}
.detail-main-image > span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--brand);
    background: var(--surface);
    border-radius: 50%;
}
.detail-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.detail-thumbnails button {
    width: 80px;
    height: 70px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 3px;
}
.detail-thumbnails img {
    max-height: 100%;
    object-fit: contain;
}
.detail-thumbnails button:hover,
.detail-thumbnails [aria-pressed="true"] {
    border-color: var(--brand);
}
.detail-info {
    flex: 1;
    min-width: 0;
}
.detail-info h2 {
    font-size: 32px;
    letter-spacing: 0;
}
.detail-info h2 small {
    color: var(--brand);
    font-size: 20px;
}
.detail-info h3 {
    font-size: 22px;
    margin-top: 12px;
}
.detail-num {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}
.detail-info dl {
    margin-block: 16px 20px;
}
.detail-info dl > div {
    display: flex;
    gap: 16px;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.detail-info dt {
    flex: 0 0 112px;
    max-width: 35%;
    color: var(--muted);
}
.detail-info dd {
    flex: 1;
    font-weight: 600;
    min-width: 0;
}
.fitment {
    margin-top: 60px;
}
.fitment > h2 {
    font-size: 28px;
    margin-bottom: 25px;
}
.fitment-group {
    border: 1px solid var(--line);
    border-bottom: 0;
}
.fitment-group:last-child {
    border-bottom: 1px solid var(--line);
}
.fitment-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px;
    border: 0;
    background: var(--surface);
    color: var(--ink);
    text-align: left;
    font-size: 14px;
}
.fitment-toggle:hover {
    background: #dfeaf0;
}
.fitment-toggle > span:last-child {
    margin-left: auto;
    color: var(--muted);
}
.fitment table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}
.fitment th,
.fitment td {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    text-align: left;
}
.fitment th {
    background: var(--silver);
    font-weight: 600;
}
@media (max-width:900px) {
    .detail-top {
        flex-direction: column;
        gap: 35px;
    }
    .detail-gallery,
    .detail-info {
        width: 100%;
    }
    .detail-main-image {
        aspect-ratio: 4 / 3;
    }
}
@media (max-width:640px) {
    .fitment-toggle {
        flex-wrap: wrap;
        gap: 8px 12px;
    }
    .fitment-toggle > span:last-child {
        margin-left: 32px;
    }
    .fitment thead {
        display: none;
    }
    .fitment table,
    .fitment tbody,
    .fitment tr,
    .fitment td {
        display: block;
    }
    .fitment tr {
        border-top: 1px solid var(--line);
        padding: 12px;
    }
    .fitment td {
        display: flex;
        gap: 16px;
        border: 0;
        padding: 6px;
    }
    .fitment td::before {
        content: attr(data-label);
        flex: 0 0 35%;
        color: var(--muted);
    }
}
