:root {
    --black: #000000;
    --white: #ffffff;
    --gold: #d4af37;

    --business-blue: #075de7;
    --business-blue-hover: #1474ff;

    --personal-red: #a90018;
    --personal-red-dark: #65000e;

    --border-dark: #222222;
    --muted: #a7a7a7;

    --content-width: 1200px;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;

    min-height: 100%;

    background: var(--black);
    color: var(--white);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}


body {
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    flex-direction: column;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;

    padding:
        22px
        max(20px, calc((100% - var(--content-width)) / 2));

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

    background: var(--black);
}


.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.wordmark {
    color: var(--gold);

    text-decoration: none;

    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 900;

    letter-spacing: 0.08em;
}


.logo-placeholder {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 2px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);

    font-size: 1.25rem;
    font-weight: 900;
}


.slogan {
    margin:
        10px
        0
        0;

    color: var(--white);

    font-size: 0.95rem;
    letter-spacing: 0.04em;
}


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

.site-main {
    flex: 1;

    width: 100%;
}


/* =========================
   HOMEPAGE
========================= */

.home-choice {
    min-height: 62vh;

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin: 0 auto;

    padding: 32px 0;

    display: grid;

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

    gap: 24px;

    align-items: stretch;
}


.portal-card {
    min-height: 420px;

    display: flex;

    border-radius: 24px;

    text-decoration: none;
    color: var(--white);

    overflow: hidden;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}


.business-card {
    background: var(--business-blue);
}


.business-card:hover {
    background: var(--business-blue-hover);

    transform: translateY(-5px);

    box-shadow:
        0 18px 60px
        rgba(7, 93, 231, 0.32);
}


.personal-card {
    background: var(--personal-red-dark);

    position: relative;
}


.personal-card.disabled {
    cursor: not-allowed;
}


.personal-card.disabled::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        rgba(0, 0, 0, 0.22);
}


.portal-card-content {
    position: relative;
    z-index: 1;

    width: 100%;

    padding: 42px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.portal-icon {
    width: max-content;

    margin-bottom: auto;

    padding: 9px 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 800;
}


.portal-card h1 {
    margin: 0;

    font-size:
        clamp(2.2rem, 6vw, 4rem);

    font-weight: 900;

    letter-spacing: 0.04em;
}


.portal-card p {
    max-width: 440px;

    margin: 14px 0 28px;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 1rem;
    line-height: 1.6;
}


.portal-action {
    width: fit-content;

    padding-bottom: 5px;

    border-bottom:
        2px solid
        rgba(255, 255, 255, 0.75);

    font-size: 0.82rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}


/* =========================
   BUSINESS HEADER SEARCH
========================= */

.business-search {
    margin-top: 22px;

    display: flex;
    gap: 10px;
}


.business-search input {
    flex: 1;

    min-width: 0;

    padding: 15px 17px;

    border:
        1px solid
        #343434;

    border-radius: 12px;

    outline: none;

    background: #0b0b0b;
    color: var(--white);

    font-size: 1rem;
}


.business-search input:focus {
    border-color: var(--gold);
}


.business-search button {
    padding: 0 24px;

    border: 0;
    border-radius: 12px;

    background: var(--gold);
    color: var(--black);

    cursor: pointer;

    font-weight: 900;
}


/* =========================
   BUSINESS PLACEHOLDER
========================= */

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

    margin: 0 auto;

    min-height: 55vh;

    padding: 70px 0;
}


.section-label {
    color: var(--gold);

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 0.16em;
}


.business-placeholder h1 {
    margin: 12px 0;

    font-size:
        clamp(2.5rem, 8vw, 5rem);
}


.business-placeholder p {
    color: var(--muted);

    font-size: 1.1rem;
}


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

.site-footer {
    padding: 34px 20px;

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

    text-align: center;

    background: var(--black);
}


.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 13px 24px;
}


.footer-links a {
    color: var(--white);

    text-decoration: none;

    font-size: 0.9rem;
}


.footer-links a:hover {
    color: var(--gold);
}


.copyright {
    margin:
        24px
        0
        0;

    color: var(--muted);

    font-size: 0.8rem;
}


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

@media (max-width: 720px) {

    .site-header {
        padding: 18px 16px;
    }


    .logo-placeholder {
        width: 42px;
        height: 42px;
    }


    .home-choice {
        width: calc(100% - 24px);

        padding: 20px 0;

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .portal-card {
        min-height: 250px;

        border-radius: 20px;
    }


    .portal-card-content {
        padding: 26px;
    }


    .business-search {
        flex-direction: column;
    }


    .business-search button {
        min-height: 50px;
    }


    .business-placeholder {
        width: calc(100% - 32px);

        padding: 45px 0;
    }
}

/* =========================
   BUSINESS MARKETPLACE
========================= */

.business-marketplace,
.more-listings {
    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin: 0 auto;

    padding: 42px 0;
}


.marketplace-heading h1,
.category-heading h1 {
    margin: 10px 0;

    font-size:
        clamp(2.3rem, 7vw, 4.5rem);
}


.marketplace-heading p {
    color: var(--muted);
}


.category-grid {
    margin: 35px 0 50px;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 12px;
}


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

    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid #222;
    border-radius: 18px;

    background: #080808;

    color: var(--white);
    text-decoration: none;

    font-size: 1rem;
    font-weight: 800;

    transition:
        border-color 160ms ease,
        transform 160ms ease;
}


.category-card:hover {
    border-color: var(--gold);

    transform: translateY(-2px);
}


.category-icon {
    color: var(--gold);

    font-size: 1.8rem;
}


.back-link {
    color: var(--gold);

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 800;
}


/* =========================
   HORIZONTAL DISCOVERY
========================= */

.subcategory-scroll,
.listing-kind-scroll {
    width: 100%;

    display: flex;
    gap: 9px;

    overflow-x: auto;

    padding:
        4px
        0
        14px;

    scrollbar-width: none;
}


.subcategory-scroll::-webkit-scrollbar,
.listing-kind-scroll::-webkit-scrollbar {
    display: none;
}


.subcategory-chip,
.listing-kind-chip {
    flex: 0 0 auto;

    padding: 10px 15px;

    border:
        1px solid
        #2f2f2f;

    border-radius: 999px;

    color: var(--white);
    background: #090909;

    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 700;
}


.subcategory-chip.selected,
.listing-kind-chip.selected {
    border-color: var(--gold);

    background: var(--gold);
    color: #000;
}


/* =========================
   RESULTS
========================= */

.results-heading {
    margin: 28px 0 16px;

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

    gap: 15px;
}


.results-heading h2 {
    margin: 0;
}


.results-heading span {
    color: var(--muted);

    font-size: 0.9rem;
}


.listing-feed {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================
   LISTING CARD
========================= */

.listing-card {
    min-height: 165px;

    display: grid;

    grid-template-columns:
        190px 1fr;

    overflow: hidden;

    border:
        1px solid
        #202020;

    border-radius: 18px;

    background: #070707;

    color: var(--white);

    text-decoration: none;

    transition:
        border-color 160ms ease,
        transform 160ms ease;
}


.listing-card:hover {
    border-color: #555;

    transform: translateY(-1px);
}


.listing-card-image {
    min-height: 165px;

    background: #111;

    overflow: hidden;
}


.listing-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.image-placeholder,
.detail-image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 165px;

    display: grid;
    place-items: center;

    color: var(--gold);

    font-weight: 900;

    letter-spacing: 0.12em;
}


.listing-card-content {
    min-width: 0;

    padding: 18px;

    display: flex;
    flex-direction: column;
}


.listing-card-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}


.listing-kind {
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.verified-mini {
    padding: 4px 7px;

    border:
        1px solid
        rgba(212, 175, 55, 0.4);

    border-radius: 999px;

    color: var(--gold);

    font-size: 0.6rem;
    font-weight: 900;
}


.listing-card h3 {
    margin: 10px 0 5px;

    font-size: 1.15rem;
}


.listing-price {
    margin: 4px 0;

    color: var(--gold);

    font-size: 1.15rem;
    font-weight: 900;
}


.listing-business-name {
    margin: 4px 0 13px;

    color: var(--muted);

    font-size: 0.86rem;
}


.listing-card-bottom {
    margin-top: auto;

    display: flex;
    flex-wrap: wrap;

    gap: 8px 15px;

    color: #a8a8a8;

    font-size: 0.78rem;
}


/* =========================
   LISTING DETAIL
========================= */

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

    margin: 0 auto;

    padding: 40px 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.8fr);

    gap: 36px;
}


.listing-gallery {
    min-width: 0;
}


.listing-main-image {
    width: 100%;

    max-height: 650px;

    object-fit: contain;

    display: block;

    border:
        1px solid
        #202020;

    border-radius: 20px;

    background: #080808;
}


.detail-image-placeholder {
    min-height: 450px;

    border:
        1px solid
        #202020;

    border-radius: 20px;

    background: #080808;
}


.gallery-thumbnails {
    margin-top: 10px;

    display: flex;
    gap: 8px;

    overflow-x: auto;
}


.gallery-thumbnails img {
    width: 80px;
    height: 80px;

    flex: 0 0 auto;

    object-fit: cover;

    border:
        1px solid
        #333;

    border-radius: 10px;
}


.listing-information h1 {
    margin: 14px 0;

    font-size:
        clamp(2rem, 5vw, 3.6rem);

    line-height: 1.06;
}


.listing-meta-top {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 9px;
}


.verified-badge {
    padding: 6px 10px;

    border:
        1px solid
        rgba(212, 175, 55, 0.5);

    border-radius: 999px;

    color: var(--gold);

    font-size: 0.7rem;
    font-weight: 900;
}


.detail-price {
    margin: 18px 0;

    color: var(--gold);

    font-size:
        clamp(1.6rem, 4vw, 2.4rem);

    font-weight: 900;
}


.detail-stats {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    color: var(--muted);

    font-size: 0.9rem;
}


.like-form {
    margin-top: 22px;
}


.like-button,
.secondary-button {
    padding: 11px 16px;

    border:
        1px solid
        #3a3a3a;

    border-radius: 10px;

    background: #090909;
    color: var(--white);

    cursor: pointer;

    text-decoration: none;

    font-weight: 800;
}


.like-button.liked {
    border-color: var(--gold);

    color: var(--gold);
}


.detail-section {
    margin-top: 34px;

    padding-top: 25px;

    border-top:
        1px solid
        #202020;
}


.detail-section h2 {
    margin-top: 0;
}


.listing-description {
    color: #e7e7e7;

    line-height: 1.8;
}


.muted-text {
    color: var(--muted);
}


.seller-card {
    margin-top: 35px;

    padding: 22px;

    border:
        1px solid
        #272727;

    border-radius: 16px;

    background: #080808;
}


.seller-card h2 {
    margin:
        9px
        0
        12px;
}


.seller-verification {
    margin-bottom: 5px;

    color: var(--gold);

    font-weight: 800;
}


.detail-actions {
    margin-top: 26px;

    display: flex;
    align-items: center;

    gap: 15px;
}


.report-link {
    color: var(--muted);

    text-decoration: none;

    font-size: 0.86rem;
}


/* =========================
   STICKY CONTACT
========================= */

.sticky-contact-bar {
    position: fixed;

    left: 50%;
    bottom: 14px;

    transform: translateX(-50%);

    width: min(
        calc(100% - 28px),
        540px
    );

    padding: 7px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 7px;

    z-index: 1000;

    border:
        1px solid
        #333;

    border-radius: 16px;

    background:
        rgba(0, 0, 0, 0.94);

    backdrop-filter: blur(12px);

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.7);
}


.sticky-contact-bar a {
    min-height: 52px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: white;

    text-decoration: none;

    font-weight: 900;
}


.call-action {
    background:
        var(--business-blue);
}


.whatsapp-action {
    background: #128c4a;
}


.has-sticky-contact {
    padding-bottom: 90px;
}


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

.empty-state {
    padding: 40px;

    border:
        1px dashed
        #333;

    border-radius: 16px;

    color: var(--muted);

    text-align: center;
}


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

@media (max-width: 720px) {

    .business-marketplace,
    .more-listings {
        width: calc(100% - 24px);

        padding: 26px 0;
    }


    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 9px;
    }


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

        padding: 16px;

        border-radius: 15px;
    }


    .listing-card {
        min-height: 135px;

        grid-template-columns:
            118px 1fr;

        border-radius: 14px;
    }


    .listing-card-image {
        min-height: 135px;
    }


    .listing-card-content {
        padding: 12px;
    }


    .listing-card h3 {
        margin: 7px 0 4px;

        font-size: 0.98rem;
    }


    .listing-price {
        font-size: 1rem;
    }


    .listing-business-name {
        margin-bottom: 8px;

        font-size: 0.75rem;
    }


    .listing-card-bottom {
        gap: 5px 9px;

        font-size: 0.68rem;
    }


    .verified-mini {
        display: none;
    }


    .listing-detail {
        width: calc(100% - 24px);

        padding: 20px 0;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .detail-image-placeholder {
        min-height: 300px;
    }


    .listing-information h1 {
        font-size: 2rem;
    }


    .sticky-contact-bar {
        bottom: 10px;
    }

}

/* =========================
   BLOOOW ANALYTICS
========================= */

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

    margin: 0 auto;

    padding: 48px 0 80px;
}


.analytics-heading h1 {
    margin: 10px 0;

    font-size:
        clamp(2.5rem, 7vw, 4.5rem);
}


.analytics-heading p {
    color: var(--muted);
}


.analytics-grid {
    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 12px;
}


.metric-card {
    min-height: 135px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border:
        1px solid
        #222;

    border-radius: 16px;

    background: #070707;
}


.metric-card span {
    color: var(--muted);

    font-size: 0.82rem;
}


.metric-card strong {
    color: var(--white);

    font-size: 2.25rem;
}


.metric-card.highlight {
    border-color: var(--gold);
}


.metric-card.highlight strong {
    color: var(--gold);
}


.analytics-columns {
    margin-top: 30px;

    display: grid;

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

    gap: 16px;
}


.analytics-panel {
    padding: 22px;

    border:
        1px solid
        #222;

    border-radius: 16px;

    background: #060606;
}


.analytics-panel h2 {
    margin:
        0
        0
        18px;

    font-size: 1.1rem;
}


.analytics-row {
    padding: 10px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid
        #171717;
}


.analytics-row:last-child {
    border-bottom: 0;
}


.analytics-row span {
    color: #d0d0d0;
}


.analytics-row strong {
    color: var(--gold);
}


.daily-panel {
    margin-top: 16px;
}


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


.analytics-table {
    width: 100%;

    border-collapse: collapse;

    white-space: nowrap;
}


.analytics-table th,
.analytics-table td {
    padding: 12px 15px;

    border-bottom:
        1px solid
        #1d1d1d;

    text-align: left;
}


.analytics-table th {
    color: var(--gold);

    font-size: 0.8rem;
}


.analytics-table td {
    color: #d7d7d7;
}


@media (max-width: 720px) {

    .analytics-dashboard {
        width: calc(100% - 24px);

        padding-top: 30px;
    }


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


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


    .metric-card {
        min-height: 115px;

        padding: 16px;
    }


    .metric-card strong {
        font-size: 1.75rem;
    }
    
}

/* =========================
   PLACE AN AD
========================= */

.place-ad-button {
    margin-top: 10px;

    width: fit-content;

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

    padding: 11px 16px;

    border: 1px solid var(--gold);
    border-radius: 10px;

    color: var(--gold);

    text-decoration: none;
    font-weight: 900;
}


.place-ad-button:hover {
    background: var(--gold);
    color: #000;
}


.submission-page {
    width: min(
        calc(100% - 32px),
        900px
    );

    margin: 0 auto;

    padding: 50px 0 80px;
}


.narrow-page {
    max-width: 680px;
}


.submission-heading h1,
.submission-page > h1 {
    margin: 10px 0;

    font-size:
        clamp(2.2rem, 7vw, 4rem);
}


.submission-form {
    margin-top: 35px;
}


.form-section {
    margin-bottom: 20px;

    padding: 25px;

    border: 1px solid #222;
    border-radius: 18px;

    background: #060606;
}


.form-section h2 {
    margin-top: 0;
}


.form-grid {
    display: grid;

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

    gap: 18px;
}


.form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.form-field-wide {
    grid-column: 1 / -1;
}


.form-field label {
    color: #d9d9d9;

    font-size: 0.85rem;
    font-weight: 800;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #333;
    border-radius: 10px;

    outline: none;

    background: #0a0a0a;
    color: var(--white);

    font: inherit;
}


.form-field textarea {
    resize: vertical;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
}


.form-field small {
    color: var(--muted);
}


.errorlist {
    margin: 4px 0 0;

    padding-left: 18px;

    color: #ff6464;

    font-size: 0.8rem;
}


.consent-row {
    margin: 14px 0;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #d5d5d5;

    line-height: 1.5;
}


.consent-row input {
    margin-top: 5px;

    flex: 0 0 auto;
}


.consent-row a {
    color: var(--gold);
}


.primary-submit-button {
    min-height: 54px;

    width: 100%;

    display: grid;
    place-items: center;

    padding: 14px 20px;

    border: 0;
    border-radius: 12px;

    background: var(--gold);
    color: #000;

    cursor: pointer;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 900;
}


.reference-box {
    margin: 30px 0;

    padding: 22px;

    display: flex;
    flex-direction: column;

    gap: 7px;

    border: 1px solid var(--gold);
    border-radius: 16px;

    background: #080808;
}


.reference-box span {
    color: var(--muted);

    font-size: 0.8rem;
}


.reference-box strong {
    color: var(--gold);

    font-size: 1.6rem;

    letter-spacing: 0.05em;
}


.payment-summary {
    padding: 18px 0;

    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid #222;
}


.payment-summary strong {
    color: var(--gold);

    font-size: 1.3rem;
}


.payment-instructions {
    margin: 25px 0;

    padding: 22px;

    border: 1px solid #222;
    border-radius: 16px;

    background: #060606;
}


.bank-details p {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 10px;

    border-bottom: 1px solid #171717;
}


.bank-details span {
    color: var(--muted);
}


.payment-note {
    margin-top: 22px;
}


.submission-status-card {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin: 25px 0;
}


.submission-status-card > div {
    padding: 20px;

    border: 1px solid #222;
    border-radius: 14px;

    background: #070707;
}


.submission-status-card span,
.submission-status-card strong {
    display: block;
}


.submission-status-card span {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 0.8rem;
}


.submission-status-card strong {
    color: var(--gold);
}


.status-message {
    line-height: 1.7;
}


@media (max-width: 720px) {

    .submission-page {
        width: calc(100% - 24px);

        padding: 30px 0 60px;
    }


    .form-section {
        padding: 18px;
    }


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


    .form-field-wide {
        grid-column: auto;
    }


    .submission-status-card {
        grid-template-columns: 1fr;
    }

}
/* =========================
   FORM VALIDATION FEEDBACK
========================= */

.form-error-summary {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #8a2f2f;
    border-radius: 12px;
    background: #190707;
    color: #ffd7d7;
    line-height: 1.5;
}

.form-error-summary strong {
    color: #ffffff;
}

.form-error-summary ul {
    margin: 10px 0 0;
    padding-left: 20px;
}
