:root {
    /* Sıcak Bakery/Cafe Renk Paleti */
    --bg-main: #E2D7C8;
    --bg-soft: #EDE7E0;
    --panel: #F8F2EA;
    --line: #C9B8A3;
    --text: #5C3627;
    --muted: #8B6F47;
    --primary: #C07D63;
    --primary-strong: #B86B50;
    --secondary: #E4B39F;
    --logo-bg: #D9CCB9;
    --copper: #A86A50;
    /* Eski değişkenler uyumluluk için */
    --gold: #C07D63;
    --gold-strong: #B86B50;
    --success: #5FB970;
    --danger: #C85A5A;
    --radius: 16px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}



* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
    background-size: cover;
}

html.preload-theme-dark {
    background: #1b1510;
}

html.preload-theme-dark body {
    background: #1b1510;
    color: #f2e7d8;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 10% 5%, rgba(192, 125, 99, 0.08), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(228, 179, 159, 0.06), transparent 35%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-main) 100%);
    font-family: "Urbanist", sans-serif;
    min-height: 100vh;
}

body[data-page="menu"] {
    position: relative;
    isolation: isolate;
    background: transparent;
}

body[data-page="menu"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 5%, rgba(192, 125, 99, 0.08), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(228, 179, 159, 0.06), transparent 35%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-main) 100%);
    background-attachment: fixed;
}

main {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
    font-family: "Cormorant Garamond", serif;
    margin: 0;
    color: #5C3627;
}

p {
    color: var(--muted);
    line-height: 1.75;
}

a {
    color: inherit;
}

.site-shell {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(214, 200, 182, 0.3);
    background: rgba(240, 234, 227, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(92, 54, 39, 0.08);
}

/* Homepage Hero Specific - Transparent Header */
body[data-transparent-header="true"] .topbar:not(.is-compact) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

/* Offset for pages with fixed header to prevent overlap */
body:not([data-transparent-header="true"]) {
    padding-top: 140px; /* Standard header height */
}

@media (max-width: 1024px) {
    body:not([data-transparent-header="true"]) {
        padding-top: 180px; /* Mobile header height */
    }
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        ". brand lang"
        ". nav .";
    align-items: center;
    gap: 12px 20px;
    padding: 12px 0 14px;
    transition: padding 0.35s ease, gap 0.35s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    grid-area: brand;
    justify-self: center;
}

.brand img {
    width: 210px;
    height: auto;
    object-fit: contain;
    transition: width 0.35s ease;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    grid-area: lang;
    justify-self: end;
}

.lang-switch button {
    border: 0;
    color: var(--muted);
    background: transparent;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
}

.lang-switch button.is-active {
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
}

.header-tools {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    grid-area: lang;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--muted);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.theme-toggle-label {
    display: none;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    color: var(--copper);
}

.theme-toggle.is-active {
    background: linear-gradient(145deg, #3f3128 0%, #2b211b 100%);
    color: #f8eadc;
    border-color: rgba(255, 255, 255, 0.12);
}

.theme-toggle-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    grid-area: nav;
    justify-self: center;
    text-align: center;
    position: relative;
    transition: gap 0.35s ease;
}

.nav-menu-flyout {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 520px;
    max-height: min(72vh, 600px);
    overflow-y: auto;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-xl);
    padding: 16px;
    box-shadow: 0 32px 80px rgba(92, 54, 39, 0.22);
    z-index: 200;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.nav-menu-flyout.is-open {
    display: grid;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.flyout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(192, 125, 99, 0.08);
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: left;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
}

.flyout-item img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: transform 0.3s ease;
}

.flyout-item:hover {
    background: rgba(192, 125, 99, 0.12);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(192, 125, 99, 0.08);
}

.flyout-item:hover img {
    transform: scale(1.08);
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 2px;
    transition: color 0.22s ease, font-size 0.35s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--copper));
    transform: translateX(-50%);
    transition: width 0.22s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--copper);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    width: 100%;
}

body[data-transparent-header="true"] .topbar:not(.is-compact) .nav-links a {
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body[data-transparent-header="true"] .topbar:not(.is-compact) .brand img {
    filter: brightness(0) invert(1);
}

body[data-transparent-header="true"] .topbar:not(.is-compact) .theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

body[data-transparent-header="true"] .topbar:not(.is-compact) .lang-switch {
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-transparent-header="true"] .topbar:not(.is-compact) .lang-switch button {
    color: rgba(255, 255, 255, 0.8);
}

.topbar.is-compact {
    background: rgba(240, 234, 227, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(214, 200, 182, 0.3);
    box-shadow: 0 10px 30px rgba(92, 54, 39, 0.12);
}

.topbar.is-compact .topbar-inner {
    gap: 8px 16px;
    padding: 8px 0 10px;
}

.topbar.is-compact .brand img {
    width: 164px;
}

.topbar.is-compact .nav-links {
    gap: 14px;
}

.topbar.is-compact .nav-links a {
    font-size: 0.86rem;
}

.topbar.is-compact .lang-switch button {
    padding: 5px 10px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 600px; /* Fallback for very small screens/landscapes */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    position: absolute;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-grid > * {
    pointer-events: auto;
}

.hero-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.1) 20%, 
        transparent 40%, 
        transparent 70%, 
        rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1410;
}

.hero-slider:hover {
    box-shadow: none;
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    color: #FFFFFF;
    font-weight: 800;
    max-width: 28ch;
    margin: 0 auto 16px;
    letter-spacing: -0.03em;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.2);
    font-family: "Cormorant Garamond", serif;
    text-transform: uppercase;
    word-spacing: 0.1em;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.98);
    max-width: 70ch;
    margin: 0 auto;
    letter-spacing: 0.4px;
    font-weight: 600;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
    justify-content: center;
}

/* Base Button Styles - Solid & Accessible */
.btn-main,
.btn-ghost,
.btn-line,
.btn-danger-line,
.tag-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(192, 125, 99, 0.2);
}

.btn-main:hover {
    transform: translateY(-3px);
    background: var(--primary-strong);
    box-shadow: 0 12px 28px rgba(192, 125, 99, 0.3);
}

.btn-ghost {
    background: rgba(192, 125, 99, 0.08);
    color: var(--primary-strong);
    border: 1px solid var(--secondary);
}

.btn-ghost:hover {
    background: rgba(192, 125, 99, 0.15);
    transform: translateY(-3px);
}

/* Hero Specific Glassy Buttons */
.hero .btn-main {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 14px 36px;
}

.hero .btn-main:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.hero .btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    padding: 14px 36px;
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-media {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(192, 125, 99, 0.12);
    background: var(--logo-bg);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.section {
    padding: 80px 0;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head .btn-ghost {
    background: var(--primary);
    border: none;
    color: #FFFFFF;
    padding: 12px 32px;
    font-weight: 700;
    opacity: 1;
    backdrop-filter: none;
}

.section-head .btn-ghost:hover {
    background: var(--primary-strong);
    box-shadow: 0 8px 20px rgba(192, 125, 99, 0.3);
}

.section-head--center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-head--center h1,
.section-head--center h2 {
    margin: 0;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.015em;
    font-weight: 700;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.menu-grid.is-filtering {
    opacity: 0.7;
    transform: translateY(2px);
}

#menuGrid {
    min-height: clamp(560px, 64vh, 920px);
}

.menu-category-heading {
    grid-column: 1 / -1;
    margin: 12px 0 4px;
    padding: 6px 0 4px 12px;
    border-left: 4px solid rgba(192, 125, 99, 0.8);
    background: transparent;
    color: var(--text);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.menu-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    box-shadow: 0 4px 12px rgba(192, 125, 99, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-card:hover,
.menu-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(192, 125, 99, 0.16);
    border-color: var(--primary);
    outline: none;
}

.menu-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.menu-card-body p {
    margin: 0 0 14px;
    font-size: 0.95rem;
}

.menu-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.menu-card-price {
    color: var(--primary);
    font-size: 1.04rem;
    font-weight: 700;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.menu-category-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 10px rgba(92, 54, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-category-card:hover,
.menu-category-card.is-active {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(92, 54, 39, 0.12);
}

.menu-category-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.menu-category-card span {
    display: block;
    padding: 10px 12px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
}

.menu-back-actions {
    justify-content: flex-end;
    margin-bottom: 14px;
}

.chips button {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.chips button:hover {
    background: rgba(192, 125, 99, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.chips button.is-active {
    background: rgba(192, 125, 99, 0.08);
    border-color: var(--primary);
    color: var(--primary-strong);
    box-shadow: inset 0 0 0 1px rgba(192, 125, 99, 0.18);
}
.chips button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #C07D63 0%, #B86B50 100%);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(192, 125, 99, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    z-index: 95;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(192, 125, 99, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.story-panel,
.contact-panel,
.channels-panel,
.social-panel,
.map-card,
.admin-card,
.qr-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(92, 54, 39, 0.08);
}

.admin-login-card {
    max-width: 460px;
    margin: 40px auto;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
    padding: 40px;
}

.admin-login-head h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
}

.admin-login-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-login-layout label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--muted);
}

.admin-login-layout input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: inherit;
    transition: all 0.2s ease;
}

.admin-login-layout input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 125, 99, 0.1);
}

.admin-login-error {
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
    padding: 10px;
    background: rgba(200, 90, 90, 0.05);
    border-radius: 8px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.admin-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 180px;
    border: 1.5px dashed #d4c4b0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffdfb 0%, #f7f1e8 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    text-align: center;
    padding: 16px;
    transition: 0.25s ease;
}

.admin-dropzone:hover,
.admin-dropzone.is-dragover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(192, 125, 99, 0.08) 0%, rgba(228, 179, 159, 0.14) 100%);
    transform: translateY(-1px);
}

.admin-dropzone-copy {
    display: grid;
    gap: 4px;
    color: var(--muted);
    pointer-events: none;
}

.admin-dropzone-copy strong {
    font-family: "Cormorant Garamond", serif;
    color: var(--text);
    font-size: 1.35rem;
}

.admin-dropzone-copy span {
    font-size: 0.95rem;
}

.admin-image-preview {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.admin-dropzone.has-file .admin-dropzone-copy {
    display: none;
}

.social-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.social-wrap--featured {
    gap: 24px;
    align-items: start;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.social-head {
    margin-bottom: 18px;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.social-feed-grid.is-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.social-feed-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 4);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
}

.social-feed-track {
    scrollbar-color: rgba(139, 111, 71, 0.38) transparent;
}

.social-feed-track::-webkit-scrollbar {
    height: 6px;
}

.social-feed-track::-webkit-scrollbar-track {
    background: transparent;
}

.social-feed-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(139, 111, 71, 0.28);
    border: 1px solid transparent;
    background-clip: content-box;
}

.social-feed-track .social-feed-card {
    scroll-snap-align: start;
}

.social-feed-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d9c6b2;
    background: linear-gradient(145deg, #fffaf4 0%, #f3e4d6 100%);
    color: #6b3f2d;
    font-size: 1.45rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(92, 54, 39, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-feed-nav:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    box-shadow: 0 14px 24px rgba(92, 54, 39, 0.2);
}

.social-feed-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 6;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(224, 208, 192, 0.4);
    box-shadow: 0 16px 40px rgba(92, 54, 39, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease, filter 0.32s ease;
}

.social-feed-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 24px 56px rgba(92, 54, 39, 0.25), 0 8px 16px rgba(0, 0, 0, 0.12);
    filter: brightness(1.05);
}

.social-feed-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-feed-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.social-feed-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(6px);
}

.social-feed-card--tiktok .social-feed-badge {
    background: rgba(20, 20, 20, 0.62);
}

.social-feed-card--instagram .social-feed-badge {
    background: rgba(193, 53, 132, 0.66);
}

.social-feed-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #2d1a0f;
    font-size: 1rem;
    font-weight: 700;
}

.admin-social-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.admin-social-item {
    display: grid;
    grid-template-columns: 34px 72px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(192, 125, 99, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
}

.admin-social-drag {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: grab;
    font-size: 1.1rem;
    line-height: 1;
    padding: 4px;
}

.admin-social-item.dragging {
    opacity: 0.8;
}

.admin-social-item.drop-before {
    border-top: 2px solid var(--primary);
}

.admin-social-item.drop-after {
    border-bottom: 2px solid var(--primary);
}

.admin-social-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.admin-social-meta {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-social-meta strong {
    color: var(--text);
}

.admin-social-meta a {
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-social-meta a:hover {
    color: var(--primary);
}

.admin-category-item .admin-social-meta span {
    color: var(--muted);
    font-size: 0.85rem;
}

.social-post {
    background: linear-gradient(135deg, #ffffff 0%, #faf7f2 100%);
    border: 1px solid #e0d0c0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(92, 54, 39, 0.08), 0 4px 8px rgba(192, 125, 99, 0.06);
    transition: all 0.35s ease;
}

.social-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(92, 54, 39, 0.12), 0 6px 12px rgba(192, 125, 99, 0.08);
    border-color: #d4c4b0;
}

.social-post h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.social-post a {
    color: var(--primary-strong);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
    margin-top: 4px;
}

.social-post a:hover {
    color: var(--copper);
    background: rgba(192, 125, 99, 0.08);
    transform: translateX(2px);
}

.social-embed {
    width: 100%;
    min-height: 340px;
    border: 1px solid #e0d0c0;
    border-radius: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #faf7f2 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.social-post--instagram {
    background: linear-gradient(135deg, #ffffff 0%, #faf6f0 100%);
    border: 1px solid #e0d0c0;
}

.social-post--instagram p {
    margin: 10px 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-post--tiktok {
    border-color: #e0d0c0;
    background: linear-gradient(135deg, #fafaf9 0%, #f5f0e8 100%);
}

.social-post--tiktok p {
    display: none;
}

.social-post--tiktok a {
    display: none;
}

.tiktok-cover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.tiktok-cover-card {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e0d0c0;
    background:
        linear-gradient(180deg, rgba(20, 14, 10, 0.05) 0%, rgba(20, 14, 10, 0.2) 100%),
        linear-gradient(135deg, #ffffff 0%, #faf7f2 100%);
    box-shadow: 0 10px 24px rgba(92, 54, 39, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tiktok-cover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(92, 54, 39, 0.14);
    border-color: var(--primary);
}

.tiktok-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.tiktok-cover-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.18) 100%);
    z-index: 0;
}

.tiktok-cover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.tiktok-cover-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.tiktok-cover-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.tiktok-cover-card:hover .tiktok-cover-play {
    transform: translate(-50%, -50%) scale(1.06);
    background: #ffffff;
    color: var(--primary-strong);
}

.external-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section-order-links {
    padding-top: 12px;
}

.section-head--centered-inline {
    justify-content: center;
    text-align: center;
    margin-bottom: 16px;
}

.external-channels--bottom {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    border: 1.5px solid #d4c4b0;
    border-radius: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    box-shadow: 0 6px 16px rgba(92, 54, 39, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 240px;
    flex: 1;
    max-width: 320px;
}

.channel-card--logo {
    justify-content: center;
    min-height: 88px;
    padding: 16px 20px;
}

.channel-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 52px;
    object-fit: contain;
}

.channel-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(192, 125, 99, 0.05) 0%, rgba(228, 179, 159, 0.08) 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(92, 54, 39, 0.15);
}

.channel-icon {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-content {
    flex: 1;
}

.channel-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px 0;
    font-family: "Cormorant Garamond", serif;
}

.channel-content p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

.channel-arrow {
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.channel-card:hover .channel-arrow {
    transform: translateX(4px);
    color: var(--primary-strong);
}

.channel-card--logo .channel-arrow,
.channel-card--logo .channel-icon,
.channel-card--logo .channel-content {
    display: none;
}

.channel-card--logo:hover .channel-logo {
    transform: scale(1.04);
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1.5px solid #d4c4b0;
    border-radius: 999px;
    padding: 12px 18px;
    color: var(--text);
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(92, 54, 39, 0.06);
}

.channel-link:hover {
    border-color: var(--primary);
    color: var(--primary-strong);
    background: linear-gradient(135deg, rgba(192, 125, 99, 0.08) 0%, rgba(228, 179, 159, 0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(92, 54, 39, 0.12);
}

.channel-dot {
    display: none;
}

.qr-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: center;
}

.qr-card img {
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px;
}

.qr-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--gold);
    overflow-wrap: anywhere;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 16px;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-card {
    width: min(500px, 100%);
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 20px;
}

.modal-product-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    margin: 8px 0 10px;
    background: #f9f6f1;
}

.allergen-warning {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(192, 125, 99, 0.35);
    background: rgba(228, 179, 159, 0.22);
    color: #7b3f2b;
    font-weight: 600;
    line-height: 1.45;
}

.modal-card ul {
    margin: 10px 0 16px;
    padding-left: 20px;
}

.modal-close {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    padding: 8px 16px;
    cursor: pointer;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 0.84rem;
    color: var(--muted);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    padding: 10px 12px;
    font-family: "Urbanist", sans-serif;
}

select option,
select optgroup {
    background: #ffffff;
    color: #2b1a13;
}

textarea {
    min-height: 95px;
    resize: vertical;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 12px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.admin-login-card {
    padding: 26px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 4% 8%, rgba(192, 125, 99, 0.12), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #faf4ec 100%);
}

.admin-login-head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-login-badge {
    width: fit-content;
    border: 1px solid rgba(192, 125, 99, 0.35);
    border-radius: 999px;
    background: rgba(192, 125, 99, 0.12);
    color: var(--primary-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 11px;
}

.admin-login-head h2 {
    margin: 0;
}

.admin-login-head p {
    margin: 0;
}

.admin-login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.admin-login-side {
    grid-column: 1 / -1;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(192, 125, 99, 0.22);
    background: rgba(255, 255, 255, 0.72);
}

.admin-login-side h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.admin-login-points {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.admin-login-points li {
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.92rem;
}

.admin-table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid rgba(217, 180, 106, 0.15);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--gold);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.admin-actions .btn-line,
.admin-actions .btn-danger-line {
    transition: background-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.18s ease,
        box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

    .admin-actions .btn-gear {
        width: 40px;
        min-width: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        line-height: 1;
    }

    .modal-card--edit {
        width: min(860px, 100%);
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .admin-edit-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .admin-edit-head h3 {
        margin: 0;
    }

    .admin-edit-form {
        display: grid;
        gap: 12px;
    }

    .admin-edit-image-block {
        display: grid;
        gap: 8px;
    }

    .admin-edit-image-block .admin-image-preview {
        max-height: 210px;
        background: #f6f1ea;
    }

.admin-actions .btn-line:hover,
.admin-actions .btn-danger-line:hover {
    transform: translateY(-1px);
}

.admin-actions .btn-line:active,
.admin-actions .btn-danger-line:active {
    transform: translateY(0);
}

.admin-actions .btn-line:focus-visible,
.admin-actions .btn-danger-line:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 125, 99, 0.22);
}

.btn-line {
    border-color: rgba(217, 180, 106, 0.4);
    background: transparent;
    color: var(--gold);
}

.btn-line:hover {
    border-color: var(--gold);
    background: rgba(192, 125, 99, 0.08);
    box-shadow: 0 8px 18px rgba(92, 54, 39, 0.12);
}

.btn-danger-line {
    border-color: rgba(200, 90, 90, 0.5);
    background: transparent;
    color: #e68b8b;
}

.btn-danger-line:hover {
    border-color: #d96d6d;
    background: rgba(200, 90, 90, 0.12);
    box-shadow: 0 8px 18px rgba(200, 90, 90, 0.15);
}

.tag-btn {
    padding: 6px 12px;
    border-color: rgba(217, 180, 106, 0.35);
    background: rgba(217, 180, 106, 0.08);
    color: #f2deba;
}

.admin-price-input {
    max-width: 110px;
}

.inline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-actions--end {
    align-items: end;
    justify-content: flex-end;
}

.admin-hint {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
}

.bestseller-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffdfb;
    width: fit-content;
}

.bestseller-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin: 0;
}

.admin-toolbar {
    margin-bottom: 12px;
}

.admin-bulk-tools {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(192, 125, 99, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 241, 233, 0.82));
    box-shadow: 0 10px 22px rgba(92, 54, 39, 0.06);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-bulk-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-bulk-head h3 {
    font-size: 1.3rem;
}

.admin-bulk-count {
    color: var(--primary-strong);
    font-weight: 700;
    font-size: 0.9rem;
}

.admin-bulk-row {
    align-items: end;
}

.admin-bulk-actions {
    min-width: 220px;
}

.admin-bulk-preview {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(192, 125, 99, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: var(--copper);
    font-weight: 600;
}

.selection-cell {
    width: 56px;
}

.drag-handle-cell {
    width: 52px;
    cursor: grab;
    color: var(--muted);
    user-select: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.drag-handle-cell:active {
    cursor: grabbing;
    transform: scale(0.97);
}

.sortable-row {
    transition: opacity 0.2s ease;
}

#adminProductTable.is-dragging .sortable-row:not(.dragging) {
    opacity: 0.92;
}

.sortable-row.dragging {
    opacity: 0.84;
}

.sortable-row.dragging td {
    background: rgba(192, 125, 99, 0.12);
}

.sortable-row.drop-before td {
    border-top: 2px solid var(--primary);
    background: linear-gradient(90deg, rgba(192, 125, 99, 0.11), rgba(192, 125, 99, 0.03));
}

.sortable-row.drop-after td {
    border-bottom: 2px solid var(--primary);
    background: linear-gradient(90deg, rgba(192, 125, 99, 0.03), rgba(192, 125, 99, 0.11));
}

.sortable-row.is-just-added td {
    animation: adminRowAddedPulse 1.8s ease;
    background: linear-gradient(90deg, rgba(182, 138, 84, 0.28), rgba(255, 246, 212, 0.48));
}

@keyframes adminRowAddedPulse {
    0% {
        box-shadow: inset 0 0 0 2px rgba(182, 138, 84, 0.5);
        transform: translateY(-1px);
    }
    60% {
        box-shadow: inset 0 0 0 1px rgba(182, 138, 84, 0.18);
    }
    100% {
        box-shadow: inset 0 0 0 0 rgba(182, 138, 84, 0);
        transform: translateY(0);
    }
}

.table-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.switch-toggle {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #dbcab5;
    transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s ease;
}

.switch-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease;
}

.switch-toggle input:checked + .switch-slider {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 125, 99, 0.18);
}

.switch-toggle input:checked + .switch-slider::before {
    transform: translateX(20px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

.switch-toggle input:focus-visible + .switch-slider {
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 125, 99, 0.26);
}

.switch-toggle:active .switch-slider::before {
    transform: translateX(1px) scale(0.97);
}

.switch-toggle input:checked:active + .switch-slider::before {
    transform: translateX(19px) scale(0.97);
}

.hidden {
    display: none !important;
}

.admin-login-error {
    color: #f3a7a7;
    margin: 2px 0 0;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #2b2218;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    color: #f2e2c5;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.25s ease;
    pointer-events: none;
}

.toast.toast--action {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, 92vw);
    pointer-events: auto;
}

.toast-action-btn {
    border: 1px solid rgba(242, 226, 197, 0.32);
    background: rgba(255, 255, 255, 0.06);
    color: #f2e2c5;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.toast-action-btn:hover {
    border-color: rgba(242, 226, 197, 0.52);
    background: rgba(255, 255, 255, 0.14);
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    flex-shrink: 0;
    margin-top: 72px;
    border-top: 1px solid rgba(192, 125, 99, 0.34);
    padding: 58px 0 34px;
    background:
        radial-gradient(circle at top left, rgba(192, 125, 99, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(228, 179, 159, 0.08), transparent 28%),
        linear-gradient(180deg, #231610 0%, #1b100c 100%);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.85fr) minmax(220px, 1fr);
    gap: 32px;
    width: 100%;
    align-items: start;
}

.footer-brand-block,
.footer-links-block {
    display: grid;
    gap: 8px;
}

.footer-brand-block {
    max-width: 420px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
}

.footer-brand img {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.footer-brand-block > p {
    margin: 0;
    color: rgba(255, 248, 240, 0.86);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact-lines {
    display: grid;
    gap: 6px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    width: fit-content;
    color: rgba(255, 248, 240, 0.9);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.65;
    transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.footer-contact-link:hover {
    color: #f8c28f;
    transform: translateX(2px);
}

.footer-contact-link strong {
    color: #ffd9bd;
    font-weight: 700;
}

.footer-contact-lines p {
    margin: 0;
    color: rgba(255, 248, 240, 0.88);
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-links-block h3 {
    margin: 0 0 6px;
    color: #f0c897;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-links-block > a,
.footer-social-links a {
    color: rgba(255, 248, 240, 0.9);
    text-decoration: none;
    font-size: 0.96rem;
    line-height: 1.7;
    width: fit-content;
    transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.footer-links-block > a:hover,
.footer-social-links a:hover {
    color: #f8c28f;
    transform: translateX(2px);
}

.footer-social-links {
    display: grid;
    gap: 8px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0.72;
    transition: opacity 0.22s ease, color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.footer-bottom .footer-settings {
    margin: 0;
}

.footer-settings:hover {
    opacity: 1;
    color: var(--copper);
    border-color: rgba(192, 125, 99, 0.24);
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.footer-settings-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.footer-credit {
    margin: 0;
    font-size: 0.73rem;
    color: rgba(255, 248, 240, 0.52);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.footer-credit-name {
    display: inline-block;
    margin-left: 4px;
    color: rgba(255, 248, 240, 0.72);
    opacity: 1;
    font-weight: 700;
    transition: color 0.18s ease, opacity 0.18s ease;
    cursor: pointer;
}

.footer-credit-name:hover {
    color: #c89266;
    opacity: 1;
    cursor: pointer;
}

.footer-logos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.footer-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-logos a:hover {
    transform: translateY(-2px);
    border-color: rgba(107, 183, 255, 0.5);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}

.footer-logos img {
    display: block;
    width: auto;
    max-height: 32px;
    max-width: 140px;
    object-fit: contain;
}

.footer-logos a:first-child img {
    max-height: 30px;
}

.footer-logos a:last-child img {
    max-height: 30px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-bottom > p {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(255, 248, 240, 0.78);
}

.footer-bottom .footer-credit {
    margin-left: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.8s ease forwards;
}

.reveal.delay-1 {
    animation-delay: 0.12s;
}

.reveal.delay-2 {
    animation-delay: 0.2s;
}

.reveal.delay-3 {
    animation-delay: 0.28s;
}

.reveal.delay-4 {
    animation-delay: 0.36s;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0 60px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-hero-content {
    line-height: 1.9;
}

.about-hero-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(92, 54, 39, 0.12);
    cursor: zoom-in;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-hero-image:hover,
.about-hero-image:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(92, 54, 39, 0.16);
    border-color: var(--primary);
    outline: none;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-intro {
    padding: 40px 0;
}

.about-intro-text {
    max-width: 85ch;
}

.about-sections {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
}

.about-section:last-of-type {
    margin-bottom: 0;
}

.about-closing {
    margin-top: 32px;
}

.about-lightbox {
    z-index: 260;
    background: rgba(0, 0, 0, 0.78);
    padding: 18px;
}

.about-lightbox-frame {
    width: min(1100px, 100%);
    display: grid;
    gap: 12px;
    justify-items: center;
}

.about-lightbox-image {
    width: 100%;
    max-height: min(84vh, 900px);
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
    background: rgba(0, 0, 0, 0.22);
}

.about-lightbox-close {
    background: rgba(255, 255, 255, 0.96);
    color: #5c3627;
    border-color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    min-width: 108px;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
        opacity: 0.85;
    }

@media (max-width: 1024px) {
    .hero-grid,
    .contact-grid,
    .split,
    .admin-login-layout,
    .social-wrap,
    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .tiktok-cover-grid {
        gap: 16px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .social-feed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .social-feed-track {
        grid-auto-columns: calc((100% - 32px) / 3);
    }

    .qr-card {
        grid-template-columns: 1fr;
    }

    .tiktok-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .nav-menu-flyout {
        display: none !important;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .social-feed-grid.is-carousel {
        grid-template-columns: minmax(0, 1fr);
    }

    .social-feed-track {
        grid-auto-columns: calc((100% - 12px) / 2);
        gap: 12px;
    }

    .social-feed-nav {
        display: none;
    }

    .topbar-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "nav"
            "lang";
        justify-items: center;
        gap: 10px;
    }

    .header-tools {
        justify-self: center;
    }

    .brand img {
        width: 150px;
    }

    .topbar.is-compact .brand img {
        width: 132px;
    }

    .topbar.is-compact .nav-links a {
        font-size: 0.82rem;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.8rem);
    }

    .hero-media img {
        min-height: 260px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tiktok-grid {
        grid-template-columns: 1fr;
    }

    .channel-card {
        min-width: auto;
        max-width: 100%;
    }

    .tiktok-cover-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-brand-block {
        max-width: none;
        justify-items: center;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links-block {
        justify-items: center;
        text-align: center;
    }

    .footer-logos {
        margin-left: 0;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom .footer-credit {
        margin-left: 0;
    }

    .admin-social-item {
        grid-template-columns: 28px 58px 1fr;
    }

    .admin-social-item .btn-danger-line {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .admin-social-thumb {
        width: 58px;
        height: 58px;
    }

    .modal-card--edit {
        max-height: calc(100vh - 24px);
        padding: 14px;
    }

    .admin-edit-head {
        align-items: flex-start;
    }
}

body.theme-dark {
    --bg-main: #120e0b;
    --bg-soft: #17120f;
    --panel: #1f1915;
    --line: #433429;
    --text: #f4e7d8;
    --muted: #c9ae90;
    --primary: #d89a68;
    --primary-strong: #e4af7e;
    --secondary: #8f6247;
    --logo-bg: #2a2019;
    --copper: #e1a66d;
    --gold: #d89a68;
    --gold-strong: #e4af7e;
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
    background:
        radial-gradient(circle at 10% 5%, rgba(216, 154, 104, 0.12), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(143, 98, 71, 0.10), transparent 35%),
        linear-gradient(180deg, #17120f 0%, #120e0b 100%);
    color: var(--text);
}

body.theme-dark[data-page="menu"] {
    background: transparent;
}

body.theme-dark[data-page="menu"]::before {
    background:
        radial-gradient(circle at 10% 5%, rgba(216, 154, 104, 0.12), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(143, 98, 71, 0.10), transparent 35%),
        linear-gradient(180deg, #17120f 0%, #120e0b 100%);
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .section-head h1,
body.theme-dark .section-head h2,
body.theme-dark .admin-card h2,
body.theme-dark .modal-card h3 {
    color: #fff1e2;
}

body.theme-dark p,
body.theme-dark .admin-hint,
body.theme-dark .footer-inner,
body.theme-dark .section-head p,
body.theme-dark .menu-card p,
body.theme-dark .social-post p,
body.theme-dark .contact-card p,
body.theme-dark .story-card p {
    color: var(--muted);
}

body.theme-dark .topbar {
    background: rgba(31, 25, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(216, 154, 104, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-dark .lang-switch,
body.theme-dark .theme-toggle,
body.theme-dark .footer-settings,
body.theme-dark .footer-logos a,
body.theme-dark input,
body.theme-dark textarea,
body.theme-dark select,
body.theme-dark .modal-close,
body.theme-dark .btn-ghost,
body.theme-dark .btn-line,
body.theme-dark .btn-danger-line,
body.theme-dark .tag-btn,
body.theme-dark .table-check span {
    border-color: rgba(216, 154, 104, 0.20);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

body.theme-dark select option,
body.theme-dark select optgroup {
    background: #221a14;
    color: #f3e6d7;
}

body.theme-dark .lang-switch button,
body.theme-dark .theme-toggle,
body.theme-dark .btn-ghost,
body.theme-dark .btn-line,
body.theme-dark .btn-danger-line,
body.theme-dark .modal-close,
body.theme-dark .footer-settings {
    color: var(--muted);
}

body.theme-dark .lang-switch button.is-active,
body.theme-dark .theme-toggle.is-active,
body.theme-dark .btn-main {
    background: linear-gradient(145deg, #d89a68 0%, #ba7447 100%);
    color: #1d120b;
    border-color: transparent;
}

body.theme-dark .hero-actions .btn-main,
body.theme-dark .hero-actions .btn-ghost {
    background: linear-gradient(145deg, rgba(216, 154, 104, 0.96), rgba(186, 116, 71, 0.96));
    color: #1d120b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.theme-dark .hero-actions .btn-main:hover,
body.theme-dark .hero-actions .btn-ghost:hover {
    background: linear-gradient(145deg, #e1ac7c 0%, #c27a4b 100%);
    color: #1d120b;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.theme-dark .menu-card,
body.theme-dark .story-panel,
body.theme-dark .contact-panel,
body.theme-dark .channels-panel,
body.theme-dark .social-panel,
body.theme-dark .map-card,
body.theme-dark .social-post,
body.theme-dark .contact-card,
body.theme-dark .story-card,
body.theme-dark .channel-card,
body.theme-dark .admin-card,
body.theme-dark .modal-card,
body.theme-dark .hero-media,
body.theme-dark .admin-bulk-tools,
body.theme-dark .admin-dropzone,
body.theme-dark .admin-social-item {
    background: linear-gradient(180deg, rgba(31, 25, 20, 0.98), rgba(25, 20, 16, 0.98));
    border-color: rgba(216, 154, 104, 0.16);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

body.theme-dark .menu-category-heading {
    background: linear-gradient(90deg, rgba(216, 154, 104, 0.2) 0%, rgba(216, 154, 104, 0.06) 100%);
    border-left-color: var(--gold);
    color: #fff1e2;
}

body.theme-dark #menuGrid {
    min-height: clamp(620px, 68vh, 960px);
}

body.theme-dark .admin-login-card {
    background:
        radial-gradient(circle at 4% 8%, rgba(216, 154, 104, 0.13), transparent 34%),
        linear-gradient(160deg, rgba(31, 25, 20, 0.98) 0%, rgba(23, 18, 14, 0.98) 100%);
}

body.theme-dark .admin-login-badge {
    border-color: rgba(216, 154, 104, 0.35);
    background: rgba(216, 154, 104, 0.12);
    color: #f8d2aa;
}

body.theme-dark .admin-login-side {
    border-color: rgba(216, 154, 104, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .menu-card-image,
body.theme-dark .modal-product-image,
body.theme-dark .admin-image-preview,
body.theme-dark .gallery-image {
    border-color: rgba(216, 154, 104, 0.14);
    background: rgba(0, 0, 0, 0.2) !important;
}

body.theme-dark .contact-panel hr {
    border-color: rgba(216, 154, 104, 0.22) !important;
}

body.theme-dark .map-card iframe {
    filter: invert(0.9) hue-rotate(180deg) saturate(0.75) contrast(0.92) brightness(0.88);
}

body.theme-dark .bestseller-row {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(216, 154, 104, 0.24);
}

body.theme-dark .admin-bulk-tools {
    background: linear-gradient(180deg, rgba(35, 28, 22, 0.98), rgba(24, 19, 15, 0.98));
}

body.theme-dark .admin-bulk-preview {
    background: rgba(255, 255, 255, 0.04);
    color: #f0c897;
    border-color: rgba(216, 154, 104, 0.26);
}

body.theme-dark .sortable-row.dragging td {
    background: rgba(216, 154, 104, 0.18);
}

body.theme-dark .sortable-row.drop-before td,
body.theme-dark .sortable-row.drop-after td {
    background: rgba(216, 154, 104, 0.08);
}

body.theme-dark .sortable-row.is-just-added td {
    background: linear-gradient(90deg, rgba(216, 154, 104, 0.26), rgba(216, 154, 104, 0.12));
}

body.theme-dark .topbar.is-compact {
    background: linear-gradient(180deg, rgba(27, 21, 16, 0.98) 0%, rgba(20, 16, 12, 0.98) 100%);
}

body.theme-dark .footer {
    background:
        radial-gradient(circle at top left, rgba(192, 125, 99, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(228, 179, 159, 0.08), transparent 30%),
        linear-gradient(180deg, #22140f 0%, #160d0a 100%);
    border-top-color: rgba(255, 205, 169, 0.22);
}

body.theme-dark .footer-links-block h3 {
    color: #f4c79b;
}

body.theme-dark .footer-brand-block > p,
body.theme-dark .footer-contact-lines p,
body.theme-dark .footer-bottom > p,
body.theme-dark .footer-credit {
    color: rgba(255, 243, 234, 0.78);
}

body.theme-dark .footer-credit {
    color: rgba(255, 243, 234, 0.5);
}

body.theme-dark .footer-logos a:hover,
body.theme-dark .footer-settings:hover {
    border-color: rgba(125, 193, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

body.theme-dark .social-feed-card {
    border-color: rgba(216, 154, 104, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.theme-dark .social-feed-card::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.46) 100%);
}

body.theme-dark .social-feed-nav {
    border-color: rgba(216, 154, 104, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(244, 231, 216, 0.72);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    opacity: 0.7;
}

body.theme-dark .social-feed-nav:hover {
    border-color: rgba(216, 154, 104, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #f4e7d8;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
    opacity: 0.94;
}

body.theme-dark .social-feed-track {
    scrollbar-color: rgba(216, 154, 104, 0.24) transparent;
}

body.theme-dark .social-feed-track::-webkit-scrollbar-thumb {
    background: rgba(216, 154, 104, 0.18);
}

body.theme-dark .menu-card:focus-visible {
    outline: 2px solid rgba(216, 154, 104, 0.74);
    outline-offset: 2px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(216, 154, 104, 0.2);
}

body.theme-dark .social-feed-play {
    background: rgba(255, 255, 255, 0.9);
    color: #1f120a;
}

body.theme-dark .admin-social-meta strong {
    color: #f6eadc;
}

body.theme-dark .admin-social-meta a {
    color: var(--muted);
}

/* Menu Popup Dark Mode */
body.theme-dark .nav-menu-flyout {
    background: rgba(31, 25, 20, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-color: rgba(216, 154, 104, 0.18);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

body.theme-dark .flyout-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(216, 154, 104, 0.1);
    color: #f4e7d8;
}

body.theme-dark .flyout-item:hover {
    background: rgba(216, 154, 104, 0.18);
    border-color: var(--primary);
    color: var(--primary-strong);
}

body.theme-dark .flyout-item img {
    border-color: rgba(216, 154, 104, 0.2);
    background: #1a1410;
}

/* Menu Category Cards Dark Mode */
body.theme-dark .menu-category-card {
    background: linear-gradient(170deg, rgba(31, 25, 20, 0.98), rgba(22, 18, 14, 0.98));
    border-color: rgba(216, 154, 104, 0.16);
    color: #f4e7d8;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

body.theme-dark .menu-category-card:hover,
body.theme-dark .menu-category-card.is-active {
    background: rgba(216, 154, 104, 0.15);
    border-color: var(--primary);
    color: var(--primary-strong);
    box-shadow: 0 16px 32px rgba(216, 154, 104, 0.1);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1410;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay on slides */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.25) 0%, 
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: auto;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.is-active {
    background: var(--primary);
    width: 28px;
}

body.theme-dark .hero-slider {
    border-color: rgba(216, 154, 104, 0.2);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .slider-arrow {
        display: none;
    }
}

/* Button Dark Mode Fixes */
body.theme-dark .btn-main { color: #ffffff; }
body.theme-dark .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); }
body.theme-dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
