:root {
    --sage: #4caf50;
    --sage-dark: #2e9142;
    --sage-deep: #1d6b30;
    --sage-light: #e1f5e2;

    --cream: #f7f5ee;
    --cream-dark: #ece9df;

    --white: #ffffff;

    --ink: #273027;
    --muted: #6f776e;

    --border: #d9ddd3;

    --serif: "Fraunces", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   NAVIGATION
========================= */

.site-header {
    position: relative;
    z-index: 20;
    background: var(--cream);
}

.navbar {
    max-width: 1240px;
    height: 82px;
    margin: auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--sage-dark);
    color: white;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.logo-text strong {
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 34px;
    margin-left: auto;
    margin-right: 40px;
}

.nav-links a {
    color: #5c655b;
    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--sage-dark);
}

.nav-location {
    border: 1px solid var(--border);
    background: transparent;

    border-radius: 30px;

    padding: 10px 16px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--sage-dark);

    font-size: 13px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.nav-location:hover {
    background: var(--sage-light);
    border-color: var(--sage-light);
}

.location-icon {
    font-size: 17px;
}

.mobile-menu {
    display: none;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;
}

.mobile-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px auto;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 610px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(255,255,255,0.24),
            transparent 30%
        ),
        var(--sage);
}

.hero-content {
    width: 1240px;
    margin: auto;
    padding: 75px 28px 100px;

    position: relative;
    z-index: 3;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 9px;

    color: rgba(255,255,255,0.78);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;

    margin-bottom: 23px;
}

.label-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #e7efdf;
}

.hero h1 {
    max-width: 650px;

    color: white;

    font-family: var(--serif);
    font-size: clamp(58px, 7vw, 92px);
    font-weight: 600;

    line-height: 0.96;
    letter-spacing: -4px;
}

.hero h1 em {
    color: #e3ecd9;
    font-style: italic;
}

.hero-description {
    max-width: 500px;

    margin-top: 28px;
    margin-bottom: 30px;

    color: rgba(255,255,255,0.82);

    font-size: 17px;
    line-height: 1.7;
}

.search-box {
    width: min(650px, 100%);

    display: flex;
    align-items: center;

    background: white;

    border-radius: 13px;

    padding: 6px;

    box-shadow:
        0 15px 45px rgba(44, 63, 40, 0.18);
}

.search-icon {
    width: 48px;

    display: grid;
    place-items: center;
}

.search-icon svg {
    width: 20px;
    height: 20px;

    stroke: #7d857b;
    stroke-width: 1.8;
}

.search-box input {
    flex: 1;

    min-width: 0;

    border: none;
    outline: none;

    color: var(--ink);

    font-size: 14px;

    padding: 15px 5px;
}

.search-box input::placeholder {
    color: #92988f;
}

.search-box button {
    border: none;

    background: var(--sage-dark);
    color: white;

    border-radius: 9px;

    padding: 14px 21px;

    font-size: 13px;
    font-weight: 700;

    transition: background 0.2s ease;
}

.search-box button:hover {
    background: var(--sage-deep);
}

.search-box button span {
    margin-left: 8px;
    font-size: 16px;
}

.current-location {
    border: none;
    background: transparent;

    color: rgba(255,255,255,0.75);

    margin-top: 16px;

    font-size: 12px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.current-location:hover {
    color: white;
}

.current-location span {
    margin-right: 5px;
}


/* HERO DECORATION */

.hero-decoration {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.13);
}

.circle-one {
    width: 600px;
    height: 600px;

    right: -100px;
    top: -180px;
}

.circle-two {
    width: 380px;
    height: 380px;

    right: 70px;
    bottom: -220px;
}

.leaf {
    position: absolute;

    color: rgba(255,255,255,0.17);

    font-size: 90px;
}

.leaf-one {
    right: 18%;
    top: 23%;

    transform: rotate(25deg);
}

.leaf-two {
    right: 9%;
    bottom: 18%;

    transform: rotate(-25deg);
}


/* =========================
   GENERAL SECTIONS
========================= */

.section-container {
    max-width: 1240px;
    margin: auto;
    padding: 90px 28px;
}

.eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--sage-dark);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.section-heading,
.discover-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 35px;
}

h2 {
    font-family: var(--serif);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.05;
    letter-spacing: -1.5px;
}

.view-all {
    display: flex;
    gap: 9px;
    align-items: center;

    color: var(--sage-dark);

    font-size: 13px;
    font-weight: 700;
}

.view-all span {
    font-size: 18px;
}


/* =========================
   CATEGORIES
========================= */

.categories-section {
    background: var(--cream);
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 13px;
}

.category-card {
    min-height: 180px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: rgba(255,255,255,0.42);

    padding: 22px 17px;

    text-align: left;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    background: white;

    border-color: #c7d1c1;
}

.category-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 26px;

    border-radius: 12px;

    background: var(--sage-light);

    color: var(--sage-dark);

    font-size: 21px;
}

.category-card h3 {
    margin-bottom: 4px;

    font-size: 14px;
    font-weight: 700;
}

.category-card p {
    color: var(--muted);

    font-size: 11px;
}


/* =========================
   DISCOVER
========================= */

.discover-section {
    background: #eeece4;
}

.discover-controls {
    display: flex;
    gap: 5px;
}

.filter-button {
    border: 1px solid var(--border);

    background: transparent;

    border-radius: 30px;

    padding: 9px 14px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.filter-button.active,
.filter-button:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);

    color: white;
}

.places-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.place-card {
    overflow: hidden;

    background: white;

    border: 1px solid #dedfd8;

    border-radius: 16px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.place-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(40,50,40,0.08);
}

.placeholder-image {
    height: 210px;

    display: grid;
    place-items: center;

    background: #dce5d7;

    color: var(--sage-dark);

    font-size: 36px;
}

.placeholder-image.second {
    background: #e5e0d4;
}

.placeholder-image.third {
    background: #d8e0dd;
}

.place-info {
    padding: 22px;
}

.place-category {
    color: var(--sage-dark);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.place-info h3 {
    margin-top: 8px;
    margin-bottom: 8px;

    font-family: var(--serif);

    font-size: 24px;
    line-height: 1.1;
}

.place-info p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================
   ABOUT
========================= */

.about-section {
    background: var(--cream);
}

.about-container {
    max-width: 1080px;
    margin: auto;
    padding: 110px 28px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    aspect-ratio: 0.9;

    padding: 15px;

    background: var(--sage-light);

    transform: rotate(-2deg);
}

.about-image-inner {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background: var(--sage);

    overflow: hidden;
}

.about-image-inner::before,
.about-image-inner::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.16);
}

.about-image-inner::before {
    top: -80px;
    left: -60px;
}

.about-image-inner::after {
    bottom: -120px;
    right: -50px;
}

.about-word {
    position: relative;
    z-index: 2;

    color: rgba(255,255,255,0.88);

    font-family: var(--serif);

    font-size: 50px;
    letter-spacing: 7px;
}

.about-star {
    position: absolute;

    z-index: 3;

    top: 30px;
    right: 30px;

    color: rgba(255,255,255,0.65);

    font-size: 30px;
}

.about-content h2 {
    max-width: 500px;
}

.about-content h2 em {
    color: var(--sage-dark);
    font-style: italic;
}

.about-content p {
    max-width: 500px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}

.about-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 28px;

    padding: 13px 19px;

    border-radius: 9px;

    background: var(--sage-dark);
    color: white;

    font-size: 13px;
    font-weight: 700;
}

.about-button span {
    font-size: 17px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--sage-deep);
    color: white;
}

.footer-container {
    max-width: 1240px;
    margin: auto;
    padding: 65px 28px;

    display: flex;
    justify-content: space-between;
}

.footer-logo .logo-mark {
    background: rgba(255,255,255,0.12);
}

.footer-brand p {
    margin-top: 15px;

    color: rgba(255,255,255,0.58);

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h4 {
    margin-bottom: 8px;

    color: rgba(255,255,255,0.45);

    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255,255,255,0.75);

    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1240px;

    margin: auto;
    padding: 18px 28px;

    border-top: 1px solid rgba(255,255,255,0.1);

    display: flex;
    justify-content: space-between;

    color: rgba(255,255,255,0.38);

    font-size: 10px;
}


/* =========================
   LOCATION MODAL
========================= */

.modal-overlay {
    position: fixed;
    inset: 0;

    z-index: 100;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(29,39,29,0.45);

    backdrop-filter: blur(5px);
}

.modal-overlay.open {
    display: flex;
}

.location-modal {
    width: min(420px, 100%);

    position: relative;

    padding: 40px;

    border-radius: 20px;

    background: var(--cream);

    box-shadow: 0 30px 80px rgba(20,30,20,0.2);

    text-align: center;
}

.modal-close {
    position: absolute;

    top: 15px;
    right: 18px;

    border: none;
    background: transparent;

    color: var(--muted);

    font-size: 25px;
}

.modal-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--sage-light);

    color: var(--sage-dark);

    font-size: 25px;
}

.location-modal h2 {
    font-size: 31px;
}

.location-modal p {
    margin: 13px auto 25px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}

.modal-location-button,
.modal-manual-button {
    width: 100%;

    padding: 13px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;
}

.modal-location-button {
    border: none;

    background: var(--sage-dark);
    color: white;
}

.modal-manual-button {
    margin-top: 8px;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--ink);
}


/* =========================
   LOADING OVERLAY
   (From Uiverse.io by Novaxlo, recolored)
========================= */

.loader-overlay {
    position: fixed;
    inset: 0;

    z-index: 200;

    display: none;
    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 18px;

    background: rgba(29, 39, 29, 0.55);
    backdrop-filter: blur(5px);
}

.loader-overlay.active {
    display: flex;
}

.earth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.earth p {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 600;
    font-family: var(--sans);
    letter-spacing: 0.3px;
}

.earth-loader {
    --watercolor: var(--sage-deep);
    --landcolor: var(--sage-light);

    width: 7.5em;
    height: 7.5em;

    background-color: var(--watercolor);

    position: relative;
    overflow: hidden;

    border-radius: 50%;

    box-shadow:
        inset 0em 0.5em rgb(255, 255, 255, 0.25),
        inset 0em -0.5em rgb(0, 0, 0, 0.25);

    border: solid 0.15em white;

    animation: startround 1s;
    animation-iteration-count: 1;
}

.earth-loader svg path {
    fill: var(--landcolor);
}

.earth-loader svg:nth-child(1) {
    position: absolute;
    bottom: -2em;
    width: 7em;
    height: auto;
    animation: round1 5s infinite linear 0.75s;
}

.earth-loader svg:nth-child(2) {
    position: absolute;
    top: -3em;
    width: 7em;
    height: auto;
    animation: round1 5s infinite linear;
}

.earth-loader svg:nth-child(3) {
    position: absolute;
    top: -2.5em;
    width: 7em;
    height: auto;
    animation: round2 5s infinite linear;
}

.earth-loader svg:nth-child(4) {
    position: absolute;
    bottom: -2.2em;
    width: 7em;
    height: auto;
    animation: round2 5s infinite linear 0.75s;
}

@keyframes startround {
    0% {
        filter: brightness(500%);
        box-shadow: none;
    }
    75% {
        filter: brightness(500%);
        box-shadow: none;
    }
    100% {
        filter: brightness(100%);
        box-shadow:
            inset 0em 0.5em rgb(255, 255, 255, 0.25),
            inset 0em -0.5em rgb(0, 0, 0, 0.25);
    }
}

@keyframes round1 {
    0% {
        left: -2em;
        opacity: 100%;
        transform: skewX(0deg) rotate(0deg);
    }
    30% {
        left: -6em;
        opacity: 100%;
        transform: skewX(-25deg) rotate(25deg);
    }
    31% {
        left: -6em;
        opacity: 0%;
        transform: skewX(-25deg) rotate(25deg);
    }
    35% {
        left: 7em;
        opacity: 0%;
        transform: skewX(25deg) rotate(-25deg);
    }
    45% {
        left: 7em;
        opacity: 100%;
        transform: skewX(25deg) rotate(-25deg);
    }
    100% {
        left: -2em;
        opacity: 100%;
        transform: skewX(0deg) rotate(0deg);
    }
}

@keyframes round2 {
    0% {
        left: 5em;
        opacity: 100%;
        transform: skewX(0deg) rotate(0deg);
    }
    75% {
        left: -7em;
        opacity: 100%;
        transform: skewX(-25deg) rotate(25deg);
    }
    76% {
        left: -7em;
        opacity: 0%;
        transform: skewX(-25deg) rotate(25deg);
    }
    77% {
        left: 8em;
        opacity: 0%;
        transform: skewX(25deg) rotate(-25deg);
    }
    80% {
        left: 8em;
        opacity: 100%;
        transform: skewX(25deg) rotate(-25deg);
    }
    100% {
        left: 5em;
        opacity: 100%;
        transform: skewX(0deg) rotate(0deg);
    }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 20px;
        margin-right: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        gap: 50px;
    }

}


@media (max-width: 720px) {

    .navbar {
        height: 72px;
    }

    .nav-links,
    .nav-location {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .search-box {
        flex-wrap: wrap;
        padding: 6px;
    }

    .search-icon {
        width: 40px;
    }

    .search-box input {
        width: calc(100% - 40px);
    }

    .search-box button {
        width: 100%;
        margin-top: 5px;
    }

    .section-container {
        padding: 65px 20px;
    }

    .section-heading,
    .discover-header {
        display: block;
    }

    .view-all {
        margin-top: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        min-height: 155px;
    }

    .discover-controls {
        margin-top: 20px;

        overflow-x: auto;

        padding-bottom: 4px;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 75px 20px;
    }

    .about-image {
        max-width: 400px;
        margin: auto;
    }

    .footer-container {
        display: block;
    }

    .footer-links {
        margin-top: 45px;

        gap: 40px;

        flex-wrap: wrap;
    }

    .footer-bottom {
        gap: 10px;
        flex-direction: column;
    }

}


@media (max-width: 420px) {

    .logo-text {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .category-grid {
        gap: 9px;
    }

    .category-card {
        padding: 17px 13px;
    }

}

/* Image area */
.place-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
 
.place-image-fallback {
    background: var(--sage-light);
    display: grid;
    place-items: center;
    font-size: 42px;
}
 
/* Meta row (category + distance) */
.place-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
 
.place-distance {
    font-size: 10px;
    font-weight: 600;
    color: var(--sage-dark);
    background: var(--sage-light);
    padding: 3px 8px;
    border-radius: 99px;
}
 
/* Star rating */
.place-rating {
    display: block;
    font-size: 12px;
    color: #c08c10;
    margin: 4px 0 6px;
}
 
.place-rating small {
    color: var(--muted);
    font-size: 10px;
}
 
/* Footer row */
.place-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
 
.place-city {
    font-size: 11px;
    color: var(--muted);
}
 
.place-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--sage-dark);
    white-space: nowrap;
}
 
/* Active category card */
.category-card.active {
    background: var(--sage-light);
    border-color: var(--sage-dark);
}
 
/* Skeleton loading cards */
.skeleton-card {
    height: 320px;
    border-radius: 15px;
    background: linear-gradient(90deg, #e8ebe4 25%, #f1f3ee 50%, #e8ebe4 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}
 
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
 
/* Load more button */
.load-more-button {
    display: block;
    margin: 28px auto 0;
    padding: 13px 36px;
    border: 1.5px solid var(--border);
    border-radius: 99px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}
 
.load-more-button:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: white;
}
 
/* =========================
   AUTOCOMPLETE DROPDOWN
   (add to end of style.css)
========================= */
 
.location-dropdown {
    list-style: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
 
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: 0 12px 40px rgba(30, 45, 30, 0.14);
    overflow: hidden;
 
    /* Width matches the search box */
    width: min(650px, 100%);
}
 
/* The search form needs position:relative so the dropdown can anchor to it */
.search-box {
    position: relative;
}
 
/* We insert the dropdown after the form — it needs to inherit the same
   left offset. Wrap the form in a positioned container in index.html,
   OR use this trick to position relative to the hero-content block. */
.hero-content {
    position: relative;
}
 
.location-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
 
    padding: 12px 16px;
 
    cursor: pointer;
    transition: background 0.12s ease;
}
 
.location-dropdown-item:not(:last-child) {
    border-bottom: 1px solid #f0f2ec;
}
 
.location-dropdown-item:hover,
.location-dropdown-item.highlighted {
    background: var(--sage-light);
}
 
.suggestion-icon {
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.6;
}
 
.suggestion-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
 
.suggestion-primary {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.suggestion-primary mark {
    background: transparent;
    color: var(--sage-dark);
    font-weight: 700;
}
 
.suggestion-secondary {
    font-size: 11px;
    color: var(--muted);
}
 
.location-dropdown-empty {
    padding: 14px 16px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}


/* =========================
   SIDEBAR
========================= */

.location-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100%;
    z-index: 200;

    background: var(--cream);
    border-left: 1px solid var(--border);

    box-shadow: -12px 0 40px rgba(30, 45, 30, 0.13);

    display: flex;
    flex-direction: column;

    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);

    overflow-y: auto;
}

.location-sidebar.open {
    transform: translateX(0);
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(27, 42, 27, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

body.sidebar-open {
    overflow: hidden;
}

/* Sidebar header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 24px 18px;

    border-bottom: 1px solid var(--border);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.sidebar-icon {
    font-size: 20px;
    color: var(--sage-dark);
}

.sidebar-close {
    width: 34px;
    height: 34px;

    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;

    font-size: 20px;
    line-height: 1;
    color: var(--muted);

    display: grid;
    place-items: center;

    transition: all 0.15s ease;
}

.sidebar-close:hover {
    background: var(--cream-dark);
    color: var(--ink);
}

/* Sidebar body */
.sidebar-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.sidebar-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--muted);
    text-transform: uppercase;
}

.sidebar-select-wrap {
    position: relative;
}

.sidebar-select {
    width: 100%;

    appearance: none;
    -webkit-appearance: none;

    background: white;
    border: 1.5px solid var(--border);
    border-radius: 11px;

    padding: 13px 40px 13px 15px;

    font-size: 14px;
    font-weight: 500;
    color: var(--ink);

    cursor: pointer;

    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-select:focus {
    outline: none;
    border-color: var(--sage-dark);
    box-shadow: 0 0 0 3px rgba(46, 145, 66, 0.12);
}

.sidebar-select option:disabled,
.sidebar-select option.city-unscanned,
.sidebar-select option.state-unscanned {
    color: #b4b9b0;
}

.sidebar-select optgroup {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--muted);
    pointer-events: none;
}

/* Divider */
.sidebar-divider {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.5px;
    position: relative;
}

.sidebar-divider::before,
.sidebar-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border);
}

.sidebar-divider::before { left: 0; }
.sidebar-divider::after  { right: 0; }

/* GPS button */
.sidebar-gps-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 18px;

    border: 1.5px dashed var(--sage-dark);
    border-radius: 11px;

    background: transparent;
    color: var(--sage-dark);

    font-size: 13px;
    font-weight: 700;

    transition: all 0.18s ease;
}

.sidebar-gps-button:hover {
    background: var(--sage-light);
    border-style: solid;
}

.sidebar-gps-button span {
    font-size: 18px;
}

/* Current location strip */
.sidebar-current {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    background: var(--sage-light);
    border: 1px solid rgba(46, 145, 66, 0.2);
    border-radius: 11px;
}

.sidebar-current-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-current-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sage-deep);
    text-transform: uppercase;
}

.sidebar-current-place {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 2px;
}

.sidebar-clear {
    margin-left: auto;
    flex-shrink: 0;

    width: 26px;
    height: 26px;

    border: 1px solid rgba(46, 145, 66, 0.3);
    border-radius: 50%;
    background: white;

    font-size: 16px;
    line-height: 1;
    color: var(--sage-dark);

    display: grid;
    place-items: center;

    transition: all 0.15s ease;
}

.sidebar-clear:hover {
    background: var(--sage-dark);
    color: white;
    border-color: var(--sage-dark);
}


/* =========================
   HERO CTA (replaces search box)
========================= */

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-top: 10px;

    padding: 16px 24px;

    background: white;
    border: none;
    border-radius: 13px;

    box-shadow: 0 15px 45px rgba(44, 63, 40, 0.18);

    font-size: 15px;
    font-weight: 700;
    color: var(--ink);

    cursor: pointer;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(44, 63, 40, 0.24);
}

.hero-cta-icon {
    font-size: 20px;
    color: var(--sage-dark);
}

.hero-cta-arrow {
    font-size: 18px;
    color: var(--sage-dark);
    margin-left: 4px;
}


/* =========================
   SIDEBAR RESPONSIVE
========================= */

@media (max-width: 420px) {
    .location-sidebar {
        width: 100%;
        border-left: none;
    }
}

/* =========================
   OVERRIDE / REMOVE OLD SEARCH STYLES
   (search-box & current-location removed from HTML)
========================= */

.search-box,
.current-location,
.modal-overlay,
.location-modal,
.location-dropdown {
    display: none !important;
}