:root {
    --cream: #f8f5ef;
    --brown: #795548;
    --dark: #29231f;
    --muted: #81776f;
    --light-brown: #e9dfd2;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
}

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

button, input, select {
    font: inherit;
}

/* NAVBAR */

.navbar {
    height: 82px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eae3d9;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--brown);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a, .login-link {
    font-size: 14px;
    color: #554d47;
    font-weight: 600;
}

.nav-links a:hover, .login-link:hover {
    color: var(--brown);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 700;
    transition: .25s;
}

.btn-dark {
    background: var(--dark);
    color: white;
    padding: 12px 24px;
}

.btn-dark:hover {
    background: var(--brown);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    cursor: pointer;
}

/* HERO SECTION */

.hero {
    padding: 65px 7% 75px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
    min-height: 580px;
}

.eyebrow {
    color: var(--brown);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.13;
    margin: 22px 0;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--brown);
}

.hero-content > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 490px;
}

/* SEARCH BOX */

.search-box {
    background: white;
    padding: 12px;
    border-radius: 9px;
    box-shadow: 0 12px 35px #44332612;
    display: flex;
    gap: 10px;
    margin-top: 35px;
    max-width: 650px;
}

.search-field {
    flex: 1;
    min-width: 0;
    padding: 7px 12px;
    border-right: 1px solid #eee8e0;
}

.search-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
}

.search-field input, .search-field select {
    width: 100%;
    border: 0;
    outline: 0;
    color: #766d66;
    background: transparent;
    font-size: 13px;
}

.btn-primary {
    padding: 0 19px;
    background: var(--brown);
    color: white;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--dark);
}

.search-note {
    margin-top: 14px;
    font-size: 12px !important;
}

/* HERO IMAGE */

.hero-image {
    position: relative;
}

.hero-image > img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 180px 180px 10px 10px;
}

.image-note {
    position: absolute;
    bottom: 25px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: white;
    padding: 17px 23px;
    border-radius: 8px;
    box-shadow: 0 8px 30px #00000015;
}

.image-note > span {
    font-size: 29px;
    color: var(--brown);
}

.image-note strong, .image-note small {
    display: block;
}

.image-note small {
    color: var(--muted);
    margin-top: 4px;
}

/* TRUST STRIP */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #eee6dc;
    padding: 27px 7%;
    gap: 20px;
}

.trust-strip div {
    text-align: center;
    border-right: 1px solid #d8cbbb;
}

.trust-strip div:last-child {
    border: 0;
}

.trust-strip strong, .trust-strip span {
    display: block;
}

.trust-strip strong {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
}

.trust-strip span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

/* GENERAL SECTIONS */

.section {
    padding: 85px 7%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
    gap: 20px;
}

.section-heading h2, .center-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(29px, 3vw, 39px);
    margin: 12px 0;
}

.section-heading p, .center-heading p {
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
}

/* CATEGORY SECTION */

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

.category-card {
    background: white;
    border: 1px solid #eee7de;
    border-radius: 9px;
    padding: 25px;
    display: flex;
    gap: 17px;
    align-items: center;
    transition: .25s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px #47372a12;
    border-color: #c7a98b;
}

.category-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: #f3ece3;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 5px;
}

.category-card p {
    color: var(--muted);
    font-size: 12px;
}

/* VENDOR SECTION */

.vendors-section {
    background: #f0eae1;
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.vendor-card {
    background: white;
    border-radius: 9px;
    overflow: hidden;
    transition: .25s;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px #00000012;
}

.vendor-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.vendor-info {
    padding: 20px;
}

.vendor-tag {
    font-size: 10px;
    color: var(--brown);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.vendor-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 10px 0;
}

.vendor-info p {
    color: var(--muted);
    font-size: 13px;
}

.vendor-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    margin-top: 18px;
    padding-top: 15px;
    font-size: 12px;
    font-weight: 700;
}

.vendor-bottom span:last-child {
    color: #ad793b;
}

.demo-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: var(--muted);
}

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

/* HOW IT WORKS */

.how-section {
    background: #fffdf9;
}

.center-heading {
    text-align: center;
    margin-bottom: 45px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.step-card {
    position: relative;
    padding: 30px;
    border: 1px solid #eee6dc;
    border-radius: 8px;
    background: white;
    text-align: center;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #d5c5b3;
    font-size: 13px;
    font-weight: 700;
}

.step-icon {
    margin: 10px auto 20px;
    height: 65px;
    width: 65px;
    display: grid;
    place-items: center;
    background: #f1e9df;
    border-radius: 50%;
    font-size: 30px;
    color: var(--brown);
}

.step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* VENDOR CTA */

.vendor-cta {
    background: var(--brown);
    color: white;
    padding: 55px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.vendor-cta .eyebrow {
    color: #e6d1bb;
}

.vendor-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin: 12px 0;
}

.vendor-cta p {
    color: #eadfd4;
    font-size: 14px;
    line-height: 1.7;
}

.btn-light {
    padding: 15px 25px;
    background: white;
    color: var(--dark);
    white-space: nowrap;
}

.btn-light:hover {
    background: #eee6dc;
}

/* FOOTER */

.footer {
    background: #29231f;
    color: white;
    padding: 55px 7% 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-logo {
    color: white;
}

.footer-top p {
    color: #c2b5a9;
    font-size: 13px;
    margin-top: 12px;
}

.footer-top h4 {
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-top > div:not(:first-child) a {
    display: block;
    color: #c2b5a9;
    font-size: 13px;
    margin: 12px 0;
}

.footer-top a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #51463e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #b5a79b;
    font-size: 11px;
}

/* TABLET RESPONSIVE */

@media (max-width: 900px) {
    .navbar {
        padding: 0 4%;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        padding: 50px 5%;
        gap: 25px;
    }

    .hero-image > img {
        height: 350px;
    }

    .section {
        padding: 65px 5%;
    }

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

/* MOBILE RESPONSIVE */

@media (max-width: 650px) {
    .navbar {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 10px 20px #00000010;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 50px 5%;
    }

    .hero-image > img {
        height: 320px;
        border-radius: 100px 100px 8px 8px;
    }

    .image-note {
        left: 5px;
    }

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

    .search-field {
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 12px;
    }

    .btn-primary {
        padding: 15px;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 5%;
    }

    .trust-strip div:nth-child(2) {
        border: 0;
    }

    .category-grid,
    .vendor-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .vendor-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 45px 5%;
    }

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

    .footer-bottom {
        gap: 12px;
        flex-direction: column;
    }
}

/* AUTHENTICATION PAGES */

.auth-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 15px;
    background: var(--cream);
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid #eee5da;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 45px #3d302015;
}

.auth-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin: 12px 0;
    color: var(--dark);
}

.auth-card > p {
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 22px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-card form label {
    display: block;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: -7px;
}

.auth-card form input,
.auth-card form select {
    width: 100%;
    padding: 13px;
    border: 1px solid #e5ddd3;
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--dark);
    font: inherit;
}

.auth-card form input:focus,
.auth-card form select:focus {
    border-color: var(--brown);
}

.auth-card form button,
.auth-button {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
    border: none;
    border-radius: 6px;
    background: var(--brown);
    color: var(--white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-card form button:hover,
.auth-button:hover {
    background: var(--dark);
}

.auth-card a,
.auth-switch a,
.back-home {
    color: var(--brown);
    font-weight: 700;
}

.auth-card a:hover,
.auth-switch a:hover,
.back-home:hover {
    text-decoration: underline;
}

#registerMessage,
#loginMessage,
.form-message {
    min-height: 18px;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
    color: var(--brown);
}

.auth-switch {
    text-align: center;
    font-size: 13px;
    margin-top: 22px;
    color: var(--muted);
}

.back-home {
    display: block;
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
}

/* AUTHENTICATION MOBILE RESPONSIVE */

@media (max-width: 480px) {
    .auth-container {
        padding: 20px 12px;
    }

    .auth-card {
        padding: 28px 20px;
    }
}
/* AUTH PAGE LOGO */

.auth-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.auth-logo {
    display: block;
    width: fit-content;
    margin: 0 auto 25px;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
}

.auth-logo span {
    color: var(--brown);
}