:root {
    --color-cream: #FDF8F2;
    --color-green: #657953;
    --color-green-light: #7B9366;
    --color-text-dark: #2C2C2C;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-size: 4rem;
    color: var(--color-white);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.subtitle.white {
    color: rgba(255,255,255,0.8);
}

.eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 1rem;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

.bg-green {
    background-color: var(--color-green);
}

.text-white {
    color: var(--color-white);
}

.mt-medium { margin-top: 3rem; }
.mt-large { margin-top: 6rem; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-green-light);
    transform: translateY(-2px);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(255,255,255,0.25);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.link-btn {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-text-dark);
    padding-bottom: 0.25rem;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.link-btn:hover {
    color: var(--color-green);
    border-color: var(--color-green);
}

/* Header wrapper: sits over a hero image by default (transparent, absolutely
   positioned as one unit); pages without a hero use the .solid variant so it
   sits in normal document flow with a solid background instead of overlapping
   the page content below it. */
.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-wrapper.solid {
    position: sticky;
    top: 0;
    background-color: var(--color-green);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

/* Announcement/contact bar above the main navbar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: rgba(0,0,0,0.25);
    color: var(--color-white);
    padding: 0.6rem 2rem;
    font-size: 0.78rem;
}

.header-wrapper.solid .topbar {
    background-color: rgba(0,0,0,0.15);
}

/* Navbar */
.navbar {
    position: static;
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.logo a {
    display: flex;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.06);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    display: inline-block;
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 6px;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: rgba(255,255,255,0.85);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 50px;
}

.nav-actions .btn-primary {
    margin-left: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    margin-top: 5rem;
}

/* Favourites Grid */
.fav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fav-card {
    width: calc(25% - 1.125rem);
    min-width: 200px;
    text-align: left;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.fav-card:hover {
    transform: translateY(-5px);
}

.fav-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.fav-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fav-card:hover .fav-img-container img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.add-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 2;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--color-green);
    color: var(--color-white);
}

.fav-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fav-price {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Explore Menu Carousel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.carousel-item {
    flex: 1;
    min-width: 200px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.carousel-btn {
    background: var(--color-white);
    color: var(--color-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: absolute;
    z-index: 5;
}

.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

/* Split Sections */
.split-sections {
    position: relative;
}

.split-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-row.reverse {
    flex-direction: row-reverse;
}

.split-img {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    flex: 1;
}

.left-align {
    text-align: left;
}

.split-content h2 {
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.decorative-leaf {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.decorative-leaf.left {
    left: 5%;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    text-align: left;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.location-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.location-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-img img {
    transform: scale(1.05);
}

.location-details {
    padding: 1.5rem;
}

.location-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.location-address {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.location-phone {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.location-actions {
    display: flex;
    gap: 0.75rem;
}

/* ===================== */
/* Shared Page Styles    */
/* ===================== */

/* Page Hero Banner */
.page-hero {
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}

/* Split Page Layout (About Us, Events) */
.split-page {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.split-page.align-center {
    align-items: center;
}

.split-left {
    flex: 1;
}

.split-right {
    flex: 1;
}

.pl-large {
    padding-left: 2rem;
}

.full-img {
    width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: 12px;
}

/* Form Card (Events) */
.form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* Custom Form Styles */
.custom-form {
    text-align: left;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #eef5f1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 4px rgba(101, 121, 83, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.form-note-small {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

/* File Upload */
.file-upload-box {
    border: 2px dashed #D4AF37;
    border-radius: 12px;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.04);
}

/* Divider */
.divider {
    border: none;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
    margin: 1.5rem 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Utility */
.text-left { text-align: left; }
.w-100 { width: 100%; }
.mt-small { margin-top: 1rem; }
.mb-medium { margin-bottom: 3rem; }
.pb-large { padding-bottom: 6rem; }
.full-width { width: 100%; }
.full-width-sm { width: 100%; }

/* Responsive: Split Pages */
@media (max-width: 768px) {
    .split-page {
        flex-direction: column;
        gap: 2rem;
    }
    .pl-large {
        padding-left: 0;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid img {
        height: 200px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-green);
    color: var(--color-white);
    padding-top: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 1;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.link-group h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul li a, .link-group p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--color-white);
}

.link-group p {
    margin-bottom: 0.5rem;
}

.footer-marquee {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-right: 2rem;
    color: rgba(255,255,255,0.9);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .fav-card { width: calc(33.333% - 1rem); }
    
    .split-row, .split-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        font-size: 0.7rem;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        overflow: hidden;
    }
    .topbar span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* When the topbar has its default 3 spans (location / hours / phone),
       only keep the middle one on mobile - but leave it alone when JS has
       replaced it with a single ticker span (the more common case). */
    .topbar span:first-child:nth-last-child(3),
    .topbar span:first-child:nth-last-child(3) ~ span:last-child {
        display: none;
    }

    .hamburger-btn { display: block; order: -1; }

    .nav-container { flex-wrap: wrap; }

    .nav-links {
        display: none;
        flex-direction: column;
        flex-shrink: 0;
        gap: 0;
        order: 10;
        margin-top: 1rem;
        padding: 0.5rem 1.5rem 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        background-color: rgba(20, 30, 25, 0.92);
        position: relative;
        left: -2rem;
        width: calc(100% + 4rem);
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links a {
        padding: 0.9rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .header-wrapper.solid .nav-links a,
    .header-wrapper.solid .hamburger-btn {
        color: var(--color-white);
    }

    .nav-actions { gap: 0.5rem; }

    .fav-card { width: calc(50% - 0.75rem); min-width: 0; }
    .fav-title { font-size: 0.85rem; }
    .fav-price { font-size: 0.75rem; }
    
    .carousel-track { flex-direction: column; flex-wrap: nowrap; gap: 1.5rem; align-items: flex-start; }
    .carousel-item { width: 80%; flex: none; }
    .carousel-item:nth-child(even) { align-self: flex-end; }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0; right: -400px; width: 400px; height: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.cart-drawer.open {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}
.close-cart {
    background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--color-text-light);
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}
.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid #eaeaea;
    background: #fdf8f2;
}
@media (max-width: 500px) {
    .cart-drawer { width: 100%; right: -100%; }
}

/* Advanced Admin Dashboard CSS */
.advanced-admin-layout {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
}
.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.metric-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.metric-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-text-dark);
}
.metric-card p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.tab-btn {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: all 0.2s;
}
.tab-btn:hover {
    border-color: #ccc;
}
.tab-btn.active {
    background: #1e3f33; /* Dark green from screenshot */
    color: #fff;
    border-color: #1e3f33;
}
.admin-tab-content-container {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 2.5rem;
    min-height: 500px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tab-pane h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.admin-input-group {
    margin-bottom: 1.5rem;
}
.admin-input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}
.admin-input-group input, .admin-input-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fafafa;
}
.btn-save {
    background: #1e3f33;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.btn-save:hover {
    background: #152d24;
}
/* Shopify-like Table */
.admin-data-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-data-table th {
    background: #f7ede2;
    padding: 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
}
.admin-data-table td {
    padding: 1rem;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.9rem;
    vertical-align: middle;
}
.admin-data-table img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}
.badge-stock {
    background: #e6f4ea;
    color: #1e8e3e;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
}
.action-link {
    color: var(--color-text-dark);
    text-decoration: none;
    margin-right: 1rem;
    font-size: 0.85rem;
}
.action-delete {
    color: #e63946;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Admin dashboard - mobile (placed after the desktop admin rules above so it
   actually wins the cascade; @media alone doesn't add specificity, so an
   earlier media rule can otherwise lose to a later same-specificity rule) */
@media (max-width: 768px) {
    .advanced-admin-layout { padding: 0 4%; }
    .admin-tab-content-container { padding: 1.5rem; }
    .admin-form-grid { grid-template-columns: 1fr; gap: 0; }
    .admin-data-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-data-table { min-width: 640px; }
}

/* Elegant Seamless Bakery Pattern Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bakery_pattern.jpg');
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.12; /* Subtle watermark effect */
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Patisserie Menu Redesign */
.patisserie-menu-container {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    min-height: 80vh;
}

@media (min-width: 768px) {
    .patisserie-menu-container {
        padding: 4rem 2rem;
    }
}

.menu-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
    scroll-margin-top: 140px;
}

.menu-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-green);
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.menu-header .subtitle {
    font-family: 'Great Vibes', cursive;
    color: #D4AF37;
    font-size: 1.6rem;
    margin: 0;
}

.menu-header::after {
    content: '';
    display: block;
    width: 90px;
    height: 2px;
    margin: 1.5rem auto 0;
    background: linear-gradient(to right, transparent, #D4AF37, transparent);
}

/* Flipbook Styles */
.flipbook-wrapper {
    position: relative;
    width: 100%;
}

.patisserie-menu-board {
    position: relative;
    width: 100%;
}

.flipbook-page {
    display: none;
    width: 100%;
    background: transparent;
    animation: pageFadeIn 0.4s ease;
}

.flipbook-page.active {
    display: block;
}

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

.page-content {
    padding: 2rem 1rem 1rem;
}

.flipbook-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 10;
}

.flip-btn {
    background: #D4AF37;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-btn:disabled {
    background: #e6e6e6;
    color: #999;
    cursor: not-allowed;
}

.flip-btn:not(:disabled):hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.page-indicator {
    font-family: 'Great Vibes', cursive;
    color: #B5952F;
    font-size: 1.8rem;
}

.menu-category {
    margin-bottom: 2rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 3rem;
    padding-bottom: 0;
    text-align: left;
    border-bottom: none;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 3rem;
}

@media (min-width: 768px) {
    .menu-items-grid {
        column-gap: 5rem;
        row-gap: 4rem;
    }
}

.menu-item {
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .menu-item {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        text-align: left;
    }
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 3px solid #fff;
}

@media (min-width: 768px) {
    .menu-item-thumb {
        width: 140px;
        height: 140px;
        border: 4px solid #fff;
    }
}

.menu-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .menu-item-content {
        align-items: flex-start;
        text-align: left;
    }
}

.price-pill {
    background-color: #D4AF37;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.menu-item-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    color: #B5952F;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .menu-item-title {
        font-size: 2.5rem;
    }
}

.menu-item-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.menu-item-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

/* Side Panel */
.item-detail-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.item-detail-panel.open {
    right: 0;
}

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.panel-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.panel-content {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.close-panel-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-img-container {
    width: 100%;
    height: 350px;
    flex-shrink: 0;
}

.panel-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-details {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.panel-details h2 {
    font-size: 2.2rem;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.panel-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.panel-description {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.panel-actions {
    margin-top: auto;
}

.quick-add-btn {
    background: var(--color-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(101, 121, 83, 0.3);
}

.quick-add-btn:hover {
    background: #D4AF37;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}
