:root { --brand: #D03845; --brand-dark: #a62333; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; color: #111; background: #fafafa; }

/* ---------- top preview nav (tool chrome, not part of the design) ---------- */
.preview-nav {
	position: sticky; top: 0; z-index: 50;
	background: #222; color: #fff;
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 10px;
	padding: 10px 18px; font-size: 13px;
}
.preview-nav .title { font-weight: bold; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.preview-nav .controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.preview-nav a.arrow {
	color: #fff; text-decoration: none; font-size: 20px; line-height: 1;
	border: 1.5px solid #fff; border-radius: 50%; width: 30px; height: 30px;
	display: flex; align-items: center; justify-content: center;
}
.preview-nav a.arrow.disabled { opacity: 0.25; pointer-events: none; }
.preview-nav .dots { display: flex; gap: 7px; }
.preview-nav .dots a { width: 9px; height: 9px; border-radius: 50%; background: #666; display: block; }
.preview-nav .dots a.current { background: #fff; }
.preview-nav .count { min-width: 60px; text-align: center; color: #bbb; }
.preview-nav .toggle-btn {
	color: #111; background: #fff; text-decoration: none; font-size: 12px; font-weight: bold;
	border-radius: 14px; padding: 6px 14px; white-space: nowrap;
}
.preview-nav .toggle-btn.disabled { opacity: 0.3; pointer-events: none; background: #555; color: #fff; }

@media (max-width: 700px) {
	.preview-nav { justify-content: center; text-align: center; padding: 8px 12px; }
	.preview-nav .title { font-size: 11.5px; max-width: 100%; }
	.preview-nav .controls { justify-content: center; gap: 8px; }
	.preview-nav .dots { display: none; }
	.preview-nav .toggle-btn { font-size: 10.5px; padding: 5px 10px; }
	.preview-nav .count { min-width: auto; }
}

/* buttons that are also links: strip default anchor underline (each class already sets its own text color) */
a.btn-solid, a.btn-outline, a.p-btn-solid, a.p-btn-outline, a.fab, a.branch-row { text-decoration: none; }

.stage { padding: 26px 26px 60px; }

/* ---------- web mockup ---------- */
.webframe {
	max-width: 1180px; margin: 0 auto; background: #fff;
	border: 2px solid #111; border-radius: 8px; overflow: hidden;
}
.navbar {
	min-height: 58px; background: var(--brand); color: #fff;
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 22px; flex-wrap: wrap; gap: 10px;
}
.logo {
	font-weight: bold; font-size: 18px; letter-spacing: 0.5px; color: #fff;
}
.navlinks { display: flex; gap: 26px; font-size: 13px; flex-wrap: wrap; }
.navlinks span { color: #fff; opacity: 0.8; }
.navlinks span.active { opacity: 1; border-bottom: 2px solid #fff; padding-bottom: 4px; font-weight: bold; }
.user-chip {
	display: flex; align-items: center; gap: 8px; font-size: 12px; color: #fff;
	border: 1.5px solid #fff; border-radius: 20px; padding: 5px 12px;
}
.avatar { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.pts-badge { background: #fff; color: var(--brand); border-radius: 10px; padding: 1px 8px; font-size: 11px; font-weight: bold; }

.locbar {
	background: #f4f4f4; border-bottom: 1px solid #ccc;
	padding: 9px 22px; font-size: 12px;
}

.content { display: flex; flex-wrap: wrap; }
.main { flex: 2; min-width: 320px; padding: 18px 22px; }
.tabs { display: flex; gap: 20px; font-size: 12.5px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs span.active { font-weight: bold; border-bottom: 2px solid var(--brand); padding-bottom: 5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.card {
	border: 1.5px solid #111; border-radius: 6px; padding: 12px;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.card .name { font-size: 13px; font-weight: bold; }
.card .desc { font-size: 10.5px; color: #666; text-align: center; }
.card .row { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 4px; }
.card .price { font-size: 12.5px; font-weight: bold; }
.addbtn { border: 1.5px solid #111; border-radius: 14px; font-size: 11px; padding: 4px 11px; background: #fff; cursor: pointer; }

.sidebar {
	flex: 1; min-width: 260px; border-left: 2px solid #111; padding: 18px 20px;
	display: flex; flex-direction: column;
}
.sidebar h3 { font-size: 14px; margin-bottom: 10px; }
.cart-item { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 0; border-bottom: 1px solid #ddd; }
.cart-total { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: bold; padding: 10px 0; border-top: 2px solid #111; margin-top: 8px; }
.btn-solid { background: var(--brand); color: #fff; border: none; border-radius: 5px; padding: 11px; font-size: 12.5px; font-weight: bold; margin-top: 10px; text-align: center; cursor: pointer; }
.btn-outline { border: 1.5px solid #111; border-radius: 5px; padding: 10px; font-size: 12.5px; font-weight: bold; margin-top: 8px; text-align: center; cursor: pointer; }
.loyalty-strip { margin-top: 22px; border-top: 1.5px dashed #111; padding-top: 10px; font-size: 11px; }
.progress-track { background: #eee; border: 1px solid #111; border-radius: 8px; height: 10px; margin-top: 6px; overflow: hidden; }
.progress-fill { background: var(--brand); height: 100%; }

/* points + reservations */
.split { display: flex; flex-wrap: wrap; }
.panel { flex: 1; min-width: 320px; padding: 22px 26px; }
.panel + .panel { border-left: 2px solid #111; }
.panel h2 { font-size: 16px; margin-bottom: 16px; }
.points-hero { margin-bottom: 18px; }
.points-hero-value { font-size: 44px; font-weight: bold; line-height: 1; }
.points-hero-value .unit { font-size: 15px; font-weight: normal; color: #666; margin-left: 6px; }
.points-hero-level { font-size: 13px; color: var(--brand); font-weight: bold; margin: 8px 0 14px; }
.points-hero .progress-track { height: 16px; max-width: 420px; }
.points-hero-sub { font-size: 11.5px; color: #666; margin-top: 9px; }

.phone-points-hero { margin-bottom: 4px; }
.phone-points-hero .points-hero-value { font-size: 30px; }
.phone-points-hero .points-hero-level { font-size: 10.5px; margin: 5px 0 10px; }
.phone-points-hero .progress-track { height: 12px; max-width: none; }
.phone-points-hero .points-hero-sub { font-size: 10px; margin-top: 7px; }
.reward-row { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid #111; border-radius: 6px; padding: 10px 14px; font-size: 12.5px; margin-bottom: 9px; }
.reward-row .tag { border: 1px solid var(--brand); color: var(--brand); border-radius: 10px; padding: 2px 9px; font-size: 10.5px; font-weight: bold; }

.field-label { font-size: 11.5px; color: #666; margin-bottom: 5px; margin-top: 14px; }
.field-box { border: 1.5px solid #111; border-radius: 5px; padding: 10px 12px; font-size: 12.5px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.slot { border: 1.5px solid #111; border-radius: 5px; text-align: center; padding: 8px 0; font-size: 12px; }
.slot.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.stepper { display: flex; align-items: center; gap: 14px; border: 1.5px solid #111; border-radius: 5px; padding: 8px 14px; width: fit-content; margin-top: 6px; font-size: 13px; }

/* full-width single-topic pages (Mis Puntos / Mis Reservas) */
.section-block { padding: 26px 30px; }
.section-block + .section-block { border-top: 2px solid #111; }
.section-block h2 { font-size: 17px; margin-bottom: 4px; }
.section-sub { font-size: 12px; color: #666; margin-bottom: 18px; }

.rewards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.howto-list { margin-top: 10px; font-size: 12.5px; color: #333; line-height: 1.9; }
.howto-list li { margin-left: 18px; }

.reservation-card {
	border: 1.5px solid #111; border-radius: 8px; padding: 16px 20px;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
	margin-bottom: 14px;
}
.reservation-card .r-info b { font-size: 14px; }
.reservation-card .r-info .r-meta { font-size: 12px; color: #555; margin-top: 4px; }
.reservation-card .r-actions { display: flex; gap: 10px; }
.status-badge { border: 1.5px solid #111; border-radius: 12px; padding: 3px 12px; font-size: 11px; font-weight: bold; }
.status-badge.confirmed { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty-note { font-size: 12.5px; color: #666; font-style: italic; }

/* branch list that expands into a booking calendar (web) */
.branch-list { border: 1.5px solid #111; border-radius: 8px; overflow: hidden; }
.branch-item { border-bottom: 1.5px solid #111; }
.branch-item:last-child { border-bottom: none; }
.branch-item[open] { background: #fafafa; }
.branch-row {
	list-style: none; cursor: pointer; padding: 14px 20px;
	display: flex; justify-content: space-between; align-items: center;
}
.branch-row::-webkit-details-marker { display: none; }
.branch-row .b-name { font-size: 13.5px; font-weight: bold; }
.branch-row .b-addr { font-size: 11.5px; color: #666; margin-top: 3px; font-weight: normal; }
.branch-row .chev { font-size: 18px; transition: transform 0.15s; }
.branch-item[open] .chev { transform: rotate(90deg); }

.booking-panel { padding: 6px 20px 22px; border-top: 1.5px dashed #111; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; margin: 12px 0 16px; }
.date-chip { border: 1.5px solid #111; border-radius: 8px; text-align: center; padding: 8px 12px; font-size: 11.5px; min-width: 56px; flex: none; }
.date-chip .dow { display: block; color: #666; font-size: 10px; }
.date-chip.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.date-chip.selected .dow { color: #ccc; }
.time-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }

/* mobile version of the same expandable branch list */
.phone-scroll { flex: none; }
.phone-branches { padding: 10px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.phone-reservation-card {
	border: 1.5px solid #111; border-radius: 8px; padding: 10px 12px; margin: 10px 14px 4px;
}
.phone-reservation-card .r-meta { font-size: 10px; color: #555; margin-top: 3px; }
.phone-reservation-card .r-actions { display: flex; gap: 8px; margin-top: 9px; }
.phone-reservation-card .p-btn-outline { flex: 1; margin: 0; padding: 6px; font-size: 10px; }
.phone-branches h4 { font-size: 11px; margin: 4px 0 2px; }
.phone-branch-item { border: 1.2px solid #111; border-radius: 8px; overflow: hidden; }
.phone-branch-item[open] { background: #fafafa; }
.phone-branch-row { list-style: none; cursor: pointer; padding: 9px 11px; display: flex; justify-content: space-between; align-items: center; }
.phone-branch-row::-webkit-details-marker { display: none; }
.phone-branch-row .b-name { font-size: 11px; font-weight: bold; }
.phone-branch-row .b-addr { font-size: 9.5px; color: #666; margin-top: 2px; font-weight: normal; }
.phone-branch-item[open] .chev { transform: rotate(90deg); }
.phone-booking { padding: 2px 11px 12px; border-top: 1.2px dashed #111; }
.phone-date-strip { display: flex; gap: 6px; overflow-x: auto; margin: 8px 0 10px; }
.phone-date-chip { border: 1.2px solid #111; border-radius: 6px; text-align: center; padding: 5px 8px; font-size: 9.5px; min-width: 42px; flex: none; }
.phone-date-chip .dow { display: block; color: #666; font-size: 8.5px; }
.phone-date-chip.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.phone-date-chip.selected .dow { color: #ccc; }
.phone-time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-slot { border: 1.2px solid #111; border-radius: 5px; text-align: center; padding: 6px 0; font-size: 10px; }
.phone-slot.selected { background: var(--brand); color: #fff; border-color: var(--brand); }

/* overview gallery (index) */
.gallery-header { padding: 28px 40px 18px; border-bottom: 2px solid #111; }
.gallery-header .brand { font-size: 20px; font-weight: bold; letter-spacing: 0.5px; color: var(--brand); }
.gallery-header .sub { font-size: 13px; color: #666; margin-top: 4px; }
.gallery-header .walkthrough { display: inline-block; margin-top: 12px; font-size: 12px; text-decoration: underline; color: #111; }
.gallery-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px;
	padding: 30px 40px 60px; max-width: 1500px; margin: 0 auto;
}
.gallery-card { border: 1.5px solid #111; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.gallery-card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1.5px solid #111; }
.gallery-card-head .gtitle { font-size: 13.5px; font-weight: bold; }
.gallery-toggle { display: flex; border: 1.5px solid #111; border-radius: 14px; overflow: hidden; }
.gallery-toggle button {
	border: none; background: #fff; color: #111; font-size: 10.5px; font-weight: bold;
	padding: 4px 10px; cursor: pointer; font-family: inherit;
}
.gallery-toggle button.active { background: #111; color: #fff; }
.gallery-thumb-wrap { height: 260px; background: #fafafa; display: flex; align-items: center; justify-content: center; padding: 14px; }
.gallery-thumb-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-open { display: block; text-align: center; padding: 10px; font-size: 11.5px; font-weight: bold; border-top: 1.5px solid #111; text-decoration: none; color: #111; }
.gallery-open:hover { background: #111; color: #fff; }

/* backend / admin panel */
.admin-shell { display: flex; max-width: 1180px; margin: 0 auto; background: #fff; border: 2px solid #111; border-radius: 8px; overflow: hidden; min-height: 600px; }
.admin-sidebar { width: 220px; background: #1a1a1a; color: #fff; padding: 22px 0; flex: none; }
.admin-sidebar .as-brand { padding: 0 20px 18px; font-weight: bold; font-size: 15px; border-bottom: 1px solid #444; margin-bottom: 14px; }
.admin-sidebar .as-link { display: block; padding: 11px 20px; font-size: 13px; color: #ccc; text-decoration: none; }
.admin-sidebar .as-link.active { background: var(--brand); color: #fff; font-weight: bold; }
.admin-main { flex: 1; padding: 26px 30px; min-width: 0; }
.admin-main h2 { font-size: 17px; margin-bottom: 4px; }
.admin-main .section-sub { margin-bottom: 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat-card { border: 1.5px solid #111; border-radius: 8px; padding: 15px 17px; }
.stat-card .stat-label { font-size: 11px; color: #666; }
.stat-card .stat-value { font-size: 23px; font-weight: bold; margin-top: 5px; }
.stat-card .stat-value.brand { color: var(--brand); }
.stat-card .stat-sub { font-size: 10.5px; color: #888; margin-top: 4px; }

.compare-row { margin-bottom: 16px; }
.compare-row .cr-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.compare-track { background: #eee; border: 1px solid #111; border-radius: 6px; height: 16px; overflow: hidden; }
.compare-fill { background: var(--brand); height: 100%; }
.compare-fill.alt { background: #1a7d3c; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-table th { text-align: left; font-size: 11px; color: #666; padding: 9px 10px; border-bottom: 2px solid #111; }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid #ddd; }
.admin-table .tag-pos { color: #1a7d3c; font-weight: bold; }
.admin-table .tag-neg { color: var(--brand); font-weight: bold; }

.filters-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: flex-end; }
.filters-row .filter-item .field-label { margin-top: 0; }
.filters-row .field-box { padding: 8px 12px; font-size: 12px; min-width: 130px; }

.heatmap-wrap { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.heatmap-grid { display: grid; grid-template-columns: repeat(5, 76px); grid-auto-rows: 64px; gap: 7px; }
.heat-tile { border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9.5px; font-weight: bold; color: #111; border: 1px solid rgba(0,0,0,0.15); text-align: center; padding: 3px; line-height: 1.25; }
.heat-tile .ht-visits { font-size: 9px; font-weight: normal; margin-top: 2px; color: #333; }
.heat-legend { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-top: 10px; color: #555; }
.heat-legend .legend-bar { width: 130px; height: 10px; border-radius: 5px; background: linear-gradient(to right, rgba(208,56,69,0.12), rgba(208,56,69,1)); border: 1px solid #111; }

/* Mi Perfil — virtual loyalty card QR */
.profile-card-wrap { display: flex; justify-content: center; padding: 10px 0 6px; }
.qr-card { border: 2px solid #111; border-radius: 12px; padding: 22px 26px; display: inline-flex; flex-direction: column; align-items: center; gap: 14px; background: #fff; }
.qr-grid { display: grid; grid-template-columns: repeat(12, 1fr); width: 190px; height: 190px; gap: 1px; background: #111; border: 5px solid #111; }
.qr-grid .c { background: #fff; }
.qr-grid .c.on { background: #111; }
.qr-card .qr-name { font-size: 17px; font-weight: bold; }
.qr-card .qr-level { font-size: 11.5px; color: var(--brand); font-weight: bold; margin-top: -8px; }
.qr-card .qr-pts { font-size: 22px; font-weight: bold; }
.qr-card .qr-pts span { font-size: 12px; font-weight: normal; color: #666; }
.qr-card .qr-caption { font-size: 10.5px; color: #888; text-align: center; max-width: 220px; }

.phone-qr-card { border: 2px solid #111; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4px 14px 0; }
.phone-qr-card .qr-grid { width: 140px; height: 140px; border-width: 4px; }
.phone-qr-card .qr-name { font-size: 14px; font-weight: bold; }
.phone-qr-card .qr-level { font-size: 10px; color: var(--brand); font-weight: bold; margin-top: -6px; }
.phone-qr-card .qr-pts { font-size: 18px; font-weight: bold; }
.phone-qr-card .qr-pts span { font-size: 10.5px; font-weight: normal; color: #666; }
.phone-qr-card .qr-caption { font-size: 9.5px; color: #888; text-align: center; max-width: 200px; }

/* order type fork (comer aquí vs. pickup) */
.order-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 6px; }
.order-type-card { border: 1.5px solid #111; border-radius: 10px; padding: 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.order-type-card h3 { font-size: 16px; margin-bottom: 8px; }
.order-type-card p { font-size: 12px; color: #666; margin-bottom: 18px; }
.order-type-card .btn-solid { width: 100%; max-width: 220px; }
.phone-order-type { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.phone-order-type .order-type-card { padding: 20px 16px; }
.phone-order-type .order-type-card h3 { font-size: 13.5px; }
.phone-order-type .order-type-card p { font-size: 10.5px; }

/* web checkout (standalone page) */
.checkout-wrap { max-width: 460px; margin: 0 auto; padding: 30px 26px; }
.checkout-wrap h2 { font-size: 16px; margin-bottom: 16px; }

/* login (web) */
.login-topbar { text-align: center; padding: 20px 22px; background: var(--brand); }
.login-wrap { display: flex; justify-content: center; padding: 40px 26px 60px; }
.login-card { width: 360px; }
.login-card h2 { font-size: 17px; margin-bottom: 4px; text-align: center; }
.login-card .section-sub { text-align: center; margin-bottom: 22px; }
.login-links { display: flex; justify-content: space-between; font-size: 11.5px; margin-top: 10px; }
.login-links a, .login-links span { color: #111; text-decoration: underline; cursor: pointer; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: 11px; color: #888; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: #ccc; }
.guest-link { text-align: center; font-size: 11.5px; margin-top: 16px; text-decoration: underline; cursor: pointer; }

/* choice pills (e.g. género) */
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.choice-pill { border: 1.5px solid #111; border-radius: 20px; padding: 8px 14px; font-size: 12px; }
.choice-pill.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.phone-login .choice-row { gap: 6px; }
.phone-login .choice-pill { padding: 6px 11px; font-size: 10.5px; }

/* login (mobile) */
.phone-login { flex: none; padding: 26px 20px; display: flex; flex-direction: column; }
.phone-login h2 { font-size: 14px; margin-bottom: 4px; text-align: center; }
.phone-login .section-sub { text-align: center; font-size: 10.5px; margin-bottom: 18px; }
.phone-login .login-links { font-size: 10px; }
.phone-login .login-divider { font-size: 10px; margin: 16px 0; }
.phone-login .guest-link { font-size: 10.5px; }

/* ---------- mobile mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 320px; min-height: 660px; height: auto; border: 3px solid #111; border-radius: 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.notch { height: 20px; display: flex; justify-content: center; align-items: flex-start; }
.notch .bar { width: 90px; height: 8px; background: #111; border-radius: 4px; margin-top: 5px; }
.phone-navbar { padding: 9px 14px; background: var(--brand); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.phone-navbar .logo { font-size: 15px; }
.phone-navbar > span:not(.logo):not(.pts-badge) { color: #fff; }
.phone-loc { font-size: 10.5px; background: #f4f4f4; border-bottom: 1px solid #ccc; padding: 6px 14px; }
.phone-tabs { display: flex; gap: 13px; font-size: 10.5px; padding: 9px 14px 5px; }
.phone-tabs span.active { font-weight: bold; border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.phone-list { flex: none; padding: 8px 14px; display: flex; flex-direction: column; gap: 9px; }
.phone-card { border: 1.2px solid #111; border-radius: 6px; padding: 8px 9px; display: flex; gap: 9px; align-items: center; }
.phone-card .info { flex: 1; }
.phone-card .name { font-size: 11px; font-weight: bold; }
.phone-card .price { font-size: 10.5px; }
.fab { position: absolute; bottom: 46px; right: 18px; background: var(--brand); color: #fff; border-radius: 20px; padding: 9px 16px; font-size: 11px; font-weight: bold; }
.home-indicator { height: 18px; display: flex; justify-content: center; align-items: center; }
.home-indicator .bar { width: 110px; height: 4px; background: #111; border-radius: 2px; }

.phone-checkout { flex: none; padding: 10px 14px; display: flex; flex-direction: column; }
.phone-checkout h4 { font-size: 12px; margin: 7px 0; }
.p-cart-item { display: flex; justify-content: space-between; font-size: 11px; padding: 6px 0; border-bottom: 1px solid #ddd; }
.p-cart-total { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: bold; padding: 9px 0; border-top: 2px solid #111; margin-top: 5px; }
.p-loyalty { margin-top: 12px; font-size: 10.5px; border-top: 1.5px dashed #111; padding-top: 9px; }
.p-btn-solid { background: var(--brand); color: #fff; text-align: center; border-radius: 6px; padding: 10px; font-size: 12px; font-weight: bold; margin-top: 9px; }
.p-btn-outline { border: 1.5px solid #111; text-align: center; border-radius: 6px; padding: 9px; font-size: 12px; font-weight: bold; margin-top: 7px; }

/* "optional module" badge + note banner (non-core screens for this pitch) */
.optional-badge {
	display: inline-block; border: 1.5px solid #999; color: #777; background: #f4f4f4;
	border-radius: 10px; padding: 1px 9px; font-size: 10px; font-weight: bold; margin-left: 8px; vertical-align: middle;
}
.note-banner {
	background: #fdeceb; border: 1.5px dashed var(--brand); color: #7a1c27;
	border-radius: 6px; padding: 10px 16px; font-size: 12px; margin: 16px 22px 0;
}
.note-banner.compact { margin: 10px 14px 0; font-size: 10px; padding: 8px 11px; }
.qr-note { font-size: 11px; color: var(--brand-dark); font-weight: bold; margin-top: 6px; }

/* transaction history (Mis Puntos) */
.history-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding: 9px 0; font-size: 12px; }
.history-row:last-child { border-bottom: none; }
.history-row .h-desc b { display: block; font-size: 12.5px; }
.history-row .h-date { font-size: 10.5px; color: #888; margin-top: 2px; }
.history-row .h-pts { font-weight: bold; font-size: 13px; white-space: nowrap; }
.history-row .h-pts.positive { color: #1a7d3c; }
.history-row .h-pts.negative { color: var(--brand); }
.phone-history-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding: 7px 0; font-size: 10.5px; }
.phone-history-row:last-child { border-bottom: none; }
.phone-history-row .h-desc b { display: block; font-size: 10.5px; }
.phone-history-row .h-date { font-size: 9px; color: #888; margin-top: 1px; }
.phone-history-row .h-pts { font-weight: bold; font-size: 11px; white-space: nowrap; }
.phone-history-row .h-pts.positive { color: #1a7d3c; }
.phone-history-row .h-pts.negative { color: var(--brand); }

/* satisfaction survey */
.survey-item { border: 1.5px solid #111; border-radius: 6px; padding: 12px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.survey-item .s-name { font-size: 13px; font-weight: bold; }
.stars { font-size: 18px; letter-spacing: 2px; color: #ddd; }
.stars .on { color: var(--brand); }
.survey-textarea { border: 1.5px solid #111; border-radius: 6px; padding: 12px; font-size: 12px; color: #888; min-height: 70px; }
.survey-bonus { font-size: 11.5px; color: var(--brand-dark); font-weight: bold; margin-top: 10px; }
.phone-stars { font-size: 15px; letter-spacing: 1.5px; color: #ddd; }
.phone-stars .on { color: var(--brand); }
.phone-survey-item { border: 1.2px solid #111; border-radius: 6px; padding: 9px 11px; margin-bottom: 8px; }
.phone-survey-item .s-name { font-size: 11px; font-weight: bold; margin-bottom: 4px; display: block; }
.phone-survey-textarea { border: 1.2px solid #111; border-radius: 6px; padding: 9px; font-size: 10.5px; color: #888; min-height: 50px; }

/* staff QR validation screen */
.scan-box {
	border: 2.5px dashed var(--brand); border-radius: 10px; background: #fff7f6;
	min-height: 170px; display: flex; align-items: center; justify-content: center;
	position: relative; margin-top: 10px;
}
.scan-box .corner { position: absolute; width: 20px; height: 20px; border: 3px solid var(--brand); }
.scan-box .tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.scan-box .tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.scan-box .bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.scan-box .br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.scan-box .scan-label { font-size: 11px; color: #999; }
.scanned-card { border: 1.5px solid #111; border-radius: 8px; padding: 14px 16px; margin-top: 16px; }
.scanned-card .sc-name { font-size: 14px; font-weight: bold; }
.scanned-card .sc-pts { color: var(--brand); font-weight: bold; }
