.product-detail-page {
    background: linear-gradient(180deg, #f7faf6 0%, #fff 320px);
    padding-bottom: 4rem;
}

.product-detail-breadcrumb {
    padding: 1.25rem 0 0.5rem;
    font-size: 0.9rem;
    color: var(--medium-text, #5a6b57);
}

.product-detail-breadcrumb a {
    color: var(--primary-green, #2d5a27);
    text-decoration: none;
}

.product-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-breadcrumb span[aria-current] {
    color: var(--dark-text, #1a2e18);
    font-weight: 600;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-top: 1rem;
}

.product-detail-gallery {
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 16px 48px rgba(45, 90, 39, 0.08);
    position: sticky;
    top: 96px;
}

.product-detail-gallery__main-wrap {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f9fbf8 0%, #eef3eb 100%);
    border-radius: 16px;
    overflow: hidden;
    padding: 1.5rem;
}

.product-detail-gallery__main {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-detail-gallery__thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.product-detail-gallery__thumb {
    width: 72px;
    height: 72px;
    padding: 3px;
    border: 2px solid rgba(45, 90, 39, 0.14);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.product-detail-gallery__thumb.is-active {
    border-color: var(--primary-green, #2d5a27);
    box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.12);
}

.product-detail-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.product-detail-info {
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 16px 48px rgba(45, 90, 39, 0.06);
}

.product-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(74, 140, 62, 0.12);
    color: var(--primary-green, #2d5a27);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.product-detail-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark-text, #1a2e18);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.product-detail-price {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-green, #2d5a27);
    margin-bottom: 1rem;
}

.product-detail-lead {
    color: var(--medium-text, #5a6b57);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.product-detail-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.65rem;
}

.product-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--dark-text, #1a2e18);
    line-height: 1.5;
}

.product-detail-features i {
    color: var(--light-green, #4a8c3e);
    margin-top: 0.2rem;
}

.product-detail-usage {
    background: #f7faf6;
    border: 1px solid #e8ece6;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
}

.product-detail-usage h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-green, #2d5a27);
    margin-bottom: 0.5rem;
}

.product-detail-usage p {
    margin: 0;
    color: var(--medium-text, #5a6b57);
    line-height: 1.6;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.product-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex: 0 1 auto;
}

.product-detail-btn--cart {
    background: var(--primary-green, #2d5a27);
    color: #fff;
    box-shadow: 0 10px 24px rgba(45, 90, 39, 0.22);
}

.product-detail-btn--cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(45, 90, 39, 0.28);
    color: #fff;
}

.product-detail-btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.product-detail-btn--whatsapp:hover {
    transform: translateY(-1px);
    color: #fff;
}

.product-detail-btn--ghost {
    background: #fff;
    color: var(--primary-green, #2d5a27);
    border: 2px solid rgba(45, 90, 39, 0.18);
}

.product-detail-related {
    margin-top: 3rem;
}

.product-detail-related h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 1.25rem;
    color: var(--dark-text, #1a2e18);
}

.product-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.product-detail-related-card {
    display: block;
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(45, 90, 39, 0.1);
    color: inherit;
}

.product-detail-related-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #f7faf6;
    padding: 1rem;
}

.product-detail-related-card h3 {
    font-size: 0.98rem;
    padding: 0.85rem 1rem 0.25rem;
    margin: 0;
}

.product-detail-related-card span {
    display: block;
    padding: 0 1rem 1rem;
    color: var(--primary-green, #2d5a27);
    font-weight: 700;
}

.product-detail-not-found {
    text-align: center;
    padding: 4rem 1rem;
}

.product-detail-not-found h1 {
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-gallery {
        position: static;
    }
}

@media (max-width: 576px) {
    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-btn {
        width: 100%;
    }
}
