/* Product page (Views/Store/Details.cshtml), 11 Nov 2026 nationwide SEO: product facts, trust list under the buy buttons,
   in-stock alternatives on an out-of-stock product. Sits on the public glass tokens (--pg-*), phone first. */

/* The section headings on this page are h2/h3 for the outline but keep their small look: the public theme sizes every
   h2 large (public-glass.css), which pushed the price and Add to Cart far down the page. */
:is(.pg, body.admin-glass main .pg-canvas.pg) :is(h2, h3, h4).h4 { font-size: 1.4rem; line-height: 1.25; }
:is(.pg, body.admin-glass main .pg-canvas.pg) :is(h2, h3, h4).h5 { font-size: 1.15rem; line-height: 1.3; }
:is(.pg, body.admin-glass main .pg-canvas.pg) :is(h2, h3, h4).h6 { font-size: 1rem; line-height: 1.3; }

/* Product facts: label + value rows */
.pd-facts-list { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; margin: 0; }
.pd-facts-list > div { display: flex; gap: .75rem; padding: .3rem 0; border-bottom: 1px solid var(--pg-border, rgba(20, 40, 58, .12)); min-width: 0; }
.pd-facts-list dt { flex: 0 0 8.5rem; font-weight: 600; color: var(--pg-muted, #5b6877); }
.pd-facts-list dd { flex: 1 1 auto; margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--pg-ink, #14283a); }
@media (max-width: 380px) {
    .pd-facts-list dt { flex-basis: 7rem; }
}

/* Trust list */
.pd-trust { border: 1px solid var(--pg-border, rgba(20, 40, 58, .12)); border-radius: 12px; padding: .25rem .85rem; background: var(--pg-sea-soft, rgba(29, 111, 164, .06)); }
.pd-trust li { display: flex; align-items: flex-start; gap: .6rem; padding: .45rem 0; line-height: 1.35; }
.pd-trust li + li { border-top: 1px solid var(--pg-border, rgba(20, 40, 58, .12)); }
.pd-trust .bi { flex: 0 0 1.2rem; font-size: 1.05rem; line-height: 1.3; color: var(--pg-sea, #1d6fa4); }
.pd-trust .bi-whatsapp { color: #128c7e; }
.pd-trust a { font-weight: 600; }

/* In stock now instead (out-of-stock product) */
.pd-alt { border: 2px solid var(--pg-sun, #ffc107); border-radius: 12px; padding: .75rem .85rem; background: rgba(255, 193, 7, .10); }
.pd-alt-item { display: flex; align-items: center; gap: .65rem; padding: .35rem 0; min-height: 44px; color: inherit; text-decoration: none; }
.pd-alt li + li .pd-alt-item { border-top: 1px solid var(--pg-border, rgba(20, 40, 58, .12)); }
.pd-alt-item:hover .pd-alt-name, .pd-alt-item:focus-visible .pd-alt-name { text-decoration: underline; }
.pd-alt-pic { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; overflow: hidden; }
.pd-alt-pic img { width: 44px; height: 44px; object-fit: contain; }
.pd-alt-name { flex: 1 1 auto; min-width: 0; font-size: .9rem; line-height: 1.25; }
.pd-alt-price { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
