/* ================= PRODUCT DETAIL ================= */
.pd-page {
    background: #F7F5F1;
}

.pd-hero {
    background: #FFFFFF;
    border-bottom: 1px solid #EFE7DD;
    padding: 12px 0 30px;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: #9A8C80;
    font-size: 0.7rem;
}

.pd-breadcrumb a {
    color: #8A7B6E;
    transition: color 0.2s ease;
}

.pd-breadcrumb a:hover {
    color: #A85E1F;
}

.pd-breadcrumb .current {
    color: #3B2C20;
    font-weight: 600;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- IMAGE ---------- */
.pd-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #F3EDE6;
}

.pd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pd-badge-primary {
    background: #A85E1F;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(168, 94, 31, 0.25);
}

.pd-badge-light {
    background: #FFFFFF;
    color: #3B2C20;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.pd-badge-light svg {
    color: #1F8A4C;
    flex-shrink: 0;
}

.pd-pairing {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #4B3B2E;
    font-size: 0.6rem;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.pd-pairing svg {
    color: #A85E1F;
}

/* ---------- TRUST ---------- */
.pd-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border-left: 1px solid #EFE7DD;
}

.pd-trust-item:first-child {
    padding-left: 0;
    border-left: none;
}

.pd-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FBF1E4;
    color: #A85E1F;
}

.pd-trust-label {
    display: block;
    color: #A08A76;
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.pd-trust-value {
    display: block;
    color: #2A211B;
    font-size: 0.71rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- INFO ---------- */
.pd-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #8A7B6E;
    font-size: 0.7rem;
}

.pd-stars {
    color: #F59E0B;
    font-size: 0.84rem;
    letter-spacing: 1px;
    line-height: 1;
}

.pd-rating strong {
    color: #3B2C20;
    font-size: 0.76rem;
}

.pd-title {
    margin-bottom: 10px;
    color: #241D18;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pd-price {
    color: #A85E1F;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pd-price-unit {
    color: #9A8C80;
    font-size: 0.65rem;
}

/* ---------- VARIANTS ---------- */
.pd-variant-section {
    margin-bottom: 18px;
}

.pd-variant-title {
    display: block;
    margin-bottom: 8px;
    color: #7D6E62;
    font-size: 0.65rem;
    font-weight: 600;
}

.pd-variant-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pd-variant {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 9px 11px;
    border: 1.5px solid #EADFD2;
    border-radius: 8px;
    background: #FFFDF9;
    color: #4B3B2E;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-variant:hover {
    border-color: #C58645;
}

.pd-variant.active {
    border-color: #A85E1F;
    background: #FFF3E4;
    color: #A85E1F;
}

.pd-variant-name {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
}

.pd-variant-price {
    color: #2A211B;
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.3;
}

.pd-variant.active .pd-variant-price {
    color: #A85E1F;
}

.pd-variant-check {
    position: absolute;
    top: 7px;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #A85E1F;
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.pd-variant.active .pd-variant-check {
    opacity: 1;
    transform: scale(1);
}

/* ---------- DESCRIPTION ---------- */
.pd-description {
    margin-bottom: 16px;
}

.pd-description h2 {
    margin-bottom: 5px;
    color: #3B2C20;
    font-size: 0.73rem;
    font-weight: 800;
}

.pd-description p {
    margin-bottom: 9px;
    color: #8A7B6E;
    font-size: 0.69rem;
    line-height: 1.65;
}

.pd-checks {
    list-style: none;
    display: grid;
    gap: 5px;
}

.pd-checks li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6B5A4C;
    font-size: 0.65rem;
    line-height: 1.4;
}

.pd-checks svg {
    color: #1F8A4C;
    flex-shrink: 0;
}

/* ---------- WHATSAPP ---------- */
.pd-wa-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background: #1F9E52;
    color: #FFFFFF;
    font-size: 0.77rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(31, 158, 82, 0.2);
    transition: all 0.2s ease;
}

.pd-wa-button:hover {
    background: #178244;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.pd-wa-note {
    margin-top: 7px;
    text-align: center;
    color: #A08A76;
    font-size: 0.57rem;
    line-height: 1.5;
}

/* ---------- RELATED ---------- */
.pd-related {
    padding: 34px 0 40px;
}

.pd-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
}

.pd-related-kicker {
    display: block;
    margin-bottom: 4px;
    color: #A85E1F;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-related-head h2 {
    color: #241D18;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pd-related-head p {
    max-width: 330px;
    color: #8A7B6E;
    font-size: 0.65rem;
    line-height: 1.6;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pd-related-card {
    overflow: hidden;
    border: 1px solid #EFE7DD;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(45, 26, 14, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(45, 26, 14, 0.08);
}

.pd-related-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F3EDE6;
}

.pd-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pd-related-card:hover .pd-related-media img {
    transform: scale(1.04);
}

.pd-related-weight {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #4B3B2E;
    font-size: 0.57rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.pd-related-body {
    padding: 12px 13px 14px;
}

.pd-related-category {
    display: block;
    margin-bottom: 4px;
    color: #B26A2C;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-related-body h3 {
    margin-bottom: 4px;
    color: #2A211B;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.35;
}

.pd-related-body h3 a {
    color: inherit;
    transition: color 0.2s ease;
}

.pd-related-body h3 a:hover {
    color: #A85E1F;
}

.pd-related-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
    margin-bottom: 9px;
    color: #8A7B6E;
    font-size: 0.65rem;
    line-height: 1.55;
}

.pd-related-price {
    margin-bottom: 3px;
    color: #A85E1F;
    font-size: 0.94rem;
    font-weight: 800;
}

.pd-related-pack {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 9px;
    color: #9A8C80;
    font-size: 0.56rem;
}

.pd-related-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 31px;
    border-radius: 6px;
    background: #1F9E52;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.pd-related-wa:hover {
    background: #178244;
    color: #FFFFFF;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pd-hero {
        padding-bottom: 24px;
    }

    .pd-title {
        font-size: 1.7rem;
    }

    .pd-price {
        font-size: 1.65rem;
    }

    .pd-related-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .pd-trust {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pd-trust-item {
        padding: 0;
        border-left: none;
    }

    .pd-variant-list {
        grid-template-columns: 1fr;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
    }
}
