
:root {
    --nyam-yellow: #FFC928;
    --nyam-yellow-deep: #F5B900;
    --nyam-yellow-soft: #FFF4BF;
    --nyam-cream: #FFFDF8;
    --nyam-cream-2: #FFF8E8;
    --nyam-ink: #171A21;
    --nyam-muted: #70747C;
    --nyam-line: #EAE7DE;
    --nyam-white: #FFFFFF;
    --nyam-green: #34C759;
    --nyam-green-soft: #E8F9EC;
    --nyam-red: #FF5A5F;
    --shadow-sm: 0 8px 28px rgba(25, 26, 29, .08);
    --shadow-lg: 0 22px 64px rgba(25, 26, 29, .13);
    --header-h: 74px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--nyam-ink);
    background: var(--nyam-cream);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Apple SD Gothic Neo",
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

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

img {
    max-width: 100%;
    display: block;
}

.nyam-header {
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 28px;
    background: rgba(255, 253, 248, .94);
    border-bottom: 1px solid rgba(234, 231, 222, .9);
    backdrop-filter: blur(18px);
}

.nyam-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nyam-brand img {
    width: 188px;
    height: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 13px;
    color: #555A62;
    font-size: 13px;
    font-weight: 800;
}

.nav-link:hover {
    background: #FFF4C7;
    color: var(--nyam-ink);
}

.auth-button {
    min-height: 44px;
    padding: 0 17px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nyam-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.auth-button.is-user {
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

.auth-avatar {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.78);
    font-size: 14px;
}

.home-shell {
    height: calc(100vh - var(--header-h));
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(350px, 410px) 1fr;
    overflow: hidden;
}

.discover-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--nyam-white);
    border-right: 1px solid var(--nyam-line);
    z-index: 3;
}

.discover-top {
    padding: 23px 20px 14px;
    background:
        radial-gradient(circle at 92% 10%, rgba(255,201,40,.19), transparent 155px),
        var(--nyam-white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--nyam-yellow-soft);
    color: #6B5714;
    font-size: 11px;
    font-weight: 900;
}

.discover-title {
    margin: 12px 0 4px;
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -1.6px;
}

.discover-sub {
    margin: 0;
    color: var(--nyam-muted);
    font-size: 12px;
    line-height: 1.65;
}

.search-wrap {
    position: relative;
    margin-top: 17px;
}

.search-box {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 15px;
    background: #F7F8FA;
    border: 1.5px solid transparent;
    border-radius: 17px;
    transition: .2s ease;
}

.search-box:focus-within {
    border-color: var(--nyam-yellow-deep);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,201,40,.14);
}

.search-icon {
    font-size: 18px;
    line-height: 1;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--nyam-ink);
    font-size: 14px;
    font-weight: 700;
}

.search-box input::placeholder {
    color: #A0A4AB;
    font-weight: 600;
}

.search-clear {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    display: none;
    place-items: center;
    background: #E8EAEE;
    color: #666B74;
    font-weight: 900;
}

.search-clear.show {
    display: grid;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    display: none;
    padding: 8px;
    border: 1px solid var(--nyam-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.search-suggest.show {
    display: block;
}

.suggest-item {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: transparent;
}

.suggest-item:hover {
    background: #FFF8DC;
}

.suggest-thumb {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 11px;
    background: var(--nyam-cream-2);
}

.suggest-main {
    min-width: 0;
    flex: 1;
}

.suggest-name {
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-meta {
    margin-top: 3px;
    color: var(--nyam-muted);
    font-size: 11px;
}

.category-row {
    display: flex;
    gap: 7px;
    margin-top: 13px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex: 0 0 auto;
    height: 35px;
    padding: 0 13px;
    border: 1px solid #E6E7EA;
    border-radius: 999px;
    background: #fff;
    color: #4F545C;
    font-size: 11px;
    font-weight: 850;
}

.category-chip.active {
    border-color: var(--nyam-yellow-deep);
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

.result-head {
    min-height: 55px;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #F0EEE8;
    border-bottom: 1px solid #F0EEE8;
    background: #FFFEFB;
}

.result-title {
    min-width: 0;
}

.result-title strong {
    display: block;
    font-size: 13px;
    font-weight: 950;
}

.result-title span {
    display: block;
    margin-top: 3px;
    color: #92969D;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--nyam-yellow-soft);
    color: #6C5710;
    font-size: 11px;
    font-weight: 900;
}

.truck-list {
    flex: 1;
    overflow: auto;
    padding: 12px;
    background: #FAFAF8;
}

.truck-list::-webkit-scrollbar {
    width: 8px;
}

.truck-list::-webkit-scrollbar-thumb {
    background: #DADCE1;
    border-radius: 999px;
    border: 2px solid #FAFAF8;
}

.truck-card {
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ECEAE4;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20, 21, 24, .035);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.truck-card:hover {
    transform: translateY(-1px);
    border-color: #E1D496;
    box-shadow: 0 10px 28px rgba(20, 21, 24, .075);
}

.truck-card-image {
    width: 100px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--nyam-cream-2);
}

.truck-card-body {
    min-width: 0;
    padding: 2px 31px 2px 0;
}

.truck-card-name {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truck-card-address {
    margin-top: 5px;
    color: #858A92;
    font-size: 11px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truck-card-desc {
    margin-top: 7px;
    color: #555A63;
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-foot {
    margin-top: 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.status-pill {
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--nyam-green-soft);
    color: #16833A;
    font-size: 10px;
    font-weight: 900;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nyam-green);
}

.status-pill.closed {
    background: #F0F1F3;
    color: #777C84;
}

.status-pill.closed::before {
    background: #A4A8AF;
}

.distance {
    color: #7E838A;
    font-size: 10px;
    font-weight: 800;
}

.heart-btn {
    position: absolute;
    top: 11px;
    right: 10px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.9);
    color: #5D626B;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.heart-btn.active {
    color: var(--nyam-red);
}

.empty-state {
    min-height: 270px;
    padding: 35px 24px;
    display: grid;
    place-items: center;
    text-align: center;
}

.empty-illustration {
    width: 115px;
    height: 82px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.empty-state strong {
    display: block;
    font-size: 15px;
    font-weight: 950;
}

.empty-state p {
    margin: 8px 0 0;
    color: var(--nyam-muted);
    font-size: 12px;
    line-height: 1.6;
}

.skeleton {
    overflow: hidden;
    position: relative;
    background: #ECEDEB;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    animation: shimmer 1.25s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.skeleton-card {
    height: 116px;
    margin-bottom: 10px;
    border-radius: 19px;
}

.map-stage {
    position: relative;
    min-width: 0;
    background: #F1F0EB;
}

#map {
    width: 100%;
    height: 100%;
}

.map-top-banner {
    position: absolute;
    z-index: 10;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    max-width: calc(100% - 160px);
    padding: 9px 14px;
    border: 1px solid rgba(23,26,33,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    text-align: center;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-actions {
    position: absolute;
    z-index: 10;
    top: 17px;
    right: 17px;
    display: grid;
    gap: 9px;
}

.map-action {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(23,26,33,.09);
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-sm);
    font-size: 20px;
}

.map-action:hover {
    background: #FFF5C8;
}

.map-legend {
    position: absolute;
    z-index: 10;
    left: 17px;
    bottom: 18px;
    padding: 9px 12px;
    border: 1px solid rgba(23,26,33,.08);
    border-radius: 13px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-sm);
    color: #666A72;
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.map-preview {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 18px;
    width: min(440px, calc(100% - 36px));
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
    border: 1px solid #E7E4DD;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.map-preview.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.preview-inner {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 104px;
}

.preview-image {
    width: 100px;
    height: 104px;
    object-fit: cover;
    background: var(--nyam-cream-2);
}

.preview-body {
    min-width: 0;
    padding: 14px 46px 12px 14px;
    position: relative;
}

.preview-body h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
}

.preview-body p {
    margin: 5px 0 10px;
    color: #7D828A;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8A6D00;
    font-size: 11px;
    font-weight: 950;
}

.preview-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: #F1F2F4;
    color: #626770;
}

.mobile-nav {
    display: none;
}

.toast-wrap {
    position: fixed;
    z-index: 500;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 28px));
    pointer-events: none;
}

.toast {
    margin-top: 8px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(23,26,33,.95);
    color: #fff;
    box-shadow: var(--shadow-lg);
    font-size: 12px;
    font-weight: 750;
    animation: toastIn .22s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(8px); }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(20,22,27,.48);
    backdrop-filter: blur(6px);
}

.modal-backdrop.show {
    display: grid;
}

.login-modal {
    width: min(430px, 100%);
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 11px;
    background: #F2F3F4;
    font-size: 18px;
}

.login-logo {
    width: 185px;
    margin: 5px auto 20px;
}

.login-modal h2 {
    margin: 0;
    text-align: center;
    font-size: 23px;
    letter-spacing: -1px;
}

.login-modal .lead {
    margin: 8px 0 20px;
    text-align: center;
    color: var(--nyam-muted);
    font-size: 12px;
    line-height: 1.6;
}

.social-list {
    display: grid;
    gap: 9px;
}

.social-btn {
    height: 50px;
    border: 1px solid #E4E6EA;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: var(--nyam-ink);
    font-size: 13px;
    font-weight: 900;
}

.social-btn.kakao {
    border-color: #FEE500;
    background: #FEE500;
}

.social-btn.naver {
    border-color: #03C75A;
    background: #03C75A;
    color: #fff;
}

.social-btn.apple {
    border-color: #000;
    background: #000;
    color: #fff;
}

.social-mark {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 950;
}

.login-note {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #EEECE6;
    color: #8A8E95;
    font-size: 10px;
    line-height: 1.65;
    text-align: center;
}

/* Detail */
.detail-page {
    min-height: 100vh;
}

.detail-wrap {
    width: min(1120px, calc(100% - 36px));
    margin: 30px auto 70px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
    gap: 24px;
}

.detail-photo {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
    background: var(--nyam-cream-2);
    box-shadow: var(--shadow-sm);
}

.detail-info {
    padding: 28px;
    border: 1px solid var(--nyam-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.detail-status-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.detail-info h1 {
    margin: 14px 0 0;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -2px;
    line-height: 1.08;
}

.detail-description {
    margin: 13px 0 0;
    color: #5F646D;
    font-size: 13px;
    line-height: 1.75;
}

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.detail-chip {
    padding: 7px 10px;
    border-radius: 999px;
    background: #F5F5F3;
    color: #555A62;
    font-size: 10px;
    font-weight: 900;
}

.info-rows {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #EEECE7;
    display: grid;
    gap: 9px;
}

.info-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 7px 9px;
    margin: 0 -9px;
    border-radius: 15px;
    transition:
        background-color .16s ease,
        transform .16s ease;
}

.info-row:hover {
    background: #FFFDF5;
}

.info-row-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #FFE79B;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #FFF9DE 0%,
            #FFF1B9 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 4px 12px rgba(245,185,0,.09);
    font-size: 19px;
    line-height: 1;
}

.info-row-content {
    min-width: 0;
    display: grid;
    gap: 3px;
    align-content: center;
}

.info-row strong {
    display: block;
    margin: 0;
    color: var(--nyam-ink);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.25px;
}

.info-row .info-row-content > span,
.info-row .info-row-content > a {
    display: block;
    min-width: 0;
    margin: 0;
    color: #717680;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.info-row .info-row-content > a {
    color: #5F6570;
    text-decoration: none;
    font-weight: 750;
}

.info-row .info-row-content > a:hover {
    color: #8A6900;
    text-decoration: underline;
}

.detail-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.primary-btn,
.secondary-btn {
    min-height: 49px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 950;
}

.primary-btn {
    border: 1px solid var(--nyam-yellow-deep);
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

.secondary-btn {
    border: 1px solid var(--nyam-line);
    background: #fff;
    color: var(--nyam-ink);
}

.section {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--nyam-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(20,21,24,.045);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -1px;
}

.section-head p {
    margin: 4px 0 0;
    color: var(--nyam-muted);
    font-size: 11px;
}

.menu-filter {
    display: flex;
    gap: 7px;
    overflow: auto;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.menu-filter::-webkit-scrollbar {
    display: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.menu-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #EEECE6;
    border-radius: 20px;
    background: #fff;
}

.menu-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--nyam-cream-2);
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-body {
    padding: 13px;
}

.menu-card h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 950;
}

.menu-card p {
    min-height: 30px;
    margin: 5px 0 0;
    color: #83878E;
    font-size: 10px;
    line-height: 1.5;
}

.menu-price {
    margin-top: 8px;
    color: #6F5700;
    font-size: 13px;
    font-weight: 950;
}

.sold-out {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(23,26,33,.9);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: 17px;
    background: var(--nyam-cream-2);
}

.detail-map {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: #EFEDE5;
}

.detail-empty {
    padding: 46px 20px;
    text-align: center;
    color: var(--nyam-muted);
    font-size: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #5E636B;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 900px) {
    :root {
        --header-h: 64px;
    }

    .nyam-header {
        padding: 0 15px;
    }

    .nyam-brand img {
        width: 151px;
    }

    .header-nav .nav-link {
        display: none;
    }

    .auth-button {
        min-height: 40px;
        padding: 0 12px;
    }

    .home-shell {
        height: auto;
        min-height: calc(100vh - var(--header-h));
        display: flex;
        flex-direction: column;
        overflow: visible;
        padding-bottom: 74px;
    }

    .discover-panel {
        display: contents;
    }

    .discover-top {
        order: 1;
        padding: 17px 14px 13px;
    }

    .discover-title {
        font-size: 23px;
    }

    .map-stage {
        order: 2;
        height: 48vh;
        min-height: 360px;
        border-top: 1px solid #ECEAE5;
        border-bottom: 1px solid #ECEAE5;
    }

    .result-head {
        order: 3;
        padding-left: 15px;
        padding-right: 15px;
    }

    .truck-list {
        order: 4;
        min-height: 320px;
        padding: 10px 12px 18px;
        overflow: visible;
    }

    .map-top-banner {
        top: 12px;
        max-width: calc(100% - 130px);
    }

    .map-actions {
        top: 12px;
        right: 12px;
    }

    .map-action {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .map-legend {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        z-index: 100;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        min-height: 60px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 6px;
        border: 1px solid rgba(23,26,33,.08);
        border-radius: 20px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 12px 38px rgba(25,26,29,.16);
        backdrop-filter: blur(16px);
    }

    .mobile-nav button,
    .mobile-nav a {
        border: 0;
        background: transparent;
        border-radius: 14px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        color: #747982;
        font-size: 9px;
        font-weight: 900;
    }

    .mobile-nav .icon {
        font-size: 18px;
        line-height: 1;
    }

    .mobile-nav .active {
        background: #FFF4C1;
        color: var(--nyam-ink);
    }

    .detail-wrap {
        width: min(100% - 24px, 760px);
        margin-top: 18px;
        margin-bottom: 90px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detail-photo,
    .detail-info,
    .section {
        border-radius: 22px;
    }

    .detail-info,
    .section {
        padding: 20px;
    }

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

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

@media (max-width: 520px) {
    .nyam-brand img {
        width: 137px;
    }

    .auth-button span.label {
        display: none;
    }

    .search-box {
        height: 49px;
    }

    .truck-card {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 11px;
        padding: 10px;
    }

    .truck-card-image {
        width: 90px;
        height: 84px;
    }

    .map-preview {
        bottom: 12px;
    }

    .preview-inner {
        grid-template-columns: 88px minmax(0,1fr);
    }

    .preview-image {
        width: 88px;
    }

    .login-modal {
        padding: 24px 17px 19px;
        border-radius: 24px;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .menu-card-body {
        padding: 11px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }
}

/* NYAMTRUCK BUSINESS FOOTER V1 */

.site-business-footer {
    color: #767A82;
    font-size: 10px;
    line-height: 1.65;
}

.site-business-footer a {
    color: inherit;
    text-decoration: none;
}

.site-business-footer a:hover {
    color: #6E5700;
    text-decoration: underline;
}

.my-business-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 92px;
    padding: 22px 24px;
    border: 1px solid #ECE7DB;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255,249,222,.92),
            rgba(255,255,255,.96)
        );
    box-shadow: 0 9px 30px rgba(25,26,29,.045);
}

.site-footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer-head strong {
    display: block;
    color: #171A21;
    font-size: 13px;
    font-weight: 950;
}

.site-footer-head span {
    display: block;
    margin-top: 3px;
    color: #858990;
    font-size: 9px;
    font-weight: 750;
}

.site-business-copy {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
}

.site-business-copy span {
    min-width: 0;
}

.site-business-copy b {
    color: #555A62;
    font-weight: 900;
}

.site-footer-links {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(221,215,201,.75);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-weight: 850;
}

.site-footer-copy {
    margin-top: 9px;
    color: #A09B90;
    font-size: 8.5px;
}

.map-business-footer {
    flex: 0 0 auto;
    padding: 10px 14px 11px;
    border-top: 1px solid #ECE9E0;
    background:
        linear-gradient(
            180deg,
            #FFFEFA,
            #FFFDF7
        );
    color: #8A8D93;
    font-size: 8.5px;
    line-height: 1.55;
}

.map-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.map-footer-top > span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-footer-top strong {
    color: #555A62;
    font-weight: 950;
}

.map-business-details {
    position: relative;
    flex: 0 0 auto;
}

.map-business-details summary {
    list-style: none;
    cursor: pointer;
    color: #696E76;
    font-size: 8.5px;
    font-weight: 900;
}

.map-business-details summary::-webkit-details-marker {
    display: none;
}

.map-business-details[open] > div {
    margin-top: 8px;
    padding: 9px 10px;
    border: 1px solid #E9E5DB;
    border-radius: 10px;
    background: #fff;
    color: #757981;
    box-shadow: 0 7px 20px rgba(25,26,29,.07);
}

.map-footer-links {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .map-business-footer {
        order: 5;
        padding: 15px 15px 20px;
        border-top: 1px solid #ECE9E0;
        background: #FFFDF8;
        font-size: 9px;
    }

    .map-footer-top {
        align-items: flex-start;
    }

    .map-footer-top > span {
        white-space: normal;
    }

    .my-business-footer {
        width: min(100% - 24px, 720px);
        margin: 20px auto 94px;
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .site-business-copy {
        display: grid;
        gap: 6px;
    }

    .site-footer-links {
        gap: 7px 12px;
    }

    .map-footer-top {
        display: grid;
        gap: 5px;
    }
}

/* END NYAMTRUCK BUSINESS FOOTER V1 */


/* ===== NYAMTRUCK NAV / NOTIFICATION SECTION ===== */
.nav-link.is-current {
    border: 1px solid #FFE089;
    background:
        linear-gradient(
            180deg,
            #FFF8D8 0%,
            #FFF0A9 100%
        );
    color: var(--nyam-ink);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 3px 10px rgba(245,185,0,.10);
}

.notification-section-tabs {
    width: min(1120px, calc(100% - 32px));
    margin: 16px auto -2px;
    display: flex;
    gap: 7px;
}

.notification-section-tab {
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E9E5DB;
    border-radius: 14px;
    background: #fff;
    color: #656A72;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(23,26,33,.035);
}

.notification-section-tab.active {
    border-color: #F3C92F;
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

@media (max-width: 900px) {
    .notification-section-tabs {
        width: calc(100% - 24px);
        margin-top: 10px;
    }

    .notification-section-tab {
        flex: 1;
        padding: 0 9px;
        font-size: 11px;
    }

    .mobile-nav > a,
    .mobile-nav > button {
        min-width: 0;
    }

    .mobile-nav span:last-child {
        white-space: nowrap;
        font-size: 9px;
    }
}
/* ===== END NYAMTRUCK NAV / NOTIFICATION SECTION ===== */


/* ===== OWNER ENTRY / FREE LANDING V1 ===== */
.owner-entry-button {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5B800;
    border-radius: 13px;
    background: linear-gradient(180deg,#FFD94F 0%,#FFC928 100%);
    color: var(--nyam-ink);
    font-size: 12px;
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7),0 4px 12px rgba(245,185,0,.12);
    white-space: nowrap;
}
.owner-entry-button:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75),0 7px 18px rgba(245,185,0,.17);
}
.owner-entry-mobile { display: none; }

.owner-promo {
    border: 1px solid #F0D063;
    background:
        radial-gradient(circle at 100% 0,rgba(255,201,40,.24),transparent 120px),
        linear-gradient(145deg,#FFFDF5,#FFF5C8);
    color: var(--nyam-ink);
}
.owner-promo-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.owner-promo-copy > div { min-width: 0; }
.owner-promo-copy strong {
    display: block;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
}
.owner-promo-copy span:not(.owner-promo-icon) {
    display: block;
    margin-top: 3px;
    color: #6E6C60;
    font-size: 9.5px;
    line-height: 1.45;
}
.owner-promo-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(229,184,0,.28);
    border-radius: 13px;
    background: rgba(255,255,255,.74);
    font-size: 19px;
}
.owner-promo-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DDB100;
    border-radius: 11px;
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
    font-size: 9.5px;
    font-weight: 950;
    white-space: nowrap;
}
.owner-promo-map {
    flex: 0 0 auto;
    margin: 0 10px 9px;
    padding: 10px 11px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}
.owner-promo-my {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 0;
    padding: 18px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 7px 24px rgba(25,26,29,.05);
}

.owner-landing-page {
    background:
        radial-gradient(circle at 15% 6%,rgba(255,201,40,.13),transparent 340px),
        var(--nyam-cream);
}
.owner-landing-header { position: sticky; }
.owner-center-button {
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--nyam-ink);
    border-radius: 14px;
    background: var(--nyam-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}
.owner-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0 64px;
    display: grid;
    grid-template-columns: minmax(0,1.03fr) minmax(360px,.97fr);
    gap: 64px;
    align-items: center;
}
.owner-free-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #F0CB4B;
    border-radius: 999px;
    background: #FFF5C8;
    color: #6D5700;
    font-size: 11px;
    font-weight: 950;
}
.owner-hero h1 {
    margin: 19px 0 13px;
    color: var(--nyam-ink);
    font-size: clamp(40px,5.4vw,70px);
    line-height: 1.05;
    letter-spacing: -3.5px;
}
.owner-hero-lead {
    max-width: 630px;
    margin: 0;
    color: #636871;
    font-size: 16px;
    line-height: 1.75;
}
.owner-free-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
}
.owner-free-grid > div {
    padding: 15px 13px;
    border: 1px solid #ECE4CC;
    border-radius: 17px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 5px 18px rgba(25,26,29,.035);
}
.owner-free-grid span {
    display: block;
    color: #88847A;
    font-size: 9.5px;
    font-weight: 800;
}
.owner-free-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--nyam-ink);
    font-size: 22px;
    font-weight: 1000;
}
.owner-hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.owner-primary-cta,
.owner-secondary-cta {
    min-height: 54px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 950;
}
.owner-primary-cta {
    border: 1px solid #DCAE00;
    background: linear-gradient(180deg,#FFD851,#FFC928);
    color: var(--nyam-ink);
    box-shadow: 0 10px 26px rgba(245,185,0,.18);
}
.owner-secondary-cta {
    border: 1px solid #E6E1D7;
    background: #fff;
    color: #555B64;
}
.owner-free-note {
    margin: 11px 0 0;
    color: #929088;
    font-size: 9.5px;
}
.owner-hero-visual {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}
.owner-phone-card {
    width: min(390px,92%);
    overflow: hidden;
    border: 9px solid #1D2026;
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 34px 80px rgba(23,26,33,.18),0 0 0 1px rgba(23,26,33,.08);
    transform: rotate(2deg);
}
.owner-phone-top {
    min-height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFDF8;
    color: #6B6F76;
    font-size: 11px;
    font-weight: 850;
}
.owner-phone-top strong { color: #228342; }
.owner-map-art {
    height: 290px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,rgba(255,255,255,.72) 1px,transparent 1px),
        linear-gradient(rgba(255,255,255,.72) 1px,transparent 1px),
        #EEF1EA;
    background-size: 42px 42px;
}
.owner-map-art::before,
.owner-map-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: #D4DED0;
    transform: rotate(-14deg);
}
.owner-map-art::before {
    width: 150%;
    height: 16px;
    left: -25%;
    top: 44%;
}
.owner-map-art::after {
    width: 110%;
    height: 12px;
    left: -6%;
    top: 24%;
    transform: rotate(28deg);
}
.owner-map-pin {
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 19px 19px 19px 5px;
    background: var(--nyam-yellow);
    box-shadow: 0 9px 20px rgba(23,26,33,.17);
    font-size: 27px;
}
.pin-a { left:48%; top:47%; transform:translate(-50%,-50%) rotate(-7deg); }
.pin-b {
    left:23%; top:23%; width:43px; height:43px;
    border-radius:50%; background:#fff; font-size:20px;
}
.pin-c {
    right:17%; bottom:19%; width:45px; height:45px;
    border-radius:50%; background:#fff; font-size:20px;
}
.owner-phone-bottom { padding: 19px 20px 22px; }
.owner-phone-bottom strong {
    display:block; font-size:15px; font-weight:950;
}
.owner-phone-bottom span {
    display:block; margin-top:5px; color:#858A91; font-size:10px;
}
.owner-float-card {
    position:absolute;
    padding:11px 14px;
    border:1px solid #ECE5D7;
    border-radius:14px;
    background:rgba(255,255,255,.96);
    box-shadow:0 12px 32px rgba(23,26,33,.12);
    color:var(--nyam-ink);
    font-size:11px;
    font-weight:950;
}
.card-free { left:0; top:24%; transform:rotate(-5deg); }
.card-alert { right:0; bottom:25%; transform:rotate(5deg); }

.owner-section {
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
    padding:76px 0;
}
.owner-section-head { max-width:720px; }
.owner-section-head > span {
    color:#9A7A00;
    font-size:10px;
    font-weight:950;
    letter-spacing:1.8px;
}
.owner-section-head h2 {
    margin:9px 0 10px;
    font-size:clamp(28px,4vw,46px);
    line-height:1.12;
    letter-spacing:-2.2px;
}
.owner-section-head p {
    margin:0;
    color:#747982;
    font-size:13px;
    line-height:1.75;
}
.owner-benefit-grid {
    margin-top:32px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:13px;
}
.owner-benefit-grid article {
    padding:24px;
    border:1px solid #EBE6DB;
    border-radius:23px;
    background:#fff;
    box-shadow:0 9px 32px rgba(23,26,33,.045);
}
.owner-benefit-grid article > span {
    width:45px;
    height:45px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:#FFF4BD;
    font-size:23px;
}
.owner-benefit-grid h3 {
    margin:15px 0 6px;
    font-size:16px;
    font-weight:950;
}
.owner-benefit-grid p {
    margin:0;
    color:#777C85;
    font-size:11px;
    line-height:1.7;
}
.owner-steps { border-top:1px solid #ECE7DD; }
.owner-step-list {
    margin-top:30px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.owner-step-list article {
    position:relative;
    padding:20px 18px;
    border:1px solid #EAE5DA;
    border-radius:21px;
    background:#fff;
}
.owner-step-list article > b {
    position:absolute;
    top:14px;
    right:15px;
    color:#E0C360;
    font-size:12px;
    font-weight:1000;
}
.owner-step-list article div > span { font-size:26px; }
.owner-step-list h3 {
    margin:12px 0 6px;
    font-size:14px;
    font-weight:950;
}
.owner-step-list p {
    margin:0;
    color:#7A7F87;
    font-size:10.5px;
    line-height:1.7;
}
.owner-proof { padding-top:20px; }
.owner-proof-card {
    padding:38px 42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    border:1px solid #E5C64F;
    border-radius:30px;
    background:
        radial-gradient(circle at 100% 0,rgba(255,255,255,.8),transparent 260px),
        #FFD951;
    box-shadow:0 22px 55px rgba(224,177,0,.15);
}
.owner-proof-card > div:first-child { max-width:650px; }
.owner-proof-emoji { font-size:34px; }
.owner-proof-card h2 {
    margin:10px 0;
    font-size:clamp(27px,4vw,43px);
    line-height:1.1;
    letter-spacing:-2px;
}
.owner-proof-card p {
    margin:0;
    color:#655723;
    font-size:12px;
    line-height:1.75;
}
.owner-proof-zero { min-width:180px; text-align:center; }
.owner-proof-zero strong {
    display:block;
    color:var(--nyam-ink);
    font-size:56px;
    font-weight:1000;
    letter-spacing:-4px;
}
.owner-proof-zero span {
    display:block;
    color:#756126;
    font-size:10px;
    font-weight:900;
}
.owner-faq-list {
    margin-top:27px;
    display:grid;
    gap:8px;
}
.owner-faq-list details {
    padding:17px 19px;
    border:1px solid #EAE6DD;
    border-radius:17px;
    background:#fff;
}
.owner-faq-list summary {
    cursor:pointer;
    color:var(--nyam-ink);
    font-size:13px;
    font-weight:950;
}
.owner-faq-list p {
    margin:10px 0 0;
    color:#767B83;
    font-size:11px;
    line-height:1.7;
}
.owner-final-cta {
    width:min(1000px,calc(100% - 40px));
    margin:15px auto 90px;
    padding:52px 30px;
    border:1px solid #EAE4D7;
    border-radius:32px;
    background:#fff;
    text-align:center;
    box-shadow:0 18px 54px rgba(23,26,33,.07);
}
.owner-final-cta > span { font-size:38px; }
.owner-final-cta h2 {
    margin:13px 0 8px;
    font-size:clamp(28px,4vw,43px);
    line-height:1.12;
    letter-spacing:-2px;
}
.owner-final-cta p {
    margin:0 0 21px;
    color:#787D85;
    font-size:12px;
}
.owner-landing-footer {
    width:min(1180px,calc(100% - 40px));
    margin:0 auto 40px;
    padding:24px 0;
    border-top:1px solid #E8E4DB;
}

@media (max-width:900px) {
    .owner-entry-button {
        min-height:40px;
        padding:0 10px;
        border-radius:12px;
        font-size:10px;
    }
    .owner-entry-desktop { display:none; }
    .owner-entry-mobile { display:inline; }

    .owner-promo-map {
        order:5;
        margin:0 12px 10px;
    }
    .owner-promo-my {
        width:min(100% - 24px,720px);
        margin-top:18px;
    }

    .owner-hero {
        width:min(100% - 28px,760px);
        padding:48px 0 30px;
        grid-template-columns:1fr;
        gap:28px;
    }
    .owner-hero h1 { letter-spacing:-2.5px; }
    .owner-hero-visual { min-height:430px; }
    .owner-benefit-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .owner-step-list {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .owner-section {
        width:min(100% - 28px,760px);
        padding:55px 0;
    }
    .owner-proof-card { padding:30px; }
}

@media (max-width:520px) {
    .nyam-header {
        gap:7px;
        padding-left:10px;
        padding-right:10px;
    }
    .owner-entry-button {
        min-height:38px;
        padding:0 8px;
        font-size:9px;
    }
    .owner-promo-map,
    .owner-promo-my {
        align-items:stretch;
        display:grid;
    }
    .owner-promo-button { width:100%; }
    .owner-hero { padding-top:34px; }
    .owner-hero h1 {
        font-size:40px;
        letter-spacing:-2.2px;
    }
    .owner-hero-lead { font-size:13px; }
    .owner-free-grid { grid-template-columns:1fr 1fr; }
    .owner-hero-actions { display:grid; }
    .owner-primary-cta,
    .owner-secondary-cta { width:100%; }
    .owner-hero-visual { min-height:370px; }
    .owner-phone-card { width:min(330px,94%); }
    .owner-float-card { font-size:9px; }
    .card-free { left:-4px; top:18%; }
    .card-alert { right:-4px; bottom:16%; }
    .owner-benefit-grid,
    .owner-step-list { grid-template-columns:1fr; }
    .owner-proof-card {
        display:grid;
        padding:26px 22px;
    }
    .owner-proof-zero {
        min-width:0;
        text-align:left;
    }
    .owner-proof-zero strong { font-size:45px; }
    .owner-final-cta {
        width:calc(100% - 28px);
        margin-bottom:86px;
        padding:38px 18px;
    }
    .owner-landing-footer {
        width:calc(100% - 28px);
        margin-bottom:90px;
    }
    .owner-landing-header .header-nav .nav-link { display:none; }
    .owner-center-button {
        min-height:38px;
        padding:0 10px;
        font-size:9px;
    }
}
/* ===== END OWNER ENTRY / FREE LANDING V1 ===== */


/* ===== NYAMTRUCK CLEAN HEADER V1 ===== */
/*
 * button.nav-link was inheriting the browser's default button chrome.
 * Reset it explicitly and keep the header hierarchy lightweight.
 */

.nyam-header {
    height: 68px;
    padding: 0 26px;
    gap: 18px;
}

.nyam-brand img {
    width: 174px;
}

.header-nav {
    gap: 3px;
}

.header-nav .nav-link,
.header-nav button.nav-link {
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    box-shadow: none;
    border-radius: 10px;
    color: #5E636B;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.header-nav button.nav-link {
    font-family: inherit;
}

.header-nav .nav-link:hover,
.header-nav button.nav-link:hover {
    background: #FFF8DE;
    color: var(--nyam-ink);
}

.header-nav .nav-mode-button.active {
    border: 0;
    background: #FFF1A9;
    color: var(--nyam-ink);
    box-shadow: none;
}

.owner-entry-button {
    min-height: 36px;
    padding: 0 11px;
    margin-left: 5px;
    border: 1px solid #EDC126;
    border-radius: 10px;
    background: #FFF6CE;
    color: #564600;
    box-shadow: none;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
}

.owner-entry-button:hover {
    transform: none;
    border-color: #DCAF00;
    background: #FFED91;
    box-shadow: none;
}

.auth-button {
    min-height: 36px;
    padding: 0 11px;
    margin-left: 3px;
    border-radius: 10px;
    gap: 6px;
    font-size: 11.5px;
    box-shadow: none;
}

.auth-button.is-user {
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

.auth-avatar {
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 12px;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .nyam-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nyam-brand img {
        width: 154px;
    }

    .header-nav .nav-link,
    .header-nav button.nav-link {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 11px;
    }

    .owner-entry-button {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 10.5px;
    }

    .auth-button {
        padding-left: 9px;
        padding-right: 9px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 62px;
    }

    .nyam-header {
        height: var(--header-h);
        padding: 0 12px;
        gap: 7px;
    }

    .nyam-brand {
        min-width: 0;
        margin-right: auto;
    }

    .nyam-brand img {
        width: 142px;
    }

    .header-nav {
        gap: 5px;
    }

    .header-nav .nav-link,
    .header-nav button.nav-link {
        display: none;
    }

    .owner-entry-button {
        min-height: 36px;
        padding: 0 9px;
        margin-left: 0;
        border-radius: 10px;
        font-size: 9.5px;
    }

    .owner-entry-desktop {
        display: none;
    }

    .owner-entry-mobile {
        display: inline;
    }

    .auth-button {
        min-height: 36px;
        padding: 0 9px;
        margin-left: 0;
        border-radius: 10px;
    }

    .auth-avatar {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 520px) {
    .nyam-header {
        padding-left: 9px;
        padding-right: 9px;
    }

    .nyam-brand img {
        width: 124px;
    }

    .owner-entry-button {
        min-height: 35px;
        padding: 0 8px;
        font-size: 9px;
    }

    .auth-button {
        min-width: 35px;
        min-height: 35px;
        padding: 0 6px;
        justify-content: center;
    }

    .auth-button span.label {
        display: none;
    }

    .auth-avatar {
        width: 23px;
        height: 23px;
    }
}
/* ===== END NYAMTRUCK CLEAN HEADER V1 ===== */
