:root {
    --red: #e84131;
    --ink: #181818;
    --paper: #faf9f6;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Noto Sans KR',sans-serif;
    font-size: 16px;
}

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

button,input,select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    opacity: .5;
    cursor: wait;
}

button:focus-visible,a:focus-visible {
    outline: 3px solid #ea793b;
    outline-offset: 5px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 88px;
    background: #141414;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    border-bottom: 1px solid #ffffff1a;
}

.logo {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -1.5px;
    line-height: 1;
}

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

.logo small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-top: 8px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 14px;
    font-weight: 600;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ffffff55;
    padding: 12px 19px;
}

.mobile-toggle {
    display: none;
}

.hero {
    height: 640px;
    min-height: 560px;
    background: #101011;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#111112 0%,#111112c9 28%,transparent 68%);
}

.hero-copy {
    position: relative;
    margin-left: 9%;
    padding-top: 82px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.6px;
    color: var(--red);
    margin: 0 0 24px;
}

h1 {
    font-size: 76px;
    line-height: 1.18;
    letter-spacing: -4px;
    font-weight: 800;
    margin: 0 0 25px;
}

em {
    color: var(--red);
    font-style: normal;
}

.hero-description {
    color: #c4c2c0;
    line-height: 1.9;
    font-size: 17px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    border: 0;
}

.red {
    background: var(--red);
    color: white;
}

.red:hover {
    background: #c62d20;
}

.outline {
    border: 1px solid #ffffff65;
    color: white;
}

.hero-bottom {
    position: absolute;
    bottom: 30px;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1px;
    color: #aaa;
}

.hero-bottom b {
    font-size: 10px;
    color: white;
    background: var(--red);
    padding: 5px 7px;
    margin-left: 10px;
}

.ticker {
    display: flex;
    justify-content: space-around;
    gap: 25px;
    align-items: center;
    padding: 23px 0;
    background: var(--red);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 900;
}

.ticker i {
    font-size: 25px;
}

.menu-section {
    max-width: 1240px;
    margin: auto;
    padding: 100px 50px;
}

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

h2 {
    font-size: 44px;
    letter-spacing: -2px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0;
}

.section-heading>p {
    font-size: 15px;
    color: #777;
    line-height: 1.9;
}

.tabs {
    display: flex;
    gap: 8px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ccc;
}

.tabs button {
    padding: 10px 23px;
    border: 1px solid #d6d4d0;
    border-radius: 30px;
    background: transparent;
    font-size: 14px;
}

.tabs button.selected {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.food-item {
    padding: 28px 24px 30px 0;
    border-bottom: 1px solid #dedcd7;
    min-height: 162px;
}

.food-index {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.food-index span {
    font-weight: 400;
    color: #888;
}

.food-item h3 {
    font-size: 22px;
    letter-spacing: -.7px;
    margin: 17px 0 10px;
}

.food-item p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.note {
    font-size: 12px;
    color: #888;
    margin-top: 26px;
}

.about {
    text-align: center;
    padding: 90px 24px 110px;
    background: #eae8e2;
}

.about>p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.9;
    color: #6c6b67;
    margin: 25px 0 30px;
}

footer {
    background: #141414;
    color: #eee;
    padding: 50px 6% 25px;
}

footer>p {
    font-size: 14px;
    color: #aaa;
    margin: 20px 0 35px;
}

footer>div {
    border-top: 1px solid #ffffff20;
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 12px;
}

.page-wrap {
    max-width: 1320px;
    margin: auto;
    padding: 64px 5% 90px;
}

.page-wrap h1 {
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.muted {
    color: #777;
    line-height: 1.8;
}

.search-row {
    display: flex;
    gap: 12px;
    margin: 30px 0;
}

input,select {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 3px;
}

input {
    width: 100%;
}

.search-row input {
    flex: 1;
}

.locator {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 22px;
}

.store-list {
    max-height: 520px;
    overflow: auto;
}

.empty {
    padding: 40px 25px;
    background: #efeee9;
    text-align: center;
    font-size: 14px;
    line-height: 1.9;
    color: #777;
}

.store-card {
    width: 100%;
    text-align: left;
    padding: 23px;
    border: 1px solid #ddd;
    background: white;
    margin-bottom: 10px;
}

.store-card.active {
    border: 2px solid var(--red);
}

.store-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.store-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 8px 0;
}

.map-area {
    height: 520px;
    position: relative;
    background: #e7e9e3;
    z-index: 1;
}

.map-canvas {
    height: 100%;
    width: 100%;
}

.map-message {
    position: absolute;
    z-index: 500;
    top: 18px;
    left: 60px;
    right: 18px;
    background: white;
    padding: 12px 15px;
    font-size: 13px;
    box-shadow: 0 2px 10px #0001;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.form-panel {
    background: white;
    padding: 28px;
    border: 1px solid #ddd;
}

.form-panel h2 {
    font-size: 26px;
    margin-bottom: 22px;
}

.form-panel label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 7px;
}

.form-panel select {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feedback {
    padding: 13px;
    background: #fff0eb;
    color: #aa2d20;
    line-height: 1.8;
    margin: 15px 0;
    font-size: 14px;
}

.admin-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.subtle-button {
    padding: 12px 17px;
    border: 1px solid #bbb;
    background: white;
    font-size: 14px;
}

.status {
    font-size: 12px;
    color: var(--red);
}

.inline-link {
    color: var(--red);
    font-size: 14px;
    text-decoration: underline;
}

.leaflet-container {
    font-family: inherit !important;
}

@media (max-width:800px) {
    header {
        height: 76px;
        padding: 0 6%;
    }
    .logo {
        font-size: 24px;
    }
    .mobile-toggle {
        display: block;
        background: none;
        border: 0;
        color: white;
    }
    header nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #141414;
        padding: 25px;
        flex-direction: column;
        gap: 25px;
    }
    header nav.open {
        display: flex;
    }
    .hero {
        height: 650px;
    }
    .hero>img {
        object-position: 67% center;
        opacity: .8;
    }
    .hero-shade {
        background: linear-gradient(90deg,#111112ed,#11111244);
    }
    .hero-copy {
        margin: 0 7%;
        padding-top: 75px;
    }
    h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero-bottom {
        font-size: 10px;
        flex-wrap: wrap;
        gap: 15px;
    }
    .ticker {
        justify-content: flex-start;
        padding-left: 25px;
        font-size: 15px;
    }
    .menu-section {
        padding: 65px 7%;
    }
    .section-heading {
        display: block;
    }
    .section-heading>p {
        margin-top: 20px;
    }
    h2 {
        font-size: 34px;
    }
    .tabs {
        gap: 7px;
        overflow: auto;
    }
    .tabs button {
        white-space: nowrap;
        padding: 9px 17px;
    }
    .food-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .food-item h3 {
        font-size: 18px;
    }
    .food-item p {
        font-size: 14px;
    }
    .food-item {
        padding-right: 16px;
    }
    .about {
        padding: 65px 7%;
    }
    .page-wrap h1 {
        font-size: 36px;
    }
    .locator,.admin-grid {
        grid-template-columns: 1fr;
    }
    .map-area {
        height: 380px;
    }
    .store-list {
        max-height: 300px;
    }
    .page-wrap {
        padding-top: 42px;
    }
    .search-row {
        flex-wrap: wrap;
    }
    .form-panel {
        padding: 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .map-message {
        left: 55px;
    }
}

.catalog-grid {
    gap: 24px;
}

.catalog-grid .food-item {
    padding-right: 0;
    overflow: hidden;
}

.catalog-image {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 22px;
    background: #eceae5;
}

.catalog-grid .food-item.with-image {
    padding-top: 0;
    margin-top: 28px;
}

.food-body p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

.food-body h3 {
    overflow-wrap: anywhere;
}

.brand-section {
    background: #efede7;
}

.brand-section .menu-section {
    padding-top: 75px;
    padding-bottom: 80px;
}

.brand-section .food-item {
    border-color: #d6d2c9;
}

.admin-top {
    max-width: 1320px;
    padding: 45px 5% 0;
    margin: auto;
}

.admin-top h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
}

.admin-title-row,.manager-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-tabs {
    margin-top: 22px;
}

.content-manager {
    padding-top: 35px;
}

.manager-heading h2 {
    font-size: 28px;
    letter-spacing: -1px;
}

.manager-heading .muted {
    font-size: 14px;
}

.manage-card {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    text-align: left;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
}

.manage-card:hover {
    border-color: #aaa;
}

.manage-card.active {
    border: 2px solid var(--red);
    padding: 14px;
}

.manage-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
}

.manage-card strong {
    display: block;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.manage-card small {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 7px;
}

.order-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    background: #f0efeb;
    color: #777;
    font-weight: 700;
}

.content-manager .admin-grid {
    margin-top: 22px;
}

.content-manager .search-row {
    margin-top: 0;
}

.content-manager fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.content-manager textarea {
    display: block;
    width: 100%;
    font: inherit;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    resize: vertical;
    background: white;
}

.upload-box {
    border: 1px dashed #c8c4bc;
    padding: 16px;
    border-radius: 4px;
}

.upload-preview {
    width: 100%;
    max-height: 270px;
    object-fit: contain;
    background: #f1f0ec;
    display: block;
    margin-bottom: 14px;
}

.upload-placeholder {
    padding: 30px 15px;
    background: #f3f2ee;
    font-size: 14px;
    text-align: center;
    color: #777;
    margin-bottom: 15px;
}

.upload-box input {
    font-size: 14px;
    padding: 10px 0;
    border: 0;
}

.upload-box input::file-selector-button {
    font: inherit;
    border: 1px solid #ccc;
    padding: 8px 12px;
    background: white;
    margin-right: 10px;
    cursor: pointer;
}

.feedback.success {
    background: #e9f2e9;
    color: #345c3e;
}

.danger {
    color: #b33125;
}

.admin-top .eyebrow {
    margin-bottom: 15px;
}

.content-manager .form-panel {
    align-self: start;
}

.manager-heading .button {
    white-space: nowrap;
}

@media (max-width:800px) {
    .catalog-grid {
        gap: 18px;
    }
    .admin-title-row,.manager-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .admin-top h1 {
        font-size: 32px;
        margin-bottom: 0;
    }
    .admin-tabs {
        flex-wrap: wrap;
        overflow: visible;
    }
    .admin-tabs button {
        font-size: 13px;
    }
    .manager-heading h2 {
        font-size: 27px;
    }
    .catalog-grid .food-item h3 {
        font-size: 18px;
    }
    .content-manager .form-row {
        grid-template-columns: 1fr 1fr;
    }
    .brand-section .menu-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }
    .manage-card img {
        width: 58px;
        height: 58px;
    }
    .admin-title-row .subtle-button {
        font-size: 13px;
    }
}

[hidden] {
    display: none !important;
}

.login-wrap {
    max-width: 650px;
}

.admin-tabs {
    display: flex;
    position: static;
    padding: 0 0 28px;
    background: transparent;
    gap: 8px;
    flex-direction: row;
}

.admin-tabs a {
    padding: 10px 23px;
    border: 1px solid #d6d4d0;
    border-radius: 30px;
    font-size: 14px;
}

.admin-tabs a.selected {
    background: #181818;
    border-color: #181818;
    color: white;
}

.store-select {
    display: block;
    text-align: left;
    padding: 0;
    border: 0;
    background: none;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.checkbox-label input {
    width: auto;
}

.saving {
    pointer-events: none;
    opacity: 0.7;
}

.mobile-toggle {
    font-size: 26px;
}

.content-manager textarea {
    box-sizing: border-box;
}

.admin-title-row form {
    margin: 0;
}

.admin-title-row .admin-actions {
    margin: 0;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 24px 0;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

.company-info-item {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-width: 0;
}

.company-info dt {
    color: #aaa;
}

.company-info dd {
    margin: 0;
    color: #ddd;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .company-info {
        flex-direction: column;
        gap: 8px;
    }
}

.seo-settings-form {
    max-width: 860px;
    margin: 24px 0 48px;
    padding: 28px;
    border: 1px solid #dedbd5;
    border-radius: 16px;
    background: #ffffff;
}

.seo-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.seo-field label {
    display: block;
    font-weight: 600;
    line-height: 1.6;
}

.seo-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d4d1cb;
    border-radius: 8px;
    background: #faf9f6;
    color: #171717;
    font: inherit;
    line-height: 1.7;
    resize: vertical;
}

.seo-field textarea:focus-visible {
    outline: 2px solid #e84131;
    outline-offset: 2px;
}

.seo-settings-form .note {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.seo-settings-form .admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 600px) {
    .seo-settings-form {
        padding: 18px;
    }
}

.hero[data-carousel] {
    touch-action: pan-y pinch-zoom;
}

.slide-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.slide-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff80;
    background: #111111a6;
    color: white;
    font-size: 25px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 600px) {
    [data-carousel] .hero-bottom > span:first-child {
        display: none;
    }
}
