/* ===== Flavor Customer Portal Styles ===== */
/* Premium Japanese F&B Brand */

/* -- Google Fonts -- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* -- Color Palette (Japanese Gold Theme) -- */
:root {
    --accent: #d4a04a;
    --accent-hover: #c69038;
    --accent-light: rgba(212, 160, 74, 0.12);
    --accent-glow: rgba(212, 160, 74, 0.35);
    --gold: #e8b84a;
    --gold-light: rgba(232, 184, 74, 0.12);
    --dark: #5a7247;
    --dark-secondary: #5a4d3a;
    --dark-tertiary: #6b5d47;
    --text-primary: #d4a04a;
    --text-secondary: #c49a52;
    --text-muted: #c4aa70;
    --bg-light: #f8e9da;
    --bg-warm: #f8e9da;
    --bg-sand: #ddcfc4;
    --surface: #fff8f0;
    --border-light: rgba(92, 74, 58, 0.08);
    --card-shadow: 0 1px 3px rgba(92, 74, 58, 0.04), 0 4px 12px rgba(92, 74, 58, 0.06);
    --card-shadow-hover: 0 8px 30px rgba(92, 74, 58, 0.12), 0 2px 8px rgba(92, 74, 58, 0.06);
    --shadow-lg: 0 20px 60px rgba(92, 74, 58, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* -- Global -- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 18px,
            rgba(90, 114, 71, 0.04) 18px,
            rgba(90, 114, 71, 0.04) 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(90, 114, 71, 0.03) 60px,
            rgba(90, 114, 71, 0.03) 61px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 38px,
            rgba(180, 160, 100, 0.03) 38px,
            rgba(180, 160, 100, 0.03) 40px
        );
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.15), 2px 2px 4px rgba(0,0,0,0.1);
}

body {
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* -- Accent Utilities -- */
.text-accent {
    color: var(--accent) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover,
.btn-accent:focus {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    background: transparent;
    transition: all var(--transition-smooth);
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ================================ */
/*           NAVBAR                 */
/* ================================ */
.flavor-navbar {
    background: rgba(92, 74, 58, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0;
    transition: all var(--transition-smooth);
    z-index: 1040;
}

.flavor-navbar.scrolled {
    background: rgba(92, 74, 58, 0.97) !important;
    box-shadow: 0 4px 30px rgba(92, 74, 58, 0.3);
    padding: 0.4rem 0;
}

.flavor-navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-smooth);
}

.flavor-navbar .navbar-brand:hover {
    transform: scale(1.02);
}

.flavor-navbar .navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 3px 12px var(--accent-glow);
    transition: all var(--transition-smooth);
}

.flavor-navbar .navbar-brand:hover .brand-icon {
    box-shadow: 0 4px 18px var(--accent-glow);
    transform: rotate(-3deg);
}

.flavor-navbar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.6rem 1rem !important;
    border-radius: var(--border-radius-xs);
    transition: all var(--transition-fast);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.flavor-navbar .nav-link:hover,
.flavor-navbar .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.flavor-navbar .nav-link.active {
    color: var(--accent) !important;
}

.flavor-navbar .nav-link i {
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
}

.flavor-navbar .nav-link:hover i {
    transform: translateY(-1px);
}

.flavor-navbar .nav-cart-link i {
    font-size: 1.15rem;
}

/* Cart badge */
#cart-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25em 0.5em;
    min-width: 1.15rem;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: 2px solid var(--dark);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Sign up button */
.flavor-navbar .btn-signup {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    box-shadow: 0 3px 12px var(--accent-glow);
}

.flavor-navbar .btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px var(--accent-glow);
}

/* User dropdown */
.flavor-navbar .dropdown-menu {
    background: rgba(92, 74, 58, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.flavor-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-xs);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.flavor-navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.flavor-navbar .dropdown-item i {
    width: 1.25rem;
}

.flavor-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.35rem 0;
}

/* Mobile toggler */
.flavor-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.65rem;
    border-radius: var(--border-radius-xs);
    transition: all var(--transition-fast);
}

.flavor-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.flavor-navbar .navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
}

@media (max-width: 991.98px) {
    .flavor-navbar .navbar-collapse {
        background: rgba(92, 74, 58, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--border-radius-sm);
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ================================ */
/*        HERO SECTION              */
/* ================================ */
.hero-home-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #5a7247 0%, #5a4d3a 40%, #6b5d47 100%);
    min-height: 600px;
}

.hero-home-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-home-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out 2s infinite alternate-reverse;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(30px, -20px) scale(1.1); opacity: 0.8; }
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 50px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-search-form {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-search-form .input-group {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-search-form .input-group-text {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding-left: 1.25rem;
}

.hero-search-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 1rem;
    padding: 0.9rem 1rem;
}

.hero-search-form .form-control:focus {
    box-shadow: none;
    background: #fff;
}

.hero-search-form .form-control::placeholder {
    color: #94a3b8;
}

.hero-search-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.9rem 2rem !important;
    font-size: 1rem !important;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.hero-search-btn:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

.hero-stats {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-stat-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.hero-stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero visual orb */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-orb {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(230, 126, 34, 0.15), rgba(243, 156, 18, 0.05));
    border: 1px solid rgba(230, 126, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbFloat 6s ease-in-out infinite;
    position: relative;
}

.hero-visual-orb::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(230, 126, 34, 0.06);
    animation: orbFloat 6s ease-in-out 1s infinite reverse;
}

.hero-visual-orb::after {
    content: '';
    position: absolute;
    inset: -45px;
    border-radius: 50%;
    border: 1px dashed rgba(230, 126, 34, 0.04);
    animation: orbSpin 30s linear infinite;
}

.hero-visual-orb .orb-icon {
    font-size: 5.5rem;
    color: var(--accent);
    opacity: 0.3;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes orbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================ */
/*       SECTIONS                   */
/* ================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================ */
/*     FEATURED RESTAURANTS         */
/* ================================ */
.featured-restaurants-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.brand-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    background: var(--surface);
    position: relative;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card .card-body {
    padding: 1.5rem;
}

.brand-icon-circle {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.brand-card:hover .brand-icon-circle {
    transform: rotate(-5deg) scale(1.05);
}

.brand-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform var(--transition-spring);
    border: 2px solid var(--border-light);
}

.brand-card:hover .brand-logo-img {
    transform: rotate(-5deg) scale(1.05);
}

.restaurant-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.brand-cuisine-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50px;
    border: 1px solid rgba(230, 126, 34, 0.12);
}

.brand-card .card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.brand-card .card-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-view-menu {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-view-menu:hover {
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-1px);
    color: #fff;
}

.btn-view-all {
    border: 2px solid var(--dark);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    background: transparent;
}

.btn-view-all:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 74, 58, 0.25);
}

/* ================================ */
/*      HOW IT WORKS                */
/* ================================ */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--surface);
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-smooth);
    position: relative;
}

.step-card:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(230, 126, 34, 0.07);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(230, 126, 34, 0.08);
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.step-icon i {
    font-size: 1.75rem;
    color: var(--accent);
    transition: color var(--transition-smooth);
}

.step-card:hover .step-icon i {
    color: #fff;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ================================ */
/*     CTA / LOYALTY SECTION        */
/* ================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 126, 34, 0.15);
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.cta-features li i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cta-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-visual-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    width: 100%;
    max-width: 380px;
}

.cta-visual-card .cta-visual-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.cta-visual-card h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-visual-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ================================ */
/*           FOOTER                 */
/* ================================ */
.flavor-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

.flavor-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-main {
    padding: 4rem 0 3rem;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-brand-name .brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    margin-top: 0.75rem;
}

.footer-heading {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent) !important;
    transform: translateX(3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding: 0.4rem 0;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

/* Newsletter */
.footer-newsletter .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #fff;
    font-size: 0.88rem;
    padding: 0.7rem 1.15rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.footer-newsletter .btn {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.7rem 1.25rem;
    transition: all var(--transition-smooth);
}

.footer-newsletter .btn:hover {
    box-shadow: 0 3px 12px var(--accent-glow);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
}

.footer-bottom-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent) !important;
}

/* ================================ */
/*     RESTAURANT CARDS (legacy)    */
/* ================================ */
.restaurant-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    background: var(--surface);
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.restaurant-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.restaurant-card .card-body {
    padding: 1.25rem;
}

.restaurant-card .card-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.restaurant-card .badge {
    font-weight: 500;
    font-size: 0.8rem;
}

/* ================================ */
/*      MENU ITEM CARDS             */
/* ================================ */
.menu-item-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    background: var(--surface);
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.menu-item-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.menu-item-card .card-body {
    padding: 1rem;
}

.menu-item-card .item-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.menu-item-card .item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-card .item-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.menu-item-card .btn-add-to-cart {
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
}

/* ================================ */
/*      RATING STARS                */
/* ================================ */
.rating .bi-star-fill {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating .bi-star {
    color: #ddd;
    font-size: 0.9rem;
}

/* ================================ */
/*      SEARCH BAR                  */
/* ================================ */
.search-bar {
    max-width: 500px;
    margin: 0 auto;
}

.search-bar .form-control {
    border-radius: 50px 0 0 50px;
    border: 2px solid #fff;
    padding: 0.75rem 1.25rem;
}

.search-bar .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
}

/* ================================ */
/*       CART PAGE                  */
/* ================================ */
.cart-item {
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-summary {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    position: sticky;
    top: 5rem;
}

/* ================================ */
/*      EMPTY STATE                 */
/* ================================ */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ================================ */
/*     TAP TARGET SIZING            */
/* ================================ */
.form-check-label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    cursor: pointer;
}

.form-check-input {
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
}

/* ================================ */
/*    ITEM / SHOP DETAIL            */
/* ================================ */
.item-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.item-detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-detail-image {
    height: 400px;
}

.product-detail-qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-categories-mobile {
    display: none;
}

/* ================================ */
/*    PAGE TRANSITIONS              */
/* ================================ */
main {
    animation: pageIn 0.35s ease-out;
}

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

/* ================================ */
/*    GLOBAL CARD OVERRIDE          */
/* ================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
}

/* ================================ */
/*         RESPONSIVE               */
/* ================================ */
@media (max-width: 991.98px) {
    #category-nav {
        -webkit-overflow-scrolling: touch;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-home-section {
        min-height: auto !important;
    }

    .hero-home-section .row {
        min-height: auto !important;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .restaurant-card .card-img-top {
        height: 160px;
    }

    .menu-item-card .card-img-top {
        height: 140px;
    }

    .product-detail-image {
        height: 300px;
    }

    .cart-table .col-brand {
        display: none;
    }

    .checkout-summary-sticky {
        position: static !important;
    }

    .shop-sidebar .list-group {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .shop-sidebar .list-group-item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.92rem !important;
    }

    .hero-search-form {
        flex-direction: column !important;
    }

    .hero-search-form .input-group {
        width: 100%;
        border-radius: var(--border-radius-sm) !important;
    }

    .hero-search-form .btn {
        width: 100%;
        border-radius: var(--border-radius-sm) !important;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .item-detail-header {
        flex-direction: column;
    }

    .item-detail-header .display-6 {
        font-size: 1.75rem !important;
    }

    .item-detail-actions {
        flex-direction: column;
    }

    .item-detail-actions .btn {
        width: 100%;
    }

    .product-detail-image {
        height: 220px;
    }

    .product-detail-qty-row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-qty-row .input-group {
        width: 100% !important;
    }

    .product-detail-qty-row .btn {
        width: 100%;
    }

    .cart-table .col-brand,
    .cart-table .col-subtotal {
        display: none;
    }

    .cart-table th,
    .cart-table td {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.875rem;
    }

    .cart-qty-btn {
        min-width: 36px;
        min-height: 36px;
        padding: 0.25rem 0.5rem !important;
    }

    .checkout-radio-group {
        flex-wrap: wrap;
    }

    .checkout-radio-group .form-check {
        flex: 1 1 auto;
        min-width: 0;
    }

    .page-header-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .page-header-section h1 {
        font-size: 1.5rem;
    }

    footer .col-md-2 {
        margin-bottom: 0.5rem;
    }

    .order-card .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .register-name-row .col-6 {
        width: 100%;
    }

    .cta-visual-card {
        padding: 2rem;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ===== Auth Pages (Login / Register) ===== */
.auth-section {
    min-height: calc(100vh - 72px - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-brand-panel {
    background: linear-gradient(160deg, var(--dark) 0%, #6b5d47 60%, var(--dark-secondary) 100%);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.12);
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
}

.auth-brand-panel .brand-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(230, 126, 34, 0.3));
}

.auth-brand-panel h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.auth-brand-panel p {
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 320px;
    text-align: center;
}

.auth-brand-panel .brand-decorative-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #d4a04a);
    border-radius: 2px;
    margin: 1.25rem 0;
}

.auth-brand-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
}

.auth-brand-features li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-brand-features li i {
    color: var(--accent);
    font-size: 1rem;
}

.auth-form-panel {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-panel .auth-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.auth-form-panel .auth-subheading {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(92, 74, 58, 0.12);
    background: #fff;
}

.auth-form-panel .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.auth-form-panel .form-control {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    border: 1.5px solid #dee2e6;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form-panel .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

.auth-form-panel .btn-auth-submit {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-form-panel .btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
    color: #fff;
}

.auth-form-panel .btn-auth-submit:active {
    transform: translateY(0);
}

.auth-form-panel .auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.auth-form-panel .auth-divider::before,
.auth-form-panel .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dee2e6;
}

.auth-form-panel .auth-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-form-panel .auth-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.password-toggle-wrap {
    position: relative;
}

.password-toggle-wrap .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.25rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--accent);
}

.password-requirements {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.password-requirements i {
    font-size: 0.7rem;
}

.phone-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

@media (max-width: 991.98px) {
    .auth-brand-panel {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        min-height: auto;
        padding: 2.5rem 2rem;
    }

    .auth-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .auth-form-panel {
        padding: 2rem 1.5rem;
    }

    .auth-brand-panel {
        padding: 2rem 1.5rem;
    }

    .auth-brand-panel h2 {
        font-size: 1.5rem;
    }

    .auth-brand-features {
        display: none;
    }
}

/* ===== Orders Page ===== */
.orders-page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
    margin-top: -1px;
}

.orders-page-header h2 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.orders-page-header .subtitle {
    opacity: 0.7;
    font-size: 0.95rem;
}

.order-card-premium {
    border: none;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.order-card-premium:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.order-card-premium .order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.order-card-premium .order-no {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    letter-spacing: 0.01em;
}

.order-card-premium .order-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.order-card-premium .order-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
}

.order-status-badge {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35em 0.75em;
    border-radius: 6px;
}

.order-status-badge.status-confirmed {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.order-status-badge.status-preparing {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

.order-status-badge.status-ready {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.order-status-badge.status-completed {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.order-status-badge.status-cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.order-items-list {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.order-items-toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.order-items-toggle:hover {
    color: var(--accent-hover);
}

.order-items-toggle .bi {
    transition: transform 0.2s;
}

.order-items-toggle[aria-expanded="true"] .bi {
    transform: rotate(180deg);
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.order-item-row .item-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.order-item-row .item-variant {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.orders-empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.orders-empty-state .empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.orders-empty-state .empty-icon i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.7;
}

.orders-empty-state h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.orders-empty-state p {
    color: var(--text-secondary);
    max-width: 360px;
    margin: 0 auto 1.5rem;
}

/* ===== Checkout Page ===== */
.checkout-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.checkout-step-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    background: #fff;
    overflow: hidden;
}

.checkout-step-card .card-header {
    background: #fff;
    border-bottom: 2px solid #f5f5f5;
    padding: 1rem 1.5rem;
}

.checkout-step-card .card-header .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.checkout-step-card .card-header h5 {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.checkout-step-card .card-body {
    padding: 1.25rem 1.5rem;
}

.checkout-order-type-option {
    flex: 1;
    position: relative;
}

.checkout-order-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-order-type-option .order-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    text-align: center;
    min-height: 44px;
}

.checkout-order-type-option .order-type-label i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.checkout-order-type-option .order-type-label span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.checkout-order-type-option input[type="radio"]:checked + .order-type-label {
    border-color: var(--accent);
    background: var(--accent-light);
}

.checkout-order-type-option input[type="radio"]:checked + .order-type-label i {
    color: var(--accent);
}

.checkout-payment-option {
    flex: 1;
}

.checkout-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-payment-option {
    position: relative;
}

.checkout-payment-option .payment-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 44px;
}

.checkout-payment-option .payment-label i {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.checkout-payment-option .payment-label span {
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--accent);
    background: var(--accent-light);
}

.checkout-payment-option input[type="radio"]:checked + .payment-label i {
    color: var(--accent);
}

.checkout-summary-card {
    border: none;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: 0 4px 24px rgba(92, 74, 58, 0.1);
    overflow: hidden;
}

.checkout-summary-card .summary-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: #fff;
    padding: 1rem 1.5rem;
}

.checkout-summary-card .summary-header h5 {
    font-weight: 700;
    margin: 0;
    font-size: 1.05rem;
}

.checkout-summary-card .summary-body {
    padding: 1.25rem 1.5rem;
}

.checkout-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.checkout-summary-card .summary-item .item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.checkout-summary-card .summary-item .item-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.checkout-summary-card .summary-item .item-price {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.checkout-summary-card .summary-totals {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.checkout-summary-card .summary-grand-total {
    border-top: 2px solid var(--dark);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.checkout-summary-card .summary-grand-total .total-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.checkout-summary-card .summary-grand-total .total-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent);
}

.btn-place-order {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-place-order:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.35);
    color: #fff;
}

.btn-place-order:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* ===== Confirmation Page ===== */
.confirmation-section {
    min-height: calc(100vh - 72px - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.confirmation-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 40px rgba(92, 74, 58, 0.1);
    background: #fff;
    overflow: hidden;
}

.confirmation-success-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.08) 0%, rgba(25, 135, 84, 0.15) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    animation: confirmPulse 2s ease-in-out infinite;
}

.confirmation-success-icon i {
    font-size: 3.2rem;
    color: #198754;
}

@keyframes confirmPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.15);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(25, 135, 84, 0);
    }
}

@keyframes confirmCheck {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-card .order-number-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.confirmation-card .order-number-display .hash {
    color: var(--text-secondary);
    font-weight: 400;
}

.confirmation-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff5e6 100%);
    border: 1.5px solid rgba(230, 126, 34, 0.15);
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.confirmation-time-badge i {
    color: var(--accent);
    font-size: 1.1rem;
}

.confirmation-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.confirmation-actions .btn {
    min-width: 180px;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
}

.confirmation-actions .btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
}

@media (max-width: 576px) {
    .confirmation-card .order-number-display {
        font-size: 1.25rem;
    }

    .confirmation-actions {
        flex-direction: column !important;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .order-card-premium .order-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================================================
   RESTAURANT LISTING PAGE (v2)
   ================================================================ */

/* -- Restaurant Hero Section -- */
.restaurant-hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, #6b5d47 100%);
    color: #fff;
    padding: 2.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.restaurant-hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.restaurant-hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.restaurant-hero-overline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.restaurant-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.restaurant-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.7;
    margin-bottom: 0;
    max-width: 500px;
}

/* -- Search Form -- */
.restaurant-search-form {
    width: 100%;
}

.restaurant-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.restaurant-search-wrapper:focus-within {
    border-color: rgba(230, 126, 34, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

.restaurant-search-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.restaurant-search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0.95rem;
    padding: 0.5rem 0 !important;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}

.restaurant-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.restaurant-search-btn {
    background: linear-gradient(135deg, #e67e22, #d4a04a);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.restaurant-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.35);
    color: #fff;
}

.restaurant-clear-btn {
    border-radius: 50px;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.restaurant-clear-btn:hover {
    opacity: 1;
}

/* -- Results Bar -- */
.restaurant-search-results-bar {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 3px solid #e67e22;
    box-shadow: var(--card-shadow);
}

/* -- Listing Section -- */
.restaurant-listing-section {
    padding: 2.5rem 0 4rem;
    background-color: var(--bg-light);
    min-height: 60vh;
}

/* -- Restaurant Card v2 -- */
.restaurant-card-v2 {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.restaurant-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(92, 74, 58, 0.14);
}

.restaurant-card-accent {
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #d4a04a, #e67e22);
    background-size: 200% 100%;
    transition: background-position 0.5s ease;
}

.restaurant-card-v2:hover .restaurant-card-accent {
    background-position: 100% 0;
}

.restaurant-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.restaurant-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e67e22, #d4a04a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
}

.restaurant-card-icon-wrap i {
    color: #fff;
    font-size: 1.35rem;
}

.restaurant-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.restaurant-cuisine-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(243, 156, 18, 0.12));
    color: #e67e22;
    border: 1px solid rgba(230, 126, 34, 0.15);
    letter-spacing: 0.02em;
}

.restaurant-loyalty-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a04a, #e67e22);
    color: #fff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    animation: loyaltyGlow 2s ease-in-out infinite;
}

@keyframes loyaltyGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3); }
    50% { box-shadow: 0 2px 16px rgba(243, 156, 18, 0.5); }
}

.restaurant-card-name {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.restaurant-card-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    min-height: 42px;
    flex: 1;
}

.restaurant-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.restaurant-card-outlets {
    color: var(--text-secondary);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
}

.restaurant-card-outlets i {
    color: #e67e22;
}

.restaurant-card-cta {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.restaurant-card-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
    color: #fff;
}

/* -- Empty State -- */
.restaurant-empty-state {
    text-align: center;
    padding: 5rem 1rem;
    color: var(--text-secondary);
}

.restaurant-empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), #f0f0f0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.restaurant-empty-icon i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.restaurant-empty-state h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.restaurant-empty-state p {
    color: var(--text-secondary);
    max-width: 360px;
    margin: 0 auto 1rem;
}

/* ================================================================
   MENU PAGE (v2)
   ================================================================ */

/* -- Menu Hero -- */
.menu-hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, #6b5d47 100%);
    color: #fff;
    padding: 2rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.menu-hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #d4a04a, #e67e22);
}

.menu-breadcrumb-nav {
    margin-bottom: 1rem;
}

.menu-breadcrumb-nav .breadcrumb-item a {
    opacity: 0.65;
    transition: opacity 0.2s;
}

.menu-breadcrumb-nav .breadcrumb-item a:hover {
    opacity: 1;
}

.menu-hero-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.menu-hero-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e67e22, #d4a04a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.menu-hero-icon-wrap i {
    color: #fff;
    font-size: 1.6rem;
}

.menu-hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.menu-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.menu-hero-cuisine-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(230, 126, 34, 0.2);
    color: #f5cba7;
    border: 1px solid rgba(230, 126, 34, 0.25);
}

.menu-hero-outlet-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.menu-hero-outlet-count i {
    color: rgba(230, 126, 34, 0.7);
}

.menu-hero-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin: 0.75rem 0 0;
    max-width: 700px;
    line-height: 1.5;
}

/* -- Category Navigation Bar -- */
.menu-category-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    top: 56px;
    z-index: 1020;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.menu-category-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.menu-category-nav::-webkit-scrollbar {
    height: 3px;
}

.menu-category-nav::-webkit-scrollbar-thumb {
    background: rgba(230, 126, 34, 0.3);
    border-radius: 10px;
}

.menu-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #f5f5f5;
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: pointer;
}

.menu-category-pill:hover {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.06);
    border-color: rgba(230, 126, 34, 0.2);
}

.menu-category-pill.active {
    color: #fff;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.menu-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    padding: 0 0.35rem;
    transition: all 0.25s ease;
}

.menu-category-pill.active .menu-category-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.menu-category-pill:hover .menu-category-count {
    background: rgba(230, 126, 34, 0.12);
    color: #e67e22;
}

/* -- Menu Items Section -- */
.menu-items-section {
    padding: 2rem 0 4rem;
    background-color: var(--bg-light);
    min-height: 60vh;
}

/* -- Category Section Headers -- */
.menu-category-section {
    margin-bottom: 2.5rem;
}

.menu-category-header {
    margin-bottom: 1.25rem;
    position: relative;
}

.menu-category-header-line {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #d4a04a);
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.menu-category-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
}

.menu-category-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* -- Menu Card v2 -- */
.menu-card-v2 {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1.5px solid transparent;
}

.menu-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.menu-card-name-wrap {
    flex: 1;
    min-width: 0;
}

.menu-card-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.3;
}

.menu-card-name a {
    color: var(--dark);
    transition: color 0.2s;
}

.menu-card-name a:hover {
    color: #e67e22;
}

.menu-card-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #e67e22;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
}

.menu-card-currency {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.65;
    vertical-align: super;
    margin-right: 1px;
}

.menu-card-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.menu-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f5;
    margin-top: auto;
}

.menu-card-tags {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 0;
    overflow: hidden;
}

.menu-card-prep-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f0f4f8;
    color: #5a6c7d;
}

.menu-card-prep-tag i {
    font-size: 0.65rem;
}

.menu-card-allergen-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    background: #fef3cd;
    color: #856404;
    border: 1px solid rgba(133, 100, 4, 0.1);
}

.menu-card-allergen-tag i {
    font-size: 0.6rem;
}

/* -- Add Button -- */
.menu-card-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    border: none;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.menu-card-add-btn .menu-card-add-label {
    display: none;
}

.menu-card-v2:hover .menu-card-add-btn {
    width: auto;
    border-radius: 50px;
    padding: 0 1rem;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.menu-card-v2:hover .menu-card-add-btn .menu-card-add-label {
    display: inline;
}

.menu-card-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
    color: #fff;
}

.menu-card-add-btn:active {
    transform: scale(0.95);
}

.menu-card-add-btn-success {
    background: linear-gradient(135deg, #198754, #157347) !important;
    width: auto !important;
    border-radius: 50px !important;
    padding: 0 1rem !important;
}

/* ================================================================
   ITEM DETAIL PAGE (v2)
   ================================================================ */

/* -- Item Hero -- */
.item-hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: #fff;
    padding: 1.5rem 0;
    position: relative;
}

.item-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #d4a04a, #e67e22);
}

.item-breadcrumb-nav .breadcrumb {
    font-size: 0.85rem;
}

.item-breadcrumb-nav .breadcrumb-item a {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.item-breadcrumb-nav .breadcrumb-item a:hover {
    opacity: 1;
}

.item-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

/* -- Detail Section -- */
.item-detail-section {
    padding: 2.5rem 0 4rem;
    background-color: var(--bg-light);
    min-height: 60vh;
}

/* -- Detail Card -- */
.item-detail-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(92, 74, 58, 0.08);
    border: none;
}

/* -- Hero Area (name + price) -- */
.item-detail-hero-area {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: 2rem 2rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.item-detail-hero-area::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.item-detail-hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.item-detail-category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(230, 126, 34, 0.15);
    color: #f5cba7;
    border: 1px solid rgba(230, 126, 34, 0.2);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-detail-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.item-detail-price-block {
    text-align: right;
    flex-shrink: 0;
}

.item-detail-price-currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(230, 126, 34, 0.7);
    vertical-align: super;
}

.item-detail-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #e67e22;
    line-height: 1;
}

/* -- Detail Body -- */
.item-detail-body {
    padding: 2rem;
}

.item-detail-description {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.item-detail-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* -- Info Badges -- */
.item-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.item-info-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #eee;
    flex: 1;
    min-width: 160px;
}

.item-info-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(243, 156, 18, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-info-badge-icon i {
    color: #e67e22;
    font-size: 1.1rem;
}

.item-info-badge-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.item-info-badge-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

/* -- Section Title -- */
.item-detail-section-title {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.item-detail-section-title i {
    color: #e67e22;
}

/* -- Allergens -- */
.item-detail-allergens {
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    border-radius: 10px;
    background: #fffdf5;
    border: 1px solid #fef3cd;
}

.item-allergen-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
    border: 1px solid rgba(133, 100, 4, 0.12);
}

.item-allergen-badge i {
    font-size: 0.75rem;
}

/* -- Variants -- */
.item-detail-variants {
    margin-bottom: 1.75rem;
}

.item-variant-list {
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

.item-variant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease;
}

.item-variant-row:last-child {
    border-bottom: none;
}

.item-variant-row:hover {
    background: #fafafa;
}

.item-variant-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.item-variant-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #e67e22;
}

.item-variant-included {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    font-size: 0.85rem;
}

/* -- Modifier Groups -- */
.item-detail-modifiers {
    margin-bottom: 1.75rem;
}

.item-modifier-group {
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.item-modifier-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.15rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.item-modifier-group-header strong {
    font-size: 0.95rem;
    color: var(--dark);
}

.item-modifier-group-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.item-modifier-required {
    color: #e67e22;
    font-weight: 600;
}

.item-modifier-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}

.item-modifier-option:last-child {
    border-bottom: none;
}

.item-modifier-option:hover {
    background: #fafafa;
}

.item-modifier-option-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.item-modifier-option-price {
    font-weight: 700;
    font-size: 0.85rem;
    color: #e67e22;
}

.item-modifier-option-free {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* -- Actions v2 -- */
.item-detail-actions-v2 {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    margin-top: 0.5rem;
}

.item-detail-add-btn {
    flex: 1;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-width: 200px;
}

.item-detail-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
    color: #fff;
}

.item-detail-add-btn:active {
    transform: translateY(0);
}

.item-detail-add-btn-success {
    background: linear-gradient(135deg, #198754, #157347) !important;
}

.item-detail-back-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.item-detail-back-btn:hover {
    border-color: var(--dark);
    color: var(--dark);
    background: #f8f9fa;
}

/* ================================================================
   RESTAURANT PAGES - RESPONSIVE OVERRIDES
   ================================================================ */

@media (max-width: 991.98px) {
    .restaurant-hero-section .row {
        text-align: center;
    }

    .restaurant-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .restaurant-search-form {
        margin-top: 1.5rem;
    }

    .menu-hero-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .menu-hero-icon-wrap i {
        font-size: 1.3rem;
    }

    .menu-hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .restaurant-hero-title {
        font-size: 1.8rem;
    }

    .menu-category-bar {
        top: 56px;
    }

    .item-detail-hero-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .item-detail-price-block {
        text-align: left;
    }

    .item-detail-price-value {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .restaurant-hero-section {
        padding: 1.5rem 0 2rem;
    }

    .restaurant-hero-title {
        font-size: 1.5rem;
    }

    .restaurant-hero-subtitle {
        font-size: 0.9rem;
    }

    .restaurant-search-wrapper {
        padding: 0.25rem 0.25rem 0.25rem 1rem;
    }

    .restaurant-search-btn {
        padding: 0.4rem 1rem;
        font-size: 0.82rem;
    }

    .restaurant-card-body {
        padding: 1.15rem;
    }

    .menu-hero-section {
        padding: 1.25rem 0 1.5rem;
    }

    .menu-hero-content {
        gap: 0.75rem;
    }

    .menu-hero-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .menu-hero-icon-wrap i {
        font-size: 1.1rem;
    }

    .menu-hero-title {
        font-size: 1.35rem;
    }

    .menu-category-pill {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .menu-card-content {
        padding: 1rem;
    }

    .menu-card-add-btn {
        width: auto;
        border-radius: 50px;
        padding: 0 0.85rem;
        font-size: 0.82rem;
        font-weight: 600;
    }

    .menu-card-add-btn .menu-card-add-label {
        display: inline;
    }

    .item-hero-section {
        padding: 1rem 0;
    }

    .item-detail-hero-area {
        padding: 1.5rem;
    }

    .item-detail-name {
        font-size: 1.35rem;
    }

    .item-detail-body {
        padding: 1.25rem;
    }

    .item-info-badge {
        min-width: 0;
        flex: auto;
    }

    .item-detail-actions-v2 {
        flex-direction: column;
    }

    .item-detail-add-btn,
    .item-detail-back-btn {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
}

/* ============================================================
   MICRO-ANIMATIONS & INTERACTION ENHANCEMENTS
   ============================================================ */

/* -- Keyframe Animations -- */

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes badgeBounce {
    0% { transform: translate(-50%, -50%) scale(1); }
    30% { transform: translate(-50%, -50%) scale(1.5); }
    50% { transform: translate(-50%, -50%) scale(0.85); }
    70% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes flyoverUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-28px) scale(0.7);
    }
}

@keyframes progressShrink {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes priceFlash {
    0% { color: inherit; }
    30% { color: var(--accent); transform: scale(1.08); }
    100% { color: inherit; transform: scale(1); }
}

@keyframes spinnerRotate {
    to { transform: rotate(360deg); }
}

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

@keyframes scrollBtnIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* -- Cart Badge Animation -- */
.cart-badge-animate {
    animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* -- Cart Flyover "+1" -- */
.cart-flyover {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    pointer-events: none;
    animation: flyoverUp 0.7s ease-out forwards;
    z-index: 10;
}

/* -- Cart Icon Pulse (navbar) -- */
.cart-icon-pulse {
    animation: pulse 0.5s ease;
    color: var(--accent) !important;
}

/* -- Button Loading State -- */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

.btn-outline-secondary .btn-spinner,
.btn-outline-accent .btn-spinner,
.btn-outline-danger .btn-spinner {
    border-color: rgba(0, 0, 0, 0.15);
    border-top-color: currentColor;
}

/* -- Button "Added!" Feedback -- */
.btn-added-feedback {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* -- Price Flash Animation -- */
.price-flash {
    animation: priceFlash 0.5s ease;
    display: inline-block;
}

/* -- Enhanced Toast Notification System -- */
.flavor-toast-container {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.flavor-toast {
    pointer-events: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transform: translateX(110%);
    opacity: 0;
    transition: none;
}

.flavor-toast-show {
    animation: slideInRight 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

.flavor-toast-hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

.flavor-toast-body {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 10px;
}

.flavor-toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.flavor-toast-message {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
}

.flavor-toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.flavor-toast-close:hover {
    opacity: 1;
}

.flavor-toast-progress {
    height: 3px;
    background: #f0f0f0;
    overflow: hidden;
}

.flavor-toast-progress-bar {
    height: 100%;
    width: 100%;
    animation: progressShrink linear forwards;
}

/* Toast Variants */
.flavor-toast-success .flavor-toast-icon { color: #198754; }
.flavor-toast-success .flavor-toast-progress-bar { background: #198754; }
.flavor-toast-success { border-left: 3px solid #198754; }

.flavor-toast-error .flavor-toast-icon { color: #dc3545; }
.flavor-toast-error .flavor-toast-progress-bar { background: #dc3545; }
.flavor-toast-error { border-left: 3px solid #dc3545; }

.flavor-toast-info .flavor-toast-icon { color: #0d6efd; }
.flavor-toast-info .flavor-toast-progress-bar { background: #0d6efd; }
.flavor-toast-info { border-left: 3px solid #0d6efd; }

.flavor-toast-warning .flavor-toast-icon { color: #ffc107; }
.flavor-toast-warning .flavor-toast-progress-bar { background: #ffc107; }
.flavor-toast-warning { border-left: 3px solid #ffc107; }

/* -- Scroll-to-Top Button -- */
.scroll-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--dark);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.8);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
                background-color 0.2s ease;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: scrollBtnIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scroll-to-top-btn:hover {
    background: var(--accent);
    transform: translateY(-2px) scale(1.05);
}

/* -- Navbar Scroll Glass-morphism -- */
.navbar-scroll-transition {
    transition: background-color 0.35s ease, box-shadow 0.35s ease,
                backdrop-filter 0.35s ease;
}

.navbar.sticky-top:not(.navbar-scrolled) {
    background-color: rgba(33, 37, 41, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar.sticky-top.navbar-scrolled {
    background-color: rgba(33, 37, 41, 1) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* -- Page Content Fade-In -- */
.page-fade-in {
    animation: pageFadeIn 0.45s ease-out both;
}

/* -- Card Stagger Entrance Animation -- */
.card-pre-animate {
    opacity: 0;
    transform: translateY(24px);
}

.card-animate-in {
    animation: fadeInUp 0.45s ease-out forwards;
}

/* -- Enhanced Card & Button Hover Transitions -- */
.restaurant-card,
.menu-item-card,
.menu-card-v2,
.shop-product-card,
.order-card-premium,
.checkout-step-card,
.item-detail-card {
    transition: transform 0.25s cubic-bezier(0.34, 1, 0.64, 1),
                box-shadow 0.25s ease;
}

.btn {
    transition: background-color 0.2s ease, border-color 0.2s ease,
                color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active:not(:disabled):not(.disabled) {
    transform: scale(0.97);
}

/* Smooth hover scale for interactive cards */
.menu-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.shop-product-card:not(.out-of-stock):hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* Cart qty button transitions handled in main .cart-qty-btn rule */

/* -- Responsive Toast Container -- */
@media (max-width: 480px) {
    .flavor-toast-container {
        right: 8px;
        left: 8px;
        max-width: none;
        top: 70px;
    }

    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================================
   SHOP - Premium Japanese Ecommerce
   ============================================================ */

.shop-hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #6b5d47 50%, var(--dark-secondary) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(230, 126, 34, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(243, 156, 18, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.shop-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d4a04a;
    margin-bottom: 0.75rem;
}

.shop-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.7;
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}

.shop-search-form { margin-top: 1rem; }

.shop-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0.35rem;
    transition: border-color 0.3s, background 0.3s;
}

.shop-search-wrapper:focus-within {
    border-color: rgba(230, 126, 34, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.shop-search-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    padding: 0 0.75rem;
    flex-shrink: 0;
}

.shop-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    flex: 1;
    min-width: 0;
}

.shop-search-input::placeholder { color: rgba(255, 255, 255, 0.45); }

.shop-search-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #e55a2b 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.15s;
}

.shop-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    color: #fff;
}

.shop-clear-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.shop-clear-link:hover { color: #fff; }

/* Category Pills (mobile) */
.shop-category-pills-section {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

.shop-category-pills-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.shop-category-pills-scroll::-webkit-scrollbar { display: none; }

.shop-category-pill {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-light);
    border: 1.5px solid #e9ecef;
    transition: all 0.2s;
    flex-shrink: 0;
}

.shop-category-pill:hover { color: var(--accent); border-color: var(--accent); }
.shop-category-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Shop Main */
.shop-main-section { background: var(--bg-light); padding: 2.5rem 0 4rem; min-height: 60vh; }

/* Shop Sidebar */
.shop-sidebar-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--card-shadow); overflow: hidden; }

.shop-sidebar-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.shop-sidebar-body { padding: 0.5rem 0; }

.shop-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.shop-sidebar-link:hover { background: var(--accent-light); color: var(--accent); border-left-color: var(--accent); }
.shop-sidebar-link.active { background: var(--accent-light); color: var(--accent); font-weight: 700; border-left-color: var(--accent); }

.shop-sidebar-count { font-size: 0.75rem; background: #f0f0f0; padding: 0.15rem 0.5rem; border-radius: 50px; color: var(--text-secondary); font-weight: 600; }
.shop-sidebar-link.active .shop-sidebar-count { background: rgba(230, 126, 34, 0.15); color: var(--accent); }

.shop-sidebar-promo {
    margin-top: 1.25rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: #fff;
}

.shop-sidebar-promo i { font-size: 1.75rem; color: #d4a04a; display: block; margin-bottom: 0.5rem; }
.shop-sidebar-promo-title { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.shop-sidebar-promo-text { display: block; font-size: 0.8rem; opacity: 0.65; }

.shop-results-banner { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 0.75rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-secondary); }

/* Product Cards */
.shop-product-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--card-shadow); height: 100%; display: flex; flex-direction: column; }
.shop-product-card.out-of-stock { opacity: 0.75; }
.shop-product-card.out-of-stock:hover { transform: none !important; }

.shop-product-img-link { display: block; text-decoration: none; }

.shop-product-img { position: relative; height: 200px; overflow: hidden; background: linear-gradient(135deg, #5a7247 0%, #5a4d3a 50%, #6b5d47 100%); }
.shop-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.shop-product-card:hover .shop-product-img img { transform: scale(1.06); }

.shop-product-img-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255, 255, 255, 0.25); font-size: 3rem; }

.shop-product-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; z-index: 2; }
.shop-badge-sale { display: inline-block; background: #dc3545; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 6px; }
.shop-badge-low { display: inline-block; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); color: #d4a04a; font-size: 0.65rem; font-weight: 600; padding: 0.25rem 0.55rem; border-radius: 6px; }

.shop-product-sold-out { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); display: flex; align-items: center; justify-content: center; z-index: 3; }
.shop-product-sold-out span { background: var(--dark); color: #fff; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 1.25rem; border-radius: 6px; }

.shop-product-overlay { position: absolute; inset: 0; background: rgba(92, 74, 58, 0.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; z-index: 2; }
.shop-product-card:hover .shop-product-overlay { opacity: 1; }
.shop-product-overlay-btn { background: #fff; color: var(--dark); font-size: 0.8rem; font-weight: 600; padding: 0.55rem 1.25rem; border-radius: 50px; transform: translateY(8px); transition: transform 0.3s ease; }
.shop-product-card:hover .shop-product-overlay-btn { transform: translateY(0); }

.shop-product-body { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; }
.shop-product-category { display: inline-block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.4rem; }
.shop-product-name { display: block; font-size: 1rem; font-weight: 700; color: var(--text-primary); text-decoration: none; line-height: 1.35; margin-bottom: 0.4rem; transition: color 0.2s; }
.shop-product-name:hover { color: var(--accent); }
.shop-product-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }

.shop-product-footer { margin-bottom: 0.75rem; }
.shop-product-pricing { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.35rem; }
.shop-product-price { font-size: 1.15rem; font-weight: 800; color: var(--dark); }
.shop-product-price.on-sale { color: #dc3545; }
.shop-product-compare-price { font-size: 0.85rem; color: var(--text-secondary); text-decoration: line-through; }

.shop-stock-indicator { margin-top: 0.15rem; }
.shop-stock { font-size: 0.72rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.shop-stock.in-stock { color: #198754; }
.shop-stock.low-stock { color: #e67e22; }
.shop-stock.out-of-stock { color: #dc3545; }

.shop-product-cart-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0.6rem; background: var(--dark); color: #fff; border: none; border-radius: 8px; font-size: 0.82rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: auto; }
.shop-product-cart-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.shop-product-cart-btn.disabled { background: #dee2e6; color: var(--text-secondary); cursor: not-allowed; transform: none; }

.shop-empty-state { text-align: center; padding: 5rem 1rem; }
.shop-empty-icon { width: 100px; height: 100px; border-radius: 50%; background: var(--accent-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.shop-empty-icon i { font-size: 2.5rem; color: var(--accent); opacity: 0.5; }
.shop-empty-state h4 { font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.shop-empty-state p { color: var(--text-secondary); max-width: 400px; margin: 0 auto 1.5rem; line-height: 1.6; }

/* ============================================================
   SHOP DETAIL
   ============================================================ */

.shop-detail-breadcrumb { background: var(--dark); padding: 0.85rem 0; }
.shop-detail-breadcrumb .breadcrumb { font-size: 0.85rem; }
.shop-detail-breadcrumb .breadcrumb-item a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.2s; }
.shop-detail-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.shop-detail-breadcrumb .breadcrumb-item.active { color: rgba(255, 255, 255, 0.85); }
.shop-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.3); }

.shop-detail-section { background: var(--bg-light); padding: 2.5rem 0 4rem; min-height: 60vh; }

.shop-detail-gallery { position: sticky; top: 5rem; }

.shop-detail-img-main {
    position: relative;
    background: linear-gradient(135deg, #5a7247, #6b5d47, #5a4d3a);
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(92, 74, 58, 0.12);
}

.shop-detail-img-main img { width: 100%; height: 100%; object-fit: cover; }

.shop-detail-img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.2); }
.shop-detail-img-placeholder i { font-size: 5rem; }
.shop-detail-img-placeholder span { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

.shop-detail-sale-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: #dc3545; color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.45rem 1rem; border-radius: 8px; }

.shop-detail-trust-row { display: flex; gap: 0.75rem; margin-top: 1rem; }
.shop-detail-trust-badge { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.85rem 0.5rem; background: #fff; border-radius: 10px; box-shadow: var(--card-shadow); }
.shop-detail-trust-badge i { font-size: 1.15rem; color: var(--accent); }
.shop-detail-trust-badge span { font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }

.shop-detail-info { padding: 0.5rem 0; }

.shop-detail-category-link { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); text-decoration: none; padding: 0.3rem 0.8rem; background: var(--accent-light); border-radius: 50px; margin-bottom: 1rem; transition: all 0.2s; }
.shop-detail-category-link:hover { background: var(--accent); color: #fff; }

.shop-detail-title { font-size: 2rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.5rem; }
.shop-detail-sku { font-size: 0.8rem; color: var(--text-secondary); display: block; margin-bottom: 1.25rem; letter-spacing: 0.03em; }

.shop-detail-price-block { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.shop-detail-price { font-size: 2rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.shop-detail-compare-price { font-size: 1.15rem; color: var(--text-secondary); text-decoration: line-through; }
.shop-detail-discount-tag { display: inline-block; background: #dc3545; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 6px; }

.shop-detail-divider { height: 1px; background: linear-gradient(90deg, #e9ecef, transparent); margin-bottom: 1.25rem; }

.shop-detail-description { margin-bottom: 1.5rem; }
.shop-detail-description p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin: 0; }

.shop-detail-stock-section { margin-bottom: 1.75rem; }
.shop-detail-stock { display: inline-flex; align-items: center; padding: 0.6rem 1rem; border-radius: 8px; font-size: 0.88rem; font-weight: 600; }
.shop-detail-stock.in-stock { background: rgba(25, 135, 84, 0.08); color: #198754; }
.shop-detail-stock.low-stock { background: rgba(230, 126, 34, 0.08); color: #e67e22; }
.shop-detail-stock.out-of-stock { background: rgba(220, 53, 69, 0.08); color: #dc3545; }

.shop-detail-actions { margin-bottom: 2rem; }
.shop-detail-qty-selector { margin-bottom: 1rem; }
.shop-detail-qty-label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: 0.5rem; }

.shop-detail-qty-control { display: inline-flex; align-items: center; border: 2px solid #e9ecef; border-radius: 10px; overflow: hidden; }
.shop-detail-qty-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; border: none; color: var(--text-primary); font-size: 1rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.shop-detail-qty-btn:hover { background: var(--accent-light); color: var(--accent); }

.shop-detail-qty-input { width: 60px; height: 44px; text-align: center; border: none; border-left: 1px solid #e9ecef; border-right: 1px solid #e9ecef; font-weight: 700; font-size: 1rem; color: var(--dark); -moz-appearance: textfield; appearance: textfield; }
.shop-detail-qty-input::-webkit-inner-spin-button,
.shop-detail-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.shop-detail-add-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 1rem 2rem; background: linear-gradient(135deg, var(--accent) 0%, #e55a2b 100%); color: #fff; border: none; border-radius: 12px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; letter-spacing: 0.02em; }
.shop-detail-add-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35); }

.shop-detail-notify-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 1rem 2rem; background: #dee2e6; color: var(--text-secondary); border: none; border-radius: 12px; font-size: 1.05rem; font-weight: 700; cursor: not-allowed; }

.shop-detail-features { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid #eee; }
.shop-detail-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }
.shop-detail-feature i { font-size: 1rem; color: #d4a04a; }

.shop-detail-back-row { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.shop-detail-back-link { display: inline-flex; align-items: center; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.shop-detail-back-link:hover { color: var(--accent); }

/* ============================================================
   CART PAGE
   ============================================================ */

.cart-page-section { background: var(--bg-light); padding: 2.5rem 0 4rem; min-height: 60vh; }
.cart-page-header { margin-bottom: 2rem; }
.cart-page-title { font-size: 1.75rem; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.cart-page-title i { color: var(--accent); }
.cart-page-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

.cart-empty-state { text-align: center; padding: 5rem 1rem; }
.cart-empty-circle { width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-light) 0%, #fff5e6 100%); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2rem; position: relative; }
.cart-empty-circle::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(230, 126, 34, 0.2); }
.cart-empty-circle i { font-size: 3.5rem; color: var(--accent); opacity: 0.6; }
.cart-empty-title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.cart-empty-text { font-size: 0.95rem; color: var(--text-secondary); max-width: 440px; margin: 0 auto 2rem; line-height: 1.6; }
.cart-empty-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cart-empty-shop-btn { border-radius: 10px; font-weight: 600; }

.cart-items-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--card-shadow); overflow: hidden; }
.cart-items-header { padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0; }
.cart-items-header-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); }

.cart-items-table thead { background: var(--bg-light); }
.cart-items-table thead th { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); padding: 0.85rem 1rem; border: none; }
.cart-items-table tbody td { padding: 1rem; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.cart-items-table tbody tr:last-child td { border-bottom: none; }

.cart-item-row { transition: background 0.2s; }
.cart-item-row:hover { background: rgba(248, 249, 250, 0.5); }
.cart-item-name { font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.cart-item-price { color: var(--text-primary); font-weight: 600; }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-light); }
.cart-item-thumb-placeholder { width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg, #5a7247 0%, #5a4d3a 50%, #6b5d47 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 1.2rem; }

.cart-qty-group { display: inline-flex; align-items: center; border: 2px solid var(--accent); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(212,160,74,0.12); }
.cart-qty-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #fff; border: none; color: var(--accent); font-size: 1rem; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.1s; }
.cart-qty-btn:hover { background: var(--accent); color: #fff; }
.cart-qty-btn:active { transform: scale(0.9); }
.cart-qty-value { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; font-weight: 800; font-size: 0.95rem; color: var(--accent); border-left: 1.5px solid rgba(212,160,74,0.2); border-right: 1.5px solid rgba(212,160,74,0.2); height: 38px; background: rgba(212,160,74,0.04); }

.cart-remove-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: 1.5px solid #f0f0f0; border-radius: 8px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-size: 0.75rem; }
.cart-remove-btn:hover { background: rgba(220, 53, 69, 0.08); border-color: #dc3545; color: #dc3545; }

.cart-below-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding: 0 0.25rem; }
.cart-continue-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.cart-continue-link:hover { color: var(--accent); }

.cart-clear-btn { background: none; border: 1.5px solid #f0f0f0; border-radius: 8px; padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.cart-clear-btn:hover { border-color: #dc3545; color: #dc3545; background: rgba(220, 53, 69, 0.05); }

.cart-summary-card { background: #fff; border-radius: var(--border-radius); box-shadow: 0 4px 24px rgba(92, 74, 58, 0.1); overflow: hidden; position: sticky; top: 5rem; }
.cart-summary-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%); color: #fff; padding: 1.15rem 1.5rem; font-weight: 700; font-size: 1rem; display: flex; align-items: center; }
.cart-summary-body { padding: 1.5rem; }

.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-secondary); }
.cart-summary-row.shipping { padding-bottom: 0.75rem; }
.cart-free-shipping { color: #198754; font-weight: 600; font-size: 0.85rem; }
.cart-summary-divider { height: 1px; background: #eee; margin: 0.25rem 0; }

.cart-summary-total { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0 0.25rem; }
.cart-summary-total span:first-child { font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.cart-summary-total span:last-child { font-weight: 800; font-size: 1.35rem; color: var(--accent); }

.cart-checkout-btn { display: flex; align-items: center; justify-content: center; width: calc(100% - 3rem); margin: 0 1.5rem; padding: 0.9rem 1.5rem; background: linear-gradient(135deg, var(--accent) 0%, #e55a2b 100%); color: #fff; border: none; border-radius: 12px; font-size: 1.02rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; letter-spacing: 0.02em; }
.cart-checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35); color: #fff; }

.cart-secure-note { text-align: center; padding: 0.85rem 1.5rem 0.5rem; font-size: 0.75rem; color: var(--text-secondary); }
.cart-payment-icons { display: flex; justify-content: center; gap: 0.85rem; padding: 0 1.5rem 1.25rem; font-size: 1.25rem; color: #ccc; }

/* ============================================================
   SHOP/CART Responsive
   ============================================================ */

@media (max-width: 991.98px) {
    .shop-hero-title { font-size: 2rem; }
    .shop-detail-gallery { position: static; }
}

@media (max-width: 768px) {
    .shop-hero { padding: 2.5rem 0 2rem; }
    .shop-hero-title { font-size: 1.75rem; }
    .shop-hero-subtitle { font-size: 0.9rem; }
    .shop-product-img { height: 160px; }
    .shop-product-body { padding: 0.9rem; }
    .shop-product-name { font-size: 0.9rem; }
    .shop-product-price { font-size: 1rem; }
    .shop-product-desc { font-size: 0.78rem; -webkit-line-clamp: 1; }
    .shop-detail-img-main { aspect-ratio: 4 / 3; }
    .shop-detail-title { font-size: 1.5rem; }
    .shop-detail-price { font-size: 1.6rem; }
    .shop-detail-trust-row { gap: 0.5rem; }
    .shop-detail-trust-badge { padding: 0.65rem 0.35rem; }
    .shop-detail-trust-badge span { font-size: 0.6rem; }
    .cart-items-table .col-brand { display: none; }
    .cart-summary-card { position: static; }
}

@media (max-width: 576px) {
    .shop-hero { padding: 2rem 0 1.5rem; }
    .shop-hero-title { font-size: 1.5rem; }
    .shop-hero-eyebrow { font-size: 0.65rem; }
    .shop-product-img { height: 130px; }
    .shop-product-cart-btn { font-size: 0.75rem; padding: 0.5rem; }
    .shop-product-overlay { display: none; }
    .shop-detail-features { gap: 1rem; }
    .shop-detail-feature { font-size: 0.75rem; }
    .shop-detail-qty-selector { flex-direction: column; align-items: stretch; }
    .shop-detail-qty-control { display: flex; width: 100%; }
    .shop-detail-qty-input { flex: 1; }
    .shop-detail-add-btn { font-size: 0.95rem; }
    .cart-page-title { font-size: 1.35rem; }
    .cart-items-table .col-brand, .cart-items-table .col-subtotal { display: none; }
    .cart-items-table thead th { font-size: 0.65rem; padding: 0.65rem 0.5rem; }
    .cart-items-table tbody td { padding: 0.75rem 0.5rem; font-size: 0.85rem; }
    .cart-item-name { font-size: 0.85rem; }
    .cart-empty-circle { width: 100px; height: 100px; }
    .cart-empty-circle i { font-size: 2.5rem; }
    .cart-empty-title { font-size: 1.25rem; }
    .cart-empty-actions { flex-direction: column; }
    .cart-empty-actions .btn { width: 100%; }
    .cart-checkout-btn { width: calc(100% - 2rem); margin: 0 1rem; }
}

/* ===== Dedicated Restaurant / Order Page ===== */

/* Hero */
.resto-hero {
    background: var(--dark);
    padding: 2.5rem 0 2rem;
    color: #fff;
}
.resto-hero-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.resto-hero-logo img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.resto-hero-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}
.resto-hero-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3), 2px 2px 6px rgba(0,0,0,0.2);
}
.resto-hero-cuisine {
    display: inline-flex;
    align-items: center;
    background: rgba(212,160,74,0.15);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.35rem;
}
.resto-hero-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    max-width: 500px;
}

/* Setup Card (Order Type + Outlet) */
.resto-setup {
    padding: 2rem 0;
    background: var(--bg-light);
}
.resto-setup-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 2rem 2.25rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}
.resto-setup-step {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-light);
}
.resto-setup-step:last-of-type {
    margin-bottom: 1.25rem;
    padding-bottom: 0;
    border-bottom: none;
}
.resto-setup-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.resto-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Order Type Buttons */
.resto-order-type-btns {
    display: flex;
    gap: 1rem;
}
.resto-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.resto-type-btn i {
    font-size: 1.3rem;
}
.resto-type-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}
.resto-type-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(212,160,74,0.3);
}

/* Outlet Buttons */
.resto-outlet-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.resto-outlet-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    width: 100%;
}
.resto-outlet-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.resto-outlet-btn.active {
    border-color: var(--accent);
    background: rgba(212,160,74,0.08);
}
.resto-outlet-info {
    flex: 1;
    min-width: 0;
}
.resto-outlet-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
}
.resto-outlet-addr {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
.resto-outlet-badges {
    display: flex;
    gap: 0.35rem;
}
.resto-outlet-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.resto-outlet-check {
    color: var(--accent);
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.resto-outlet-btn.active .resto-outlet-check {
    opacity: 1;
}

/* Ready Indicator */
.resto-setup-ready {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    background: rgba(90,114,71,0.08);
    border: 1px solid rgba(90,114,71,0.2);
    border-radius: var(--border-radius-sm);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}
.resto-setup-ready i {
    color: var(--dark);
    font-size: 1.1rem;
}

/* Category Bar (sticky) */
.menu-category-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.menu-category-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.15rem 0;
}
.menu-category-nav::-webkit-scrollbar { display: none; }
.menu-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-light);
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}
.menu-category-pill:hover {
    color: var(--accent);
    background: var(--accent-light);
}
.menu-category-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.menu-category-count {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-weight: 700;
}
.menu-category-pill.active .menu-category-count {
    background: rgba(255,255,255,0.25);
}

/* Menu Items Section */
.menu-items-section {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}
.menu-category-section {
    margin-bottom: 2.5rem;
}
.menu-category-header {
    margin-bottom: 1.25rem;
    position: relative;
}
.menu-category-header-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
    z-index: 0;
}
.menu-category-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: var(--bg-light);
    display: inline-block;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
}
.menu-category-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

/* Menu Card */
.menu-card-v2 {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-fast);
    height: 100%;
}
.menu-card-v2:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}
.menu-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.menu-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.menu-card-name-wrap {
    flex: 1;
    min-width: 0;
}
.menu-card-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.04);
}
.menu-card-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent);
    white-space: nowrap;
}
.menu-card-currency {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    margin-right: 0.15rem;
}
.menu-card-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-light);
}
.menu-card-tags {
    display: flex;
    gap: 0.5rem;
}
.menu-card-prep-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.menu-card-add-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-xs);
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.menu-card-add-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.04);
}
.menu-card-add-btn-success {
    background: var(--dark) !important;
    color: #fff !important;
}

/* Empty State */
.restaurant-empty-state {
    text-align: center;
    padding: 4rem 1rem;
}
.restaurant-empty-icon {
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .resto-hero-inner { flex-direction: column; text-align: center; gap: 1rem; }
    .resto-hero-name { font-size: 1.5rem; }
    .resto-hero-desc { margin-left: auto; margin-right: auto; }
    .resto-order-type-btns { flex-direction: column; }
    .menu-card-add-label { display: none; }
    .menu-card-add-btn { padding: 0.5rem 0.65rem; }
}
@media (max-width: 576px) {
    .resto-hero { padding: 1.5rem 0; }
    .resto-hero-logo img, .resto-hero-logo-placeholder { width: 60px; height: 60px; }
    .resto-setup-card { padding: 1.5rem; }
}


/* ================================================================ */
/*          PROFILE PAGE                                            */
/* ================================================================ */

.profile-page-header {
    background: linear-gradient(135deg, rgba(92, 74, 58, 0.95), rgba(90, 114, 71, 0.85));
    padding: 2.5rem 0 2rem;
    color: #fff;
}

.profile-page-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0;
}

.profile-page-header .subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

.profile-avatar-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
    flex-shrink: 0;
}

.profile-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.profile-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: rgba(212, 160, 74, 0.04);
}

.profile-card-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.profile-card-body {
    padding: 1.5rem;
}

.profile-input {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xs);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: var(--dark);
    transition: all var(--transition-fast);
}

.profile-input:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.profile-input:disabled,
.profile-input:read-only {
    opacity: 0.7;
    cursor: not-allowed;
}

.profile-input-addon {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-left: none;
}

.profile-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.profile-stat-item:last-child {
    border-bottom: none;
}

.profile-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-stat-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.profile-quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--dark);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.profile-quick-link:last-child {
    border-bottom: none;
}

.profile-quick-link:hover {
    background: var(--accent-light);
    color: var(--dark);
}

.profile-quick-link-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-sm {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius-xs);
}

/* ================================================================ */
/*          ENHANCED ORDERS PAGE                                    */
/* ================================================================ */

.orders-filter-bar {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--card-shadow);
}

.orders-filter-group {
    min-width: 140px;
}

.orders-filter-select,
.orders-filter-input {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xs);
    color: var(--dark);
    font-size: 0.9rem;
}

.orders-filter-select:focus,
.orders-filter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.order-card-clickable {
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.order-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.order-items-preview {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-light);
}

.order-card-action {
    text-align: right;
}

.order-status-badge.status-pending {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.orders-pagination .page-item .page-link {
    border: 1px solid var(--border-light);
    color: var(--dark);
    background: var(--surface);
    border-radius: var(--border-radius-xs);
    margin: 0 2px;
    font-size: 0.9rem;
    min-width: 36px;
    text-align: center;
}

.orders-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-color: var(--accent);
    color: #fff;
}

.orders-pagination .page-item .page-link:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.orders-pagination .page-item.disabled .page-link {
    opacity: 0.5;
}

/* ================================================================ */
/*          ORDER DETAIL PAGE                                       */
/* ================================================================ */

.order-detail-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.order-detail-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: rgba(212, 160, 74, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-detail-card-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.order-detail-card-body {
    padding: 1.5rem;
}

/* Timeline */
.order-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 0.5rem;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--border-light);
    z-index: 0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: transparent;
    transition: all var(--transition-smooth);
}

.timeline-step-done .timeline-dot {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.timeline-step-current .timeline-dot {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff;
    box-shadow: 0 0 0 4px var(--accent-light), 0 3px 12px var(--accent-glow);
}

.timeline-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.timeline-step-done .timeline-label,
.timeline-step-current .timeline-label {
    color: var(--dark);
}

.timeline-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Order Items Table */
.order-items-table {
    border-top: 1px solid var(--border-light);
}

.order-detail-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.order-detail-item:last-child {
    border-bottom: none;
}

.order-detail-item-qty {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

/* Order Summary */
.order-summary-card {
    position: sticky;
    top: 80px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.order-summary-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.order-points-earned {
    background: linear-gradient(135deg, var(--accent-light), var(--gold-light));
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-xs);
    font-size: 0.9rem;
    color: var(--accent);
    text-align: center;
}

.bg-accent-subtle {
    background-color: var(--accent-light) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* ================================================================ */
/*          LOYALTY PAGE                                            */
/* ================================================================ */

.loyalty-page-header {
    background: linear-gradient(135deg, rgba(92, 74, 58, 0.95), rgba(212, 160, 74, 0.7));
    padding: 2.5rem 0 2rem;
    color: #fff;
}

.loyalty-page-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.loyalty-page-header .subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

/* Enroll CTA */
.loyalty-enroll-cta {
    text-align: center;
    padding: 3rem 1rem;
}

.loyalty-enroll-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.loyalty-feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.loyalty-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.loyalty-feature-card i {
    font-size: 1.75rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.loyalty-feature-card h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.loyalty-feature-card small {
    color: var(--text-muted);
}

/* Balance Card */
.loyalty-balance-card {
    background: linear-gradient(135deg, rgba(92, 74, 58, 0.95), rgba(90, 114, 71, 0.85));
    border-radius: var(--border-radius);
    padding: 2rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.loyalty-balance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.loyalty-balance-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loyalty-balance-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loyalty-tier-badge {
    border: 2px solid;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}

.loyalty-balance-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.loyalty-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.loyalty-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.loyalty-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.loyalty-member-info {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Detail Cards */
.loyalty-detail-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.loyalty-detail-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: rgba(212, 160, 74, 0.04);
}

.loyalty-detail-card-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.loyalty-detail-card-body {
    padding: 1.5rem;
}

/* Tier Progress */
.tier-progress-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 0.5rem;
}

.tier-progress-bar::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--border-light);
    z-index: 0;
}

.tier-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.tier-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-smooth);
}

.tier-dot-completed .tier-dot {
    background: transparent;
}

.tier-dot-current .tier-dot {
    box-shadow: 0 0 0 4px rgba(212, 160, 74, 0.2);
}

.tier-step-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.tier-step-spend {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.tier-progress {
    border-radius: 50px;
    background: var(--border-light);
}

.tier-progress .progress-bar {
    border-radius: 50px;
    transition: width 0.6s ease;
}

.tier-next-info {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* Points History */
.points-history-list {
    /* no extra padding, items handle their own */
}

.points-history-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.points-history-item:last-child {
    border-bottom: none;
}

.points-history-item:hover {
    background: rgba(212, 160, 74, 0.03);
}

.points-history-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* Tier Benefits */
.loyalty-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.loyalty-benefit-item:last-child {
    border-bottom: none;
}

.loyalty-benefit-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Tier Overview */
.loyalty-tier-overview-item {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.loyalty-tier-overview-item:last-child {
    border-bottom: none;
}

.loyalty-tier-current {
    background: var(--accent-light);
}

/* ================================================================ */
/*          RESPONSIVE: NEW PAGES                                   */
/* ================================================================ */

@media (max-width: 768px) {
    .profile-page-header,
    .loyalty-page-header {
        padding: 1.5rem 0;
    }

    .profile-avatar-large {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .profile-card-body {
        padding: 1rem;
    }

    .order-timeline {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0;
    }

    .order-timeline::before {
        top: 0;
        bottom: 0;
        left: 16px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .timeline-step {
        flex-direction: row;
        gap: 0.75rem;
    }

    .timeline-dot {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .timeline-label {
        text-align: left;
    }

    .loyalty-balance-card {
        padding: 1.5rem;
    }

    .loyalty-balance-value {
        font-size: 2.25rem;
    }

    .loyalty-balance-header {
        flex-direction: column;
        gap: 1rem;
    }

    .loyalty-balance-stats {
        gap: 1rem;
    }

    .tier-progress-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .tier-progress-bar::before {
        top: 0;
        bottom: 0;
        left: 18px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .tier-progress-step {
        flex-direction: row;
        gap: 0.75rem;
    }

    .tier-dot {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .orders-filter-bar {
        padding: 1rem;
    }

    .orders-filter-group {
        min-width: 100%;
    }

    .order-detail-item {
        padding: 0.85rem 1rem;
    }

    .order-summary-card {
        position: static;
    }
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE FIXES (2026-03)
   ============================================================ */

/* -- Tablet (768-991px) -- */
@media (max-width: 991.98px) and (min-width: 768px) {
    .shop-category-pills-section { padding: 0.75rem 0; }
    .shop-main-section { padding: 1.75rem 0 3rem; }
    .shop-sidebar-card { display: none; } /* Hide sidebar on tablet, use pills */
}

/* -- Mobile (max 767px) -- */
@media (max-width: 767.98px) {
    /* Ensure touch targets are at least 44px */
    .btn, .nav-link, a.btn, .shop-product-cart-btn,
    .shop-category-pill, .shop-detail-qty-btn {
        min-height: 44px;
    }

    /* Shop product grid - full width on small mobile */
    .shop-main-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .shop-product-img { height: 180px; }
    .shop-product-body { padding: 1rem; }
    .shop-product-cart-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Reduce hero padding */
    .hero-home-section { min-height: 400px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }

    /* Card spacing */
    .restaurant-card, .menu-card { margin-bottom: 1rem; }

    /* Cart page buttons */
    .cart-actions .btn {
        min-height: 48px;
        font-size: 0.95rem;
    }

    /* Sticky navbar spacing */
    body { padding-top: 0; }
}

/* -- Small mobile (max 576px) -- */
@media (max-width: 576px) {
    /* Even more compact but readable */
    .container, .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .shop-product-footer { margin-bottom: 0.5rem; }
    .shop-detail-actions .shop-detail-add-btn {
        min-height: 52px;
        font-size: 1rem;
    }

    /* Profile/Account pages */
    .card-body { padding: 1rem; }

    /* Loyalty/Points cards */
    .kpi-card, .stat-card { padding: 1rem; }
}

/* -- Tablet portrait shop grid fix (768-991px) -- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .shop-main-section .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ===== Toast Notifications ===== */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.flavor-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 440px;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm, 10px);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d2a26;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    border-left: 4px solid var(--accent);
}

.flavor-toast-in {
    transform: translateX(0);
    opacity: 1;
}

.flavor-toast-out {
    transform: translateX(120%);
    opacity: 0;
}

.flavor-toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.flavor-toast-message {
    flex: 1;
    line-height: 1.4;
}

.flavor-toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.flavor-toast-close:hover {
    color: #333;
}

.flavor-toast-success {
    border-left-color: #22c55e;
}

.flavor-toast-success .flavor-toast-icon {
    color: #22c55e;
}

.flavor-toast-error {
    border-left-color: #ef4444;
}

.flavor-toast-error .flavor-toast-icon {
    color: #ef4444;
}

.flavor-toast-warning {
    border-left-color: #f59e0b;
}

.flavor-toast-warning .flavor-toast-icon {
    color: #f59e0b;
}

.flavor-toast-info {
    border-left-color: var(--accent);
}

.flavor-toast-info .flavor-toast-icon {
    color: var(--accent);
}

@media (max-width: 480px) {
    #toast-container {
        right: 10px;
        left: 10px;
    }
    .flavor-toast {
        min-width: unset;
        max-width: unset;
    }
}

/* ===== Brand Photo Card (like crawl source) ===== */
.brand-photo-card {
    position: relative;
    height: 320px;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.brand-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
    transition: background 0.3s;
}
.brand-photo-card:hover .brand-photo-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.brand-photo-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.brand-photo-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.brand-photo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}
.brand-photo-name {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.brand-photo-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .brand-photo-card { height: 260px; }
}

/* ===== Menu Card Image ===== */
.menu-card-img {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #5a7247 0%, #5a4d3a 50%, #6b5d47 100%);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.menu-card-v2:hover .menu-card-img img {
    transform: scale(1.06);
}
.menu-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
}
.menu-card-v2 { overflow: hidden; }

@media (max-width: 768px) {
    .menu-card-img { height: 300px; }
}
@media (max-width: 480px) {
    .menu-card-img { height: 220px; }
}
