/* ── Reset & Variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red:      #C0392B;
    --red-dark: #96281B;
    --black:    #0a0a0a;
    --white:    #ffffff;
    --gray:     #888888;
    --light:    #f9f9f9;
    --font:     'Segoe UI', system-ui, sans-serif;
    --radius:   12px;
    --shadow:   0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:0 8px 48px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; width: 100%; height: 100%; }
body { font-family: var(--font); color: var(--black); background: var(--white); overflow-x: hidden; max-width: 100%; width: 100%; position: relative; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(192, 57, 43, 0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s;
}
.navbar.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
}
.nav-logo img { width: 40px; height: 40px; min-width: 40px; object-fit: contain; flex: 0 0 40px; }
.nav-logo span {
    font-size: 14px; font-weight: 800; color: white;
    letter-spacing: 2px; line-height: 1.2;
}
.nav-logo small { font-size: 9px; letter-spacing: 4px; color: var(--red); }
.nav-links {
    display: flex; gap: 32px;
}
.nav-links a {
    color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.drawer-header,
.drawer-footer {
    display: none;
}
@media (min-width: 769px) {
    .drawer-header, .drawer-footer { display: none !important; }
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
    background: linear-gradient(165deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 100%);
    border: 1px solid rgba(255,255,255,0.22);
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.lang-toggle:hover {
    background: linear-gradient(165deg, rgba(192,57,43,0.95) 0%, rgba(150,40,27,0.98) 100%);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(192,57,43,0.35);
}
.lang-toggle:active { transform: scale(0.98); }

/* Drawer language switcher (mobile menu) */
.btn-drawer-lang {
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile drawer: account shortcuts (Twitter-style sheet) */
.drawer-sheet-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
    margin: 0 0 6px 2px;
}
.drawer-sheet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.drawer-sheet-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(192,57,43,0.45);
}
.drawer-sheet-link:active { transform: scale(0.99); }
.drawer-sheet-logout {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(231,76,60,0.45);
    background: transparent;
    color: #ff7a6a;
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.drawer-sheet-logout:hover {
    background: rgba(231,76,60,0.12);
    color: #fff;
}
.drawer-account-sheet {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}
.btn-order {
    background: var(--red); color: white; padding: 8px 12px;
    border-radius: 10px; display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; transition: all 0.2s;
}
.btn-order:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Notification Bell ── */
.notif-bell-wrap {
    position: relative;
}
.notif-bell-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: rgba(255,255,255,0.85);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    position: relative;
}
.notif-bell-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateY(-1px);
}
.notif-bell-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.notif-bell-btn .notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--red);
    color: white;
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(10,10,10,0.9);
    line-height: 1;
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.5);
}
.notif-bell-btn .notif-badge.show {
    transform: scale(1);
}

/* Bell ring animation when there are notifications */
@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    15%  { transform: rotate(12deg); }
    30%  { transform: rotate(-10deg); }
    45%  { transform: rotate(8deg); }
    60%  { transform: rotate(-6deg); }
    75%  { transform: rotate(4deg); }
}
.notif-bell-btn.has-notif svg {
    animation: bellRing 2s ease 0.5s;
}

/* Notification Panel */
.notif-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 360px;
    max-height: 520px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.4);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.notif-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/* little arrow tip */
.notif-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: #111;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: rotate(45deg);
    border-radius: 2px;
}

/* Panel Header */
.notif-panel-header {
    padding: 18px 20px 0;
    flex-shrink: 0;
}
.notif-panel-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.notif-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.02em;
}
.notif-mark-read-btn {
    background: none;
    border: none;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
    font-family: inherit;
    letter-spacing: 0.04em;
}
.notif-mark-read-btn:hover {
    background: rgba(192,57,43,0.15);
}

/* Panel Tabs */
.notif-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 0;
}
.notif-tab {
    flex: 1;
    padding: 7px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.notif-tab.active {
    background: rgba(255,255,255,0.12);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.notif-tab:hover:not(.active) {
    color: rgba(255,255,255,0.8);
}

/* Panel Body */
.notif-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 8px;
}
.notif-panel-body::-webkit-scrollbar {
    width: 4px;
}
.notif-panel-body::-webkit-scrollbar-track { background: transparent; }
.notif-panel-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

/* Tab Sections */
.notif-section {
    display: none;
}
.notif-section.active {
    display: block;
    animation: notifFadeIn 0.25s ease forwards;
}
@keyframes notifFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Notification Items */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}
.notif-item:hover {
    background: rgba(255,255,255,0.06);
}
.notif-item.unread {
    background: rgba(192,57,43,0.07);
}
.notif-item.unread:hover {
    background: rgba(192,57,43,0.12);
}
.notif-item-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(192,57,43,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-top: 1px;
}
.notif-item-icon.green  { background: rgba(39,174,96,0.2); }
.notif-item-icon.blue   { background: rgba(52,152,219,0.2); }
.notif-item-icon.yellow { background: rgba(243,156,18,0.2); }
.notif-item-thumb {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 1px;
}
.notif-item-body {
    flex: 1;
    min-width: 0;
}
.notif-item-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3px;
    line-height: 1.4;
}
.notif-item-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notif-item-time {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.notif-unread-dot {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

/* Empty state */
.notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 10px;
}
.notif-empty-icon { font-size: 36px; opacity: 0.5; }
.notif-empty-text {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    line-height: 1.5;
}

/* Panel Footer */
.notif-panel-footer {
    padding: 10px 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.notif-view-all-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.notif-view-all-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Mobile: notification panel goes full-width on small screens */
@media (max-width: 480px) {
    .notif-panel {
        width: calc(100vw - 32px);
        right: -12px;
    }
}

/* Drawer footer: improved spacing around hr */
@media (max-width: 768px) {
    .drawer-nav-divider {
        height: 1px;
        background: rgba(255,255,255,0.08);
        margin: 18px 24px;
    }
}
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.btn-mobile-back {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.hamburger span {
    display: block; width: 22px; height: 2px; background: white;
    transition: all 0.3s; border-radius: 2px;
}

/* ── Hero ── */
.hero {
    min-height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../images/banner.png') center/cover no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(192,57,43,0.3) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 0 24px;
    max-width: 900px;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(192,57,43,0.2); border: 1px solid rgba(192,57,43,0.4);
    color: white; padding: 8px 20px; border-radius: 30px;
    font-size: 13px; font-weight: 600; margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-title {
    display: flex; flex-direction: column; gap: 4px;
    margin-bottom: 24px;
}
.hero-title .line {
    font-size: clamp(48px, 9vw, 110px);
    font-weight: 900; color: white;
    letter-spacing: -2px; line-height: 0.95;
    text-transform: uppercase;
}
.hero-title .line.red { color: var(--red); }
.hero-sub {
    color: rgba(255,255,255,0.75); font-size: 17px;
    max-width: 560px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary-hero {
    background: var(--red); color: white;
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
    transition: all 0.2s; display: inline-block;
}
.btn-primary-hero:hover {
    background: var(--red-dark); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,57,43,0.4);
}
.btn-secondary-hero {
    background: rgba(255,255,255,0.1); color: white;
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all 0.2s; display: inline-block;
    backdrop-filter: blur(8px);
}
.btn-secondary-hero:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 50px; background: rgba(255,255,255,0.3);
    animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { height: 0; opacity: 0; }
    50%  { height: 50px; opacity: 1; }
    100% { height: 0; opacity: 0; }
}

/* ── Marquee ── */
.marquee {
    background: var(--red); overflow: hidden; padding: 14px 0;
}
.marquee-track {
    display: flex; gap: 48px; width: max-content;
    animation: marquee 20s linear infinite;
}
.marquee-track span {
    color: white; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; background: #fff0f0; color: var(--red);
    padding: 6px 18px; border-radius: 20px; font-size: 12px;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    letter-spacing: -1px;
}

/* ── Features ── */
.features { padding: 100px 0; background: var(--light); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: white; border-radius: var(--radius);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow); transition: all 0.3s;
    border: 1.5px solid #f0f0f0;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 13.5px; color: var(--gray); line-height: 1.7; }

/* ── Featured Menu ── */
.featured-menu { padding: 100px 0; }
.menu-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.menu-loading {
    grid-column: 1/-1; display: flex; justify-content: center; padding: 60px 0;
}
.spinner {
    width: 40px; height: 40px; border: 3px solid #f0f0f0;
    border-top-color: var(--red); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.menu-card {
    display: flex; flex-direction: column; height: 100%;
    background: white; border-radius: var(--radius);
    border: 1.5px solid #f0f0f0; overflow: hidden;
    transition: all 0.3s; box-shadow: var(--shadow);
    min-width: 0;
}
.menu-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.menu-card-img {
    height: 200px; overflow: hidden; position: relative;
    background: #f9f9f9;
}
.menu-card-img img {
    width: 100%; height: 100%; object-fit: contain; padding: 12px;
    transition: transform 0.3s;
}
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-emoji {
    font-size: 64px; display: flex; align-items: center;
    justify-content: center; height: 100%;
}
.sold-out {
    position: absolute; top: 12px; right: 12px;
    background: var(--black); color: white;
    padding: 4px 12px; border-radius: 20px; font-size: 11px;
    font-weight: 700;
}
.menu-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.menu-card-cat {
    font-size: 11px; font-weight: 700; color: var(--red);
    text-transform: uppercase; letter-spacing: 1px;
}
.menu-card-name {
    font-size: 16px; font-weight: 700; margin: 6px 0 8px;
}
.menu-card-desc {
    font-size: 13px; color: var(--gray); line-height: 1.6;
    margin-bottom: 16px; min-height: 40px;
}
.menu-card-footer {
    display: flex; justify-content: space-between; align-items: center; margin-top: auto;
}
.menu-card-price { font-size: 18px; font-weight: 800; color: var(--red); }
.btn-add-cart {
    background: var(--red);
    color: white;
    border: none;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(192,57,43,0.25);
}
.btn-add-cart,
.btn-notify,
.card-counter-btn {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.btn-add-cart span,
.btn-notify span {
    min-width: 0;
    line-height: 1.18;
    text-align: center;
}
.btn-add-cart svg,
.btn-notify svg {
    flex: 0 0 auto;
}
.btn-add-cart:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(192,57,43,0.38);
}

.btn-clear-cart {
    background: transparent;
    color: var(--red);
    border: 1px solid rgba(192, 57, 43, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-clear-cart:hover {
    background: rgba(192, 57, 43, 0.05);
    border-color: var(--red);
    transform: translateY(-1px);
}

/* ── About Snippet ── */
.about-snippet { padding: 100px 0; background: var(--light); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}
.about-text .section-tag { margin-bottom: 14px; }
.about-text h2 {
    font-size: clamp(24px, 3vw, 38px); font-weight: 800;
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.about-text p {
    font-size: 15px; color: var(--gray); line-height: 1.8;
    margin-bottom: 28px;
}
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-box {
    background: white; border-radius: var(--radius);
    padding: 28px 24px; text-align: center;
    box-shadow: var(--shadow); border: 1.5px solid #f0f0f0;
    transition: all 0.3s;
}
.stat-box:hover { border-color: var(--red); transform: translateY(-4px); }
.stat-num {
    font-size: 40px; font-weight: 900; color: var(--red);
    line-height: 1;
}
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; font-weight: 600; }

/* ── CTA ── */
.cta-section { padding: 80px 0; }
.cta-box {
    background: var(--black); border-radius: 20px;
    padding: 64px; text-align: center;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
}
.cta-box h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    color: white; margin-bottom: 16px;
}
.cta-box p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 32px; }

/* ── Footer ── */
.footer { background: var(--black); color: white; padding: 80px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { width: 60px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    font-size: 20px; transition: transform 0.2s; display: block;
}
.social-links a:hover { transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 {
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 10px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0; color: rgba(255,255,255,0.3); font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    /* Navbar Global Reset */
    .navbar { 
        padding: 16px 0; 
        background: rgba(10,10,10,0.92) !important; 
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    .nav-container { padding: 0 20px; position: relative; }
    
    /* Side Drawer (Premium Goated Design) */
    .nav-links {
        position: fixed; top: 0; left: -100%; height: 100dvh;
        width: 85%; max-width: 300px; background: #000;
        flex-direction: column; gap: 0; padding: 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2000;
        box-shadow: 20px 0 50px rgba(0,0,0,0.5);
        display: flex; overflow-y: auto;
    }
    .nav-links.open { left: 0; }
    
    /* User Snippet in Drawer (X-style) */
    .drawer-header {
        display: block;
        padding: 32px 24px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 12px;
    }
    .drawer-profile { display: flex; flex-direction: column; gap: 4px; }
    .drawer-avatar {
        width: 48px; height: 48px; border-radius: 50%;
        background: var(--red); display: flex; align-items: center; justify-content: center;
        font-weight: 800; font-size: 18px; color: white; margin-bottom: 8px;
    }
    .drawer-name { font-size: 16px; font-weight: 800; color: white; }
    .drawer-email { font-size: 13px; color: var(--gray); }
    
    .nav-links li { width: 100%; }
    .nav-links a { 
        padding: 20px 24px; 
        display: flex; align-items: center; gap: 16px;
        font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.9);
        transition: background 0.2s; border: none !important;
    }
    .nav-links a:active { background: rgba(255,255,255,0.05); }
    .nav-links a.active { color: var(--red); background: rgba(192,57,43,0.05); }
    .drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: auto;
        padding: 20px 24px calc(26px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .drawer-footer .drawer-account-sheet {
        gap: 12px;
    }

    .drawer-footer .drawer-account-sheet + .btn-drawer-lang {
        display: none;
    }

    .drawer-footer .drawer-sheet-label {
        margin: 0 0 2px 4px;
    }

    .drawer-footer .drawer-sheet-link {
        padding: 17px 20px;
        border-radius: 16px;
        justify-content: flex-start;
        font-size: 15px;
        line-height: 1.2;
    }

    .drawer-footer .drawer-sheet-logout {
        min-height: 54px;
        margin-top: 4px;
        border-radius: 14px;
        font-size: 13px;
    }

    .drawer-footer .btn-drawer-lang {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 18px;
        margin-bottom: 0;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.14);
        background: linear-gradient(160deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 45%, rgba(0,0,0,0.2) 100%);
        color: rgba(255,255,255,0.96);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        box-shadow:
            0 6px 24px rgba(0,0,0,0.35),
            inset 0 1px 0 rgba(255,255,255,0.12);
        transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .drawer-footer .btn-drawer-lang::before {
        content: '文A';
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0;
        text-transform: none;
        background: rgba(192,57,43,0.35);
        border: 1px solid rgba(192,57,43,0.5);
        color: #fff;
    }
    .drawer-footer .btn-drawer-lang:hover {
        border-color: rgba(192,57,43,0.65);
        box-shadow:
            0 8px 28px rgba(192,57,43,0.22),
            0 6px 24px rgba(0,0,0,0.35),
            inset 0 1px 0 rgba(255,255,255,0.14);
    }
    .drawer-footer .btn-drawer-lang:active {
        transform: scale(0.98);
    }
    
    /* Hamburger, Logo & Actions Rearrangement (Mobile) */
    .navbar.scrolled { padding: 14px 0; }
    .nav-container { padding: 0 20px; }
    
    .hamburger { 
        display: flex; 
        order: -1; 
        width: 32px; height: 32px; 
        align-items: center; justify-content: center;
        margin-right: 12px;
    }
    
    .nav-logo { 
        position: absolute; 
        left: 50%; 
        top: 50%;
        transform: translate(-50%, -50%); 
        z-index: 5;
    }
    .nav-logo img { width: 32px; height: 32px; flex-basis: 32px; }
    .nav-logo span { display: none; }
    
    /* Homepage Specific: Show Logo + Word */
    .nav-logo.logo-full { gap: 6px; }
    .nav-logo.logo-full span { 
        display: block; 
        font-size: 10px; 
        font-weight: 800;
        letter-spacing: 1px;
        line-height: 1.1;
        text-align: left;
    }
    .nav-logo.logo-full small { font-size: 7px; letter-spacing: 2px; }
    
    .nav-actions { 
        margin-left: 0; 
        gap: 12px; 
        z-index: 10;
        flex: 0 0 auto;
    }
    .nav-actions .lang-toggle,
    .nav-actions .auth-buttons,
    .nav-actions .btn-profile {
        display: none !important;
    }
    
    /* Drawer Overlay */
    /* Below .navbar (1000) so the drawer (inside nav) paints above the dimmer */
    .drawer-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.4);
        z-index: 998;
        display: none; opacity: 0; transition: opacity 0.3s;
    }
    .drawer-overlay.active { display: block; opacity: 1; }
    
    /* Mobile Notification Panel */
    .notif-panel {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
    
    /* About Us Mobile Refinements */
    .about-stats {
        gap: 12px;
    }
    .stat-box {
        padding: 16px;
    }
    .stat-num {
        font-size: 28px;
    }
    .stat-label {
        font-size: 10px;
    }

    /* Hero Section */
    .hero-title .line { font-size: clamp(32px, 12vw, 54px); }
    .hero-sub { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary-hero, .btn-secondary-hero { width: 100%; text-align: center; }
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(192,57,43,0.6) 100%);
    }

    /* Grid Layouts */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: 1/-1; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-box { padding: 40px 24px; }
    .order-grid { grid-template-columns: 1fr; gap: 24px; }
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0 4px;
    }
    .menu-card-body { padding: 14px 12px; }
    .menu-card-name { 
        font-size: 14px; 
        margin: 0 0 8px; 
        line-height: 1.3;
        font-weight: 800;
        overflow: hidden; 
        display: -webkit-box; 
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
    }
    .menu-card-desc { display: none; }
    .menu-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: auto;
        min-width: 0;
    }
    .menu-card-price { font-size: 15px; font-weight: 800; }
    .menu-card-footer > [id^="footer-actions-"] {
        display: flex;
        width: 100%;
        min-width: 0;
    }
    .btn-add-cart,
    .btn-notify {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 52px;
        padding: 9px 12px !important;
        font-size: 13px !important;
        font-weight: 800;
        letter-spacing: 0.3px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        border-radius: 999px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }
    .btn-add-cart span,
    .btn-notify span {
        display: block;
    }
    .card-counter-btn {
        width: 100% !important;
        min-height: 52px;
        padding: 8px 12px !important;
        border-radius: 999px !important;
    }
    .menu-card-img { height: 150px; }
    .page-header-content h1 { font-size: clamp(28px, 8vw, 48px); }
    
    /* Cart Toast */
    .cart-toast {
        left: 24px; right: 24px; bottom: 24px;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .menu-grid {
        gap: 12px;
        padding: 0;
    }
    .menu-card-body {
        padding: 12px 10px;
    }
    .menu-card-price {
        font-size: 14px;
    }
    .btn-add-cart,
    .btn-notify {
        min-height: 50px;
        padding: 8px !important;
        font-size: 12px !important;
        gap: 5px !important;
    }
    .btn-add-cart svg,
    .btn-notify svg {
        width: 14px !important;
        height: 14px !important;
    }
    .sold-out,
    .in-stock-badge {
        top: 8px;
        right: 8px;
        padding: 4px 10px;
        font-size: 10px;
    }
}

/* ── WhatsApp Button ── */
.btn-whatsapp {
    background: #25D366; color: white;
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s;
}
.btn-whatsapp:hover {
    background: #128C7E; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ── Social Links ── */
.social-links { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.social-links a {
    color: rgba(255,255,255,0.5); transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.05);
}
.social-links a:hover {
    color: white; background: var(--red);
    transform: translateY(-2px);
}

/* ── Page Header ── */
.page-header {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-height: 340px; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 0 48px;
    background: var(--black);
    overflow: hidden;
    isolation: isolate;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    width: 100%; height: 100%;
    background: url('../images/banner.png') center/cover no-repeat;
    opacity: 0.22;
    transform: scale(1.02);
}
.page-header-overlay {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(192,57,43,0.28) 50%, rgba(0,0,0,0.88) 100%);
}
.page-header-content {
    position: relative; z-index: 2;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.page-header-content h1 {
    font-size: clamp(36px, 6vw, 72px); font-weight: 900;
    color: white; letter-spacing: -2px; margin: 12px 0;
}
.page-header-content p {
    color: rgba(255,255,255,0.6); font-size: 15px;
    max-width: 500px; margin: 0 auto; line-height: 1.7;
}

@media (max-width: 768px) {
    .page-header {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 0 40px;
        min-height: min(52vh, 360px);
    }
    .page-header::before,
    .page-header-overlay {
        width: 100%;
        min-width: 100%;
    }
    .page-header-content {
        max-width: 100%;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
    }
}

/* ── Menu Page ── */
.menu-page { padding: 60px 0 100px; }
.cat-filter {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.cat-pill {
    padding: 8px 22px; border-radius: 30px;
    border: 1.5px solid #e0e0e0; background: white;
    font-size: 13px; font-weight: 600; color: #666;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.cat-pill:hover, .cat-pill.active {
    background: var(--red); border-color: var(--red);
    color: white;
}
.menu-search {
    position: relative; margin-bottom: 40px;
}
.menu-search svg {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%); color: #aaa;
}
.menu-search input {
    width: 100%; max-width: 400px;
    padding: 12px 16px 12px 46px;
    border: 1.5px solid #e0e0e0; border-radius: var(--radius);
    font-size: 14px; outline: none; font-family: inherit;
    transition: border-color 0.2s;
}
.menu-search input:focus { border-color: var(--red); }
.in-stock-badge {
    position: absolute; top: 12px; right: 12px;
    background: #27ae60; color: white;
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
}
.menu-card-ja {
    font-size: 12px; color: var(--red); margin-bottom: 6px;
    font-style: italic;
}

/* ── Cart Toast ── */
.cart-toast {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--black); color: white;
    padding: 14px 20px; border-radius: var(--radius);
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px); opacity: 0;
    transition: all 0.3s; z-index: 9999;
}
.cart-toast.show { transform: translateY(0); opacity: 1; }
.cart-toast a {
    color: var(--red); font-weight: 700; white-space: nowrap;
}

/* ── About Page ── */
.cat-showcase {
    background: white; border-radius: var(--radius);
    padding: 32px 24px; text-align: center;
    border: 1.5px solid #f0f0f0; transition: all 0.3s;
    box-shadow: var(--shadow);
}
.cat-showcase:hover {
    border-color: var(--red); transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.cat-icon { font-size: 40px; margin-bottom: 14px; }
.cat-showcase h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cat-showcase p  {
    font-size: 13px; color: var(--gray);
    line-height: 1.6; margin-bottom: 16px;
}
.cat-showcase a  {
    color: var(--red); font-size: 13px;
    font-weight: 700; transition: opacity 0.2s;
}
.cat-showcase a:hover { opacity: 0.7; }

/* ── Contact Page ── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.contact-info h2, .contact-form-wrap h2 {
    font-size: 32px; font-weight: 800;
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.contact-info > p {
    color: var(--gray); font-size: 15px;
    line-height: 1.8; margin-bottom: 32px;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.contact-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: var(--radius);
    border: 1.5px solid #f0f0f0; background: var(--light);
    transition: all 0.2s; color: inherit;
}
.contact-card:hover { border-color: var(--red); background: #fff0f0; }
.contact-card.whatsapp-card:hover { border-color: #25D366; background: #f0fff4; }
.contact-card-icon { font-size: 24px; flex-shrink: 0; }
.contact-card-label {
    font-size: 11px; font-weight: 700; color: var(--gray);
    text-transform: uppercase; letter-spacing: 1px;
}
.contact-card-value { font-size: 14px; font-weight: 600; margin-top: 2px; }
.contact-socials h3 {
    font-size: 14px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--gray);
    margin-bottom: 16px;
}
.social-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.social-big-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 16px 12px; border-radius: var(--radius);
    border: 1.5px solid #f0f0f0; background: var(--light);
    color: var(--black); font-size: 12px; font-weight: 700;
    transition: all 0.2s; text-align: center;
}
.social-big-card:hover {
    background: var(--black); color: white;
    border-color: var(--black); transform: translateY(-2px);
}
.social-big-card.whatsapp:hover {
    background: #25D366; border-color: #25D366; color: white;
}
.social-big-card.tiktok:hover {
    background: #000000; border-color: #000000; color: white;
    box-shadow: -3px 3px 0px rgba(0, 242, 254, 0.7), 3px -3px 0px rgba(254, 9, 121, 0.7);
}
.social-big-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent; color: white;
}
.social-big-card.youtube:hover {
    background: #FF0000; border-color: #FF0000; color: white;
}
.social-big-card.snapchat:hover {
    background: #FFFC00; border-color: #FFFC00; color: var(--black);
}
.social-big-card.x-twitter:hover {
    background: #000000; border-color: #000000; color: white;
}

/* ── Contact Form ── */
.contact-form-wrap {
    background: var(--light); border-radius: 20px;
    padding: 40px; border: 1.5px solid #f0f0f0;
}
.form-field { margin-bottom: 20px; }
.form-field label {
    display: block; font-size: 13px; font-weight: 700;
    margin-bottom: 8px; color: var(--black);
}
.form-field input, .form-field textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #e0e0e0; border-radius: var(--radius);
    font-size: 14px; font-family: inherit; outline: none;
    background: white; transition: border-color 0.2s;
    color: var(--black);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--red); }
.form-field textarea { resize: vertical; min-height: 120px; }
.submit-btn {
    width: 100%; padding: 14px 24px;
    background: var(--red); color: white;
    border: none; border-radius: var(--radius);
    font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    display: flex; align-items: center;
    justify-content: center; gap: 10px;
    transition: all 0.2s;
}
.submit-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.alert-success {
    background: #f0fff4; color: #27ae60;
    border: 1.5px solid #27ae60; border-radius: var(--radius);
    padding: 12px 16px; font-size: 14px; font-weight: 600;
    margin-bottom: 20px;
}
.alert-error-form {
    background: #fff0f0; color: var(--red);
    border: 1.5px solid var(--red); border-radius: var(--radius);
    padding: 12px 16px; font-size: 14px; font-weight: 600;
    margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .social-grid  { grid-template-columns: repeat(2, 1fr); }
    .contact-form-wrap { padding: 24px; }
}

/* ── Order Page ── */
.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.order-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1.5px solid #f0f0f0;
    box-shadow: var(--shadow);
}
.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #f5f5f5;
}
.order-card-header h2 {
    font-size: 20px;
    font-weight: 800;
}
.cart-badge {
    background: var(--red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.cart-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    min-width: 0;
    position: relative;
}
.cart-line:last-child { border-bottom: none; }
.cart-line-product {
    min-width: 0;
}
.cart-line-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    margin-right: 12px;
    border: 1px solid #eee;
}
.cart-line-img-placeholder {
    background: #f4f4f4;
    border-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.cart-line-product img,
.cart-line-product > div:first-child {
    flex: 0 0 auto;
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
}
.cart-line-price {
    font-size: 12px;
    color: var(--gray);
    overflow-wrap: anywhere;
}
.cart-stock-warning {
    font-size: 11px;
    color: #e67e22;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2px;
}
.cart-line-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
/* ── Cart Qty Controls (Walmart-style pill counter) ── */
.qty-ctrl {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--red);
    color: white;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: white;
    box-shadow: 0 2px 6px rgba(192,57,43,0.3);
    line-height: 1;
}
.qty-ctrl:hover {
    background: var(--red-dark);
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(192,57,43,0.4);
}
.qty-ctrl:disabled {
    background: #e0e0e0;
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.qty-display {
    font-size: 14px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}
.cart-line-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    min-width: 80px;
    text-align: right;
    white-space: nowrap;
}
.cart-line-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 2px 4px;
}
.cart-line-remove:hover { color: var(--red); }
.delivery-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff8e1;
    border: 1.5px solid #ffe082;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 16px;
    font-size: 13px;
}
.delivery-note span { font-size: 24px; flex-shrink: 0; }
.delivery-note strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--black);
}
.delivery-note p { color: #888; margin: 0; line-height: 1.5; }
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray);
    padding: 6px 0;
}
.summary-divider {
    border-top: 1.5px solid #f0f0f0;
    margin: 12px 0;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
}
.summary-total span:last-child { color: var(--red); }
.payment-section { margin-bottom: 20px; }
.payment-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.payment-opt {
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius);
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--black);
}
.payment-opt:hover,
.payment-opt.active {
    border-color: var(--red);
    background: #fff0f0;
    color: var(--red);
}
/* ── Place Order / Primary Action Button (Walmart-style) ── */
.place-order-btn {
    width: 100%;
    min-height: 58px;
    padding: 16px 28px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.22s;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(192,57,43,0.28);
    line-height: 1.2;
    text-align: center;
}
.place-order-btn svg {
    flex: 0 0 18px;
}
.place-order-btn span {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    text-align: center;
}
.place-order-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(192,57,43,0.38);
}
.place-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Auth UI Elements ── */
.auth-buttons {
    display: flex; gap: 8px; align-items: center;
}
.btn-login {
    color: white; font-size: 13px; font-weight: 600; padding: 6px 16px;
    transition: all 0.2s; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
}
.btn-login:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-1px);
}
.btn-signup {
    background: white; color: var(--black); font-size: 13px; font-weight: 700;
    padding: 6px 16px; border-radius: 8px; transition: all 0.2s;
}
.btn-signup:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-profile {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2);
    font-size: 14px; transition: all 0.2s; color: white;
}
.btn-profile:hover { background: var(--red); border-color: var(--red); }

/* ── Success Modal ── */
.success-modal {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-modal h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}
.success-modal p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.success-order-id {
    background: var(--light);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 24px;
    color: var(--gray);
}
.success-order-id strong {
    display: block;
    font-size: 14px;
    color: var(--black);
    margin-top: 4px;
    word-break: break-all;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .order-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .order-card { padding: 20px; }
    .payment-options { grid-template-columns: 1fr; }
    .place-order-btn {
        position: relative;
        min-height: 64px;
        padding: 14px 18px;
        gap: 10px;
        font-size: 14px;
        line-height: 1.22;
        white-space: nowrap;
        overflow: hidden;
    }
    .place-order-btn svg {
        position: static;
        transform: none;
    }
    .place-order-btn span {
        display: block;
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .order-card-header {
        gap: 12px;
        flex-wrap: wrap;
    }
    .cart-line {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 14px;
        align-items: center;
        padding: 16px 0;
    }
    .cart-line-product {
        grid-column: 1 / -1;
        width: 100%;
        padding-right: 34px;
        align-items: flex-start !important;
    }
    .cart-line-info {
        min-width: 0;
        padding-top: 2px;
    }
    .cart-line-name {
        font-size: 14px;
        line-height: 1.25;
    }
    .cart-line-price {
        font-size: 12px;
        line-height: 1.35;
    }
    .cart-line-controls {
        grid-column: 1;
        justify-self: start;
        width: max-content;
        max-width: 100%;
        gap: 10px;
    }
    .cart-line-total {
        grid-column: 2;
        justify-self: end;
        min-width: 0;
        font-size: 14px;
        text-align: right;
    }
    .cart-line-remove {
        position: absolute;
        top: 14px;
        right: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .qty-ctrl {
        width: 36px;
        height: 36px;
    }
    .delivery-note {
        padding: 14px 16px;
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .place-order-btn {
        min-height: 66px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 13px;
    }
    .place-order-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ── Announcements Page ── */
.announcements-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.announcement-card {
    background: white;
    border-radius: 16px;
    border: 1.5px solid #f0f0f0;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}
.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.announcement-img {
    height: 240px;
    overflow: hidden;
    background: #fff;
}
.announcement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    opacity: 1 !important;
    filter: contrast(1.08) saturate(1.08) !important;
    mix-blend-mode: normal !important;
}
.announcement-card-product .announcement-img {
    background: #fff;
}
.announcement-card-product .announcement-img img {
    object-fit: contain;
    filter: contrast(1.16) saturate(1.14) brightness(0.98) !important;
}
.announcement-card:hover .announcement-img img {
    transform: scale(1.03);
}
.announcement-body { padding: 28px; }
.announcement-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.announcement-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.announcement-tag.new_product { background:#e8f5e9;color:#27ae60; }
.announcement-tag.restock     { background:#e3f2fd;color:#1976d2; }
.announcement-tag.deal        { background:#fff3e0;color:#f57c00; }
.announcement-tag.event       { background:#f3e5f5;color:#7b1fa2; }
.announcement-tag.general     { background:#fff0f0;color:var(--red); }
.announcement-date {
    font-size: 12px;
    color: #888;
}
.announcement-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #111;
}
.announcement-content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.announcement-cta {
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.2s;
}
.announcement-cta:hover { opacity: 0.7; }

/* ── Announcement Modal (Glassmorphism) ── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
}
.modal-overlay.active {
    opacity: 1; visibility: visible;
}
.modal-container {
    background: white; border-radius: 20px;
    width: 100%; max-width: 600px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(40px) scale(0.95);
    opacity: 0;
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,0.5); color: white;
    border: none; width: 36px; height: 36px;
    border-radius: 50%; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.modal-close:hover { background: var(--red); transform: scale(1.1); }
.modal-hero-img {
    width: 100%; max-height: 360px; object-fit: contain;
    background: #f9f9f9;
}
.modal-body { padding: 32px 40px; }
.modal-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal-title {
    font-size: 28px; font-weight: 900; letter-spacing: -0.5px;
    line-height: 1.2; margin-bottom: 20px;
}
.modal-content {
    font-size: 16px; color: var(--gray); line-height: 1.8;
    margin-bottom: 32px; white-space: pre-wrap;
}
.modal-cta {
    display: block; width: 100%; text-align: center;
    background: var(--red); color: white;
    padding: 16px; border-radius: var(--radius);
    font-size: 15px; font-weight: 700;
    transition: all 0.2s;
}
.modal-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

.announcement-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--black); font-size: 13px; font-weight: 700;
    cursor: pointer; background: #f5f5f5; padding: 8px 18px;
    border-radius: 8px; transition: all 0.2s;
    border: none; font-family: inherit; margin-bottom: 16px;
}
.announcement-read-more:hover {
    background: var(--red); color: white; transform: translateY(-1px);
}

/* ── Custom Select Dropdown ── */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}
.custom-select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius);
    background: white;
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.custom-select:hover {
    border-color: #d0d0d0;
}
.custom-select.active {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(192,57,43,0.1);
}
.custom-select-icon {
    transition: transform 0.3s ease;
    color: var(--gray);
}
.custom-select.active .custom-select-icon {
    transform: rotate(180deg);
    color: var(--red);
}
.custom-options-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    overflow: hidden;
}
.custom-options-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-options-scroll {
    max-height: 280px;
    overflow-y: auto;
}
.custom-options-scroll::-webkit-scrollbar {
    width: 6px;
}
.custom-options-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.custom-options-scroll::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}
.custom-options-scroll::-webkit-scrollbar-thumb:hover {
    background: #c0c0c0;
}
.custom-option {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}
.custom-option:last-child {
    border-bottom: none;
}
.custom-option:hover {
    background: #fff8f8;
    color: var(--red);
    padding-left: 24px;
}
.custom-option.selected {
    background: var(--red);
    color: white;
    font-weight: 700;
}
.custom-option-group {
    padding: 10px 20px 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 1px;
    background: #fafafa;
}

/* ── Community Redesign ── */
#sakuraCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
}

.community-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-bottom: 100px;
}

.glass-header {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 140px 24px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kanji-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 300px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.com-tabs-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (min-width: 769px) {
    .community-header p.com-intro,
    .glass-header p.com-intro {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 2;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.65;
    }
}

.com-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.com-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.com-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.4);
}

.community-content-area {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.com-section {
    display: none;
}

.com-section.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grids */
.masonry-grid {
    column-count: 2;
    column-gap: 20px;
}
.masonry-grid .post-card {
    break-inside: avoid;
    margin-bottom: 20px;
}

.tutorial-grid, .fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.fact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.fact-card .post-body {
    padding: 24px;
    text-align: center;
}
.fact-card .post-body div {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--red) !important;
}

@media (max-width: 768px) {
    .masonry-grid { column-count: 1; }
    .tutorial-grid, .fact-grid { grid-template-columns: 1fr; }
    .kanji-watermark { font-size: 150px; }
}

.glass-modal {
    background: rgba(25, 25, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    color: white !important;
}

/* Quizzes */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.quiz-card {
    background: linear-gradient(135deg, rgba(20,20,20,0.6) 0%, rgba(10,10,10,0.6) 100%);
    border: 1px solid rgba(255,255,255,0.1);
}
.quiz-options-container {
    margin-top: 16px;
}
.quiz-option {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quiz-option:hover {
    background: rgba(255, 255, 255, 0.1);
}
.quiz-option.voted {
    border-color: var(--red);
}
.quiz-option-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: rgba(192, 57, 43, 0.3);
    z-index: 1;
    transition: width 0.5s ease;
}
.quiz-option-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: 14px;
}
.quiz-option-percent {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 14px;
    color: var(--red);
}
