/* Páginas del servidor: ficha de producto y estado del pedido */
.subpage { background: var(--concrete); }
.subpage .section { padding: clamp(40px, 6vw, 80px) 0; }
.narrow { max-width: 820px; }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp__art { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--tone, #888); display: grid; place-items: center; box-shadow: var(--shadow); }
.pdp__art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .28), transparent 60%); }
.pdp__art svg { position: relative; width: 42%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .25)); }
.pdp__art canvas, .pdp__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: grid; gap: 16px; align-content: start; }
.pdp__info .h2 { font-size: clamp(32px, 4vw, 52px); }
.pdp__desc { font-size: 18px; color: var(--muted); }
.pdp__price { font-size: 40px; }
.pdp__buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.pdp__buy .btn { flex: 1; }
.pdp__buy .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.qty--lg { height: 56px; }
.qty--lg button { width: 48px; height: 54px; font-size: 22px; }
.qty--lg span { min-width: 36px; font-size: 18px; }
.pdp .field select { background: #fff; }

.result { padding: 36px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); border-top: 6px solid var(--blue); display: grid; gap: 12px; justify-items: start; }
.result--ok { border-top-color: #1FAF54; }
.result--bad { border-top-color: var(--red); }
.result .mono { color: var(--muted); }
.lead-dark { font-size: 18px; color: #3A3E47; max-width: 60ch; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 750; }
.pill--ok { background: #DDF5E6; color: #0F6B33; }
.pill--bad { background: #FBE3E1; color: #8E1F18; }
.pill--warn { background: #FFF1D6; color: #7A5200; }
.panel { margin-top: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.otable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.otable th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.otable td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.otable .r { text-align: right; }
.otable tfoot td { border: 0; padding: 6px 0; color: var(--muted); }
.otable tfoot .grand td { color: var(--text); font-weight: 850; font-size: 22px; padding-top: 12px; }
.paydata { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line); }
.paydata dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.paydata dd { margin: 4px 0 0; font-weight: 700; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.footer--mini { padding: 20px 0; }
.footer--mini .footer__legal { margin-top: 0; border-top: 0; padding-top: 0; }

@media (max-width: 820px) {
  .pdp { grid-template-columns: 1fr; }
  .paydata { grid-template-columns: 1fr 1fr; }
  .subpage { padding-bottom: 0; }
}

/* Ficha: confianza y compra fija en teléfono */
.pdp__trust { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.pdp__trust li { display: flex; gap: 10px; align-items: flex-start; }
.pdp__trust .ic { flex: none; width: 20px; height: 20px; color: var(--blue, #2C67DE); margin-top: 2px; }
.pdp__trust strong { color: var(--text); }
.pdp__trust a, .pdp__info .small a { color: var(--blue, #2C67DE); font-weight: 700; }
@media (max-width: 760px) { .pdp__buy { position: sticky; bottom: 76px; z-index: 5; background: var(--concrete); padding: 10px 0; } }
/* Políticas y seguimiento */
.panel h2 { font-size: 22px; margin-bottom: 10px; }
.panel p + p { margin-top: 10px; }
.panel p { color: #3A3E47; line-height: 1.6; }
.panel + .panel { margin-top: 16px; }
.seguimiento { display: grid; gap: 14px; max-width: 520px; }
.footer--mini a { color: inherit; }
