* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-main: #0F2A44;
    --blue-secondary: #1B3F63;
    --blue-deep: #0A1E30;

    --yellow-main: #FFC107;
    --yellow-hover: #FFD84D;
    --yellow-dark: #CC9A06;

    --white: #FFFFFF;
    --gray-light: #C7D2DA;
    --gray-medium: #8A9BA8;

    --shadow-main: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
}

body.login-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.08), transparent 22%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.04), transparent 18%),
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.03), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 18px 16px 24px;
    position: relative;
    z-index: 1;
}

.hero-login {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.hero-top {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.top-logo {
    width: 240px;
    max-width: none;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 12px 28px rgba(0, 0, 0, 0.34))
        drop-shadow(0 0 18px rgba(255, 193, 7, 0.25));
}

.brand-area {
    margin-bottom: 14px;
}

.brand-kicker {
    color: var(--yellow-main);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.95;
}

.brand-subtitle--main {
    font-size: 42px;
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 12px;
}

.brand-description {
    max-width: 430px;
    margin: 0 auto;
    color: var(--gray-light);
    font-size: 16px;
    line-height: 1.55;
}

.login-card {
    background: linear-gradient(180deg, rgba(9, 25, 40, 0.98) 0%, rgba(4, 15, 28, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px 18px 18px;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    backdrop-filter: blur(10px);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: -14px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.04) 0%, rgba(7, 22, 38, 0.16) 42%, transparent 75%);
    z-index: -1;
    filter: blur(16px);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.benefit-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(19, 43, 66, 0.92) 0%, rgba(12, 31, 49, 0.96) 100%);
    border: 1px solid rgba(255, 193, 7, 0.16);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.benefit-box:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 193, 7, 0.28);
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.benefit-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--yellow-main);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.35);
}

.mini-divider {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 16px;
}

.mini-divider span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.55);
}

.login-form {
    text-align: left;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.input-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(5, 17, 29, 0.92);
    border: 1px solid rgba(199, 210, 218, 0.14);
    border-radius: 18px;
    min-height: 58px;
    padding: 0 12px;
    margin-bottom: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 193, 7, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.08);
}

.input-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.16), rgba(255, 193, 7, 0.06));
    border: 1px solid rgba(255, 193, 7, 0.22);
    font-size: 18px;
}

.input-group input {
    width: 100%;
    background: transparent !important;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 16px;
    padding: 14px 0;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.input-group input::placeholder {
    color: var(--gray-medium);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--white) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(5, 17, 29, 0.92) inset !important;
    box-shadow: 0 0 0 1000px rgba(5, 17, 29, 0.92) inset !important;
    transition: background-color 9999s ease-in-out 0s;
    border-radius: 12px;
}

.toggle-password {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
}

.toggle-password:hover {
    background: rgba(255, 255, 255, 0.10);
}

.login-button {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: 18px;
    margin-top: 6px;
    background: linear-gradient(180deg, var(--yellow-hover) 0%, var(--yellow-main) 100%);
    color: #17202a;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 193, 7, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}


.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 193, 7, 0.30);
}

.login-button:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, var(--yellow-main) 0%, var(--yellow-dark) 100%);
}

.login-button span {
    margin-left: 6px;
}

.form-error {
    color: #ff8c8c;
    font-size: 14px;
    font-weight: 700;
    margin: 2px 0 8px;
}

.login-note {
    margin-top: 14px;
    text-align: center;
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.5;
}

.authority-strip {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--gray-light);
    font-size: 13px;
    font-weight: 600;
}

.authority-item {
    opacity: 0.95;
}

.authority-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 40px auto;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #112b44;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #0b1c2c;
    padding: 10px;
    border-radius: 10px;
}

.dashboard {
    width: 92%;
    max-width: 900px;
    margin: 80px auto;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn,
.links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #1e90ff;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    min-height: 46px;
}

.supplier-card {
    background: #112b44;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 16px;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
}

.badge {
    display: inline-block;
    background: #1e90ff;
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.fotos {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fotos img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.links {
    margin-top: 14px;
}

.links a {
    margin: 0 6px 8px;
}

@media (max-width: 768px) {
    .login-wrapper {
        padding: 10px 14px 20px;
        align-items: flex-start;
    }

    .hero-login {
        max-width: 100%;
    }

    .top-logo {
        width: 240px;
        max-width: none;
    }
    
    .hero-top {
       margin-bottom: 4px;
    }

    .brand-area {
       margin-bottom: 12px;
    }

    .brand-kicker {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .brand-subtitle--main {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .brand-description {
        font-size: 14px;
        max-width: 100%;
    }

    .login-card {
        padding: 16px 12px 14px;
        border-radius: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .benefit-box {
        min-height: 50px;
        padding: 0 10px;
        font-size: 13px;
    }

    .input-group {
        min-height: 52px;
        border-radius: 16px;
    }

    .input-group input {
        font-size: 15px;
    }

    .login-button {
        min-height: 52px;
        font-size: 16px;
    }

    .authority-strip {
        gap: 10px;
        font-size: 12px;
    }

    .stats {
        flex-direction: column;
        gap: 10px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .card img {
        height: 100px;
    }

    .fotos {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .fotos img {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .container,
    .dashboard {
        width: 94%;
        margin-top: 24px;
    }

    .supplier-card {
        text-align: left;
        padding: 16px;
    }

    .logo {
        margin-left: 0;
        margin-right: 0;
    }

    .links a,
    .btn {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 480px) {
    .top-logo {
        width: 200px;
        max-width: none;
    }
    
    .hero-top {
       margin-bottom: 2px;
    }

    .brand-area {
       margin-bottom: 10px;
    }

    .brand-subtitle--main {
        font-size: 22px;
    }

    .brand-description {
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .benefit-box {
        min-height: 48px;
        font-size: 12px;
        padding: 0 8px;
    }

    .authority-strip {
        gap: 8px;
    }

    .authority-sep {
        display: none;
    }
}

/* =========================
   DASHBOARD DE BOAS-VINDAS
========================= */

body.welcome-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
}

body.welcome-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.08), transparent 22%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.04), transparent 18%),
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.03), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.welcome-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 14px 32px;
    position: relative;
    z-index: 1;
}

.welcome-card {
    width: 100%;
    max-width: 560px;
    text-align: center;
}


.welcome-cta-wrap {
    position: relative;
}

.welcome-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.welcome-logo {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(255, 193, 7, 0.25));
}

.welcome-header {
    margin-bottom: 20px;
}

.welcome-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 18px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;

    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    color: var(--yellow-main);

    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.15);
}

.welcome-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 10px;
}

.welcome-title span {
    color: var(--yellow-main);
}

.welcome-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.welcome-description {
    max-width: 460px;
    margin: 0 auto;
    color: var(--gray-light);
    font-size: 16px;
    line-height: 1.6;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.welcome-stat-box {
    background: linear-gradient(180deg, rgba(18, 45, 73, 0.88) 0%, rgba(10, 30, 48, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}

.welcome-stat-box strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: var(--yellow-main);
    font-weight: 800;
    margin-bottom: 8px;
}

.welcome-stat-box span {
    display: block;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
}

.welcome-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(18, 45, 73, 0.88) 0%, rgba(10, 30, 48, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}

.welcome-benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 193, 7, 0.14);
    text-align: left;
}

.welcome-benefit-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.16), rgba(255, 193, 7, 0.06));
    border: 1px solid rgba(255, 193, 7, 0.22);
    font-size: 20px;
}

.welcome-benefit-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.welcome-cta {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--yellow-hover) 0%, var(--yellow-main) 100%);
    color: #17202a;
    font-size: 18px;
    font-weight: 800;
    box-shadow:
        0 14px 34px rgba(255, 193, 7, 0.35),
        0 6px 14px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    position: relative;
    z-index: 3;
}

.welcome-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(255, 193, 7, 0.45),
        0 8px 18px rgba(0, 0, 0, 0.32);
    filter: brightness(1.04);
}

.welcome-tip {
    margin-top: 14px;
    color: var(--gray-medium);
    font-size: 13px;
    line-height: 1.5;
}

/* mobile */
@media (max-width: 768px) {
    .welcome-wrapper {
        padding: 20px 14px 28px;
    }
    
    .welcome-card {
        position: relative;
        padding-bottom: 110px;
    }

    .welcome-cta-wrap {
        position: sticky;
        bottom: 14px;
        z-index: 20;
        margin-top: 18px;
    }

    .welcome-cta {
        min-height: 56px;
        font-size: 17px;
        border-radius: 18px;
        box-shadow:
            0 16px 34px rgba(255, 193, 7, 0.38),
            0 10px 20px rgba(0, 0, 0, 0.32);
    }

    .welcome-logo {
        width: 150px;
        max-width: 46%;
    }

    .welcome-title {
        font-size: 30px;
    }

    .welcome-subtitle {
        font-size: 18px;
    }

    .welcome-description {
        font-size: 14px;
    }

    .welcome-stats {
        gap: 10px;
    }

    .welcome-stat-box {
        border-radius: 18px;
        padding: 16px 10px;
    }

    .welcome-stat-box strong {
        font-size: 28px;
    }

    .welcome-stat-box span {
        font-size: 13px;
    }

    .welcome-benefits {
        padding: 16px;
        border-radius: 20px;
    }

    .welcome-benefit-item {
        min-height: 54px;
        padding: 0 12px;
    }

    .welcome-benefit-text {
        font-size: 14px;
    }

    .welcome-cta {
        min-height: 54px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .welcome-logo {
        width: 132px;
        max-width: 42%;
    }
    
    .welcome-top-inline {
        gap: 10px;
        margin-bottom: 14px;
    }

    .welcome-logo-wrap {
        justify-content: center;
    }

    .welcome-kicker {
        min-height: 36px;
        padding: 0 14px;
        font-size: 11px;
        margin-bottom: 0;
    }

    .welcome-card {
        padding-bottom: 104px;
    }

    .welcome-cta-wrap {
        bottom: 10px;
    }

    .welcome-cta {
        min-height: 54px;
        font-size: 16px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .welcome-subtitle {
        font-size: 17px;
    }

    .welcome-description {
        font-size: 13px;
    }

    .welcome-stat-box strong {
        font-size: 24px;
    }

    .welcome-stat-box span {
        font-size: 12px;
    }

    .welcome-benefit-item {
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .welcome-benefit-text {
        font-size: 13px;
    }

    .welcome-tip {
        font-size: 12px;
    }
}

/* =========================
   HOME PRINCIPAL DO APP
========================= */

body.home-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
    padding-bottom: 110px;
    position: relative;
}

body.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.07), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 17%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.025), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.home-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 20px 14px 28px;
}

.home-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.home-header {
    margin-bottom: 24px;
}

.home-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.home-kicker {
    color: var(--yellow-main);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}

.home-title {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
}

.home-subtitle {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.home-avatar-link {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(18, 45, 73, 0.88) 0%, rgba(10, 30, 48, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.home-search-box {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(5, 17, 29, 0.92);
    border: 1px solid rgba(199, 210, 218, 0.12);
    margin-bottom: 12px;
}

.home-search-icon {
    font-size: 17px;
    opacity: 0.9;
}

.home-search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: 16px;
}

.home-search-box input::placeholder {
    color: var(--gray-medium);
}

.home-security-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 193, 7, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.18);
    color: #ffe08a;
    font-size: 13px;
    font-weight: 700;
}

.home-security-icon {
    font-size: 16px;
}

/* sections */
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-kicker {
    color: var(--yellow-main);
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 4px;
}

.section-title {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}

.section-link {
    text-decoration: none;
    color: var(--yellow-main);
    font-size: 13px;
    font-weight: 700;
}

/* deals */
.home-deals {
    margin-bottom: 26px;
}

/* =========================
   DIVISOR PREMIUM DE SEÇÃO
========================= */

.section-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 18px;
}

.section-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 193, 7, 0.8) 50%,
        transparent 100%
    );
    position: relative;
}

.section-divider h2 {
    margin: 0;
    color: var(--yellow-main);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 16px rgba(255, 193, 7, 0.16);
}

/* =========================
   DESTAQUE FABRICANTES
========================= */

.home-featured-strip {
    margin: 6px 0 26px;
}

.featured-suppliers-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(255, 193, 7, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(9, 25, 40, 0.98) 0%, rgba(4, 15, 28, 0.99) 100%);
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 24px;
    padding: 16px;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 193, 7, 0.06) inset;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.featured-suppliers-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.34);
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 193, 7, 0.10) inset;
}

.featured-suppliers-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 193, 7, 0.18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.featured-suppliers-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.featured-suppliers-content {
    min-width: 0;
}

.featured-suppliers-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.10);
    border: 1px solid rgba(255, 193, 7, 0.18);
    color: #ffe08a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.featured-suppliers-title {
    font-size: 32px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 10px;
}

.featured-suppliers-text {
    font-size: 17px;
    line-height: 1.55;
    color: var(--gray-light);
    margin: 0 0 14px;
}

.featured-suppliers-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-suppliers-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   RESPONSIVO DESTAQUE
========================= */

@media (max-width: 768px) {
    .section-divider {
        gap: 10px;
        margin: 4px 0 14px;
    }

    .section-divider h2 {
        font-size: 18px;
        letter-spacing: 0.4px;
    }

    .featured-suppliers-card {
        grid-template-columns: 96px 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    .featured-suppliers-image {
        border-radius: 16px;
    }

    .featured-suppliers-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .featured-suppliers-text {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .featured-suppliers-tags {
        gap: 6px;
    }

    .featured-suppliers-tags span {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }
}

@media (max-width: 560px) {
    .featured-suppliers-card {
        grid-template-columns: 88px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .featured-suppliers-badge {
        min-height: 24px;
        padding: 0 10px;
        font-size: 10px;
        margin-bottom: 8px;
    }

    .featured-suppliers-title {
        font-size: 18px;
    }

    .featured-suppliers-text {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .featured-suppliers-tags span {
        font-size: 9px;
        min-height: 24px;
        padding: 0 7px;
    }
}

.deals-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.deals-slider::-webkit-scrollbar {
    height: 6px;
}

.deals-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.22);
    border-radius: 999px;
}

.deal-card {
    min-width: 220px;
    max-width: 220px;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(180deg, rgba(9, 25, 40, 0.98) 0%, rgba(4, 15, 28, 0.99) 100%);
    border: 1px solid rgba(255, 193, 7, 0.16);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.deal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.28);
}

.deal-image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #081726;
    overflow: hidden;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deal-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.24);
    color: var(--yellow-main);
    font-size: 11px;
    font-weight: 800;
}

.deal-body {
    padding: 14px;
}

.deal-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 6px;
}

.deal-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--yellow-main);
    margin: 0 0 8px;
}

.deal-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-light);
    margin: 0 0 14px;
}

.deal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.deal-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.16);
    color: #ffe08a;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================
   GRID DE CATEGORIAS
========================= */

.home-categories {
    margin-top: 22px;
}

.categories-grid-home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.category-home-card.compact {
    display: grid;
    grid-template-columns: 62px 1fr 24px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 39, 61, 0.96) 0%, rgba(8, 24, 39, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 12px 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-home-card.compact:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.20);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.category-home-thumb.compact {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.category-home-thumb.compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-home-body.compact {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category-home-title {
    font-size: 16px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.category-home-subtitle {
    font-size: 13px;
    line-height: 1.35;
    color: var(--gray-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-home-footer.compact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.category-home-arrow {
    font-size: 28px;
    line-height: 1;
    color: var(--yellow-main);
    font-weight: 800;
}

/* desktop: 2 por linha */
@media (min-width: 900px) {
    .categories-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* mobile */
@media (max-width: 560px) {
    .categories-grid-home {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-home-card.compact {
        grid-template-columns: 56px 1fr 22px;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 18px;
    }

    .category-home-thumb.compact {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .category-home-title {
        font-size: 15px;
    }

    .category-home-subtitle {
        font-size: 12px;
    }

    .category-home-arrow {
        font-size: 24px;
    }
}

/* =========================
   BLOCO FUTURO / UPSELL
========================= */

.home-extra-block {
    margin-top: 24px;
    padding: 18px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(18, 45, 73, 0.88) 0%, rgba(10, 30, 48, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.home-extra-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 8px;
}

.home-extra-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-light);
    margin: 0;
}

/* =========================
   MENU FIXO INFERIOR
========================= */

.bottom-nav-spacer {
    height: 84px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 520px;
    z-index: 80;
    padding: 8px;
    border-radius: 18px;
    background: rgba(7, 20, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.bottom-nav-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 6px 4px;
    text-decoration: none;
    color: var(--gray-light);
    border-radius: 14px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    position: relative;
    text-align: center;
}

.bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.bottom-nav-item.active {
    background: rgba(255, 193, 7, 0.08);
    color: var(--yellow-main);
    box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.14);
}

.bottom-nav-icon {
    font-size: 17px;
    line-height: 1;
}

.bottom-nav-label {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.bottom-nav-badge {
    position: absolute;
    top: 3px;
    right: 10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--yellow-main);
    color: #17202a;
    font-size: 9px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.22);
}

@media (max-width: 560px) {
    .bottom-nav {
        width: calc(100% - 14px);
        bottom: 8px;
        padding: 7px;
        border-radius: 16px;
    }

    .bottom-nav-list {
        gap: 4px;
    }

    .bottom-nav-item {
        min-height: 48px;
        padding: 5px 2px;
        gap: 3px;
        border-radius: 12px;
    }

    .bottom-nav-icon {
        font-size: 16px;
    }

    .bottom-nav-label {
        font-size: 9px;
    }

    .bottom-nav-badge {
        right: 6px;
        top: 2px;
    }
}

/* =========================
   RESPONSIVIDADE
========================= */

@media (min-width: 700px) {
    .home-main {
        padding-bottom: 120px;
    }

    .categories-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deal-card {
        min-width: 320px;
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .home-shell {
        max-width: 1180px;
    }

    .home-hero-card {
        padding: 24px;
    }

    .home-title {
        font-size: 38px;
    }

    .home-subtitle {
        font-size: 17px;
    }

    .home-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .deal-card {
        min-width: 360px;
        max-width: 360px;
    }

    .categories-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .home-wrapper {
        padding: 14px 10px 110px;
    }

    .home-title {
        font-size: 28px;
    }

    .home-subtitle {
        font-size: 14px;
    }

    .home-info-card {
        padding: 14px;
        border-radius: 18px;
    }

    .home-highlight-card {
        padding: 14px;
        border-radius: 20px;
    }

    .highlight-slide {
        min-width: 88%;
    }

    .deal-card {
        min-width: clamp(210px, 64vw, 230px);
        max-width: clamp(210px, 64vw, 230px);
    }

    .deal-title {
        font-size: 15px;
    }

    .deal-description {
        font-size: 12px;
    }

    .deal-price {
        font-size: 16px;
    }

    .section-title {
        font-size: 21px;
    }

    .categories-grid-home {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-home-card {
        padding: 10px;
        border-radius: 18px;
    }

    .category-home-title {
        font-size: 14px;
    }

    .category-home-subtitle {
        font-size: 11px;
    }

    .bottom-nav {
        width: calc(100% - 16px);
        bottom: 10px;
        padding: 8px 10px;
        border-radius: 20px;
    }

    .bottom-nav-item {
        min-height: 54px;
        gap: 4px;
    }

    .bottom-nav-icon {
        font-size: 18px;
    }

    .bottom-nav-label {
        font-size: 10px;
    }

    .bottom-nav-badge {
        right: 10px;
    }
}
    
@media (min-width: 1400px) {
    .categories-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

}

/* =========================
   AJUSTES DO INICIO.PHP NOVO
========================= */

/* divisor pequeno usado em Achados, Categorias e Em breve */
.section-divider.small h2 {
    font-size: 18px;
    letter-spacing: 0.4px;
    color: var(--yellow-main);
}

.section-divider.small span {
    height: 1px;
    opacity: 0.6;
}

.section-divider h2 {
    color: var(--yellow-main);
    position: relative;
}

.section-divider h2::after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    margin: 6px auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--yellow-main),
        transparent
    );
    opacity: 0.6;
}

/* texto e rodapé dos cards de ofertas */
.deal-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-light);
    margin: 0 0 10px;
}

.deal-footer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.deal-cta {
    color: var(--gray-light);
    font-size: 13px;
    font-weight: 600;
}

/* bloco final "Em breve" do HTML novo */
.home-upsell-placeholder {
    margin-top: 24px;
}

.home-upsell-box {
    padding: 18px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(18, 45, 73, 0.88) 0%, rgba(10, 30, 48, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.home-upsell-box h3 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 8px;
}

.home-upsell-box p:last-child {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-light);
    margin: 0;
}

/* responsivo do bloco final */
@media (max-width: 560px) {
    .section-divider.small h2 {
        font-size: 16px;
    }

    .deal-description {
        font-size: 12px;
    }

    .deal-cta {
        font-size: 12px;
    }

    .home-upsell-box {
        padding: 14px 12px;
        border-radius: 20px;
    }

    .home-upsell-box h3 {
        font-size: 18px;
    }

    .home-upsell-box p:last-child {
        font-size: 13px;
    }
}
/* =========================
   RESULTADOS DE BUSCA NA HOME
========================= */

.home-search-results {
    margin-bottom: 26px;
}

.search-results-groups {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-results-block {
    display: block;
}

.search-results-empty {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(9, 25, 40, 0.98) 0%, rgba(4, 15, 28, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.6;
}

.search-suppliers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.supplier-search-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 39, 61, 0.96) 0%, rgba(8, 24, 39, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.supplier-search-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.20);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.supplier-search-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.supplier-search-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.supplier-search-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.supplier-search-meta {
    color: var(--gray-light);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.supplier-search-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.supplier-search-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.15);
    color: #ffe08a;
    font-size: 11px;
    font-weight: 700;
}

.search-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 900px) {
    .search-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .search-results-groups {
        gap: 18px;
    }

    .search-results-empty {
        padding: 16px;
        border-radius: 18px;
        font-size: 14px;
    }

    .supplier-search-card {
        grid-template-columns: 56px 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 18px;
    }

    .supplier-search-logo {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .supplier-search-title {
        font-size: 16px;
    }

    .supplier-search-meta {
        font-size: 12px;
    }

    .supplier-search-badge {
        font-size: 10px;
        min-height: 24px;
        padding: 0 8px;
    }

    .search-offers-grid {
        grid-template-columns: 1fr;
    }
}

.home-security-alert {
    margin-bottom: 14px;
}

.home-search-box {
    margin-top: 8px;
}

/* =========================
   PÁGINA DE CATEGORIAS
========================= */

body.categories-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
    padding-bottom: 110px;
    position: relative;
}

body.categories-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.07), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 17%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.025), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.categories-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 20px 14px 28px;
}

.categories-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.categories-header {
    margin-bottom: 24px;
}

.categories-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.categories-title {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 10px;
}

.categories-subtitle {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.categories-search-box {
    margin-bottom: 6px;
}

.categories-list-section {
    margin-top: 6px;
}

.categories-search-results {
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .categories-shell {
        max-width: 1180px;
    }

    .categories-title {
        font-size: 38px;
    }

    .categories-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 560px) {
    .categories-wrapper {
        padding: 14px 10px 110px;
    }

    .categories-title {
        font-size: 28px;
    }

    .categories-subtitle {
        font-size: 14px;
    }
}

/* =========================
   PÁGINA DE FORNECEDORES
========================= */

body.suppliers-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
    padding-bottom: 110px;
    position: relative;
}

body.suppliers-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.07), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 17%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.025), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.suppliers-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 18px 12px 28px;
}

.suppliers-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.suppliers-header {
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 14px;
}

.back-link:hover {
    color: var(--white);
}

.suppliers-title {
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 10px;
}

.suppliers-subtitle {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.suppliers-list {
    display: grid;
    gap: 16px;
}

/* Tablet já quebra pra 2 colunas */
@media (min-width: 600px) {
    .suppliers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop grande → 3 colunas */
@media (min-width: 1100px) {
    .suppliers-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.supplier-premium-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.035) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.supplier-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
    align-items: stretch;
}

.supplier-info-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.supplier-premium-top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
}

.supplier-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.supplier-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplier-main-info {
    min-width: 0;
}

.supplier-code-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}

.supplier-code {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.14);
    color: #FFD84D;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.supplier-badge-cheap {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(40, 167, 69, 0.16);
    color: #6fe089;
    font-size: 11px;
    font-weight: 800;
}

.supplier-name {
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 5px;
}

.supplier-region {
    margin: 0;
    font-size: 12px;
    color: var(--gray-light);
}

.supplier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}

.supplier-tag {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 10px;
}

.supplier-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.supplier-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.supplier-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

/* INSTAGRAM */
.supplier-action-btn.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 35%, #FD1D1D 68%, #FCAF45 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(225, 48, 108, 0.28);
}

/* SITE */
.supplier-action-btn.site {
    background: linear-gradient(135deg, #2D8CFF 0%, #47B5FF 45%, #79D7FF 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(71, 181, 255, 0.26);
}

.supplier-favorite-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: none;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.supplier-favorite-icon:hover {
    transform: translateY(-1px);
    background: rgba(255, 193, 7, 0.14);
    color: #FFD84D;
}

.supplier-favorite-icon.active {
    background: linear-gradient(135deg, #FFC107 0%, #FFD84D 100%);
    color: #0A1E30;
    box-shadow: 0 8px 18px rgba(255, 193, 7, 0.22);
}

.supplier-hidden {
    display: none !important;
}
.supplier-media-column {
    min-width: 0;
}

.supplier-gallery.stack-two {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
}

.supplier-gallery-item.wide {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    aspect-ratio: 1.45 / 1;
}

.supplier-gallery-item.wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.supplier-gallery-item.placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px dashed rgba(255,255,255,0.07);
}

@media (min-width: 900px) {
    .suppliers-shell {
        max-width: 1200px;
    }

    .suppliers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .suppliers-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .suppliers-wrapper {
        padding: 16px 10px 110px;
    }

    .suppliers-title {
        font-size: 26px;
    }

    .supplier-premium-card {
        padding: 12px;
        border-radius: 22px;
    }

    .supplier-card-main {
        grid-template-columns: minmax(0, 1fr) 102px;
        gap: 10px;
    }

    .supplier-premium-top {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 6px;
    }
    
    .supplier-action-btn {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .supplier-favorite-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 17px;
}

    .supplier-logo-box {
        width: 52px;
        height: 52px;
    }

    .supplier-name {
        font-size: 14px;
    }

    .supplier-tag {
        font-size: 10px;
        padding: 6px 9px;
    }

    .supplier-gallery.stack-two {
        gap: 7px;
    }

    .supplier-gallery-item.wide {
        border-radius: 12px;
        aspect-ratio: 1.35 / 1;
    }
}
.suppliers-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 8px;
}

.suppliers-load-more-btn {
    min-width: 260px;
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #FFC107 0%, #FFD84D 100%);
    color: #0A1E30;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 193, 7, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.suppliers-load-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(255, 193, 7, 0.30);
    filter: brightness(1.03);
}

.suppliers-load-more-tip {
    color: var(--gray-light);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    max-width: 420px;
}

@media (max-width: 560px) {
    .suppliers-load-more-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        font-size: 15px;
        border-radius: 16px;
    }

    .suppliers-load-more-tip {
        font-size: 12px;
    }
}
/* busca topo fornecedores / favoritos */
.suppliers-search-box {
    margin-top: 12px;
    margin-bottom: 4px;
}

.suppliers-search-empty {
    margin-bottom: 14px;
}
/* =========================
   PÁGINA DE CONTA
========================= */

body.account-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
    padding-bottom: 110px;
    position: relative;
}

body.account-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.07), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 17%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.025), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.account-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 20px 14px 28px;
}

.account-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.account-header {
    margin-bottom: 22px;
}

.account-title {
    font-size: 32px;
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 10px;
}

.account-subtitle {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
}

.account-hero-card,
.account-actions-card,
.account-info-card {
    background: linear-gradient(180deg, rgba(15, 39, 61, 0.96) 0%, rgba(8, 24, 39, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
    margin-bottom: 16px;
}

.account-user-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-user-avatar {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFC107 0%, #FFD84D 100%);
    color: #0A1E30;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(255, 193, 7, 0.22);
}

.account-user-info h2 {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 4px;
}

.account-user-info p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.account-user-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.account-badge-gold {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.18);
    color: #FFE08A;
}

.account-badge-green {
    background: rgba(40, 167, 69, 0.14);
    border: 1px solid rgba(40, 167, 69, 0.20);
    color: #7EE39A;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.account-stat-card {
    background: linear-gradient(180deg, rgba(15, 39, 61, 0.96) 0%, rgba(8, 24, 39, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 16px 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
}

.account-stat-label {
    display: block;
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.account-stat-value {
    display: block;
    color: var(--yellow-main);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 8px;
}

.account-stat-note {
    color: var(--gray-light);
    font-size: 12px;
    line-height: 1.45;
}

.account-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 18px;
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.account-action-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.account-action-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255,255,255,0.10);
}

.account-action-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.account-action-text strong {
    color: var(--white);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.account-action-text small {
    color: var(--gray-light);
    font-size: 12px;
    line-height: 1.4;
}

.account-action-link.secondary {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.account-action-link.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.22) 0%, rgba(12, 63, 38, 0.30) 100%);
    border-color: rgba(37, 211, 102, 0.18);
}

.account-action-link.feedback {
    background: linear-gradient(135deg, rgba(59, 164, 247, 0.18) 0%, rgba(15, 56, 92, 0.30) 100%);
    border-color: rgba(59, 164, 247, 0.18);
}

.account-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.account-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account-info-label {
    color: var(--gray-light);
    font-size: 13px;
    font-weight: 700;
}

.account-info-value {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.account-logout-wrap {
    margin-top: 6px;
}

.account-logout-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #D94C4C 0%, #F36B6B 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(217, 76, 76, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.account-logout-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

@media (min-width: 1024px) {
    .account-shell {
        max-width: 980px;
    }
}

@media (max-width: 700px) {
    .account-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .account-wrapper {
        padding: 16px 10px 110px;
    }

    .account-title {
        font-size: 28px;
    }

    .account-subtitle {
        font-size: 14px;
    }

    .account-hero-card,
    .account-actions-card,
    .account-info-card {
        border-radius: 22px;
        padding: 14px;
    }

    .account-user-avatar {
        width: 56px;
        height: 56px;
        min-width: 56px;
        border-radius: 16px;
        font-size: 24px;
    }

    .account-user-info h2 {
        font-size: 20px;
    }

    .account-stat-card {
        border-radius: 20px;
        padding: 14px 12px;
    }

    .account-stat-value {
        font-size: 28px;
    }

    .account-action-link {
        border-radius: 16px;
        min-height: 62px;
        padding: 12px;
    }

    .account-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .account-info-value {
        text-align: left;
    }

    .account-logout-btn {
        min-height: 52px;
        font-size: 15px;
        border-radius: 16px;
    }
}
/* busca + carregar mais na home */
.search-suppliers-grid.premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.suppliers-search-box,
.offers-search-box {
    margin-top: 12px;
    margin-bottom: 4px;
}

.offers-search-empty {
    margin-bottom: 14px;
}

.offers-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--blue-secondary) 0%, var(--blue-main) 45%, var(--blue-deep) 100%);
    color: var(--white);
    overflow-x: hidden;
    padding-bottom: 110px;
    position: relative;
}

.offers-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.07), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 17%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.025), transparent 16%),
        radial-gradient(circle at 50% 75%, rgba(27, 63, 99, 0.35), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.offers-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 20px 14px 28px;
}

.offers-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.offers-header {
    margin-bottom: 22px;
}

.offers-title {
    font-size: 32px;
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 10px;
}

.offers-subtitle {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
}

.offers-grid-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.deal-card-grid {
    min-width: 0;
    max-width: none;
}

@media (min-width: 1024px) {
    .offers-grid-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .offers-wrapper {
        padding: 16px 10px 110px;
    }

    .offers-title {
        font-size: 28px;
    }

    .offers-subtitle {
        font-size: 14px;
    }

    .offers-grid-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .deal-card-grid .deal-body {
        padding: 12px;
    }

    .deal-card-grid .deal-title {
        font-size: 14px;
    }

    .deal-card-grid .deal-description {
        font-size: 12px;
    }

    .deal-card-grid .deal-price {
        font-size: 15px;
    }
}
.deal-day-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.10);
    border: 1px solid rgba(255, 193, 7, 0.18);
    color: #FFE08A;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
