/* 710-red · estilos públicos (paleta del tema 710-kraft) */
.h710 {
	--h710-fondo: #F4EFE6;
	--h710-barril: #16130F;
	--h710-oil: #F0B24F;
	--h710-linea: #d9d0c1;
	--h710-suave: #6b6257;
	--h710-ok: #2f7d4f;
	--h710-error: #b3261e;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--h710-barril);
	box-sizing: border-box;
}
.h710 *, .h710 *::before, .h710 *::after { box-sizing: inherit; }
.h710 h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
.h710-encabezado p { color: var(--h710-suave); max-width: 60ch; }

/* Avisos */
.h710-aviso { border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0; border: 1px solid var(--h710-linea); background: #fff; }
.h710-aviso--ok { border-color: var(--h710-ok); }
.h710-aviso--error { border-color: var(--h710-error); color: var(--h710-error); }

/* Formulario */
.h710-form { display: grid; gap: 1.25rem; max-width: 720px; }
.h710-form fieldset { border: 1px solid var(--h710-linea); border-radius: 14px; padding: 1rem 1.25rem 1.25rem; margin: 0; background: #fffdf9; display: grid; gap: .85rem; }
.h710-form legend { font-weight: 700; padding: 0 .4rem; }
.h710-form label { display: grid; gap: .3rem; font-size: .92rem; font-weight: 600; }
.h710-form input[type=text], .h710-form input[type=email], .h710-form input[type=tel], .h710-form input[type=number],
.h710-form input[type=time], .h710-form input[type=file], .h710-form select, .h710 textarea {
	font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid var(--h710-linea); border-radius: 10px; background: #fff; width: 100%; min-height: 44px;
}
.h710-form input:focus, .h710-form select:focus { outline: 3px solid var(--h710-oil); outline-offset: 1px; }
.h710-fila { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.h710-check { display: flex !important; align-items: flex-start; gap: .5rem; font-weight: 500 !important; }
.h710-check input { margin-top: .2rem; width: 18px; height: 18px; flex: none; }
.h710-dias { display: flex; flex-wrap: wrap; gap: .4rem; }
.h710-chip { display: inline-flex !important; align-items: center; gap: .3rem; border: 1px solid var(--h710-linea); border-radius: 999px; padding: .35rem .7rem; background: #fff; font-weight: 500 !important; }
.h710-nota { margin: 0; color: var(--h710-suave); font-size: .88rem; }
.h710-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.h710-boton { font: inherit; font-weight: 700; background: var(--h710-barril); color: var(--h710-fondo); border: 0; border-radius: 999px; padding: .85rem 1.6rem; cursor: pointer; min-height: 48px; justify-self: start; }
.h710-boton:hover, .h710-boton:focus-visible { background: #000; box-shadow: 0 0 0 3px var(--h710-oil); }
.h710-boton--oil, .h710-boton--oil:hover, .h710-boton--oil:focus-visible { background: var(--h710-oil); color: var(--h710-barril); }
/* Mapa de tiendas */
.h710-mapa { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.h710-mapa__barra { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
.h710-mapa__estado { color: var(--h710-suave); font-size: .9rem; }
.h710-mapa__lienzo { height: 52vh; min-height: 320px; border-radius: 16px; border: 1px solid var(--h710-linea); overflow: hidden; z-index: 0; }
.h710-mapa__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 900px) {
	.h710-mapa { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); grid-template-areas: "barra barra" "mapa lista"; }
	.h710-mapa__barra { grid-area: barra; }
	.h710-mapa__lienzo { grid-area: mapa; height: 70vh; }
	.h710-mapa__lista { grid-area: lista; max-height: 70vh; overflow: auto; padding-right: .25rem; }
}
.h710-tarjeta { background: #fff; border: 1px solid var(--h710-linea); border-radius: 14px; padding: .9rem 1rem; display: grid; gap: .35rem; }
.h710-tarjeta.is-activa { border-color: var(--h710-barril); box-shadow: 0 0 0 2px var(--h710-oil); }
.h710-tarjeta h3 { margin: 0; font-size: 1.05rem; display: flex; justify-content: space-between; gap: .5rem; }
.h710-tarjeta__distancia { font-weight: 600; color: var(--h710-suave); font-size: .9rem; white-space: nowrap; }
.h710-tarjeta__datos { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; }
.h710-etiqueta { border-radius: 999px; padding: .15rem .55rem; background: var(--h710-fondo); border: 1px solid var(--h710-linea); }
.h710-etiqueta--abierta { background: #e3f2e8; border-color: #a8d5b8; color: var(--h710-ok); font-weight: 600; }
.h710-etiqueta--cerrada { background: #f6e3e1; border-color: #e6b8b3; color: var(--h710-error); font-weight: 600; }
.h710-tarjeta a { color: var(--h710-barril); font-weight: 700; text-decoration-color: var(--h710-oil); text-decoration-thickness: 2px; }
.h710-pin { background: var(--h710-barril); color: var(--h710-oil); border: 2px solid var(--h710-oil); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); width: 28px !important; height: 28px !important; display: grid; place-items: center; font: 700 11px Inter, sans-serif; }
.h710-pin span { transform: rotate(45deg); }
.h710-yo { background: #2a6df4; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #2a6df4; }

/* Página de productos de una tienda */
.h710-tienda__cabeza { display: grid; gap: .3rem; margin-bottom: 1rem; }
.h710-productos { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.h710-producto { background: #fff; border: 1px solid var(--h710-linea); border-radius: 14px; padding: .75rem; display: grid; gap: .4rem; }
.h710-producto img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--h710-fondo); }
.h710-producto__precio { font-weight: 700; }
