/* ==========================================================
   DISSLine
   Main Application Stylesheet
   Mobile First / Responsive / iOS Safe Area
   ========================================================== */

:root {
    --primary: #6257f6;
    --primary-hover: #5147df;
    --primary-soft: #efedff;
    --primary-soft-2: #f5f4ff;

    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f8f9fc;

    --text: #171923;
    --text-2: #555b68;
    --muted: #858b98;

    --border: #e5e8ef;
    --border-dark: #d9dde7;

    --success: #159447;
    --success-soft: #eaf8ef;

    --warning: #f59e0b;
    --danger: #e5484d;

    --footer: #101116;
    --footer-2: #1c1e24;

    --radius-xs: 8px;
    --radius-sm: 11px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-sm:
        0 4px 16px rgba(17, 24, 39, .04);

    --shadow:
        0 10px 32px rgba(17, 24, 39, .07);

    --shadow-lg:
        0 20px 55px rgba(17, 24, 39, .11);

    --content-width: 1240px;
}


/* ==========================================================
   RESET
   ========================================================== */

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

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
}

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

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.app-shell {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.app-container {
    width: min(
        var(--content-width),
        calc(100% - 32px)
    );

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   NAVBAR
   ========================================================== */

.site-navbar {
    position: sticky;

    top: 0;

    z-index: 3000;

    width: 100%;

    background: rgba(255, 255, 255, .94);

    border-bottom: 1px solid rgba(229, 232, 239, .9);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    width: min(
        var(--content-width),
        calc(100% - 32px)
    );

    min-height: 70px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 12px;
}


/* LOGO */

.brand-logo {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: var(--text);

    font-size: 20px;
    font-weight: 850;

    letter-spacing: -.5px;
}

.brand-icon {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #756cff,
            #574cf0
        );

    color: #fff;

    box-shadow:
        0 8px 20px rgba(98, 87, 246, .25);
}

.brand-icon i {
    font-size: 18px;
}

.brand-text {
    white-space: nowrap;
}


/* LOCATION */

.location-button {
    flex-shrink: 0;

    min-height: 40px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border: 0;

    border-radius: 11px;

    background: transparent;

    color: var(--text-2);

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}

.location-button:hover {
    background: var(--surface-2);
}

.location-button > i:first-child {
    color: var(--primary);
    font-size: 16px;
}

.location-button > i:last-child {
    color: var(--muted);
    font-size: 10px;
}


/* DESKTOP NAV */

.desktop-nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 3px;
}

.desktop-nav a {
    min-height: 42px;

    padding: 0 11px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border-radius: 11px;

    color: var(--text-2);

    font-size: 13px;
    font-weight: 650;

    white-space: nowrap;

    transition:
        background .18s ease,
        color .18s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
}


/* NAV ACTIONS */

.nav-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 7px;
}

.nav-icon-button {
    width: 41px;
    height: 41px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: #fff;

    color: var(--text-2);

    cursor: pointer;
}

.login-button {
    min-height: 42px;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border-radius: 11px;

    background: var(--primary);
    color: #fff;

    font-size: 13px;
    font-weight: 750;

    box-shadow:
        0 6px 16px rgba(98, 87, 246, .20);
}

.login-button:hover {
    background: var(--primary-hover);
    color: #fff;
}

.profile-button {
    min-height: 42px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: #fff;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}

.profile-avatar {
    width: 29px;
    height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-soft);
    color: var(--primary);
}


/* ==========================================================
   MAIN
   ========================================================== */

.main-content {
    flex: 1 0 auto;

    width: 100%;

    padding:
        26px
        0
        30px;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero-section {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 46px 44px;

    border-radius: 26px;

    background:
        linear-gradient(
            130deg,
            #18192b 0%,
            #25204f 50%,
            #5045c8 100%
        );

    color: #fff;

    box-shadow:
        0 20px 55px rgba(31, 28, 76, .18);
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -95px;
    top: -105px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);
}

.hero-section::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: 80px;
    bottom: -135px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 790px;
}

.hero-eyebrow {
    margin-bottom: 13px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, .72);

    font-size: 12px;
    font-weight: 700;
}

.hero-title {
    margin: 0;

    font-size: clamp(32px, 4.8vw, 49px);
    line-height: 1.08;

    font-weight: 880;

    letter-spacing: -1.8px;
}

.hero-description {
    max-width: 700px;

    margin:
        14px
        0
        23px;

    color: rgba(255, 255, 255, .69);

    font-size: 14px;
    line-height: 1.65;
}


/* SEARCH */

.search-box {
    width: 100%;
    min-height: 61px;

    padding: 6px;

    display: flex;
    align-items: center;

    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 12px 32px rgba(0, 0, 0, .17);
}

.search-icon {
    width: 49px;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    font-size: 20px;
}

.search-input {
    flex: 1;

    width: 100%;
    min-width: 0;
    height: 48px;

    padding: 0 4px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 14px;
}

.search-input::placeholder {
    color: #9ba0ab;
}

.search-button {
    width: 49px;
    height: 49px;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 14px;

    background: var(--primary);

    color: #fff;

    cursor: pointer;

    font-size: 18px;
}

.search-button:hover {
    background: var(--primary-hover);
}


/* HERO CHIPS */

.hero-filters {
    margin-top: 14px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.hero-filter {
    min-height: 32px;

    padding: 0 11px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    border-radius: 9px;

    background: rgba(255, 255, 255, .09);

    color: #fff;

    font-size: 10px;
    font-weight: 750;
}


/* ==========================================================
   SECTIONS
   ========================================================== */

.home-section {
    margin-top: 36px;
}

.section-heading {
    margin-bottom: 16px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;
}

.section-heading h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 850;

    letter-spacing: -.45px;
}

.section-heading p {
    margin: 5px 0 0;

    color: var(--muted);

    font-size: 12px;
}

.section-link {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 4px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}


/* ==========================================================
   MAIN CATEGORIES
   ========================================================== */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(8, minmax(0, 1fr));

    gap: 11px;
}

.category-card {
    min-width: 0;
    min-height: 123px;

    padding: 15px 9px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.category-card:hover {
    transform: translateY(-3px);

    border-color: rgba(98, 87, 246, .25);

    box-shadow: var(--shadow);
}

.category-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 19px;
}

.category-name {
    overflow: hidden;

    max-width: 100%;

    color: var(--text);

    font-size: 11px;
    line-height: 1.3;

    font-weight: 780;

    text-overflow: ellipsis;
}

.category-count {
    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 650;
}


/* ==========================================================
   SUB CATEGORIES
   ========================================================== */

.subcategory-panel {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(255, 255, 255, .72);
}

.subcategory-heading {
    margin-bottom: 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}

.subcategory-heading strong {
    font-size: 13px;
    font-weight: 820;
}

.subcategory-heading a {
    color: var(--primary);

    font-size: 10px;
    font-weight: 750;
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.subcategory-chip {
    min-height: 37px;

    padding: 0 11px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #fff;

    color: var(--text-2);

    box-shadow: var(--shadow-sm);

    font-size: 10px;
    font-weight: 700;

    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.subcategory-chip:hover {
    color: var(--primary);

    border-color: rgba(98, 87, 246, .28);

    background: var(--primary-soft-2);
}


/* ==========================================================
   SMART COMPARE
   ========================================================== */

.compare-banner {
    position: relative;

    overflow: hidden;

    padding: 27px;

    border-radius: 21px;

    background:
        linear-gradient(
            135deg,
            #171925,
            #28225b
        );

    color: #fff;
}

.compare-banner::after {
    content: "";

    position: absolute;

    right: -70px;
    bottom: -80px;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);
}

.compare-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: rgba(255, 255, 255, .65);

    font-size: 10px;
    font-weight: 750;
}

.compare-banner h2 {
    max-width: 700px;

    margin: 8px 0 0;

    font-size: 22px;
    line-height: 1.3;

    font-weight: 850;
}

.compare-banner p {
    max-width: 720px;

    margin: 9px 0 0;

    color: rgba(255, 255, 255, .63);

    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================================
   BUSINESS GRID
   ========================================================== */

.business-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.business-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 19px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.business-card:hover {
    transform: translateY(-3px);

    border-color: rgba(98, 87, 246, .25);

    box-shadow: var(--shadow);
}

.business-cover {
    position: relative;

    height: 150px;

    overflow: visible;

    background:
        linear-gradient(
            135deg,
            #f0efff,
            #f8f8fc
        );
}

.business-cover > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.business-cover-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #a8abb5;

    font-size: 40px;
}

.business-badges {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 4;

    display: flex;
    flex-wrap: wrap;

    gap: 5px;
}

.business-badge {
    min-height: 25px;

    padding: 0 8px;

    display: inline-flex;
    align-items: center;

    gap: 4px;

    border-radius: 8px;

    background: rgba(255, 255, 255, .94);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .07);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: var(--text-2);

    font-size: 9px;
    font-weight: 800;
}

.business-badge.verified {
    color: var(--primary);
}

.business-badge.corporate {
    color: #087c70;
}

.business-logo {
    position: absolute;

    left: 15px;
    bottom: -26px;

    z-index: 5;

    width: 65px;
    height: 65px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid #fff;

    border-radius: 17px;

    background: #fff;

    color: var(--primary);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .12);
}

.business-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.business-favorite {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 6;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .95);

    color: var(--text-2);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .07);
}

.business-body {
    padding: 39px 15px 15px;
}

.business-title-row {
    display: flex;
    align-items: center;

    gap: 6px;
}

.business-name {
    min-width: 0;

    margin: 0;

    overflow: hidden;

    color: var(--text);

    font-size: 15px;
    font-weight: 820;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-verified-icon {
    flex-shrink: 0;

    color: var(--primary);
}

.business-category {
    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}

.business-rating {
    margin-top: 11px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;
}

.business-stars {
    display: inline-flex;

    gap: 1px;

    color: var(--warning);

    font-size: 12px;
}

.business-score {
    font-size: 11px;
    font-weight: 800;
}

.business-review-count {
    color: var(--muted);

    font-size: 9px;
}

.business-stats {
    margin-top: 12px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;
}

.business-stat {
    min-width: 0;

    padding: 9px;

    border-radius: 10px;

    background: var(--surface-2);
}

.business-stat-label {
    display: block;

    color: var(--muted);

    font-size: 8px;
    font-weight: 650;
}

.business-stat-value {
    display: block;

    margin-top: 2px;

    font-size: 11px;
    font-weight: 800;
}

.business-footer {
    margin-top: 12px;
    padding-top: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    border-top: 1px solid var(--border);
}

.business-trust {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    color: var(--success);

    font-size: 9px;
    font-weight: 800;
}

.business-view {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
}


/* ==========================================================
   PRODUCTS
   ========================================================== */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.product-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: rgba(98, 87, 246, .25);

    box-shadow: var(--shadow);
}

.product-image {
    position: relative;

    aspect-ratio: 1 / .82;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f0f2f7;

    color: #a5aab5;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-body {
    padding: 13px;
}

.product-name {
    margin: 0;

    overflow: hidden;

    display: -webkit-box;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 760;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rating-row {
    margin-top: 7px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 3px;

    color: var(--warning);

    font-size: 9px;
}

.rating-count {
    color: var(--muted);
}

.product-price {
    margin-top: 8px;

    font-size: 17px;
    font-weight: 850;

    letter-spacing: -.35px;
}

.product-old-price {
    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;

    text-decoration: line-through;
}

.product-business {
    margin-top: 7px;

    display: flex;
    align-items: center;

    gap: 4px;

    color: var(--text-2);

    font-size: 9px;
    font-weight: 650;
}

.product-business i {
    color: var(--primary);
}

.product-sales {
    margin-top: 5px;

    color: var(--muted);

    font-size: 8px;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.empty-card {
    width: 100%;

    padding: 40px 20px;

    border: 1px dashed var(--border-dark);

    border-radius: 18px;

    background: rgba(255, 255, 255, .76);

    text-align: center;
}

.empty-icon {
    width: 61px;
    height: 61px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 24px;
}

.empty-card h3 {
    margin: 0;

    font-size: 16px;
    font-weight: 820;
}

.empty-card p {
    max-width: 520px;

    margin: 7px auto 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.65;
}


/* ==========================================================
   WHY DISSLine
   ========================================================== */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.feature-card {
    min-width: 0;

    padding: 27px 18px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--surface);

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 59px;
    height: 59px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 23px;
}

.feature-card h3 {
    margin: 0;

    font-size: 15px;
    font-weight: 820;
}

.feature-card p {
    margin: 7px 0 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.65;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    flex-shrink: 0;

    width: 100%;

    margin-top: 55px;

    padding:
        55px
        0
        22px;

    background: var(--footer);

    color: #fff;
}

.site-footer .container {
    width: min(
        var(--content-width),
        calc(100% - 32px)
    );

    margin: 0 auto;
}

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(220px, 1.7fr)
        repeat(4, minmax(120px, 1fr));

    gap: 32px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #fff;

    font-size: 20px;
    font-weight: 850;
}

.footer-logo-icon {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary);

    color: #fff;
}

.footer-brand p {
    max-width: 360px;

    margin:
        16px
        0;

    color: #a5a9b3;

    font-size: 11px;
    line-height: 1.75;
}

.footer-social {
    display: flex;

    gap: 7px;
}

.footer-social a {
    width: 37px;
    height: 37px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--footer-2);

    color: #fff;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-column h4 {
    margin: 0 0 5px;

    color: #fff;

    font-size: 13px;
    font-weight: 800;
}

.footer-column a {
    color: #a5a9b3;

    font-size: 11px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;

    padding-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-top: 1px solid #292b31;

    color: #7f848f;

    font-size: 10px;
}

.footer-location {
    display: inline-flex;
    align-items: center;

    gap: 5px;
}


/* ==========================================================
   MOBILE NAV
   ========================================================== */

.mobile-bottom-nav {
    display: none;
}


/* ==========================================================
   TABLET LANDSCAPE / SMALL DESKTOP
   ========================================================== */

@media (max-width: 1150px) {

    .desktop-nav a {
        width: 42px;

        padding: 0;

        justify-content: center;
    }

    .desktop-nav a span {
        display: none;
    }

    .nav-icon-button {
        display: none;
    }

    .category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .business-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns:
            minmax(220px, 1.5fr)
            repeat(2, minmax(140px, 1fr));
    }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .hero-section {
        padding:
            38px
            34px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    body {
        padding-bottom:
            calc(
                78px +
                env(safe-area-inset-bottom)
            );
    }

    .app-container,
    .nav-container,
    .site-footer .container {
        width: calc(100% - 24px);
    }


    /* NAVBAR */

    .nav-container {
        min-height: 62px;

        gap: 7px;
    }

    .brand-icon {
        width: 35px;
        height: 35px;
    }

    .brand-text {
        font-size: 17px;
    }

    .location-button {
        margin-left: auto;

        padding: 0 7px;
    }

    .desktop-nav {
        display: none;
    }

    .nav-icon-button {
        display: none;
    }

    .login-button {
        width: 39px;
        height: 39px;

        min-height: 39px;

        padding: 0;

        justify-content: center;
    }

    .login-button span {
        display: none;
    }

    .profile-button {
        width: 39px;
        height: 39px;

        min-height: 39px;

        padding: 0;

        justify-content: center;
    }

    .profile-text {
        display: none;
    }


    /* MAIN */

    .main-content {
        padding:
            17px
            0
            14px;
    }


    /* HERO */

    .hero-section {
        padding:
            28px
            18px;

        border-radius: 20px;
    }

    .hero-title {
        font-size: 30px;

        letter-spacing: -1.25px;
    }

    .hero-description {
        font-size: 12px;
    }

    .search-box {
        min-height: 56px;
    }

    .search-input {
        height: 44px;

        font-size: 12px;
    }

    .search-icon,
    .search-button {
        width: 44px;
    }

    .search-button {
        height: 44px;
    }


    /* SECTIONS */

    .home-section {
        margin-top: 29px;
    }

    .section-heading {
        margin-bottom: 12px;
    }

    .section-heading h2 {
        font-size: 18px;
    }


    /* CATEGORY */

    .category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 8px;
    }

    .category-card {
        min-height: 100px;

        padding:
            11px
            5px;

        border-radius: 14px;
    }

    .category-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 7px;

        font-size: 17px;
    }

    .category-name {
        font-size: 9px;
    }

    .category-count {
        font-size: 8px;
    }

    .subcategory-panel {
        padding: 13px;
    }

    .subcategory-list {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 3px;

        scrollbar-width: none;
    }

    .subcategory-list::-webkit-scrollbar {
        display: none;
    }

    .subcategory-chip {
        flex-shrink: 0;
    }


    /* BUSINESS */

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


    /* PRODUCTS */

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .product-body {
        padding: 10px;
    }

    .product-price {
        font-size: 15px;
    }


    /* FEATURES */

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .feature-card {
        padding:
            22px
            10px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }

    .feature-card h3 {
        font-size: 13px;
    }

    .feature-card p {
        font-size: 9px;
    }


    /* FOOTER */

    .site-footer {
        margin-top: 37px;

        padding:
            39px
            0
            calc(
                100px +
                env(safe-area-inset-bottom)
            );
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .footer-column {
        padding-top: 17px;

        border-top: 1px solid #292b31;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        margin-top: 28px;
    }


    /* BOTTOM NAV */

    .mobile-bottom-nav {
        position: fixed;

        left: 9px;
        right: 9px;

        bottom:
            calc(
                8px +
                env(safe-area-inset-bottom)
            );

        z-index: 5000;

        min-height: 64px;

        padding: 4px;

        display: grid;

        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        border: 1px solid rgba(17, 24, 39, .08);

        border-radius: 19px;

        background: rgba(255, 255, 255, .96);

        box-shadow:
            0 12px 36px rgba(17, 24, 39, .18);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .mobile-bottom-nav a {
        min-width: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 2px;

        border-radius: 14px;

        color: #777d88;

        font-size: 9px;
        font-weight: 700;
    }

    .mobile-bottom-nav a i {
        font-size: 19px;
    }

    .mobile-bottom-nav a.active {
        background: var(--primary-soft);

        color: var(--primary);
    }
}


/* ==========================================================
   SMALL PHONE
   ========================================================== */

@media (max-width: 390px) {

    .brand-text {
        display: none;
    }

    .category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .category-name {
        font-size: 8px;
    }

    .hero-title {
        font-size: 27px;
    }
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}