/* Product detail page — clean light layout */
body.page-product-detail {
    background: #f5f5f5;
    color: #111;
}

body.page-product-detail .main-bg {
    background: #f5f5f5;
    color: #111;
}

/* Breadcrumb strip */
.product-detail-crumb {
    margin-top: 76px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 0;
}

.product-detail-crumb .container {
    max-width: 1140px;
}

.product-detail-crumb__nav {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.product-detail-crumb__nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-detail-crumb__nav a:hover {
    color: #111;
}

.product-detail-crumb__nav .sep {
    color: #ccc;
    margin: 0 8px;
}

.product-detail-crumb__nav .current {
    color: #111;
    font-weight: 500;
}

/* Main product section */
.product-detail {
    padding: 32px 0 48px;
}

.product-detail .container {
    max-width: 1140px;
}

.product-detail__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Gallery */
.product-detail__gallery {
    position: sticky;
    top: 96px;
}

.product-detail__main {
    width: 100%;
    aspect-ratio: 1;
    max-height: 480px;
    background-color: #f8f8f8;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: background-image 0.3s ease;
}

.product-detail__main--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.product-detail__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-detail__thumb {
    width: 72px;
    height: 72px;
    padding: 4px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail__thumb.is-active {
    border-color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Product info */
.product-detail__info {
    padding-top: 4px;
}

.product-detail__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #444;
    background: #f3f3f3;
    padding: 7px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.product-detail__category:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

.product-detail__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin: 0 0 20px;
    padding-bottom: 16px;
    letter-spacing: -0.01em;
    position: relative;
}

.product-detail__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
}

.product-detail__price {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px;
}

.product-detail__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #111;
    margin: 0;
}

.product-detail__desc p {
    margin: 0 0 12px;
    color: #111;
}

.product-detail__desc p:last-child {
    margin-bottom: 0;
}

.product-detail__highlights {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.product-detail__highlights li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #222;
}

.product-detail__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.product-detail__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.product-detail__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f7;
    border: 1px solid #ececec;
}

.product-detail__meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.product-detail__meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.product-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-detail__btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.product-detail__btn--whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.product-detail__btn--whatsapp:hover {
    background: #20bd5a;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.product-detail__btn--call {
    background: #fff;
    color: #111;
    border: 2px solid #1a1a1a;
}

.product-detail__btn--call:hover {
    background: #1a1a1a;
    color: #fff;
}

.product-detail__btn svg {
    flex-shrink: 0;
}

/* Related products */
.product-detail-related {
    padding: 0 0 56px;
    background: #f5f5f5;
}

.product-detail-related .container {
    max-width: 1140px;
}

.product-detail-related__head {
    text-align: center;
    margin-bottom: 28px;
}

.product-detail-related__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 8px;
}

.product-detail-related__title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

@media (max-width: 991px) {
    .product-detail__card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px 20px;
    }

    .product-detail__gallery {
        position: static;
    }

    .product-detail__main {
        max-height: 360px;
    }
}

@media (max-width: 575px) {
    .product-detail {
        padding: 20px 0 36px;
    }

    .product-detail__card {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .product-detail__main {
        max-height: 280px;
    }

    .product-detail__meta {
        grid-template-columns: 1fr;
    }

    .product-detail__btn {
        width: 100%;
        min-width: 0;
    }

    .product-detail__thumb {
        width: 60px;
        height: 60px;
    }
}
