/* Complemento para el catálogo actual y las nuevas páginas de producto. */
.product-detail-link { display:inline-block;margin:.4rem 0 .8rem;color:#754b3e;font-weight:700;text-decoration:underline;text-underline-offset:3px }
.size-guide-cta { text-align:center;padding:1rem;margin:1.5rem auto;color:#65483f }
.size-guide-cta a { color:#754b3e;font-weight:700;text-decoration:underline }
.detail-page { margin:0;background:#fbf5ee;color:#402d2a;font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif }
.detail-page * { box-sizing:border-box }
.detail-page a { color:#75503e }
.detail-header { display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;padding:1rem max(5vw,20px);box-shadow:0 2px 12px #4e322514 }
.detail-header nav { display:flex;gap:1rem;flex-wrap:wrap }
.detail-brand { font-size:1.3rem;font-weight:750;text-decoration:none }
.detail-main,.guide-main { max-width:1150px;margin:0 auto;padding:1.4rem max(4vw,20px) 4rem }
.breadcrumb { font-size:.9rem;color:#745a51;margin:0 0 1.5rem }
.detail-grid { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,5vw,4rem) }
.detail-gallery>img,.detail-placeholder { display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:18px;box-shadow:0 4px 20px #563d3012 }
.detail-placeholder { display:grid;place-items:center;color:#a37b72;font-size:1.4rem }
.detail-thumbs { display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem }
.thumb { width:75px;height:75px;padding:2px;border:2px solid transparent;border-radius:10px;background:#fff;cursor:pointer }
.thumb.active { border-color:#9c6458 }
.thumb img { width:100%;height:100%;object-fit:cover;border-radius:6px }
.detail-info h1,.guide-main h1 { font-size:clamp(1.9rem,4vw,3rem);line-height:1.14;margin:.4rem 0 }
.detail-category { color:#986e5c;font-size:.85rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em }
.detail-price { font-size:1.6rem;font-weight:800;margin:.7rem 0 }
.detail-stock { display:inline-block;background:#e9f3e9;color:#28542a;border-radius:100px;padding:.25rem .7rem;font-size:.9rem;font-weight:700 }
.detail-stock.unavailable { background:#f9e9e6;color:#8c3530 }
.detail-description { margin:1rem 0;white-space:normal }
.detail-variants h2,.guide-steps h2 { font-size:1.15rem;margin:1.5rem 0 .7rem }
.detail-options { display:flex;flex-wrap:wrap;gap:.6rem }
.detail-option { min-width:110px;text-align:left;border:1px solid #d5c3b5;background:white;border-radius:10px;padding:.6rem .8rem;color:#402d2a;cursor:pointer }
.detail-option small { display:block;color:#726058 }
.detail-option.selected { border:2px solid #9b6358;background:#fff5f1 }
.detail-option:disabled { opacity:.55;cursor:not-allowed;text-decoration:line-through }
.quantity-label { display:block;margin:1.4rem 0 .35rem;font-weight:650 }
#quantity { width:85px;padding:.55rem;border:1px solid #c9b8ab;border-radius:8px;font:inherit }
.detail-button { display:block;width:100%;max-width:350px;margin:1rem 0;background:#855b50;border:0;border-radius:10px;padding:.8rem 1.2rem;text-align:center;color:white!important;font:inherit;font-weight:700;text-decoration:none;cursor:pointer }
.detail-button:disabled { opacity:.6;cursor:not-allowed }
.detail-secondary { display:inline-block;margin:.7rem 0 }
.detail-back { margin-top:1.4rem }
#detail-message { min-height:1.5rem }
.guide-main { max-width:850px }
.table-scroll { overflow-x:auto;margin:1.6rem 0;background:#fff;border-radius:12px }
.guide-main table { width:100%;border-collapse:collapse;min-width:520px }
.guide-main th,.guide-main td { padding:.85rem 1rem;text-align:left;border-bottom:1px solid #eee2d8 }
.guide-main thead { background:#f3dfd5 }
.guide-steps,.guide-note { background:white;padding:1rem 1.4rem;border-radius:12px;margin:1.4rem 0 }
.guide-steps li { margin:.5rem 0 }
@media(max-width:720px){.detail-grid{grid-template-columns:1fr}.detail-header{align-items:flex-start}.detail-gallery>img{max-height:65vh}.detail-header nav{justify-content:flex-end}}
