/* Pure Herbal — ZeroHarm-inspired product detail page */

.pdp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

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

.pdp-gallery-main {
    background: #f8faf8;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
}

.pdp-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.pdp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #f3f4f6;
}

.pdp-thumb.active {
    border-color: #16a34a;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pdp-badge {
    background: #ecfdf5;
    color: #166534;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
}

.pdp-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 12px;
}

.pdp-short-desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pdp-consumption {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.pdp-consumption-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.pdp-consumption-item small {
    display: block;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.pdp-consumption-item strong {
    display: block;
    font-size: 13px;
    color: #111827;
}

.pdp-variant-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #374151;
}

.pdp-variants {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.pdp-variant {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    position: relative;
}

.pdp-variant:hover {
    border-color: #86efac;
}

.pdp-variant.selected {
    border-color: #16a34a;
    background: #f0fdf4;
}

.pdp-variant-tag {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.pdp-variant-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.pdp-variant-title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.pdp-variant-detail {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.pdp-variant-price {
    text-align: right;
}

.pdp-variant-price .current {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.pdp-variant-price .compare {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.pdp-variant-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #059669;
    font-weight: 600;
}

.pdp-price-block {
    margin-bottom: 16px;
}

.pdp-price-block .current {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
}

.pdp-price-block .compare {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 8px;
}

.pdp-price-block .save {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-left: 8px;
}

.pdp-tax-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.pdp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.pdp-actions .btn-add {
    background: #fff;
    color: #16a34a;
    border: 2px solid #16a34a;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
}

.pdp-actions .btn-buy {
    background: #16a34a;
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
}

.pdp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.pdp-trust-item {
    text-align: center;
    font-size: 12px;
    color: #374151;
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px 8px;
}

.pdp-trust-item strong {
    display: block;
    font-size: 13px;
    color: #111827;
}

.pdp-accordions {
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.pdp-accordion {
    border-bottom: 1px solid #e5e7eb;
}

.pdp-accordion-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdp-accordion-body {
    display: none;
    padding-bottom: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

.pdp-accordion.open .pdp-accordion-body {
    display: block;
}

.pdp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pdp-table th,
.pdp-table td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
}

.pdp-table th {
    background: #f9fafb;
    font-weight: 600;
}

.pdp-list li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.pdp-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.pdp-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

@media (max-width: 900px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pdp-consumption {
        grid-template-columns: 1fr;
    }

    .pdp-trust {
        grid-template-columns: 1fr;
    }

    .pdp-actions {
        grid-template-columns: 1fr;
    }
}
