/* Rich product description layout (BDshoppers) */
.sf-pd {
    --sf-pd-accent: var(--sf-primary, #dc2626);
    --sf-pd-muted: #64748b;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #475569;
}

.sf-pd-hero {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 55%, #f8fafc 100%);
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
}

.sf-pd-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sf-pd-accent);
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.55rem;
}

.sf-pd-title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
}

.sf-pd-lead {
    margin: 0;
    font-size: 1rem;
    color: #334155;
}

.sf-pd-section {
    margin-bottom: 1.5rem;
}

.sf-pd-h3 {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    padding-left: 0.65rem;
    border-left: 3px solid var(--sf-pd-accent);
}

.sf-pd-features {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .sf-pd-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sf-pd-feature {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.sf-pd-feature strong {
    display: block;
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.sf-pd-feature span {
    display: block;
    font-size: 0.84rem;
    color: var(--sf-pd-muted);
}

.sf-pd-spec-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

@media (min-width: 640px) {
    .sf-pd-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sf-pd-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.sf-pd-spec-row:nth-child(even) {
    background: #f8fafc;
}

.sf-pd-spec-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sf-pd-muted);
}

.sf-pd-spec-value {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.sf-pd-why {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
}

.sf-pd-why .sf-pd-h3 {
    border-left-color: #d97706;
}

.sf-pd-why p {
    margin: 0;
    color: #78350f;
}

.sf-pd-faq-list {
    display: grid;
    gap: 0.65rem;
}

.sf-pd-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.sf-pd-faq-q {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.sf-pd-faq-a {
    margin: 0;
    font-size: 0.84rem;
    color: var(--sf-pd-muted);
}

.sf-pd-delivery {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    color: #065f46;
}

.sf-pd-delivery strong {
    color: #047857;
}

/* Legacy plain HTML inside rich shell */
.sf-pd-body > h2:first-child {
    display: none;
}

.sf-pd-body h2 {
    margin: 1.25rem 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    padding-left: 0.65rem;
    border-left: 3px solid var(--sf-pd-accent);
}

.sf-pd-body > ul {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
    .sf-pd-body > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sf-pd-body > ul > li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 0;
}

.sf-pd-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.sf-pd-body table th,
.sf-pd-body table td {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.84rem;
}

.sf-pd-body table th {
    width: 38%;
    font-weight: 600;
    color: var(--sf-pd-muted);
    background: #f8fafc;
    text-align: left;
}

.sf-pd-body table td {
    font-weight: 600;
    color: #0f172a;
}

.sf-pd-body > p:last-child {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: #065f46;
}
