.product-detail-main {
    padding: 56px 0 34px;
}

.product-detail-card {
    padding: 30px;
    border: 1px solid var(--line);
}

.product-overview {
    display: grid;
    grid-template-columns: minmax(0, 630px) minmax(0, 1fr);
    gap: 38px;
    padding-bottom: 42px;
    border-bottom: 1px solid var(--line);
}

.product-gallery {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e4de;
}

.product-gallery .swiper-slide {
    aspect-ratio: 630 / 472;
}

.product-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__prev,
.product-gallery__next {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(198, 161, 107, .72);
    transform: translateY(-50%);
    place-items: center;
}

.product-gallery__prev { left: 18px; }
.product-gallery__next { right: 18px; }

.product-gallery__prev span,
.product-gallery__next span {
    font: 36px/1 Georgia, serif;
    transform: translateY(-2px);
}

.product-gallery__pagination {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 10px !important;
    left: 0;
    display: none;
    text-align: center;
}

.product-gallery__pagination .swiper-pagination-bullet-active {
    background: var(--gold);
}

.product-summary {
    min-width: 0;
    padding: 12px 0;
}

.product-summary h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.35;
}

.product-summary__lead {
    min-height: 58px;
    margin: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    padding: 17px 0 15px;
    border-bottom: 1px solid var(--line);
    color: #c39762;
}

.product-detail-price small { margin-right: 5px; font-size: 20px; }
.product-detail-price strong { font-family: inherit; font-size: 42px; font-weight: 400; line-height: 1.2; }
.product-detail-price span { margin-left: 7px; font-size: 14px; }

.product-attributes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 24px;
    margin: 0;
    padding: 18px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.product-attributes div { display: flex; min-width: 0; }
.product-attributes dt { flex: none; }
.product-attributes dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.product-description {
    padding: 32px 0 15px;
    color: #6f6a63;
    font-size: 14px;
    line-height: 2;
}

.product-description h2,
.product-location h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 18px;
}

.product-description p { margin: 0 0 17px; text-align: justify; }
.product-location { padding-top: 8px; }
.product-location img { width: 100%; }

@media (max-width: 1199px) {
    .product-overview {
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
        gap: 28px;
    }

    .product-attributes {
        gap: 13px 12px;
        padding-inline: 0;
    }
}

@media (max-width: 900px) {
    .product-detail-card { padding: 24px; }

    .product-overview {
        grid-template-columns: 1fr;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .product-summary { padding-bottom: 0; }
    .product-summary__lead { min-height: 0; }
}

@media (max-width: 767px) {
    .product-detail-main { padding: 30px 0; }
    .product-detail-card { padding: 14px; }
    .product-overview { gap: 18px; }

    .product-gallery__prev,
    .product-gallery__next {
        width: 36px;
        height: 36px;
    }

    .product-gallery__prev { left: 10px; }
    .product-gallery__next { right: 10px; }
    .product-summary h2 { margin-bottom: 10px; font-size: 24px; }
    .product-summary__lead { padding-bottom: 16px; }
    .product-detail-price strong { font-size: 36px; }

    .product-attributes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        font-size: 13px;
    }

    .product-description {
        padding-top: 25px;
        line-height: 1.9;
    }

    .product-description h2,
    .product-location h2 {
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .product-attributes {
        grid-template-columns: 1fr;
        gap: 9px;
    }
}
