/* Sitio público */
.hero {
  border-radius: 22px; padding: clamp(24px, 5vw, 54px); margin-bottom: 28px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 122, 26, .18), transparent 55%), linear-gradient(180deg, var(--surface), var(--navy2));
  border: 1px solid var(--line);
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero p { color: var(--muted); max-width: 52ch; font-size: 16.5px; }
.hero .acciones { justify-content: flex-start; }
.hero .deco { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; color: var(--acc); opacity: .12; }
.hero .deco svg { width: 100%; height: 100%; stroke-width: 1; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 34px 0 14px; }
.sec-head h2 { margin: 0; font-size: 26px; }
.eyebrow { font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }

.prods { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.prod { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.prod .foto { aspect-ratio: 4/3; background: var(--navy2); display: grid; place-items: center; cursor: pointer; }
.prod .foto img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--acc); background: radial-gradient(circle at 50% 40%, var(--accdim), transparent 70%); }
.ph svg { width: 34%; height: 34%; stroke-width: 1.2; }
.prod .info { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod .marca-p { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod h3 { font-size: 16px; margin: 0; cursor: pointer; }
.prod .precio { font: 800 20px var(--display); margin-top: auto; padding-top: 8px; }
.prod .btns { display: flex; gap: 8px; margin-top: 8px; }
.prod .btns .btn { flex: 1; padding: 0 10px; }

.detalle { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detalle .foto { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line); }
.detalle .foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 16px 0; }
.ficha dt { color: var(--muted); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.ficha dd { margin: 0; }

.servs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.serv { display: flex; flex-direction: column; gap: 8px; }
.serv .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accdim); color: var(--acc); display: grid; place-items: center; }
.serv .ico svg { width: 24px; height: 24px; }
.serv h3 { font-size: 18px; margin: 4px 0 0; }
.serv p { color: var(--muted); margin: 0; font-size: 14px; flex: 1; }

.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row .mini { width: 64px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--navy2); }
.cart-row .mini img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 18px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-family: var(--mono); }
.badge-cart { position: absolute; top: -5px; right: -5px; background: var(--acc); color: #fff; font: 700 10.5px var(--mono); border-radius: 99px; padding: 1px 6px; }

.horas { display: flex; flex-wrap: wrap; gap: 8px; }
.horas button { min-width: 74px; }
.horas button.sel { background: var(--acc); color: #fff; border-color: transparent; }
.ok-box { text-align: center; padding: 30px 10px; }
.ok-box .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(46, 230, 168, .14); color: var(--mint); display: grid; place-items: center; margin: 0 auto 14px; font-size: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.dos { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }

@media (max-width: 860px) {
  .detalle, .dos { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 52px 1fr auto; }
  .cart-row .num { grid-column: 2 / 4; text-align: left; }
}

/* Agente (modo demostración; mismo aspecto que el widget de AsistentePro) */
.ag-btn { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--acc); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(255, 122, 26, .35); }
.ag-btn svg { width: 28px; height: 28px; }
.ag-panel { position: fixed; right: 20px; bottom: 92px; z-index: 50; width: 360px; max-width: calc(100vw - 40px); height: 520px; max-height: calc(100vh - 110px); background: #fff; color: #131C2E; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; overflow: hidden; font-family: var(--sans); }
.ag-head { background: var(--acc); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.ag-head b { display: block; font-size: 15px; }
.ag-head small { opacity: .85; font-size: 12px; }
.ag-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.ag-body { flex: 1; overflow-y: auto; padding: 14px; background: #f6f8fc; display: flex; flex-direction: column; gap: 8px; }
.ag-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.ag-msg.bot { background: #fff; border: 1px solid #e3e8f0; border-bottom-left-radius: 4px; align-self: flex-start; }
.ag-msg.yo { background: var(--acc); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ag-msg a { color: inherit; font-weight: 600; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-chips button { border: 1px solid var(--acc); background: #fff; color: var(--acc); border-radius: 99px; padding: 5px 10px; font-size: 12.5px; cursor: pointer; }
.ag-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e3e8f0; background: #fff; }
.ag-form input { background: #f6f8fc; color: #131C2E; border-color: #e3e8f0; border-radius: 99px; }
.ag-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--acc); color: #fff; cursor: pointer; flex: none; }
.ag-foot { text-align: center; font-size: 11px; color: #7B8BA3; padding: 6px; background: #fff; }
.ag-foot .demo { color: var(--acc); font-weight: 600; }
