:root {
    --green: #16a34a;
    --green-2: #22c55e;
    --green-dark: #0f7a36;
    --blue: #2563eb;
    --orange: #f97316;
    --purple: #7c3aed;
    --dark: #07111f;
    --dark-2: #111827;
    --text: #101828;
    --muted: #667085;
    --muted-2: #98a2b3;
    --page: #f5f7fb;
    --white: #ffffff;
    --border: #e6eaf0;
    --border-soft: #eff2f6;
    --shadow: 0 24px 70px rgba(16, 24, 40, 0.10);
    --shadow-card: 0 16px 38px rgba(16, 24, 40, 0.08);
    --shadow-soft: 0 8px 22px rgba(16, 24, 40, 0.055);
    --radius-2xl: 34px;
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 15px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 15% 0%, rgba(34, 197, 94, .13), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(37, 99, 235, .12), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, var(--page) 38%, #f8fafc 100%);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    max-width: 100%;
}

.site-topbar {
    width: min(var(--container), calc(100% - 32px));
    margin: 18px auto 0;
    height: 68px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(230,234,240,.88);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 0 18px;
    position: sticky;
    top: 12px;
    z-index: 100;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.brand-dot {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: white;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(22,163,74,.25);
}

.brand-mark strong {
    font-size: 16px;
    letter-spacing: -0.3px;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-menu a {
    padding: 11px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.desktop-menu a:hover {
    background: #f3f5f8;
    color: var(--dark);
}

.desktop-menu .menu-cta {
    background: var(--dark);
    color: white;
    padding: 11px 16px;
}

.hamburger-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: var(--dark);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.hamburger-btn span {
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 99px;
}

.mobile-menu {
    display: none;
}

.app-shell {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px 20px 64px;
}

/* HOME LIMPIO */
.hero-search {
    min-height: 520px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .78)),
        radial-gradient(circle at 80% 10%, rgba(34, 197, 94, .45), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(249, 115, 22, .22), transparent 26%);
    border-radius: 42px;
    color: white;
    padding: 56px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    gap: 28px;
}

.hero-search::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: -150px;
    background: rgba(34,197,94,.25);
    border-radius: 50%;
}

.hero-search::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: 10%;
    bottom: -140px;
    background: rgba(37,99,235,.20);
    border-radius: 50%;
}

.hero-copy,
.main-search-panel {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, .14);
    color: #bbf7d0;
    border: 1px solid rgba(187, 247, 208, .18);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--green-2);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(34,197,94,.14);
}

.hero-copy h1 {
    max-width: 800px;
    font-size: clamp(46px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -3.5px;
}

.hero-copy p {
    margin-top: 20px;
    max-width: 660px;
    color: rgba(255,255,255,.74);
    font-size: 18px;
    line-height: 1.6;
}

.main-search-panel {
    max-width: 920px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    border-radius: 28px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 15px 16px;
}

.big-search {
    min-height: 64px;
    padding: 0 18px;
}

.big-search span {
    font-size: 20px;
}

.search-box input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 16px;
    color: var(--text);
}

.search-box input::placeholder {
    color: var(--muted-2);
}

.search-options {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
}

.search-options select,
.filters select {
    width: 100%;
    border: 1px solid var(--border);
    background: white;
    border-radius: 16px;
    padding: 14px 13px;
    font-size: 14px;
    color: var(--text);
    outline: 0;
}

.search-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.quick-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0 22px;
}

.quick-strip a {
    white-space: nowrap;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 900;
    color: var(--dark);
    box-shadow: var(--shadow-soft);
}

.quick-strip a:hover {
    transform: translateY(-1px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -32px;
    top: -42px;
    width: 120px;
    height: 120px;
    background: rgba(22,163,74,.08);
    border-radius: 50%;
}

.stat-card strong {
    display: block;
    font-size: 32px;
    color: var(--dark);
    letter-spacing: -1px;
}

.stat-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.featured-cta {
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    border-radius: 32px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 34px;
    position: relative;
    overflow: hidden;
}

.featured-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(34,197,94,.13);
}

.featured-cta span {
    display: inline-flex;
    background: #ecfdf5;
    color: var(--green-dark);
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 12px;
}

.featured-cta h2 {
    color: var(--dark);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.06;
    letter-spacing: -1.3px;
}

.featured-cta p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.55;
}

.featured-cta a {
    position: relative;
    z-index: 2;
    background: var(--dark);
    color: white;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.section-block {
    margin-bottom: 36px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    gap: 12px;
}

.section-kicker {
    display: block;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.section-title h2 {
    font-size: 30px;
    letter-spacing: -1.2px;
    color: var(--dark);
}

.section-title a {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 950;
}

.offers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offer-card {
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.offer-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: #eef0f4;
}

.offer-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .34s ease;
    display: block;
}

.offer-card:hover .offer-image img {
    transform: scale(1.045);
}

.offer-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,17,31,.24), transparent 48%);
    pointer-events: none;
}

.offer-image span {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(7,17,31,.84);
    color: white;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.offer-content {
    padding: 19px;
}

.offer-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.offer-top h3,
.offer-content h3 {
    font-size: 19px;
    line-height: 1.22;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.offer-top p {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 750;
}

.business-link {
    color: var(--dark);
    font-weight: 950;
}

.distance {
    background: #f6f7f9;
    color: var(--dark);
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.price-row strong {
    font-size: 31px;
    color: #10823d;
    letter-spacing: -1px;
}

.price-row del {
    color: var(--muted-2);
    font-size: 14px;
    font-weight: 850;
}

.coupon-box {
    margin-top: 14px;
    background: #fff8ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 17px;
    padding: 12px 13px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.42;
}

.offer-actions {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 10px;
    margin-top: 15px;
}

.primary-btn,
.secondary-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 950;
    padding: 0 17px;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--green), #12a150);
    color: white;
    box-shadow: 0 12px 22px rgba(22,163,74,.18);
}

.primary-btn:hover {
    transform: translateY(-1px);
}

.secondary-btn {
    background: #f3f5f8;
    color: var(--dark);
}

.secondary-btn:hover {
    background: #e9edf3;
}

.danger-btn {
    background: #fef2f2;
    color: #dc2626;
}

.empty-card {
    background: white;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 20px;
}

.empty-card h3 {
    color: var(--dark);
    font-size: 22px;
}

.empty-card p {
    color: var(--muted);
    margin: 8px 0 16px;
}

/* Mantiene estilos de paneles y páginas internas compatibles */
.auth-shell {
    max-width: 480px;
    margin: 0 auto;
    padding: 38px 18px;
}

.auth-card,
.panel-card,
.card {
    background: white;
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    margin-bottom: 18px;
}

.auth-card h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
    margin-bottom: 8px;
    color: var(--dark);
}

.auth-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.form-grid {
    display: grid;
    gap: 13px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 900;
    color: var(--dark);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 15px;
    padding: 13px;
    outline: 0;
    font-size: 14px;
}

.form-grid textarea {
    min-height: 100px;
    resize: vertical;
}

.alert {
    padding: 13px 14px;
    border-radius: 15px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 850;
}

.alert.error {
    background: #fef2f2;
    color: #991b1b;
}

.alert.success {
    background: #ecfdf5;
    color: #065f46;
}

.panel-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px 20px 70px;
}

.panel-header {
    background: linear-gradient(135deg, #0b1220, #111827);
    color: white;
    border-radius: 30px;
    padding: 24px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    box-shadow: var(--shadow);
}

.panel-header h1 {
    font-size: 28px;
    letter-spacing: -1px;
}

.panel-header p {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    margin-top: 5px;
}

.panel-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.panel-actions a {
    background: rgba(255,255,255,.10);
    padding: 11px 13px;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,.10);
}

.panel-actions a:first-child {
    background: white;
    color: var(--dark);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--dark);
    font-size: 11px;
    font-weight: 900;
}

.badge.green {
    background: #ecfdf5;
    color: #047857;
}

.badge.orange {
    background: #fff7ed;
    color: #c2410c;
}

.badge.red {
    background: #fef2f2;
    color: #b91c1c;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

/* Páginas públicas de negocio/producto */
.public-cover {
    background: white;
    border-radius: 34px;
    margin: 0 0 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    position: relative;
}

.public-cover-image {
    height: 310px;
    background: linear-gradient(145deg, #0b1220 0%, #12351f 55%, #16a34a 130%);
    position: relative;
}

.public-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-cover-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(7,17,31,.82) 100%);
}

.public-business-info {
    color: var(--dark);
    padding: 0 30px 28px;
    margin-top: -52px;
    position: relative;
    z-index: 3;
}

.public-logo {
    width: 98px;
    height: 98px;
    border-radius: 26px;
    background: white;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 34px;
    font-weight: 950;
    margin-bottom: 15px;
}

.public-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-business-info h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: .98;
    letter-spacing: -1.8px;
    color: var(--dark);
}

.public-business-info p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.62;
    max-width: 780px;
}

.public-meta {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.public-meta span {
    background: #f3f5f8;
    color: var(--dark);
    padding: 9px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.public-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0 28px;
}

.public-actions.three {
    grid-template-columns: repeat(3, 1fr);
}

.action-whatsapp,
.action-map,
.action-share {
    min-height: 51px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
}

.action-whatsapp {
    background: linear-gradient(135deg, var(--green), #12a150);
    color: white;
}

.action-map {
    background: #eef4ff;
    color: #1849a9;
}

.action-share {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border-soft);
}

.business-grid-public {
    display: grid;
    grid-template-columns: 1.75fr .85fr;
    gap: 24px;
    align-items: start;
}

.info-list {
    display: grid;
    gap: 11px;
}

.info-item {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-item span {
    font-size: 21px;
}

.info-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.info-item small {
    display: block;
    color: var(--muted);
    line-height: 1.46;
    margin-top: 4px;
}

.product-hero-card {
    background: white;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-hero-image {
    height: auto;
    min-height: 470px;
    background: #e5e7eb;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-hero-content h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: .99;
    letter-spacing: -1.8px;
    color: var(--dark);
}

.product-description {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.62;
    font-size: 15px;
}

.business-mini {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f9fafb;
    border-radius: 20px;
    padding: 13px;
    margin-top: 20px;
    border: 1px solid var(--border-soft);
}

.business-mini-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    overflow: hidden;
    flex: 0 0 auto;
}

.business-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-mini strong {
    display: block;
    color: var(--dark);
}

.business-mini span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
    font-weight: 750;
}

.mobile-card-list {
    display: none;
}

/* Tablet */
@media (max-width: 1080px) {
    :root {
        --container: 940px;
    }

    .offers-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-grid-public {
        grid-template-columns: 1fr;
    }

    .product-hero-card {
        grid-template-columns: 1fr;
    }

    .product-hero-image {
        min-height: 350px;
        height: 350px;
    }

    .product-hero-content {
        padding: 28px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    body {
        padding-bottom: 0;
    }

    .site-topbar {
        width: calc(100% - 24px);
        height: 62px;
        top: 10px;
        margin-top: 10px;
        padding: 0 10px 0 14px;
    }

    .desktop-menu {
        display: none;
    }

    .hamburger-btn {
        display: inline-flex;
    }

    .mobile-menu {
        position: fixed;
        top: 82px;
        right: 12px;
        left: 12px;
        background: white;
        border: 1px solid var(--border-soft);
        border-radius: 24px;
        padding: 10px;
        box-shadow: var(--shadow-card);
        z-index: 99;
    }

    .mobile-menu.open {
        display: grid;
        gap: 6px;
    }

    .mobile-menu a {
        padding: 14px;
        border-radius: 16px;
        color: var(--dark);
        font-size: 14px;
        font-weight: 950;
        background: #f8fafc;
    }

    .app-shell {
        padding: 16px 12px 32px;
    }

    .hero-search {
        min-height: auto;
        border-radius: 30px;
        padding: 34px 22px 24px;
    }

    .hero-copy h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    .main-search-panel {
        border-radius: 24px;
        padding: 13px;
    }

    .big-search {
        min-height: 58px;
    }

    .search-box input {
        font-size: 14px;
    }

    .search-options,
    .search-actions {
        grid-template-columns: 1fr;
    }

    .quick-strip {
        padding: 14px 0 18px;
    }

    .stats-grid,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        text-align: center;
        padding: 16px;
    }

    .featured-cta {
        grid-template-columns: 1fr;
        border-radius: 28px;
        padding: 24px;
    }

    .featured-cta a {
        text-align: center;
    }

    .section-title {
        align-items: flex-start;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .offers-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offer-card {
        border-radius: 28px;
    }

    .offer-image {
        height: 230px;
    }

    .offer-actions {
        grid-template-columns: 1fr 1fr;
    }

    .auth-shell {
        padding: 18px 12px;
    }

    .auth-card {
        margin-top: 10px;
        border-radius: 26px;
        padding: 22px;
    }

    .panel-layout {
        padding: 14px 12px 36px;
    }

    .panel-header {
        display: block;
        border-radius: 26px;
        padding: 20px;
    }

    .panel-header h1 {
        font-size: 26px;
    }

    .panel-actions {
        margin-top: 14px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .panel-actions a {
        text-align: center;
        justify-content: center;
    }

    .table-wrap.responsive-table {
        display: none;
    }

    .mobile-card-list {
        display: grid;
        gap: 12px;
    }

    .mobile-admin-card {
        background: #f9fafb;
        border: 1px solid var(--border-soft);
        border-radius: 20px;
        padding: 15px;
    }

    .mobile-admin-card h3 {
        font-size: 16px;
        color: var(--dark);
        margin-bottom: 4px;
    }

    .mobile-admin-card p {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .mobile-admin-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .mobile-admin-actions a {
        width: 100%;
    }

    .public-cover {
        border-radius: 28px;
        margin-bottom: 14px;
    }

    .public-cover-image {
        height: 205px;
    }

    .public-business-info {
        padding: 0 20px 22px;
        margin-top: -42px;
    }

    .public-logo {
        width: 82px;
        height: 82px;
        border-radius: 22px;
    }

    .public-business-info h1 {
        font-size: 34px;
    }

    .public-business-info p {
        font-size: 14px;
    }

    .public-actions,
    .public-actions.three {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 13px 0 22px;
    }

    .product-hero-card {
        border-radius: 28px;
        grid-template-columns: 1fr;
    }

    .product-hero-image {
        height: 250px;
        min-height: 250px;
    }

    .product-hero-content {
        padding: 22px;
    }

    .product-hero-content h1 {
        font-size: 35px;
    }

    .price-row strong {
        font-size: 28px;
    }
}

@media (max-width: 390px) {
    .hero-copy h1,
    .product-hero-content h1,
    .public-business-info h1 {
        font-size: 32px;
    }

    .offer-actions {
        grid-template-columns: 1fr;
    }

    .panel-actions {
        grid-template-columns: 1fr;
    }
}


/* V9 extras */
.search-options {
    grid-template-columns: 1fr .65fr .85fr;
}

.view-toolbar {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 16px;
    margin: 18px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: var(--shadow-soft);
}

.view-toolbar strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.view-toolbar span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: #f3f5f8;
    padding: 5px;
    border-radius: 999px;
}

.view-toggle button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
}

.view-toggle button.active {
    background: var(--dark);
    color: white;
}

.badges-stack {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.badges-stack span {
    position: static;
    background: rgba(7,17,31,.84);
    color: white;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    backdrop-filter: blur(10px);
}

.badges-stack .badge-sponsored {
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #111827;
}

.offer-image > span {
    display: none;
}

.wide-auth {
    max-width: 680px;
}

.auth-card small {
    font-size: 12px;
}

@media (max-width: 1080px) and (min-width: 768px) {
    body.product-view-2 .offers-list {
        grid-template-columns: repeat(2, 1fr);
    }

    body.product-view-1 .offers-list {
        grid-template-columns: 1fr;
    }

    body.product-view-1 .offer-card {
        display: grid;
        grid-template-columns: .8fr 1fr;
    }

    body.product-view-1 .offer-image {
        height: 100%;
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .search-options {
        grid-template-columns: 1fr;
    }

    .view-toolbar {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 22px;
    }

    .view-toggle {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    body.product-view-2 .offers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.product-view-2 .offer-card {
        border-radius: 20px;
    }

    body.product-view-2 .offer-image {
        height: 128px;
    }

    body.product-view-2 .offer-content {
        padding: 11px;
    }

    body.product-view-2 .offer-top {
        display: block;
    }

    body.product-view-2 .offer-top h3 {
        font-size: 14px;
    }

    body.product-view-2 .offer-top p,
    body.product-view-2 .distance,
    body.product-view-2 .coupon-box {
        display: none;
    }

    body.product-view-2 .price-row {
        margin-top: 8px;
    }

    body.product-view-2 .price-row strong {
        font-size: 20px;
    }

    body.product-view-2 .price-row del {
        font-size: 11px;
    }

    body.product-view-2 .offer-actions {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 10px;
    }

    body.product-view-2 .offer-actions .secondary-btn {
        display: none;
    }

    body.product-view-2 .primary-btn {
        min-height: 38px;
        font-size: 12px;
        border-radius: 13px;
    }

    body.product-view-2 .badges-stack span {
        padding: 6px 8px;
        font-size: 10px;
    }
}


/* V10 - Verificación y confianza */
.verification-status-box {
    background: linear-gradient(135deg, #ecfdf5, #f8fafc);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 16px;
    margin: 16px 0;
    display: grid;
    gap: 5px;
}

.verification-status-box strong {
    color: var(--dark, #07111f);
}

.verification-status-box span {
    color: #047857;
    font-weight: 950;
}

.verification-status-box small {
    color: var(--muted, #667085);
}

.trust-badge,
.sat-badge,
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.trust-badge {
    background: #ecfdf5;
    color: #047857;
}

.sat-badge {
    background: #eef4ff;
    color: #1849a9;
}

.location-badge {
    background: #fff7ed;
    color: #c2410c;
}
