:root {
    --sky: #81D4FA;
    --sun: #FFF176;
    --ink: #3A2618;
    --muted: #7B6657;
    --line: #E8DED1;
    --paper: #FFFFFF;
    --soft: #FFF9EC;
    --cream: #FFFDF5;
    --brown: #3A2618;
    --brown-2: #6E4E36;
    --shadow: 0 18px 45px rgba(58, 38, 24, .11);
}

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-color: #1f2937;
    --muted-color: #6b7280;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --border-color: #e5e7eb;
    --danger-color: #dc2626;
    --success-color: #16a34a;
    --border-radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Kanit", sans-serif;
    color: var(--ink);
    background: var(--soft);
    min-height: 100vh;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

body.menu-open,
html.menu-open {
    overflow: hidden;
}

.container,
.page-container,
.content-container {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    padding: 0 16px;
}

.page-back-button {
    position: absolute;
    top: 96px;
    left: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--brown);
    border: 1px solid rgba(58, 38, 24, .14);
    box-shadow: 0 12px 28px rgba(58, 38, 24, .14);
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.page-back-button:hover {
    background: var(--sky);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(58, 38, 24, .18);
}

.page-back-button:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.header-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.header-inner > * {
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
}

.desktop-menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-text strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.brand-text span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    transition: transform .25s ease, opacity .25s ease;
}

.desktop-menu {
    display: flex;
}

.mobile-nav-drawer {
    display: none;
}

.nav-menu a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--sky);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 210px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px 0 38px;
    outline: none;
    color: var(--ink);
    background: #fff;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.profile-icon,
.login-btn,
.logout-link {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
}

.login-btn {
    padding: 0 18px;
    background: var(--sun);
    color: var(--ink);
}

.profile-icon {
    width: 42px;
    background: var(--sun);
}

.logout-link {
    gap: 8px;
    padding: 0 16px;
    background: var(--ink);
    color: #fff;
}

.logout-link:hover {
    background: #5C3B26;
}

.header-profile-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.login-dropdown {
    position: relative;
}

.login-menu {
    position: absolute;
    right: 0;
    top: 50px;
    min-width: 180px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.mobile-menu-toggle,
.mobile-search-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--ink);
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-menu-toggle:focus-visible,
.mobile-search-toggle:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 320px);
    max-width: 320px;
    padding: 22px 18px 24px;
    display: none;
    flex-direction: column;
    gap: 22px;
    background: #fff;
    box-shadow: 18px 0 48px rgba(15, 23, 42, .18);
    transform: translateX(-105%);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    z-index: 1001;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.drawer-open {
    overflow: hidden;
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.drawer-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.drawer-brand-text {
    font-size: 18px;
    font-weight: 800;
}

.mobile-menu-close {
    border: none;
    background: transparent;
    color: var(--ink);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-nav-drawer a,
.drawer-search-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    color: var(--ink);
    background: #f9f8f5;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.drawer-search-button {
    border-color: var(--line);
    background: #fff;
}

.mobile-nav-drawer a:hover,
.drawer-search-button:hover {
    background: rgba(129, 212, 250, .18);
}

.mobile-nav-drawer a.active {
    background: var(--sky);
    color: var(--ink);
}

.search-box[data-search-panel] {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 100%;
}

.search-box[data-search-panel] input {
    flex: 1;
    min-width: 0;
}


.login-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 700;
}

.login-menu a:hover {
    background: var(--soft);
}

.hidden-menu {
    display: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    background: linear-gradient(90deg, rgba(129, 212, 250, .92), rgba(255, 241, 118, .70));
}

.hero-content {
    width: min(680px, 100%);
    padding: 76px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    font-weight: 800;
}

.hero h1,
.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p,
.page-hero p {
    max-width: 640px;
    margin: 0 0 28px;
    color: #203055;
    font-size: 20px;
    line-height: 1.75;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-blue {
    background: var(--sky);
    color: var(--ink);
}

.btn-yellow {
    background: var(--sun);
    color: var(--ink);
}

.icon-action-btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: #ECE7DF;
    color: var(--brown);
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(58, 38, 24, .10);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.icon-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(58, 38, 24, .14);
    background: #DED6CB;
}

.icon-action-btn.saved {
    background: var(--sun);
}

.icon-action-btn.remove {
    background: #FFF0D5;
    color: #B42318;
}

.favorite-icon-form {
    display: inline-flex;
}

.section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2,
.page-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
}

.section-head p {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 34, 77, .07);
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--sky), var(--sun));
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.card p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.65;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pill {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.spotlight {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: center;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.spotlight img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 18px;
}

.spotlight h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 52px);
}

.spotlight p {
    color: var(--muted);
    line-height: 1.8;
}

.page-hero {
    padding: 64px 0 42px;
    background: linear-gradient(120deg, rgba(129, 212, 250, .9), rgba(255, 241, 118, .72));
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 26px 0 0;
}

.control {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    padding: 0 14px;
    outline: none;
    font-size: 16px;
}

.form-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: linear-gradient(140deg, rgba(129, 212, 250, .38), rgba(255, 241, 118, .42));
}

.auth-card {
    width: min(520px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 34px;
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.auth-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.input-wrap {
    position: relative;
}

.input-wrap input,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    font-size: 16px;
    background: #fff;
    color: var(--ink);
}

.input-wrap .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--muted);
}

.auth-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.status-text {
    min-height: 24px;
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 30px 0;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
}

@media (max-width: 992px) {
    .header-inner {
        padding: 12px 0;
        min-height: 64px;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-toggle,
    .mobile-search-toggle {
        display: inline-flex;
    }

    .nav-menu,
    .desktop-menu {
        display: none;
    }

    .mobile-nav-drawer {
        display: flex;
    }

    .header-actions {
        order: 4;
        width: auto;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-actions .login-dropdown {
        display: none;
    }

    .search-open .header-inner {
        flex-wrap: wrap;
    }

    .search-open .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-open .search-box[data-search-panel] {
        flex: 1 0 100%;
        width: 100%;
        margin: 0;
    }

    .header-inner > * {
        min-width: 0;
    }

    .brand,
    .header-actions,
    .search-box {
        min-width: 0;
    }

    .search-box {
        display: none;
    }

    .header-actions {
        width: auto;
    }

    .site-header {
        padding: 0 12px;
    }

    .header-inner {
        gap: 10px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text span {
        display: none;
    }

    .home-page .hero {
        min-height: auto;
        padding: 18px 0 22px;
    }

    .home-page .hero p {
        font-size: 15px;
    }

    .home-page .home-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 18px;
    }

    .home-page .home-chip {
        min-height: 100px;
        padding: 14px 12px;
    }

    .home-page .home-chip-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .home-page .actions {
        width: 100%;
    }

    .grid-3,
    .grid-2,
    .spotlight {
        grid-template-columns: 1fr;
    }

    .section-head,
    .footer-inner {
        align-items: start;
        flex-direction: column;
    }
}

.search-open .search-box[data-search-panel] {
    display: flex;
    position: relative;
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 10px 0 14px;
    background: #fff;
}

.search-open .header-inner {
    padding-bottom: 8px;
}

.mobile-nav-drawer {
    display: none;
}

@media (max-width: 992px) {
    .mobile-nav-drawer {
        display: flex;
    }
}

.search-open .mobile-nav-drawer {
    display: flex;
}

.home-page .header-inner {
    gap: 12px;
}

.home-page .site-header {
    padding: 0 12px;
}

.home-page .home-hero {
    position: relative;
    min-height: 600px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.home-page .home-hero__background {
    position: absolute;
    inset: 0;
    background: #FFFDF5 url("uploads/1775273712_654472621_1508443517505537_2751532176290442780_n.jpg") center 28% / cover no-repeat;
    filter: saturate(1.04) contrast(1.01);
    transform: scale(1.002);
}

.home-page .home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 253, 245, .97) 0%, rgba(255, 253, 245, .91) 32%, rgba(255, 253, 245, .66) 53%, rgba(255, 253, 245, .20) 78%, rgba(255, 253, 245, .08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .05) 55%, rgba(58, 38, 24, .10) 100%);
    pointer-events: none;
}

.home-page .home-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 48px 0 42px;
}

.home-page .home-hero__content .eyebrow {
    background: rgba(255, 255, 255, .92);
    color: var(--brown);
    border: 1px solid rgba(58, 38, 24, .10);
}

.home-page .home-hero__content h1 {
    margin: 20px 0 20px;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 1.02;
    color: var(--brown);
}

.home-page .home-hero__content p {
    color: #3a2618;
    font-size: 18px;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 28px;
}

.home-page .home-hero__content .actions {
    gap: 12px;
}

.home-page .home-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    max-width: 680px;
    margin-top: 28px;
}

.home-page .home-chip {
    width: 100%;
    min-height: 98px;
    display: inline-grid;
    justify-items: center;
    align-content: start;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brown);
    text-align: center;
    font-weight: 800;
    line-height: 1.25;
    transition: transform .2s ease;
}

.home-page .home-chip:hover {
    transform: translateY(-3px);
    background: transparent;
}

.home-page .home-chip-icon {
    width: 60px;
    height: 60px;
    font-size: 27px;
    box-shadow: 0 14px 28px rgba(58, 38, 24, .14);
}

.home-page .promo-video-section {
    padding: 0 0 48px;
}

.home-page .promo-video-section .section-head {
    margin-bottom: 28px;
}

.home-page .promo-video-section .section-head h2 {
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.15;
}

.home-page .promo-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-page .promo-video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(232, 222, 209, .9);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(58, 38, 24, .09);
}

.home-page .promo-video-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    background: #080808;
    overflow: hidden;
}

.home-page .promo-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.home-page .promo-video-body {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-page .promo-video-body h3 {
    margin: 6px 0 4px;
    font-size: 23px;
    color: var(--brown);
}

.home-page .promo-video-body p {
    margin: 0;
    color: var(--muted);
}

.home-page .spotlight {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: center;
    padding: 26px;
    background: rgba(255, 253, 248, .96);
    border: 1px solid rgba(232, 222, 209, .94);
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(58, 38, 24, .08);
}

.home-page .spotlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.home-page .spotlight h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 16px;
}

.home-page .spotlight p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.home-page .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-page .card-media {
    aspect-ratio: 4 / 3;
}

.home-page .card-body {
    padding: 20px;
}

.home-page .section {
    padding: 72px 0;
}

.home-page .promo-video-section {
    padding: 0 0 48px;
}

.home-page .promo-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-page .promo-video-body {
    padding: 18px 18px 20px;
}

.home-page .promo-video-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.home-page .spotlight {
    display: grid;
    gap: 20px;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(58, 38, 24, .08);
}

.home-page .spotlight img {
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.home-page .spotlight h2 {
    font-size: clamp(24px, 5vw, 32px);
    margin-top: 0;
}

.home-page .spotlight p {
    margin-bottom: 0;
    line-height: 1.7;
}

.home-page .footer-inner {
    flex-direction: row;
    gap: 18px;
}

.home-page .site-footer {
    padding: 28px 16px;
}

.home-page .site-footer strong,
.home-page .site-footer a {
    font-size: 14px;
}

.home-page .footer-inner > div {
    max-width: 100%;
}

.home-page .footer-inner a {
    display: inline-block;
    margin-top: 8px;
}

.home-page .card-media {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-page .card-body {
    padding: 18px;
}

.home-page .grid-3 {
    gap: 18px;
}

.home-page .card {
    overflow: hidden;
}

.home-page .hero-content .actions .btn {
    min-width: 170px;
    width: auto;
}

@media (max-width: 992px) {
    .home-page .home-hero {
        min-height: auto;
        padding: 56px 0 32px;
    }

    .home-page .home-hero__content {
        padding: 48px 0 32px;
    }

    .home-page .home-hero__content h1 {
        font-size: clamp(40px, 8vw, 54px);
    }

    .home-page .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .home-chip {
        min-height: 92px;
        padding: 0;
    }

    .home-page .promo-video-grid {
        grid-template-columns: 1fr;
    }

    .home-page .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .spotlight {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .home-page .home-hero {
        min-height: auto;
        padding: 38px 0 24px;
    }

    .home-page .home-hero__background {
        background-position: 54% 30%;
    }

    .home-page .home-hero__overlay {
        background:
            linear-gradient(180deg, rgba(255, 253, 245, .93) 0%, rgba(255, 253, 245, .82) 58%, rgba(255, 253, 245, .62) 100%),
            linear-gradient(90deg, rgba(255, 253, 245, .84) 0%, rgba(255, 253, 245, .28) 100%);
    }

    .home-page .home-hero__content {
        max-width: 100%;
        padding: 30px 0;
    }

    .home-page .home-hero__content h1 {
        font-size: clamp(36px, 9vw, 44px);
    }

    .home-page .home-hero__content p {
        font-size: 16px;
    }

    .home-page .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-page .grid-3 {
        grid-template-columns: 1fr;
    }

    .home-page .home-chip {
        min-height: 92px;
        padding: 0;
    }

    .home-page .promo-video-body,
    .home-page .spotlight {
        padding: 18px;
    }

    .home-page .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 12px;
    }

    .brand-text span,
    .search-box {
        display: none;
    }

    .header-actions {
        justify-content: flex-end;
    }

    .auth-card {
        padding: 24px;
    }
}

@media (max-width: 992px) {
    [data-sidebar] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 100%);
        max-width: 320px;
        background: #fff;
        border-right: 1px solid var(--line);
        box-shadow: 4px 0 24px rgba(0, 0, 0, .08);
        padding: 24px 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 1002;
    }

    [data-sidebar].is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .sidebar-toggle {
        display: inline-flex;
        border: none;
        background: transparent;
        color: var(--ink);
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        cursor: pointer;
    }

    .sidebar-toggle:focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }
}

@media (max-width: 560px) {
    .brand {
        min-width: 0;
    }

    .brand-text span,
    .search-box {
        display: none;
    }

    .auth-card {
        padding: 24px;
    }
}

.chatbot-page {
    min-height: calc(100vh - 76px);
    padding: 42px 16px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 241, 118, .42), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(129, 212, 250, .42), transparent 34%),
        var(--soft);
}

.chatbot-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.chatbot-panel,
.chatbot-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.chatbot-panel {
    padding: 28px;
}

.chatbot-panel h1 {
    margin: 18px 0 10px;
    font-size: 44px;
    line-height: 1.1;
}

.chatbot-panel p {
    color: var(--muted);
    line-height: 1.75;
}

.chatbot-suggestions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.chatbot-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.chatbot-suggestions button {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    padding: 10px 12px;
    text-align: left;
    font-weight: 800;
}

.chatbot-suggestions button:hover {
    background: var(--sun);
}

.chatbot-history-head {
    margin: 26px 0 10px;
    font-weight: 800;
    color: var(--ink);
}

.chatbot-sessions {
    display: grid;
    gap: 8px;
    max-height: 330px;
    overflow-y: auto;
}

.chatbot-session {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    padding: 11px 12px;
    text-align: left;
}

.chatbot-session.active,
.chatbot-session:hover {
    background: var(--sky);
}

.chatbot-session strong,
.chatbot-session span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chatbot-session span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.chatbot-empty {
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 14px;
}

.chatbot-card {
    min-height: 660px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.chatbot-head {
    min-height: 74px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.chatbot-head strong,
.chatbot-head span {
    display: block;
}

.chatbot-head span {
    color: var(--muted);
    font-size: 14px;
}

.chatbot-messages {
    padding: 22px;
    overflow-y: auto;
    background: linear-gradient(180deg, #fff, #F7FCFF);
}

.chat-message {
    display: flex;
    margin-bottom: 14px;
}

.chat-message.user {
    justify-content: flex-end;
}

.bubble {
    max-width: min(680px, 86%);
    padding: 13px 16px;
    border-radius: 18px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-message.bot .bubble {
    background: #fff;
    border: 1px solid var(--line);
}

.chat-message.user .bubble {
    background: var(--sky);
    color: var(--ink);
}

.bubble.loading {
    color: var(--muted);
}

.chatbot-form {
    display: grid;
    grid-template-columns: 1fr 52px;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.chatbot-form textarea {
    width: 100%;
    min-height: 52px;
    max-height: 150px;
    resize: none;
    overflow: hidden;
    scrollbar-width: none;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    outline: none;
    color: var(--ink);
    font-size: 16px;
}

.chatbot-form textarea::-webkit-scrollbar {
    display: none;
}

.chatbot-form .btn {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .chatbot-shell {
        grid-template-columns: 1fr;
    }

    .chatbot-card {
        min-height: 620px;
    }
}

/* Chatbot compact layout */
.chatbot-body {
    overflow: hidden;
}

.chatbot-body .site-footer {
    display: none;
}

.chatbot-body .site-header {
    position: relative;
}

.chatbot-page {
    height: calc(100vh - 76px);
    min-height: 0;
    padding: 14px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(129, 212, 250, .22), rgba(255, 241, 118, .22)),
        var(--soft);
}

.chatbot-shell {
    width: min(1220px, 100%);
    height: 100%;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
}

.chatbot-panel,
.chatbot-card {
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(17, 34, 77, .10);
    min-height: 0;
}

.chatbot-panel {
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    padding: 0;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
}

.chatbot-side-brand {
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 24px 16px;
}

.chatbot-side-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.chatbot-side-brand span {
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 9px;
}

.chatbot-new-wrap {
    display: flex;
    justify-content: center;
    padding: 0 24px 24px;
}

.chatbot-new-btn {
    width: min(230px, 100%);
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--sky), #6A64FF);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(129, 212, 250, .32);
}

.chatbot-new-btn i {
    margin-right: 8px;
}

.chatbot-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.chatbot-history-top button {
    border: 0;
    background: transparent;
    color: #4E6BFF;
    cursor: pointer;
    font-weight: 800;
}

.chatbot-sessions {
    max-height: none;
    overflow-y: auto;
    display: block;
    padding: 6px 0 18px;
}

.chatbot-session {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #EEF3F8;
    border-radius: 0;
    padding: 0 24px;
    font-size: 15px;
    overflow: hidden;
    position: relative;
}

.chatbot-session.active {
    margin: 6px 12px;
    padding: 0 12px;
    min-height: 58px;
    border-radius: 999px;
    background: rgba(129, 212, 250, .24);
    color: #0B63B6;
}

.chatbot-session:hover {
    background: rgba(255, 241, 118, .32);
}

.chatbot-session-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s ease;
}

.chatbot-session-main span {
    margin: 0;
    color: inherit;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chatbot-session-actions {
    width: 74px;
    height: 58px;
    flex: 0 0 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(62px);
    transition: opacity .2s ease, transform .2s ease;
    border-radius: 999px;
    background: var(--sky);
}

.chatbot-delete {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font-size: 16px;
}

.chatbot-session:hover .chatbot-session-main,
.chatbot-session.show-actions .chatbot-session-main {
    transform: translateX(-8px);
}

.chatbot-session:hover .chatbot-session-actions,
.chatbot-session.show-actions .chatbot-session-actions {
    opacity: 1;
    transform: translateX(0);
}

.chatbot-time-label {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.chatbot-search-wrap {
    padding: 0 24px 18px;
}

.chatbot-search-wrap input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    outline: none;
    color: var(--ink);
    background: var(--soft);
}


.chatbot-card {
    min-height: 0;
    height: 100%;
    grid-template-rows: auto 1fr auto auto;
}

.chatbot-head {
    min-height: 62px;
    padding: 12px 18px;
}

.chatbot-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
}

.chatbot-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}

.chatbot-prompts button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    padding: 0 12px;
    font-weight: 700;
}

.chatbot-prompts button:hover {
    background: var(--sun);
}

.chatbot-form {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .chatbot-body {
        overflow: auto;
    }

    .chatbot-page {
        height: auto;
        min-height: calc(100vh - 76px);
        overflow: visible;
    }

    .chatbot-shell {
        height: auto;
        grid-template-columns: 1fr;
    }

    .chatbot-panel {
        max-height: 420px;
    }

    .chatbot-card {
        height: 70vh;
    }
}

/* Revert chatbot to first simple layout */
body:not(.chatbot-body) .chatbot-page {
    min-height: calc(100vh - 76px);
    height: auto;
    padding: 42px 16px;
    overflow: visible;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 241, 118, .42), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(129, 212, 250, .42), transparent 34%),
        var(--soft);
}

body:not(.chatbot-body) .chatbot-shell {
    width: min(1180px, 100%);
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

body:not(.chatbot-body) .chatbot-panel,
body:not(.chatbot-body) .chatbot-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

body:not(.chatbot-body) .chatbot-panel {
    min-height: 660px;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    padding: 28px;
    overflow: hidden;
}

body:not(.chatbot-body) .chatbot-panel h1 {
    margin: 18px 0 10px;
    font-size: 44px;
    line-height: 1.1;
}

body:not(.chatbot-body) .chatbot-panel p {
    color: var(--muted);
    line-height: 1.75;
}

body:not(.chatbot-body) .chatbot-suggestions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

body:not(.chatbot-body) .chatbot-suggestions button {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    padding: 10px 12px;
    text-align: left;
    font-weight: 800;
}

body:not(.chatbot-body) .chatbot-suggestions button:hover {
    background: var(--sun);
}

body:not(.chatbot-body) .chatbot-card {
    min-height: 660px;
    height: auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

body:not(.chatbot-body) .chatbot-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 22px;
}

body:not(.chatbot-body) .chatbot-prompts,
body:not(.chatbot-body) .chatbot-search-wrap,
body:not(.chatbot-body) .chatbot-side-brand,
body:not(.chatbot-body) .chatbot-new-wrap,
body:not(.chatbot-body) .chatbot-tools {
    display: none;
}

body:not(.chatbot-body) .chatbot-history-block {
    min-height: 0;
    margin-top: 16px;
    display: grid;
    grid-template-rows: auto 1fr;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

body:not(.chatbot-body) .chatbot-history-title {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

body:not(.chatbot-body) .chatbot-sessions-list {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 8px;
    padding-right: 4px;
}

body:not(.chatbot-body) .chatbot-room {
    min-height: 42px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    padding: 0 10px;
    text-align: left;
}

body:not(.chatbot-body) .chatbot-room:hover,
body:not(.chatbot-body) .chatbot-room.active {
    background: rgba(129, 212, 250, .22);
    border-color: rgba(129, 212, 250, .46);
}

body:not(.chatbot-body) .chatbot-room span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-context-menu {
    position: absolute;
    z-index: 3000;
    display: none;
    min-width: 150px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.chat-context-menu.show {
    display: block;
}

.chat-context-menu button {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #D64545;
    cursor: pointer;
    font-weight: 800;
}

.chat-context-menu button:hover {
    background: #FFF0F0;
}

/* Keep simple chatbot page fixed while only messages/history scroll */
.chatbot-simple-body .site-footer {
    display: none;
}

.chatbot-simple-body .chatbot-page {
    min-height: calc(100vh - 76px);
    padding: 24px 16px;
    overflow: visible;
}

.chatbot-simple-body .chatbot-shell {
    height: calc(100vh - 124px);
    min-height: 560px;
}

.chatbot-simple-body .chatbot-panel,
.chatbot-simple-body .chatbot-card {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.chatbot-simple-body .chatbot-card {
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.chatbot-simple-body .chatbot-head,
.chatbot-simple-body .chatbot-form {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.chatbot-simple-body .chatbot-messages {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.chatbot-simple-body .chatbot-sessions-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 900px) {
    .chatbot-simple-body .chatbot-page {
        height: auto;
        min-height: calc(100vh - 76px);
        overflow: visible;
    }

    .chatbot-simple-body .chatbot-shell {
        height: auto;
    }

    .chatbot-simple-body .chatbot-card {
        height: 70vh;
    }

    .chatbot-simple-body .chatbot-panel {
        height: 420px;
    }
}

@media (max-width: 900px) {
    body:not(.chatbot-body) .chatbot-shell {
        grid-template-columns: 1fr;
    }

    body:not(.chatbot-body) .chatbot-card {
        min-height: 620px;
    }
}

/* Final chatbot scroll fix: only the conversation/history areas scroll */
body.chatbot-simple-body {
    overflow: hidden;
}

body.chatbot-simple-body .site-footer {
    display: none;
}

body.chatbot-simple-body .chatbot-page {
    height: calc(100dvh - 76px);
    min-height: 0;
    padding: 24px 16px;
    overflow: hidden;
}

body.chatbot-simple-body .chatbot-shell {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
}

body.chatbot-simple-body .chatbot-panel,
body.chatbot-simple-body .chatbot-card {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body.chatbot-simple-body .chatbot-panel {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
}

body.chatbot-simple-body .chatbot-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

body.chatbot-simple-body .chatbot-head,
body.chatbot-simple-body .chatbot-form {
    min-height: max-content;
}

body.chatbot-simple-body .chatbot-messages {
    min-height: 0;
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.chatbot-simple-body .chatbot-history-block {
    min-height: 0;
    overflow: hidden;
}

body.chatbot-simple-body .chatbot-sessions-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 900px) {
    body.chatbot-simple-body {
        overflow: auto;
    }

    body.chatbot-simple-body .chatbot-page {
        height: auto;
        min-height: calc(100dvh - 76px);
        overflow: visible;
    }

    body.chatbot-simple-body .chatbot-shell {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    body.chatbot-simple-body .chatbot-card {
        height: 72dvh;
    }

    body.chatbot-simple-body .chatbot-panel {
        height: 420px;
    }
}

/* Public website refresh: cleaner food-discovery style */
body {
    background:
        linear-gradient(180deg, #FFFDF5 0%, #FFF9EC 42%, #F7F2E8 100%);
}

.site-header {
    background: rgba(255, 253, 245, .92);
    border-bottom-color: rgba(58, 38, 24, .10);
}

.header-inner {
    width: min(1240px, calc(100% - 36px));
    gap: 18px;
}

.brand {
    min-width: 190px;
}

.brand-text strong {
    color: var(--brown);
    letter-spacing: .5px;
}

.brand-text span {
    color: var(--brown-2);
}

.nav-menu {
    gap: 4px;
}

.nav-menu a {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    color: var(--brown-2);
    font-size: 14px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(129, 212, 250, .30);
    border-color: rgba(58, 38, 24, .10);
    color: var(--brown);
}

.search-box input,
.control,
.input-wrap input,
.form-group input,
.form-group select,
.form-group textarea,
.chatbot-form textarea {
    border-color: rgba(58, 38, 24, .12);
    background: #FFFDF8;
    color: var(--brown);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.profile-icon,
.login-btn {
    background: var(--sun);
    color: var(--brown);
}

.logout-link,
.btn-primary {
    background: var(--brown);
    color: #fff;
}

.logout-link:hover,
.btn-primary:hover {
    background: #5C3B26;
}

.hero {
    min-height: 660px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 253, 245, .94) 0%, rgba(255, 253, 245, .72) 45%, rgba(129, 212, 250, .22) 100%),
        linear-gradient(135deg, rgba(129, 212, 250, .62), rgba(255, 241, 118, .46)),
        url("uploads/1775273712_654472621_1508443517505537_2751532176290442780_n.jpg") center/cover no-repeat;
    border-bottom: 1px solid rgba(58, 38, 24, .10);
}

.hero-content {
    width: min(760px, 100%);
    padding: 48px 0 42px;
}

.eyebrow {
    min-height: 32px;
    border: 1px solid rgba(58, 38, 24, .12);
    background: rgba(255, 253, 245, .86);
    color: var(--brown-2);
}

.hero h1,
.page-hero h1 {
    color: var(--brown);
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
}

.hero p,
.page-hero p {
    color: var(--brown-2);
}

.page-hero {
    padding: 74px 0 52px;
    background:
        linear-gradient(135deg, rgba(129, 212, 250, .58), rgba(255, 241, 118, .64)),
        #FFFDF5;
    border-bottom: 1px solid rgba(58, 38, 24, .10);
}

.section {
    padding: 66px 0;
}

.section-head h2,
.page-title,
.spotlight h2,
.card h3 {
    color: var(--brown);
}

.section-head p,
.card p,
.spotlight p {
    color: var(--muted);
}

.grid {
    gap: 22px;
}

.card {
    border: 1px solid rgba(58, 38, 24, .10);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(58, 38, 24, .07);
    background: rgba(255, 253, 248, .96);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 212, 250, .60);
    box-shadow: 0 18px 42px rgba(58, 38, 24, .11);
}

.card-media {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(58, 38, 24, .08);
}

.card-body {
    padding: 18px;
}

.card h3 {
    font-size: 21px;
    line-height: 1.25;
}

.pill {
    background: #FFF4C8;
    color: var(--brown-2);
}

.pill:nth-child(even) {
    background: rgba(129, 212, 250, .22);
}

.btn {
    min-height: 44px;
    border-radius: 14px;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(58, 38, 24, .10);
}

.btn-blue {
    background: #BFEFFF;
    color: var(--brown);
}

.btn-yellow {
    background: var(--sun);
    color: var(--brown);
}

.spotlight {
    border-radius: 18px;
    border-color: rgba(58, 38, 24, .10);
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 14px 34px rgba(58, 38, 24, .08);
}

.spotlight img {
    border-radius: 12px;
}

.toolbar {
    padding: 12px;
    border: 1px solid rgba(58, 38, 24, .10);
    border-radius: 18px;
    background: rgba(255, 253, 248, .80);
    box-shadow: 0 14px 34px rgba(58, 38, 24, .07);
}

/* The district picker uses the toolbar itself as its only visible box. */
.toolbar.district-toolbar {
    display: inline-flex;
    min-height: 48px;
    padding: 0 12px;
    overflow: hidden;
}

.district-toolbar .district-select {
    min-height: 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 30px 0 2px;
    box-shadow: none;
}

.district-toolbar .district-select:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: -3px;
    border-radius: 12px;
}

.site-footer {
    background: var(--brown);
    border-top: 0;
    color: rgba(255,255,255,.82);
}

.site-footer a,
.footer-inner strong {
    color: #fff;
}

.home-finder {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px;
    margin: 28px 0 18px;
    border: 1px solid rgba(58, 38, 24, .10);
    border-radius: 18px;
    background: rgba(255, 253, 248, .88);
    box-shadow: 0 18px 44px rgba(58, 38, 24, .12);
}

.home-finder input {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--brown);
    outline: none;
    padding: 0 14px;
    font-size: 16px;
}

.home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 24px;
    align-items: flex-start;
}


.home-chip {
    width: 92px;
    min-height: 96px;
    display: inline-grid;
    justify-items: center;
    align-content: start;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brown);
    text-align: center;
    font-weight: 800;
    line-height: 1.25;
}

.home-chip:hover {
    background: transparent;
    transform: translateY(-3px);
}

.home-chip-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 27px;
    box-shadow: 0 14px 28px rgba(58, 38, 24, .14);
}

.home-chip-icon.food {
    background: #F5A400;
}

.home-chip-icon.activity {
    background: #E85D75;
}

.home-chip-icon.stay {
    background: #7A5AF8;
}

.home-chip-icon.dessert {
    background: var(--brown);
}

.home-chip-icon.product {
    background: #18B86A;
}

.home-chip-icon.package {
    background: #3C7CF4;
}

.home-chip-icon.all {
    background: var(--brown);
}

.price-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 2px 0 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--brown);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.restaurant-card-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.restaurant-card-detail span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.restaurant-card-detail strong {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
}

.restaurant-card-detail .is-open {
    color: #168A3A;
}

.restaurant-card-detail .is-closed {
    color: #D92D20;
}

.restaurant-list {
    display: grid;
    gap: 14px;
}

.restaurant-summary-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(58, 38, 24, .10);
    border-radius: 8px;
    padding: 18px 56px 18px 18px;
    box-shadow: 0 14px 32px rgba(58, 38, 24, .08);
}

.restaurant-summary-main {
    display: block;
    color: inherit;
}

.restaurant-gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.restaurant-gallery-strip img {
    width: 100%;
    aspect-ratio: 1.24 / 1;
    border-radius: 8px;
    object-fit: cover;
    background: #f6efe8;
}

.restaurant-summary-info {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.restaurant-summary-info h3 {
    margin: 0;
    color: var(--brown);
    font-size: 22px;
    line-height: 1.2;
}

.restaurant-summary-info span {
    color: var(--brown-2);
    font-size: 17px;
}

.restaurant-summary-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}

.restaurant-summary-meta strong {
    color: #e01818;
    font-weight: 800;
}

.restaurant-summary-meta strong.open {
    color: #e01818;
}

.restaurant-summary-meta strong.closed {
    color: var(--muted);
}

.restaurant-bookmark {
    position: absolute;
    right: 18px;
    bottom: 44px;
}

.restaurant-bookmark button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--brown);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 760px) {
    .restaurant-summary-card {
        padding-right: 18px;
    }

    .restaurant-gallery-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .restaurant-gallery-strip img:nth-child(n+4) {
        display: none;
    }

    .restaurant-bookmark {
        top: 20px;
        bottom: auto;
    }
}

.activity-hero {
    padding-bottom: 34px;
}

.activity-trip-section {
    padding-top: 24px;
}

.trip-builder {
    width: min(1420px, 100%);
    margin: 0 auto;
    padding: 30px 34px 28px;
    position: relative;
    border: 1px solid rgba(58, 38, 24, .12);
    border-radius: 20px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 22px 48px rgba(58, 38, 24, .08);
}

.trip-title {
    width: fit-content;
    min-width: 220px;
    min-height: 52px;
    display: grid;
    place-items: center;
    margin: 0 0 24px;
    padding: 0 30px;
    border: 1px solid rgba(58, 38, 24, .14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 241, 118, .68), rgba(129, 212, 250, .24));
    color: var(--brown);
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(58, 38, 24, .08);
}

.trip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 26px;
}

.trip-grid .form-group {
    margin-bottom: 0;
}

.trip-grid .form-group input,
.trip-grid .form-group select {
    min-height: 64px;
    border-radius: 16px;
    background: #fffdf8;
}

.trip-date-range {
    grid-column: span 2;
}

.date-range-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.date-range-field span {
    color: var(--brown);
    font-weight: 800;
    white-space: nowrap;
}

.trip-activity-picker {
    margin-top: 24px;
}

.trip-activity-picker h3 {
    margin: 0 0 16px;
    color: var(--brown);
    font-size: 28px;
}

.trip-activity-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trip-activity-option {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    min-height: 82px;
    padding: 16px;
    border: 1px solid rgba(58, 38, 24, .12);
    border-radius: 16px;
    background: #fffdf8;
    color: var(--brown);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.trip-activity-option:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 212, 250, .9);
    box-shadow: 0 14px 28px rgba(58, 38, 24, .08);
}

.trip-activity-option input {
    margin-top: 5px;
    accent-color: var(--sky);
}

.trip-activity-option strong,
.trip-activity-option small {
    display: block;
}

.trip-activity-option strong {
    font-size: 17px;
    line-height: 1.35;
}

.trip-activity-option small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.empty-note {
    margin: 0;
    padding: 16px 18px;
    border: 1px dashed rgba(58, 38, 24, .18);
    border-radius: 16px;
    color: var(--muted);
    background: rgba(129, 212, 250, .12);
}

.trip-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 28px;
}

.btn-brown {
    background: var(--brown);
    color: #fff;
}

.btn-brown:hover {
    background: #5C3B26;
}

.centered-head {
    justify-content: center;
    text-align: center;
}

.centered-head p {
    margin-left: auto;
    margin-right: auto;
}

.package-list {
    display: grid;
    gap: 24px;
}

.package-row {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(58, 38, 24, .10);
    border-radius: 16px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 12px 28px rgba(58, 38, 24, .07);
}

.package-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--sky), var(--sun));
}

.package-row h3 {
    margin: 0 0 10px;
    color: var(--brown);
    font-size: 26px;
}

.package-row p {
    color: var(--muted);
    line-height: 1.65;
}

.package-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

@media (max-width: 900px) {
    .trip-grid,
    .package-row,
    .trip-activity-list {
        grid-template-columns: 1fr;
    }

    .trip-builder {
        padding: 26px 18px;
    }
}

.package-picker {
    display: grid;
    gap: 12px;
}

.package-option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(58, 38, 24, .12);
    border-radius: 14px;
    background: #FFFDF8;
    cursor: pointer;
}

.package-option:hover {
    border-color: rgba(129, 212, 250, .75);
    background: rgba(129, 212, 250, .12);
}

.package-option input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--brown);
}

.package-option strong,
.package-option small,
.package-option em {
    display: block;
}

.package-option small {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
}

.package-option em {
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
    line-height: 1.55;
}

.empty-note {
    padding: 16px;
    border: 1px dashed rgba(58, 38, 24, .24);
    border-radius: 14px;
    background: rgba(255, 241, 118, .22);
    color: var(--brown-2);
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 64px 0;
    }

    .home-finder {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nav-menu a {
        white-space: nowrap;
    }

    .logout-link span {
        display: none;
    }

    .logout-link {
        width: 42px;
        padding: 0;
    }
}

/* Registration gate shared by public listing pages. */
.member-gate-modal{position:fixed;inset:0;background:rgba(58,38,24,.42);display:none;align-items:center;justify-content:center;padding:20px;z-index:10000}
.member-gate-modal.show{display:flex}
.member-gate-card{width:min(430px,100%);background:#fff;border:1px solid #e8ded1;border-radius:14px;padding:26px;box-shadow:0 24px 70px rgba(58,38,24,.24);text-align:center;color:#3A2618}
.member-gate-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#FFF176;color:#3A2618;font-size:26px}
.member-gate-card h2{font-size:26px;margin:0 0 8px}
.member-gate-card p{margin:0;color:#7B6657;line-height:1.7}
.member-gate-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.member-gate-actions a,.member-gate-actions button{min-height:44px;border-radius:8px;border:0;padding:0 18px;font-family:inherit;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.member-gate-actions a{background:#81D4FA;color:#3A2618}
.member-gate-actions a:first-child{background:#FFF176}
.member-gate-actions button{background:#f7f1e8;color:#3A2618}
body.member-gate-open{overflow:hidden}

.search-box .search-submit {
    position: absolute;
    z-index: 2;
    left: 7px;
    top: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    transform: translateY(-50%);
    cursor: pointer;
}
.search-box .search-submit i {
    position: static;
    transform: none;
}
.search-box .search-submit:hover { color: var(--brown); }
/* Navbar live search */
.search-box { z-index: 80; }
.search-suggestions {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    max-height: 430px;
    overflow-y: auto;
    background: #fffdf8;
    border: 1px solid rgba(58, 38, 24, .14);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(58, 38, 24, .16);
    padding: 8px;
}
.search-suggestions[hidden] { display: none; }
.search-suggestion-heading {
    padding: 8px 10px 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}
.search-suggestion-item,
.search-history-row {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    border-radius: 7px;
    color: var(--brown);
}
.search-suggestion-item {
    padding: 8px;
    text-decoration: none;
}
.search-suggestion-item:hover,
.search-suggestion-item.is-active,
.search-history-row:hover,
.search-history-row.is-active { background: rgba(129, 212, 250, .20); }
.search-suggestion-image {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f0e9;
}
.search-suggestion-content { min-width: 0; display: grid; gap: 3px; }
.search-suggestion-content strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}
.search-suggestion-meta { display: flex; min-width: 0; gap: 7px; color: var(--muted); font-size: 12px; }
.search-suggestion-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-type { flex: 0 0 auto; color: var(--brown); font-weight: 600; }
.search-suggestion-empty { padding: 18px 12px; text-align: center; color: var(--muted); font-size: 14px; }
.search-history-row { justify-content: space-between; padding: 2px 5px 2px 0; }
.search-history-select,
.search-history-remove {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.search-history-select {
    display: flex;
    flex: 1;
    min-width: 0;
    height: 52px;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
    text-align: left;
    font: inherit;
}
.search-history-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-history-select i { position: static; transform: none; color: var(--muted); }
.search-history-remove {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}
.search-history-remove:hover { background: rgba(255, 241, 118, .55); }
.search-history-remove i { position: static; transform: none; }
@media (max-width: 700px) {
    .search-box[data-live-search] { display: block; width: 100%; }
    .search-box[data-live-search] input { width: 100%; }
    .search-suggestions { left: 0; right: auto; width: 100%; }
}
/* Approved business highlight videos shown as promotional content. */
.promo-video-section{position:relative;width:100%;margin-top:40px;padding:0 0 44px;background:#f5fbfe;border-top:1px solid rgba(58,38,24,.08);border-bottom:1px solid rgba(58,38,24,.08)}
.promo-video-section .section-head{max-width:900px;margin:0 auto 18px;padding-top:26px}
.promo-video-section .section-head h2{max-width:820px;margin:4px 0 8px;font-size:clamp(32px,3.2vw,44px);line-height:1.18}
.promo-video-section .section-head p{max-width:720px;margin:0;font-size:16px;line-height:1.7}
.promo-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:4px;color:#3a2618;font-size:14px;font-weight:700}
.promo-kicker i{color:#279fd5}
.promo-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.promo-video-grid:has(.promo-video-card:only-child){grid-template-columns:minmax(0,560px);justify-content:center}
.promo-video-card{width:100%;overflow:hidden;background:#fff;border:1px solid #e8ded1;border-radius:16px;box-shadow:0 10px 26px rgba(58,38,24,.08)}
.promo-video-frame{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:420px;max-height:420px;background:#5b4638;overflow:hidden;isolation:isolate}
.promo-video-frame::before{content:"";position:absolute;z-index:-1;inset:-24px;background-image:linear-gradient(rgba(58,38,24,.2),rgba(58,38,24,.2)),var(--promo-poster);background-position:center;background-size:cover;filter:blur(20px);transform:scale(1.08);opacity:.8}
.promo-video-frame video{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;background:transparent}
.promo-video-frame.is-portrait{aspect-ratio:auto;min-height:0}
.promo-video-frame.is-portrait video{width:100%;max-width:100%;height:100%;max-height:420px}
.promo-video-frame.is-square{aspect-ratio:1/1}
.promo-ad-label{position:absolute;z-index:2;left:16px;top:16px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,241,118,.95);color:#3a2618;font-size:12px;font-weight:700;pointer-events:none}
.promo-ad-label i{font-size:10px}
.promo-video-body{padding:16px 18px 18px;display:grid;align-items:start;gap:12px}
.promo-content-label{width:max-content;padding:4px 9px;border-radius:999px;background:#fff4a6;color:#3a2618;font-size:12px;font-weight:700}
.promo-business-row{display:flex;align-items:center;gap:12px}
.promo-business-avatar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;overflow:hidden;border:1px solid #e8ded1;border-radius:50%;background:#fffaf0;color:#7b6657}
.promo-business-avatar img{width:100%;height:100%;object-fit:cover}
.promo-video-body h3{margin:0 0 2px;font-size:20px;color:#3a2618}
.promo-video-body p{margin:0;color:#7b6657}
.promo-business-type{color:#279fd5;font-size:13px;font-weight:700}
.promo-video-body .btn{width:max-content;padding:11px 20px;border-radius:12px;transition:transform .2s ease,box-shadow .2s ease}
.promo-video-body .btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(58,38,24,.16)}
@media(max-width:820px){.promo-video-section{margin-top:32px;padding-bottom:36px}.promo-video-section .section-head{margin-bottom:16px;padding-top:22px}.promo-video-section .section-head h2{font-size:clamp(25px,7vw,32px);line-height:1.18}.promo-video-section .section-head p{font-size:15px;line-height:1.65}.promo-video-grid,.promo-video-grid:has(.promo-video-card:only-child){grid-template-columns:minmax(0,1fr)}.promo-video-frame,.promo-video-frame.is-portrait{height:min(520px,125vw);max-height:520px}.promo-video-frame.is-portrait video{height:100%;max-height:520px}.promo-video-body{padding:16px;gap:12px}.promo-video-body .btn{width:100%;justify-content:center}}
.home-page .promo-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.home-page .promo-video-grid:has(.promo-video-card:only-child){grid-template-columns:minmax(0,560px);justify-content:center}.home-page .promo-video-card{width:100%;max-width:none;margin:0;border-radius:16px;box-shadow:0 10px 26px rgba(58,38,24,.08)}.home-page .promo-video-frame{width:100%;height:420px;max-height:420px;background:#5b4638}.home-page .promo-video-frame.is-portrait{min-height:0}.home-page .promo-video-frame.is-portrait video{width:100%;height:100%;max-height:420px}.home-page .promo-video-body{display:grid;align-items:start;padding:16px 18px 18px;gap:12px}.home-page .promo-video-body h3{margin:0 0 2px;font-size:20px}.home-page .promo-video-body .btn{width:max-content;padding:11px 20px}@media(max-width:820px){.home-page .promo-video-grid,.home-page .promo-video-grid:has(.promo-video-card:only-child){grid-template-columns:minmax(0,1fr)}.home-page .promo-video-frame,.home-page .promo-video-frame.is-portrait{height:min(520px,125vw);max-height:520px}.home-page .promo-video-frame.is-portrait video{height:100%;max-height:520px}.home-page .promo-video-body{padding:16px;gap:12px}.home-page .promo-video-body .btn{width:100%;justify-content:center}}
.home-page .promo-video-frame,.home-page .promo-video-frame.is-portrait,.home-page .promo-video-frame.is-square{width:100%;height:auto;max-height:none;min-height:0;aspect-ratio:var(--promo-video-ratio,16/9);background:#f5fbfe}.home-page .promo-video-frame::before{display:none}.home-page .promo-video-frame video,.home-page .promo-video-frame.is-portrait video{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}@media(max-width:820px){.home-page .promo-video-frame,.home-page .promo-video-frame.is-portrait,.home-page .promo-video-frame.is-square{height:auto;max-height:none;aspect-ratio:var(--promo-video-ratio,16/9)}.home-page .promo-video-frame.is-portrait video{height:100%;max-height:none}}
/* Shared responsive safeguards */
img,video,iframe{max-width:100%}video{height:auto}button,input,select,textarea{max-width:100%}.container,.header-inner,.footer-inner{min-width:0}table{max-width:100%}.table-responsive,.table-wrap,.table-container,.admin-table-wrap,.data-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.modal-card,.modal-content,.dialog-card,.member-gate-card{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}
@media(max-width:767px){.container{width:min(100% - 32px,1240px)}.site-header .header-inner{min-height:68px;padding-inline:16px}.brand img{max-width:48px}.brand-text span{display:none}.mobile-menu-toggle,.mobile-search-toggle,.profile-icon{min-width:44px;min-height:44px}.header-actions{gap:4px}.search-box[data-search-panel]{max-width:calc(100vw - 32px)}.section-head,.page-header,.page-heading{min-width:0}.section-head h1,.section-head h2,.page-header h1,.page-heading h1{overflow-wrap:anywhere}.btn-group,.button-group,.page-actions,.form-actions{display:flex;flex-wrap:wrap;gap:8px}.site-footer{padding-block:24px}.footer-inner{gap:12px}.footer-inner>div{min-width:0}.card-grid,.item-grid,.restaurant-grid,.package-grid{grid-template-columns:minmax(0,1fr)}.form-grid,.two-column-form{grid-template-columns:minmax(0,1fr)}input,select,textarea{width:100%;min-width:0;box-sizing:border-box}}
@media(max-width:575px){.container{width:min(100% - 24px,1240px)}.site-header .header-inner{padding-inline:12px}.footer-inner{align-items:flex-start;flex-direction:column;text-align:left}.modal-card,.modal-content,.dialog-card,.member-gate-card{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.btn-group>.btn,.button-group>.btn,.page-actions>.btn{flex:1 1 auto;min-height:44px}}
@media(max-width:576px){
    .site-header{padding:0;background:rgba(255,253,245,.97)}
    .site-header .header-inner{width:100%;min-height:0;margin:0;padding:10px 20px 14px;display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:40px 44px;align-items:center;gap:8px 10px}
    .site-header .brand{grid-column:1;grid-row:1;min-width:0;max-width:max-content;gap:9px}
    .site-header .brand img{width:auto;height:36px;max-width:44px;object-fit:contain}
    .site-header .brand-text strong{font-size:17px;line-height:1.1;white-space:nowrap}
    .site-header .brand-text span{display:none}
    .site-header .mobile-menu-toggle{grid-column:2;grid-row:1;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}
    .site-header .mobile-menu-toggle:hover,.site-header .mobile-menu-toggle[aria-expanded=true]{background:#f5eee3}
    .site-header .nav-menu{display:none}
    .site-header .header-actions{grid-column:1/-1;grid-row:2;width:100%;height:44px;display:flex;align-items:center;justify-content:stretch;gap:10px;order:initial}
    .site-header .mobile-search-toggle{display:none}
    .site-header .search-box[data-search-panel],.search-open .site-header .search-box[data-search-panel]{position:relative;display:flex;flex:1 1 auto;width:auto;min-width:0;height:44px;margin:0;padding:0;background:transparent}
    .site-header .search-box .search-submit{position:absolute;z-index:2;left:0;top:0;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;color:var(--muted)}
    .site-header .search-box .search-submit i{position:static;transform:none}
    .site-header .search-box input{width:100%;height:44px;min-width:0;padding:0 15px 0 43px;border:1px solid rgba(58,38,24,.16);border-radius:22px;background:#fffdf8;box-shadow:none}
    .site-header .search-box input:focus{outline:0;border-color:var(--brown);box-shadow:0 0 0 3px rgba(58,38,24,.10)}
    .site-header .profile-icon,.site-header .header-profile-img{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:50%}
    .site-header .header-profile-img{display:block;object-fit:cover}
    .site-header .login-dropdown{flex:0 0 auto}
    .search-open .site-header .header-inner{padding-bottom:14px}
}
@media(max-width:360px){.site-header .header-inner{padding-inline:12px}.site-header .brand-text strong{font-size:16px}}
@media(max-width:576px){
    .site-header .header-inner{padding:12px 24px 14px;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:40px 44px;column-gap:12px;row-gap:6px}
    .site-header .brand img{width:auto;height:34px;max-width:44px}
    .site-header .header-actions{height:44px;gap:12px;align-items:center}
    .site-header .search-box[data-search-panel]{position:relative;align-self:center;height:44px;overflow:visible}
    .site-header .search-box .search-submit{position:absolute;z-index:2;inset:0 auto 0 0;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;transform:none}
    .site-header .search-box .search-submit i,.site-header .search-box i{position:static;inset:auto;margin:0;transform:none;line-height:1}
    .site-header .search-box input{display:block;height:44px;padding:0 16px 0 44px;line-height:44px}
    .site-header .profile-icon,.site-header .header-profile-img{width:44px;height:44px;min-width:44px;max-width:44px;flex:0 0 44px;align-self:center}
}
@media(max-width:375px){.site-header .header-inner{padding-inline:16px}}
.profile-icon{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;flex:0 0 44px;padding:0;overflow:hidden;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;aspect-ratio:1/1}.profile-icon .header-profile-img{display:block;width:100%;height:100%;min-width:100%;min-height:100%;margin:0;padding:0;border-radius:50%;object-fit:cover;object-position:center}
body.restaurant-detail-page{position:relative}.restaurant-detail-hero{position:relative}
@media(max-width:576px){.page-back-button{position:absolute;top:137px;left:20px}}
@media(max-width:375px){.page-back-button{left:16px}}

/* Listing cards use the same footprint as the restaurant listing. */
.standard-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.standard-card-grid>.card{display:flex;min-width:0;height:100%;flex-direction:column}
.standard-card-grid>.card .card-media{aspect-ratio:4/3;display:block;object-fit:cover}
.standard-card-grid>.card .card-body{display:flex;flex:1;flex-direction:column;padding:18px}
.standard-card-grid>.card .actions{margin-top:auto;padding-top:14px}
.products-page .products-grid{display:grid}
.products-page .product-card{min-width:0}
.products-page .products-empty{grid-column:1/-1}
@media(max-width:1024px){.standard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.standard-card-grid{grid-template-columns:1fr}.standard-card-grid>.card{width:100%;max-width:none}}
