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

:root {
    --pink: #e91e8c;
    --yellow: #f5c518;
    --red: #e02020;
    --green: #2ecc71;
    --dark: #111;
    --gray-light: #f5f5f5;
    --gray-mid: #e0e0e0;
    --gray-text: #666;
    --white: #fff;
    --font: "Nunito", sans-serif;
}

body {
    font-family: var(--font);
    background: var(--white);
    max-width: 430px;
    margin: 0 auto;
    color: var(--dark);
    font-size: 14px;
    overflow-x: hidden;
}

/* ── HEADER ── */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-box {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.logo-text {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--dark);
}

.logo-text strong {
    color: var(--pink);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pink);
    border-radius: 2px;
}

.menu-label {
    font-size: 11px;
    color: var(--pink);
    font-weight: 700;
    text-align: center;
    margin-top: 2px;
}

/* ── DELIVERY ── */
.delivery-bar {
    padding: 2px 16px 8px;
    font-size: 13px;
    color: #444;
}

.delivery-bar span {
    font-weight: 800;
    color: var(--dark);
}

/* ── SEARCH ── */
.search-wrap {
    padding: 4px 16px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--gray-light);
    border-radius: 14px;
    padding: 12px 14px;
    gap: 8px;
}

.search-box i {
    font-size: 18px;
    color: #aaa;
    flex-shrink: 0;
    line-height: 1;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-family: var(--font);
    font-size: 14px;
    color: #333;
    width: 100%;
}

.search-box input::placeholder {
    color: #999;
}

.search-icon-btn {
    width: 50px;
    height: 50px;
    background: var(--yellow);
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-icon-btn i {
    font-size: 22px;
    color: var(--dark);
    line-height: 1;
}

/* ── CATEGORIES ── */
.categories {
    padding: 4px 16px 12px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}

.cat-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-mid);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.cat-circle i {
    font-size: 26px;
    color: #555;
    transition: color 0.2s;
    line-height: 1;
}

.cat-item.active .cat-circle {
    border-color: var(--pink);
    background: #fff1f8;
}

.cat-item.active .cat-circle i {
    color: var(--pink);
}

.cat-item:hover .cat-circle {
    border-color: var(--pink);
    transform: translateY(-2px);
}

.cat-item:hover .cat-circle i {
    color: var(--pink);
}

.cat-label {
    font-size: 11px;
    font-weight: 700;
    color: #444;
    text-align: center;
    max-width: 64px;
}

/* ── FILTER PILLS ── */
.filters {
    padding: 2px 16px 14px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar {
    display: none;
}

.pill {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid var(--gray-mid);
    background: var(--white);
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.15s;
    color: var(--dark);
}

.pill i {
    font-size: 14px;
    line-height: 1;
}

.pill.active {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

.pill:not(.active):hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* ── SECTION HEADER ── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 14px;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ver-mas-btn {
    background: var(--yellow);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── FEATURED GRID ── */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px 20px;
}

.feat-card {
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 16px;
    border: 1.5px solid var(--gray-mid);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
}

.feat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
    border-color: var(--pink);
}

.feat-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.feat-img .feat-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat-img.food    { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.feat-img.tech    { background: linear-gradient(135deg, #ffe4f0, #ffd0e8); }
.feat-img.auto    { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.feat-img.fashion { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.feat-img.health  { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.feat-img.service { background: linear-gradient(135deg, #fffde7, #fff9c4); }

.feat-badge {
    position: absolute;
    top: 8px;
    left: 0;
    background: var(--red);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px 3px 7px;
    border-radius: 0 7px 7px 0;
}

.feat-info {
    padding: 10px 10px 12px;
}

.feat-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 3px;
}

.feat-name {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 3px;
}

.feat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feat-status-open   { font-size: 9.5px; font-weight: 800; color: var(--green); }
.feat-status-closed { font-size: 9.5px; font-weight: 800; color: var(--red); }
.feat-rating        { font-size: 10px; color: var(--gray-text); font-weight: 600; }

/* ── PROMO BANNER ── */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 16px 20px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1040 50%, #0d0d2b 100%);
    text-decoration: none;
    position: relative;
    min-height: 140px;
    box-shadow: 0 8px 32px rgba(99, 60, 240, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 60, 240, 0.35);
}

/* Glow decorativo */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(99, 60, 240, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 30% 50% at 20% 20%, rgba(0, 180, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Puntos flotantes */
.banner::after {
    content: '';
    position: absolute;
    right: 90px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow:
        16px 20px 0 rgba(255, 255, 255, 0.15),
        -8px 38px 0 rgba(255, 255, 255, 0.1),
        30px 55px 0 rgba(255, 255, 255, 0.12),
        8px 70px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.banner-content {
    position: relative;
    padding: 22px 0 22px 22px;
    z-index: 1;
    flex: 1;
}

.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.banner-eyebrow i {
    font-size: 12px;
    line-height: 1;
}

.banner-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.banner-title span {
    color: #a78bfa;
}

.banner-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.banner-sub i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(99, 60, 240, 0.7);
    border: 1px solid rgba(167, 139, 250, 0.4);
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    font-family: var(--font);
}

.banner:hover .banner-cta {
    background: rgba(99, 60, 240, 0.95);
}

.banner-cta i {
    font-size: 13px;
    line-height: 1;
}

.banner-visual {
    position: relative;
    width: 110px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.banner-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(99, 60, 240, 0.3);
    border: 1.5px solid rgba(167, 139, 250, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-icon-ring i {
    font-size: 34px;
    color: #c4b5fd;
    line-height: 1;
}

/* ── BUSINESS LIST ── */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 24px;
}

.business-card {
    display: flex;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 18px;
    border: 1.5px solid var(--gray-mid);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 30, 140, 0.1);
    border-color: var(--pink);
}

.biz-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    background: var(--gray-light);
    position: relative;
}

.biz-img.food    { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.biz-img.tech    { background: linear-gradient(135deg, #ffe4f0, #ffd0e8); }
.biz-img.auto    { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.biz-img.fashion { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.biz-img.health  { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.biz-img.service { background: linear-gradient(135deg, #fffde7, #fff9c4); }

.biz-img .feat-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.biz-info {
    padding: 12px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.biz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.biz-tag {
    display: inline-block;
    padding: 3px 9px;
    background: var(--gray-light);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pink);
}

.wishlist-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
}

.wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--gray-mid);
    transition: fill 0.2s;
}

.wishlist-btn:hover svg {
    fill: var(--pink);
}

.biz-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.biz-desc {
    font-size: 11.5px;
    color: var(--gray-text);
    line-height: 1.35;
}

.biz-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.status-open {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 3px;
}

.status-closed {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 3px;
}

.biz-time {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 3px;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.star-full {
    color: #f5c518;
    font-size: 11px;
}

.rating-text {
    font-size: 10.5px;
    color: var(--gray-text);
    font-weight: 600;
}

/* ── DESKTOP 768px ── */
@media (min-width: 768px) {
    body {
        max-width: 100%;
        font-size: 16px;
    }

    .header        { padding: 20px 40px 16px; }
    .delivery-bar  { padding: 4px 40px 12px; font-size: 15px; }
    .search-wrap   { padding: 8px 40px 20px; }
    .categories    { padding: 8px 40px 20px; gap: 20px; justify-content: center; flex-wrap: wrap; }
    .filters       { padding: 8px 40px 20px; justify-content: center; flex-wrap: wrap; }
    .section-header{ padding: 8px 40px 20px; }
    .featured-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 40px 30px; }
    .banner        { margin: 8px 40px 30px; min-height: 160px; padding: 0; }
    .business-list { padding: 0 40px 40px; gap: 16px; }

    .logo-box      { width: 52px; height: 52px; }
    .logo-box svg  { width: 30px; height: 30px; }
    .logo-text     { font-size: 18px; }

    .search-box    { padding: 16px 20px; border-radius: 18px; }
    .search-box input { font-size: 16px; }
    .search-box i  { font-size: 20px; }
    .search-icon-btn { width: 56px; height: 56px; border-radius: 18px; }
    .search-icon-btn i { font-size: 24px; }

    .cat-circle    { width: 70px; height: 70px; }
    .cat-circle i  { font-size: 30px; }
    .cat-label     { font-size: 13px; max-width: 80px; }

    .pill          { font-size: 14px; padding: 10px 20px; }
    .section-title { font-size: 24px; }
    .ver-mas-btn   { font-size: 14px; padding: 10px 22px; }

    .feat-img      { height: 160px; font-size: 64px; }
    .feat-info     { padding: 14px 16px 18px; }
    .feat-name     { font-size: 15px; }
    .feat-tag      { font-size: 11px; }
    .feat-status-open, .feat-status-closed { font-size: 11px; }
    .feat-rating   { font-size: 12px; }

    .banner-eyebrow { font-size: 12px; }
    .banner-title  { font-size: 28px; }
    .banner-sub    { font-size: 14px; }
    .banner-content { padding: 28px 0 28px 30px; }
    .banner-visual { width: 130px; }
    .banner-icon-ring { width: 90px; height: 90px; }
    .banner-icon-ring i { font-size: 44px; }

    .business-card { border-radius: 20px; }
    .biz-img       { width: 140px; height: 140px; font-size: 56px; }
    .biz-info      { padding: 16px 20px; gap: 4px; }
    .biz-name      { font-size: 18px; }
    .biz-desc      { font-size: 13px; }
    .biz-tag       { font-size: 11px; padding: 4px 10px; }
    .status-open, .status-closed, .biz-time { font-size: 12px; }
    .star-full     { font-size: 12px; }
    .rating-text   { font-size: 12px; }
}

/* ── DESKTOP 1024px ── */
@media (min-width: 1024px) {
    .header        { padding: 24px 60px 20px; }
    .delivery-bar  { padding: 6px 60px 16px; }
    .search-wrap   { padding: 12px 60px 24px; }
    .categories    { padding: 12px 60px 24px; }
    .filters       { padding: 12px 60px 24px; }
    .section-header{ padding: 12px 60px 24px; }
    .featured-grid { padding: 0 60px 40px; gap: 24px; }
    .banner        { margin: 12px 60px 40px; }
    .business-list { padding: 0 60px 60px; }
}