.product-detail {
    padding-block: 34px 96px;
    background: var(--cream);
}

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

.breadcrumbs a {
    color: var(--primary);
    font-weight: 800;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 54px;
    align-items: start;
}

.product-gallery__main {
    height: 560px;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.product-gallery__image {
    width: 100%;
    display: block;
    object-fit: cover;
    background: var(--white);
}

.product-gallery__main::before {
    width: 360px;
    height: 360px;
    top: 90px;
}

.product-gallery p {
    color: var(--muted);
    font-size: 13px;
}

.product-purchase {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-purchase h1 {
    margin: 8px 0 16px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.product-purchase__summary {
    color: var(--muted);
}

.product-purchase__price {
    margin: 24px 0 10px;
    font-size: 34px;
    font-weight: 900;
}

.product-purchase__price small {
    color: var(--muted);
    font-size: 12px;
}

.product-purchase__form {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px 14px;
    margin-top: 26px;
}

.product-purchase__wishlist {
    position: static;
    margin: 18px 0 0;
}

.wishlist-button--labelled {
    width: auto;
    min-height: 42px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.product-purchase__form label {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 900;
}

.product-purchase__form input {
    height: 54px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.product-purchase__form button[disabled],
.add-button[disabled] {
    background: #899592;
    cursor: not-allowed;
}

.product-purchase__cart {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.product-information,
.product-specifications {
    margin-top: 44px;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
}

.product-detail__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.product-detail__highlights article {
    display: flex;
    gap: 13px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
}

.product-detail__highlights > article > span {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}

.product-detail__highlights strong {
    display: block;
    margin-bottom: 5px;
}

.product-detail__highlights p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.product-information h2,
.product-specifications h2 {
    margin: 6px 0 14px;
    font-size: clamp(30px, 4vw, 44px);
}

.product-specifications dl {
    margin: 24px 0 0;
    border-top: 1px solid var(--border);
}

.product-specifications dl div {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.product-specifications dt { font-weight: 900; }
.product-specifications dd { margin: 0; color: var(--muted); }

@media (max-width: 850px) {
    .product-detail__layout { grid-template-columns: 1fr; }
    .product-gallery__main { height: 430px; }
    .product-detail__highlights { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .product-detail { padding-block: 22px 64px; }
    .product-purchase, .product-information, .product-specifications { padding: 24px; }
    .product-purchase__form { grid-template-columns: 1fr; }
    .product-specifications dl div { grid-template-columns: 1fr; gap: 4px; }
}
