/* TOCO SPECIALITY CAFE - PREMIUM BRAND DESIGN SYSTEM */

/* 1. Global Reset & Variables */
:root {
    /* Brand Color Scheme (Sand & Stone with Copper Sienna Highlights) */
    --bg-cream: hsl(34, 30%, 93%);
    --bg-cream-rgb: 244, 239, 234;
    
    --text-charcoal: hsl(27, 24%, 13%);
    --text-charcoal-light: hsl(27, 10%, 40%);
    --text-charcoal-rgb: 30, 26, 23;
    
    --accent-copper: hsl(19, 45%, 38%);
    --accent-copper-light: hsl(19, 50%, 55%);
    --accent-copper-rgb: 163, 107, 79;
    
    --wave-taupe: hsl(30, 12%, 80%);
    --wave-taupe-light: hsl(30, 15%, 86%);
    
    --card-bg: rgba(255, 255, 255, 0.45);
    --card-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(163, 107, 79, 0.08);
    
    /* Typography Constants */
    --font-primary: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    min-height: 100%;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(var(--text-charcoal-rgb), 0.03);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-copper-rgb), 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-copper-rgb), 0.6);
}

/* 2. Dynamic Wavy Background curves */
.wavy-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-wave-svg {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 150%;
    height: 80%;
    opacity: 0.85;
    color: rgba(var(--text-charcoal-rgb), 0.025); /* default for curves line */
    transform: translate3d(0, 0, 0);
}

.wave-layer-1 {
    fill: var(--wave-taupe-light);
    opacity: 0.45;
}

.wave-layer-2 {
    fill: var(--wave-taupe);
    opacity: 0.3;
}

.wave-line-1 {
    stroke: rgba(var(--accent-copper-rgb), 0.12);
    stroke-width: 1.5px;
    stroke-dasharray: 4, 4;
}

.wave-line-2 {
    stroke: rgba(var(--text-charcoal-rgb), 0.08);
    stroke-width: 1px;
}

/* 3. Luxury Splash Screen Loader */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-cream);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    padding: 20px;
}

.splash-logo-container {
    width: 140px;
    height: 175px;
    margin-bottom: 25px;
    position: relative;
}

.splash-logo-svg, .header-logo-svg, .modal-logo-svg {
    width: 100%;
    height: 100%;
    color: var(--text-charcoal);
    transform: scale(0.94) rotate(-3deg);
    transform-origin: center;
    opacity: 0;
    animation: premiumLogoReveal 1.6s forwards 0.05s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes premiumLogoReveal {
    0% {
        opacity: 0;
        transform: scale(0.94) rotate(-3deg);
    }
    30% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Premium SVG Mask hand-drawn animation */
.mask-stroke {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.mask-t-bar {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawMask 0.18s forwards 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-t-stem {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: drawMask 0.18s forwards 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-o-top {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawMask 0.22s forwards 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-c {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawMask 0.22s forwards 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-o-bottom {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawMask 0.22s forwards 0.68s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-cleft {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: drawMask 0.15s forwards 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-full-reveal {
    opacity: 0;
    animation: fadeInReveal 0.2s forwards 0.95s ease-out;
}

@keyframes drawMask {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInReveal {
    to {
        opacity: 1;
    }
}

.splash-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 2.2rem;
    letter-spacing: 0.4em;
    margin-left: 0.4em;
    color: var(--text-charcoal);
    opacity: 0;
    transform: translateY(10px);
    animation: textSlideUp 0.4s forwards 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.5em;
    margin-top: 5px;
    margin-left: 0.5em;
    color: var(--accent-copper);
    opacity: 0;
    transform: translateY(10px);
    animation: textSlideUp 0.4s forwards 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-divider {
    width: 140px;
    height: 1px;
    background: var(--accent-copper);
    margin: 15px auto 0;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawDivider 0.4s forwards 1.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes drawDivider {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.splash-loader-bar {
    display: none; /* Removed as requested */
}

@keyframes textSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    to {
        width: 100%;
    }
}

/* 4. Glassmorphic App Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(var(--bg-cream-rgb), 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(var(--accent-copper-rgb), 0.08);
    transition: var(--transition-premium);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.header-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-primary);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--accent-copper);
    margin-top: 2px;
}

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

.header-action-btn {
    border: 1px solid rgba(var(--text-charcoal-rgb), 0.1);
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-charcoal);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-premium);
}

.header-action-btn:hover {
    background: var(--text-charcoal);
    color: var(--bg-cream);
    border-color: var(--text-charcoal);
    transform: scale(1.05);
}

.header-action-btn:active {
    transform: scale(0.95);
}

/* 5. Animated Search Drawer */
.search-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(var(--bg-cream-rgb), 0.5);
    border-bottom: 0 solid rgba(var(--accent-copper-rgb), 0.08);
}

.search-drawer.open {
    max-height: 70px;
    border-bottom-width: 1px;
}

.search-input-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 40px;
    color: var(--text-charcoal-light);
    font-size: 0.9rem;
    pointer-events: none;
}

#menu-search {
    width: 100%;
    padding: 10px 15px 10px 42px;
    border-radius: 20px;
    border: 1px solid rgba(var(--text-charcoal-rgb), 0.15);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-charcoal);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-premium);
}

#menu-search:focus {
    border-color: var(--accent-copper);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--accent-copper-rgb), 0.08);
}

.search-clear-btn {
    position: absolute;
    right: 40px;
    border: none;
    background: transparent;
    color: var(--text-charcoal-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
}

.search-clear-btn:hover {
    color: var(--text-charcoal);
}

/* 6. Horizontal Scrollable Category Tabs */
.category-navbar-wrapper {
    width: 100%;
    border-top: 1px solid rgba(var(--accent-copper-rgb), 0.04);
}

.category-navbar {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 12px 10px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 8px;
    scrollbar-width: none; /* Firefox */
}

.category-navbar::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}

.category-tab {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--text-charcoal);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition-bounce);
}

.category-tab i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition-premium);
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.category-tab.active {
    background: var(--text-charcoal);
    color: var(--bg-cream);
    box-shadow: 0 4px 15px rgba(var(--text-charcoal-rgb), 0.12);
}

.category-tab.active i {
    color: var(--accent-copper-light);
    opacity: 1;
}

/* 7. Menu Layout Container */
.menu-container {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 24px 100px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Section Hero Titles */
.section-hero-title {
    text-align: center;
    margin: 20px 0 35px;
    position: relative;
}

.section-hero-title h2 {
    font-family: var(--font-primary);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--text-charcoal);
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.section-hero-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-copper), transparent);
}

/* Subsection Headers */
.menu-subsection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    width: 100%;
}

.subsection-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    color: var(--accent-copper);
    text-transform: uppercase;
    text-align: center;
}

.header-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-copper-rgb), 0.3), transparent);
}

.menu-subsection-header.style-underline {
    border-bottom: 1.5px solid rgba(var(--accent-copper-rgb), 0.25);
    padding-bottom: 8px;
    margin-bottom: 25px;
}

.menu-subsection-header.style-underline .subsection-title {
    width: 100%;
}

.menu-subsection-header.style-double-line {
    border-top: 1.5px solid rgba(var(--accent-copper-rgb), 0.25);
    border-bottom: 1.5px solid rgba(var(--accent-copper-rgb), 0.25);
    padding: 8px 0;
    margin: 40px 0 25px;
}

.menu-subsection-header.style-double-line .subsection-title {
    width: 100%;
}

/* 8. Menu Grid Layout & Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

/* Responsive grid */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.menu-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-copper), transparent);
    opacity: 0;
    transition: var(--transition-premium);
}

.menu-card:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(var(--accent-copper-rgb), 0.15);
    box-shadow: 0 12px 40px 0 rgba(163, 107, 79, 0.12);
}

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

.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.item-title {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-charcoal);
    line-height: 1.35;
    text-transform: uppercase;
    transition: var(--transition-premium);
}

.menu-card:hover .item-title {
    color: var(--accent-copper);
}

.item-price {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-charcoal);
    letter-spacing: 0.02em;
}

.item-description {
    font-size: 0.85rem;
    color: var(--text-charcoal-light);
    line-height: 1.5;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 12px;
}

.item-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.footer-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(var(--accent-copper-rgb), 0.06);
    color: var(--accent-copper);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(var(--accent-copper-rgb), 0.08);
}

/* Cakes and Loaves Lists compact design */
.flex-double-column {
    grid-template-columns: repeat(2, 1fr);
}

.menu-card.mini-item {
    padding: 15px 20px;
    border-radius: 12px;
}

.menu-card.mini-item .card-title-row {
    margin-bottom: 0;
}

.menu-card.mini-item .item-title {
    font-family: var(--font-secondary);
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 9. Addons Section */
.addons-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.addons-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-top: 10px;
}

.addon-item {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--text-charcoal-light);
}

.addon-item i {
    color: var(--accent-copper);
    font-size: 0.75rem;
    margin-right: 4px;
}

/* 10. Sticky Bottom disclaimers & Brand Footer */
.app-footer {
    width: 100%;
    margin-top: auto;
    background: rgba(var(--text-charcoal-rgb), 0.98);
    color: var(--bg-cream);
    text-align: center;
    padding: 24px 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-notice {
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-link {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--bg-cream);
    transition: var(--transition-premium);
}

.footer-link:hover {
    color: var(--accent-copper-light);
}

.footer-dot {
    opacity: 0.3;
    font-size: 0.6rem;
}

/* 11. Modal Detail sheets */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--text-charcoal-rgb), 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-cream);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 480px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.modal-backdrop.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(var(--text-charcoal-rgb), 0.08);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
}

.modal-close-btn:hover {
    background: var(--text-charcoal);
    color: var(--bg-cream);
    transform: rotate(90deg);
}

/* Modal top visual */
.modal-header-visual {
    height: 220px;
    background: var(--bg-cream);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--accent-copper-rgb), 0.06);
}

.modal-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modal-item-image.loaded {
    opacity: 1;
}

.modal-item-image.logo-fallback {
    object-fit: contain;
    padding: 20px;
}

.modal-content {
    padding: 30px 30px 20px;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.modal-item-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-charcoal);
    text-transform: uppercase;
    line-height: 1.3;
}

.modal-price-box {
    display: flex;
    align-items: flex-start;
    color: var(--accent-copper);
}

.price-currency {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 3px;
    margin-right: 2px;
}

.price-value {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: 600;
}

.modal-item-description {
    font-size: 0.95rem;
    color: var(--text-charcoal-light);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.modal-detail-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-label {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-copper);
    display: block;
    margin-bottom: 10px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-section-info {
    border-top: 1px solid rgba(var(--text-charcoal-rgb), 0.06);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.info-label {
    color: var(--text-charcoal-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: var(--accent-copper);
    width: 14px;
    text-align: center;
}

.info-value {
    font-weight: 500;
    color: var(--text-charcoal);
}

/* Modal Actions */
.modal-footer-actions {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-premium);
}

.modal-action-btn.primary-btn {
    background: var(--text-charcoal);
    color: var(--bg-cream);
}

.modal-action-btn.primary-btn:hover {
    background: var(--accent-copper);
    transform: translateY(-1px);
}

.modal-action-btn.primary-btn:active {
    transform: translateY(1px);
}

.modal-action-btn.secondary-btn {
    background: transparent;
    color: var(--text-charcoal-light);
    border: 1px solid rgba(var(--text-charcoal-rgb), 0.1);
}

.modal-action-btn.secondary-btn:hover {
    background: rgba(var(--text-charcoal-rgb), 0.03);
    color: var(--text-charcoal);
}

/* Cafe Info details adjustments */
.info-header {
    text-align: center;
    padding: 35px 30px 20px;
}

.info-header h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--text-charcoal);
    margin-bottom: 4px;
}

.info-header .tagline {
    font-size: 0.8rem;
    color: var(--accent-copper);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-content-body {
    padding: 0 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-group h4 {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-copper);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-group p {
    font-size: 0.88rem;
    color: var(--text-charcoal-light);
}

.info-group a {
    font-size: 0.88rem;
    color: var(--text-charcoal);
    text-decoration: underline;
    transition: var(--transition-premium);
}

.info-group a:hover {
    color: var(--accent-copper);
}

.info-group.border-top {
    border-top: 1px solid rgba(var(--text-charcoal-rgb), 0.06);
    padding-top: 15px;
}

.info-group.border-top p {
    font-style: italic;
    line-height: 1.5;
}

/* 12. Toast notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-charcoal);
    color: var(--bg-cream);
    padding: 12px 24px;
    border-radius: 30px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--accent-copper-light);
}

/* 13. Search Status Count Banner */
.search-status {
    background: rgba(var(--accent-copper-rgb), 0.08);
    border: 1px solid rgba(var(--accent-copper-rgb), 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.search-status p {
    color: var(--accent-copper);
    font-weight: 500;
}

.text-btn {
    border: none;
    background: transparent;
    color: var(--text-charcoal);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-secondary);
}

.text-btn:hover {
    color: var(--accent-copper);
}

/* No results state card */
.no-results-card {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border: 1px dashed rgba(var(--accent-copper-rgb), 0.2);
    border-radius: 20px;
}

.no-results-icon {
    font-size: 2.5rem;
    color: rgba(var(--accent-copper-rgb), 0.2);
    margin-bottom: 15px;
}

.no-results-card h4 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    color: var(--text-charcoal);
    margin-bottom: 5px;
}

.no-results-card p {
    font-size: 0.88rem;
    color: var(--text-charcoal-light);
}

/* Category Grid Specific Styles */
#category-selection-container .section-hero-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: none;
    padding-bottom: 0;
}
#category-selection-container .section-hero-title h2::after {
    display: none;
}
.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--accent-copper);
    margin-bottom: 5px;
    text-transform: uppercase;
}
.hero-description {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-charcoal-light);
    margin-top: 10px;
}
.category-card-body {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 15px 10px;
}
.category-icon-wrapper {
    background-color: rgba(163, 107, 79, 0.1);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.category-icon-wrapper i {
    font-size: 1.6rem;
    color: var(--accent-copper);
}
.category-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-charcoal);
    margin-bottom: 10px;
    text-transform: uppercase;
    transition: var(--transition-premium);
}
.menu-card:hover .category-title {
    color: var(--accent-copper);
}
.category-desc {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-charcoal-light);
    line-height: 1.4;
    margin-bottom: 22px;
}
.category-count {
    background-color: rgba(30, 26, 23, 0.05); /* matches var(--text-charcoal-rgb) at 0.05 */
    color: var(--text-charcoal-light);
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: inline-block;
}
.category-explore {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-copper);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--transition-premium);
}
.menu-card:hover .category-explore {
    color: var(--accent-copper-light);
}
.map-link {
    color: var(--accent-copper);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    text-decoration: underline;
}
.map-link:hover {
    color: var(--text-charcoal);
}

/* 14. Responsive Layout Fixes */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .header-top {
        padding: 12px 16px;
    }
    
    .brand-name {
        font-size: 1.15rem;
    }
    
    .category-navbar {
        padding: 5px 8px 8px;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .menu-container {
        padding: 20px 16px 100px;
        gap: 35px;
    }
    
    .menu-card {
        padding: 16px 18px;
    }
    
    .item-title {
        font-size: 0.95rem;
    }
    
    .flex-double-column {
        grid-template-columns: 1fr;
    }
    
    .modal-card {
        max-height: 90vh;
        border-radius: 24px;
    }
    
    .modal-header-visual {
        height: 160px;
    }
    
    .modal-content {
        padding: 20px 20px 15px;
    }
}
