.crumbs { font-size: .92rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--atomic-dark); }
.crumbs span::before { content: "/"; margin: 0 .5rem; }

.product { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
/* minmax(0, 1fr) + min-width: 0 evitan que la fila de miniaturas
   (o un nombre muy largo) estire la columna más que la pantalla en celulares */
@media (max-width: 991.98px) { .product { grid-template-columns: minmax(0, 1fr); } }
.product > * { min-width: 0; }
.product__name { overflow-wrap: anywhere; }

.product__main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.product__main img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.product__thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.product__thumbs button[aria-current="true"] { border-color: var(--atomic); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__name { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.product__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 0; }
.product__stock { font-weight: 600; margin-bottom: 1rem; }
.product__stock.is-ok { color: var(--ok); }
.product__stock.is-presale { color: var(--hazard-ink); }
.product__stock.is-incoming { color: var(--atomic-dark); }
.product__stock.is-out { color: var(--danger); }

.presale-note { background: #fff6d6; border-left: 4px solid var(--hazard); border-radius: var(--r-sm); padding: .75rem 1rem; margin-bottom: 1rem; }

.product__buy { display: flex; gap: .5rem; margin-bottom: .5rem; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 1.2rem; font-weight: 700; }
.qty button:disabled { opacity: .35; }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }

.ship-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.ship-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.ship-list li:last-child { border-bottom: 0; }
.ship-list strong { font-family: var(--font-display); font-size: 1.2rem; }
.ship-list small { display: block; color: var(--muted); }

#productDescription { white-space: pre-line; }

.similar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 23%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.similar > * { scroll-snap-align: start; }
@media (max-width: 767.98px) { .similar { grid-auto-columns: 46%; } }

.presale-note--incoming { background: #e4f3fc; border-left-color: var(--atomic); }
