/* ==== SECCIONES ==== */
.sec { position: relative; }
.eyb { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--ald-fm); font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ald-accent2); }
.eyb::after { flex: 1 1 auto; border-top: 2px dashed var(--ald-line); content: ""; }
.eyb b { font-weight: 700; color: var(--ald-accent); }
.lede { max-width: 62ch; font-size: 1.12rem; }
.drk { background: var(--ald-night); color: var(--ald-snow); }
.drk a { color: var(--ald-snow); }
.drk .eyb { color: var(--ald-snow); }
.drk .eyb b { color: var(--ald-snow); }
.drk .eyb::after { border-top-color: #EEF1F659; }
.drk .btn-g { border-color: var(--ald-snow); color: var(--ald-snow); }
.drk .btn-g:hover { background: var(--ald-accent); }
.drk .btn-p { border-color: var(--ald-snow); background: var(--ald-snow); color: var(--ald-night); }
.tnt { background: var(--ald-tint); }
.dsh { border-top: 2px dashed var(--ald-line); }
.is-out { transform: translateY(26px); opacity: 0; }
.did-enter { transform: none; opacity: 1; transition: transform .6s ease, opacity .6s ease; }

/* ==== PORTADA ==== */
.hro { display: flex; align-items: center; min-height: min(calc(100svh - var(--ald-hd)), 900px); padding: 64px 0 72px; background-color: var(--ald-night); background-image: linear-gradient(104deg, #1F2B4400 0%, #1F2B4405 30%, #1F2B44C7 47%, #1F2B44F0 60%, #1F2B44 100%), url("../img/bodega-temuco.webp"); background-position: center, left center; background-size: cover, cover; background-repeat: no-repeat; color: var(--ald-snow); }
.hro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); width: 100%; }
.hro-tx { grid-column: 2; }
.hro-tx .eyb, .hro-tx .eyb b { color: var(--ald-snow); }
.hro-tx .eyb::after { border-top-color: #EEF1F659; }
.hro h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 5.9vw, 6.5rem); line-height: .94; }
.hro p { max-width: 54ch; font-size: 1.12rem; }
.hro-ct { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.hro .btn-p { border-color: var(--ald-snow); background: var(--ald-snow); color: var(--ald-night); }
.hro .btn-p:hover { background: var(--ald-tint); }
.hro .btn-g { border-color: var(--ald-snow); color: var(--ald-snow); }
.hro .btn-g:hover { background: #EEF1F61F; }
.chps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chps li { padding: 6px 12px; border: 1px dashed #EEF1F680; border-radius: 6px; background: #1F2B4499; font-family: var(--ald-fm); font-size: .85rem; }

/* ==== GALERÍA ==== */
.gal { padding: 96px 0 70px; }
.gal-hd { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 30px; }
.gal-ct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.gal-ct button { min-height: 44px; padding: 0 16px; border: 2px solid var(--ald-line); border-radius: 999px; background: var(--ald-bg); font-weight: 600; cursor: pointer; }
.gal-ct button[aria-pressed="true"] { border-color: var(--ald-accent); background: var(--ald-accent); color: var(--ald-snow); }
.gal-ct .gal-ar { width: 46px; padding: 0; font-family: var(--ald-fm); }
.gal-ct .gal-cn { margin-left: auto; font-family: var(--ald-fm); font-size: .9rem; color: var(--ald-accent2); }
.gal-tr { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 20px; margin: 0; padding: 0 0 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--ald-accent) var(--ald-tint); scrollbar-width: thin; }
.crd { scroll-snap-align: start; display: flex; flex-direction: column; padding: 14px 14px 18px; background: var(--ald-tint); }
.crd img { width: 100%; margin-bottom: 14px; background: var(--ald-bg); }
.crd-g { margin: 0 0 4px; font-family: var(--ald-fm); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ald-accent2); }
.crd h3 { margin-bottom: 6px; font-size: 1.12rem; }
.crd h3 a { color: var(--ald-text); text-decoration: none; }
.crd h3 a:hover { color: var(--ald-accent); text-decoration: underline; }
.crd-c { margin: 0 0 10px; font-size: .93rem; }
.crd-p { margin: auto 0 0; font-family: var(--ald-fd); font-size: 1.25rem; font-weight: 700; color: var(--ald-accent); }
.crd-p small { font-family: var(--ald-fb); font-size: .78rem; font-weight: 400; color: var(--ald-text); }

/* ==== PESTAÑAS ==== */
.tbs { padding: 72px 0 112px; }
.tbs-hd { max-width: 760px; margin-bottom: 28px; }
.tb-l { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tb-b { min-height: 46px; padding: 0 20px; border: 2px solid var(--ald-snow); border-radius: 999px; background: transparent; font-weight: 700; color: var(--ald-snow); cursor: pointer; }
.tb-b[aria-selected="true"] { background: var(--ald-snow); color: var(--ald-night); }
.tb-p { max-width: 980px; margin-bottom: 40px; padding: 28px 30px; background: var(--ald-bg); color: var(--ald-text); box-shadow: 10px 10px 0 var(--ald-accent), 20px 20px 0 var(--ald-accent2); }
.tb-p h3 { margin-bottom: 12px; }
.tb-p a { color: var(--ald-accent); }
.tb-nt { margin-top: 44px; font-size: .95rem; }
.cui { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0; }
.cui div { padding: 12px 0 0; border-top: 2px dashed var(--ald-line); }
.cui dt { font-weight: 700; }
.cui dd { margin: 4px 0 0; font-size: .96rem; }

/* ==== TABLAS ==== */
.tbl { margin: 0 0 8px; font-size: .96rem; }
.tbl caption { padding-bottom: 10px; font-weight: 700; text-align: left; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--ald-line); text-align: left; vertical-align: top; }
.tbl thead th { border-bottom: 2px solid var(--ald-accent); font-family: var(--ald-fm); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.tbl tbody th { font-weight: 700; }
.tbl small { display: block; font-size: .84rem; font-weight: 400; }
.sum-l div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.sum-l dd { margin: 0; font-family: var(--ald-fm); }
.tbl-k th { width: 36%; }
.tbl-k td { overflow-wrap: anywhere; }
.tbl-w { max-width: 100%; }

/* ==== RECORRIDO ==== */
.pth { padding: 120px 0 84px; }
.pth-hd { max-width: 720px; margin-left: auto; text-align: right; }
.pth-hd .eyb { flex-direction: row-reverse; }
.pth-svg { width: 100%; height: auto; margin: 26px 0 8px; overflow: visible; }
.pth-svg path { fill: none; stroke: var(--ald-accent); stroke-width: 4; stroke-dasharray: 10 9; }
.pth-svg .pth-ln { stroke-dasharray: 1700; stroke-dashoffset: 0; stroke: var(--ald-accent2); stroke-width: 6; transition: stroke-dashoffset 1.6s ease; }
.has-js .pth-svg.is-out { transform: none; opacity: 1; }
.has-js .pth-svg.is-out .pth-ln { stroke-dashoffset: 1700; }
.pth-svg circle { fill: var(--ald-bg); stroke: var(--ald-accent); stroke-width: 4; }
.pth-svg text { font-family: var(--ald-fd); font-size: 26px; font-weight: 700; fill: var(--ald-accent); text-anchor: middle; }
.pth-st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pth-st li { padding: 18px 18px 20px; background: var(--ald-bg); }
.pth-st .mono { display: block; margin-bottom: 6px; color: var(--ald-accent2); }
.pth-st h3 { font-size: 1.12rem; }
.pth-st p { margin: 0; font-size: .96rem; }
.clc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px 48px; margin-top: 56px; padding: 28px 30px; border: 2px dashed var(--ald-accent); background: var(--ald-bg); }
.clc h3 { margin-bottom: 8px; }
.clc dl { margin: 0; }
.clc dl div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--ald-line); }
.clc dd { margin: 0; font-family: var(--ald-fm); white-space: nowrap; }
.clc .clc-t { border-bottom: 0; font-weight: 700; color: var(--ald-accent); }

/* ==== EQUIPO ==== */
.ppl { padding: 70px 0 100px; }
.ppl-in { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
figure { margin: 0; }
.frm-o { position: relative; isolation: isolate; margin: 0 var(--ald-off) calc(var(--ald-off) + 16px) 0; }
.frm-o::before { position: absolute; inset: 0; z-index: -1; background: var(--ald-accent2); transform: translate(var(--ald-off), var(--ald-off)); content: ""; }
.frm-o img { width: 100%; }
figcaption { font-size: .93rem; }
.crd[hidden], .ln[hidden], .crt-g[hidden] { display: none; }
.stp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; counter-reset: stp; }
.stp li { padding: 12px 10px; border-top: 4px dashed var(--ald-line); font-weight: 600; font-size: .95rem; }
.stp li[aria-current="step"] { border-top: 4px solid var(--ald-accent); background: var(--ald-tint); color: var(--ald-accent); }
.hst { margin: 0; padding: 0; list-style: none; }
.hst li { margin-bottom: 18px; padding: 16px 20px; background: var(--ald-tint); }
.hst li p { margin: 0; }
.hst .mono { display: block; margin-bottom: 4px; color: var(--ald-accent2); }

/* ==== LLAMADO FINAL ==== */
.cta { padding: 58px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cta h2 { margin-bottom: 8px; }
.cta p { max-width: 58ch; margin: 0; }
.cta-bt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-bt a.tel { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--ald-fm); }

/* ==== CABECERA DE PÁGINA ==== */
.ph { padding: 52px 0 40px; border-bottom: 2px dashed var(--ald-line); background: var(--ald-tint); }
.ph h1 { max-width: 22ch; margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.ph .lede { margin: 0; }
.blk { padding: 56px 0; }
.blk-t { padding-top: 36px; }
.g2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 44px; align-items: start; }
.g2r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px dashed var(--ald-accent); border-radius: 6px; background: var(--ald-bg); font-size: .95rem; text-decoration: none; }
.cds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cd { padding: 22px 22px 18px; background: var(--ald-tint); }
.cd .mono { display: block; margin-bottom: 8px; color: var(--ald-accent2); }
.cd h2, .cd h3 { font-size: 1.2rem; text-transform: none; }
.cd p:last-child, .cd ul:last-child { margin-bottom: 0; }
.cd-a { border-left: 5px solid var(--ald-accent); }
.cd-s { background: var(--ald-bg); box-shadow: var(--ald-shd); }
.cd-d { background: var(--ald-night); color: var(--ald-snow); }
.cd-d a { color: var(--ald-snow); }
.cd-d .mono { color: var(--ald-snow); }
.ltr { padding: 18px 20px; border: 2px dashed var(--ald-line); background: var(--ald-bg); font-family: var(--ald-fm); font-size: .9rem; white-space: pre-line; }
.rev { margin-top: 26px; font-size: .9rem; color: var(--ald-muted); }

/* ==== FORMULARIOS ==== */
.frm { padding: 26px 26px 22px; background: var(--ald-bg); box-shadow: var(--ald-shd); }
.fld { margin-bottom: 16px; }
.fld label, .fld legend { display: block; margin-bottom: 6px; font-weight: 700; }
.fld small { display: block; margin-top: 4px; font-size: .88rem; color: var(--ald-text); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ald-line); border-radius: 10px; background: var(--ald-bg); }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ald-accent); outline: 2px solid var(--ald-accent); outline-offset: 1px; }
.fld [aria-invalid="true"] { border-color: var(--ald-accent); border-style: dashed; }
.fld-r { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.chk { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .96rem; }
.chk input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ald-accent); }
.err { display: block; margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--ald-accent); font-size: .92rem; font-weight: 700; color: var(--ald-text); }
.err:empty { display: none; }
.msg { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--ald-accent2); background: var(--ald-tint); font-weight: 600; }
.msg:empty { display: none; }
fieldset { margin: 0; padding: 0; border: 0; }
.opc { display: grid; gap: 10px; }
.opc label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 12px 14px; border: 2px solid var(--ald-line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.opc input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ald-accent); }
.opc small { display: block; font-weight: 400; }

/* ==== CONTACTO ==== */
.ctc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 52px; align-items: start; }
.ctc-tx .cd { margin-bottom: 18px; }
.ctc-dt { margin-top: 26px; }
.ctc-dt dl { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.ctc-dt dt { font-weight: 700; }
.ctc-dt dd { margin: 0; overflow-wrap: anywhere; }
.ctc-dt dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* ==== CATÁLOGO ==== */
.flt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.flt button { min-height: 44px; padding: 0 16px; border: 2px solid var(--ald-line); border-radius: 999px; background: var(--ald-bg); font-weight: 600; cursor: pointer; }
.flt button[aria-pressed="true"] { border-color: var(--ald-accent); background: var(--ald-accent); color: var(--ald-snow); }
.ctg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }

/* ==== PRENDA ==== */
.prd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 34px 56px; align-items: start; }
.prd-ph { max-width: 640px; }
.prd-ph img { width: 100%; max-height: 60vh; object-fit: cover; }
.prd-in { padding: 24px 26px; background: var(--ald-bg); box-shadow: var(--ald-shd); }
.prc { margin: 0 0 4px; font-family: var(--ald-fd); font-size: 2.3rem; font-weight: 800; line-height: 1.1; color: var(--ald-accent); }
.prc-n { margin: 0 0 16px; font-size: .92rem; }
.tls { display: flex; flex-wrap: wrap; gap: 8px; }
.tls label { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; min-height: 48px; padding: 4px 10px; border: 2px solid var(--ald-line); border-radius: 10px; font-weight: 700; cursor: pointer; }
.tls input { width: 18px; height: 18px; margin: 0 0 2px; accent-color: var(--ald-accent); }
.tls label:has(input:checked) { border-color: var(--ald-accent); background: var(--ald-tint); }
.tls .ago { border-style: dashed; color: var(--ald-muted); cursor: not-allowed; }
.tls .ago small { font-size: .7rem; font-weight: 600; }
.qty { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-top: 6px; }
.qty .fld { width: 120px; margin: 0; }
.add-n { margin: 12px 0 0; font-size: .92rem; }
.prd-dt { margin-top: 18px; }
.prd-dt li { margin-bottom: 4px; }

/* ==== CARRO Y COMPRA ==== */
.crt-g { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 30px 44px; align-items: start; }
.lns { margin: 0; padding: 0; list-style: none; }
.ln { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; margin-bottom: 14px; padding: 14px; background: var(--ald-tint); }
.ln img { width: 96px; }
.ln h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ln p { margin: 0; font-size: .92rem; }
.ln-c { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ln-c select { min-height: 44px; padding: 0 10px; border: 2px solid var(--ald-line); border-radius: 10px; background: var(--ald-bg); }
.ln-c button { min-height: 44px; padding: 0 14px; border: 2px solid var(--ald-line); border-radius: 999px; background: var(--ald-bg); font-weight: 600; cursor: pointer; }
.ln-m { font-family: var(--ald-fm); font-weight: 700; white-space: nowrap; }
.sum { position: sticky; top: calc(var(--ald-hd) + 18px); padding: 24px; background: var(--ald-bg); box-shadow: var(--ald-shd); }
.sum h2 { font-size: 1.4rem; }
.sum dl { margin: 0 0 14px; }
.sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--ald-line); }
.sum dd { margin: 0; font-family: var(--ald-fm); white-space: nowrap; }
.sum .sum-t { border-bottom: 0; font-size: 1.15rem; font-weight: 700; color: var(--ald-accent); }
.sum .fld { margin-top: 10px; }
.sum-l { margin: 0 0 14px; padding: 0; list-style: none; font-size: .92rem; }
.sum-l li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.sum-n { font-size: .9rem; }
.vac { padding: 30px; border: 2px dashed var(--ald-accent); background: var(--ald-bg); }
.ok-n { font-family: var(--ald-fd); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--ald-accent); }

/* ==== PANTALLAS ==== */
@media (max-width: 1100px) {
  .ctg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pth-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hro { background-image: linear-gradient(180deg, #1F2B44E6 0%, #1F2B44D9 58%, #1F2B4499 100%), url("../img/bodega-temuco.webp"); background-position: center, 30% center; }
  .hro-in { grid-template-columns: minmax(0, 1fr); }
  .hro-tx { grid-column: 1; }
  .gal-hd, .ppl-in, .g2, .g2r, .ctc, .crt-g, .clc { grid-template-columns: minmax(0, 1fr); }
  .prd { grid-template-columns: minmax(0, 1fr); }
  .prd-in { order: -1; }
  .prd-ph img { max-height: 46vh; }
  .ppl-in .frm-o { max-width: 420px; }
  .sum { position: static; }
  .pth-hd { margin-left: 0; text-align: left; }
  .pth-hd .eyb { flex-direction: row; }
}
@media (max-width: 760px) {
  .pth-svg { display: none; }
  .pth-st { grid-template-columns: minmax(0, 1fr); }
  .pth-st li { border-left: 4px dashed var(--ald-accent2); }
  .cui { grid-template-columns: minmax(0, 1fr); }
  .ctg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 600px) {
  .hro { align-items: flex-start; min-height: 0; padding: 36px 0 120px; }
  .hro h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .gal { padding: 56px 0 44px; }
  .gal-tr { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; scroll-snap-type: none; }
  .gal-ct { display: none; }
  .crd { padding: 10px 10px 14px; }
  .crd h3 { font-size: 1rem; }
  .crd-c { display: none; }
  .tbs { padding: 52px 0 76px; }
  .tb-p { padding: 20px 16px; box-shadow: 6px 6px 0 var(--ald-accent), 12px 12px 0 var(--ald-accent2); }
  .tb-b { padding: 0 14px; }
  .tbl { font-size: .9rem; }
  .tbl th, .tbl td { padding: 8px 6px; }
  .pth { padding: 64px 0 56px; }
  .clc { padding: 20px 16px; }
  .ph { padding: 34px 0 28px; }
  .blk { padding: 40px 0; }
  .frm { padding: 20px 16px; }
  .fld-r { grid-template-columns: minmax(0, 1fr); }
  .ln { grid-template-columns: 72px minmax(0, 1fr); }
  .ln img { width: 72px; }
  .ln-m { grid-column: 2; }
  .ctc-dt dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ctc > div:last-child { order: -1; }
  .ctc-dt dd { margin-bottom: 8px; }
  .prd-in { padding: 18px 16px; }
  .stp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .cd { padding: 18px 14px 16px; }
  .tbl { font-size: .84rem; }
  .tbl th, .tbl td { padding: 7px 4px; }
  .tbl thead th { font-size: .72rem; letter-spacing: 0; }
}
