/* URBAN MIX — Fichas de producto (/producto/<id>/<slug>). Se carga después de legal.css. */
.pd-wrap { max-width: 1100px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 56px; }
.pd-migas { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.pd-migas a { text-decoration: none; color: var(--ink-2); }
.pd-migas a:hover { text-decoration: underline; }

.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.pd__media { position: sticky; top: 84px; }
.pd__img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--bg-soft); border-radius: 16px; }
.pd__ph { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--bg-soft); border-radius: 16px; }
.pd__ph img { width: 45%; opacity: .25; }
.pd__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pd__thumbs img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }

.pd__cat { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pd__title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 44px); line-height: 1; margin: 0 0 14px; }
.pd__price { font-size: 26px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd__price span { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.pd__price small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.pd__stock { margin: 0 0 18px; font-size: 14px; font-weight: 600; }
.pd__stock.is-ok { color: #1a7f37; }
.pd__stock.is-out { color: #b42318; }

.pd__opt { margin-bottom: 14px; }
.pd__optname { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pd__opt ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pd__opt li { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; line-height: 1.4; }
.pd__opt li.is-out { color: var(--ink-3); text-decoration: line-through; }
.pd__desc { color: var(--ink-2); }

.pd__cta { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 10px; }
.pd-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.pd-btn--dark { background: var(--black); color: #fff; }
.pd-btn--dark:hover { background: #333; }
.pd-btn--wa { background: #25D366; color: #fff; }
.pd-btn--wa:hover { background: #1fb457; }
.pd__sku { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; }

.pd-rel { margin-top: 56px; }
.pd-rel h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 28px; margin: 0 0 16px; }
.pd-rel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pd-rel__item { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.pd-rel__item img { aspect-ratio: 1 / 1; object-fit: contain; background: var(--bg-soft); border-radius: 12px; }
.pd-rel__name { font-size: 14px; line-height: 1.35; }
.pd-rel__price { font-weight: 700; font-size: 14px; }

.pd-error { text-align: center; padding-top: 64px; }
.pd-error h1 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 40px; margin: 0 0 8px; }

@media (max-width: 760px) {
  .pd { grid-template-columns: 1fr; }
  .pd__media { position: static; }
  .pd-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
