/*
Theme Name: Essence of Spice
Description: Custom theme converted from HTML
Author: AI Assistant
Version: 1.0
*/
:root {
    --bg-dark: #0a0a0c;
    --bg-surface: #141417;
    --primary: #f26419; /* Vibrant orange */
    --primary-hover: #ff7f3f;
    --accent: #f6ae2d; /* Warm gold */
    --text-main: #fbfbfb;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Mobile Sidebar --- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.7);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

/* Sidebar Logo */
.sidebar-header {
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sidebar-phone {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    margin-top: 5px;
}

.sidebar-logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
    overflow: hidden;
}

.sidebar-logo-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, var(--primary) 100%);
    animation: flow-ring 2s linear infinite;
    z-index: 0;
}

.sidebar-logo {
    position: relative;
    z-index: 1;
    width: 132px;
    height: 132px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 5px 10px 15px 10px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Sidebar Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
    gap: 10px;
}

.sidebar-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-link:hover {
    color: var(--primary);
    transform: translateX(10px);
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding: 30px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.sidebar-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-map {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-socials {
    display: flex;
    gap: 20px;
}

.sidebar-socials a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- Reservation Sliding Panel --- */
.res-panel {
    position: fixed;
    top: 50%;
    right: -360px;
    transform: translateY(-50%);
    width: 360px;
    max-width: 90vw;
    background: var(--bg-surface);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-radius: 12px 0 0 12px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border: 1px solid rgba(212,175,55,0.2);
    border-right: none;
}

.res-panel.active {
    right: 0;
}

.res-toggle {
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: -4px 0 15px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    z-index: 1001;
}

.res-toggle:hover {
    background: #e59400;
}

.res-toggle-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.res-arrow {
    transition: transform 0.4s ease;
}

.res-panel.active .res-arrow {
    transform: rotate(180deg);
}

.res-content {
    padding: 30px 25px;
}

.res-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.res-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.res-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    gap: 15px;
}

.half-width {
    flex: 1;
}

.w-100 {
    width: 100%;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: preloader-hide 0.1s forwards 3.6s;
    background: transparent;
}

.preloader-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0f1014;
    z-index: 1;
}

.left-door {
    left: 0;
    border-right: 2px solid transparent;
    animation: slide-left-door 1s cubic-bezier(0.77, 0, 0.175, 1) forwards 2.5s,
               border-appear 0.2s forwards 2.3s;
}

.right-door {
    right: 0;
    border-left: 2px solid transparent;
    animation: slide-right-door 1s cubic-bezier(0.77, 0, 0.175, 1) forwards 2.5s,
               border-appear 0.2s forwards 2.3s;
}

.preloader-elephant {
    position: absolute;
    top: 50%;
    width: 400px;
    opacity: 0.15;
}

.elephant-left {
    right: 20px;
    transform: translateY(-50%);
}

.elephant-right {
    left: 20px;
    transform: translateY(-50%) scaleX(-1);
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: preloader-content-fade 2.5s ease-in-out forwards;
}

.preloader-logo-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(212,175,55,0.4);
    animation: preloader-pulse 2s ease-in-out infinite alternate;
    overflow: hidden;
}

.preloader-logo-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, var(--primary) 100%);
    animation: flow-ring 2s linear infinite;
    z-index: 0;
}

.preloader-logo {
    position: relative;
    z-index: 1;
    width: 250px;
    height: 250px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 5px 15px 25px 15px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.preloader-text {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}

/* Preloader Keyframes */
@keyframes slide-left-door {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes slide-right-door {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@keyframes preloader-content-fade {
    0% { opacity: 0; transform: scale(0.9); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.1); }
}

@keyframes preloader-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes flow-ring {
    100% { transform: rotate(360deg); }
}

@keyframes border-appear {
    0% { border-color: transparent; }
    100% { border-color: var(--primary); }
}

@keyframes preloader-hide {
    100% { visibility: hidden; opacity: 0; z-index: -1; pointer-events: none; }
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    padding: 0;
    transition: var(--transition);
    background-color: #ffffff;
    color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    background-color: #ffffff;
    padding: 0 15px 15px 15px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    align-self: flex-start;
    transition: var(--transition);
}

.logo img {
    height: 150px;
    display: block;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 60px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #d94a00);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 100, 25, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 100, 25, 0.5);
    color: #fff;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-controls {
    display: none;
}

.mobile-quick-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(0,0,0,0.15);
}

.mobile-icon {
    color: var(--bg-dark);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.mobile-icon:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--bg-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide.slide-1 { animation: z-slide-1 18s infinite; }
.hero-slide.slide-2 { animation: z-slide-2 18s infinite; }
.hero-slide.slide-3 { animation: z-slide-3 18s infinite; }

.half {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.half-1 { clip-path: polygon(0 0, 100% 0, 0 100%); }
.half-2 { clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.slide-1 .half { background-image: url('images/hero_bg_1781496753783.png'); }
.slide-2 .half { background-image: url('images/butter_chicken_1781496763722.png'); }
.slide-3 .half { background-image: url('images/chicken_biryani.png'); }

.slide-1 .half-1 { animation: split-1-h1 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }
.slide-1 .half-2 { animation: split-1-h2 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }
.slide-2 .half-1 { animation: split-2-h1 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }
.slide-2 .half-2 { animation: split-2-h2 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }
.slide-3 .half-1 { animation: split-3-h1 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }
.slide-3 .half-2 { animation: split-3-h2 18s infinite cubic-bezier(0.77, 0, 0.175, 1); }

@keyframes z-slide-1 {
    0%, 33.33% { z-index: 3; }
    33.34%, 100% { z-index: 0; }
}
@keyframes z-slide-2 {
    0%, 66.66% { z-index: 2; }
    66.67%, 100% { z-index: -1; }
}
@keyframes z-slide-3 {
    0%, 100% { z-index: 1; }
}

@keyframes split-1-h1 {
    0%, 25% { transform: translate(0, 0); }
    33.33% { transform: translate(-100%, -100%); }
    33.34%, 100% { transform: translate(0, 0); }
}
@keyframes split-1-h2 {
    0%, 25% { transform: translate(0, 0); }
    33.33% { transform: translate(100%, 100%); }
    33.34%, 100% { transform: translate(0, 0); }
}
@keyframes split-2-h1 {
    0%, 58.33% { transform: translate(0, 0); }
    66.66% { transform: translate(-100%, -100%); }
    66.67%, 100% { transform: translate(0, 0); }
}
@keyframes split-2-h2 {
    0%, 58.33% { transform: translate(0, 0); }
    66.66% { transform: translate(100%, 100%); }
    66.67%, 100% { transform: translate(0, 0); }
}
@keyframes split-3-h1 {
    0%, 91.66% { transform: translate(0, 0); }
    100% { transform: translate(-100%, -100%); }
}
@keyframes split-3-h2 {
    0%, 91.66% { transform: translate(0, 0); }
    100% { transform: translate(100%, 100%); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.7) 50%, rgba(10, 10, 12, 0.4) 100%);
    z-index: 2;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    text-align: left;
    display: grid;
    margin-right: auto;
    margin-left: 5%;
}

.hero-text {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.hero-text-1 { animation: text-fade-1 18s infinite; }
.hero-text-2 { animation: text-fade-2 18s infinite; }
.hero-text-3 { animation: text-fade-3 18s infinite; }

@keyframes text-fade-1 {
    0%, 25% { opacity: 1; pointer-events: auto; transform: translateY(0); }
    28%, 95% { opacity: 0; pointer-events: none; transform: translateY(-20px); }
    98%, 100% { opacity: 1; pointer-events: auto; transform: translateY(0); }
}
@keyframes text-fade-2 {
    0%, 28% { opacity: 0; pointer-events: none; transform: translateY(20px); }
    33%, 58% { opacity: 1; pointer-events: auto; transform: translateY(0); }
    62%, 100% { opacity: 0; pointer-events: none; transform: translateY(-20px); }
}
@keyframes text-fade-3 {
    0%, 61% { opacity: 0; pointer-events: none; transform: translateY(20px); }
    66%, 91% { opacity: 1; pointer-events: auto; transform: translateY(0); }
    95%, 100% { opacity: 0; pointer-events: none; transform: translateY(-20px); }
}



.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    max-width: 800px;
    background: linear-gradient(to right, #fff, #f6ae2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    animation: fadeInUp 1s ease forwards 0.4s;
    opacity: 0;
}

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

/* Menu Highlights */
.menu-highlights {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.dish-card {
    background: var(--bg-surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
}

.dish-card:hover {
    transform: translateY(-10px);
    border-color: rgba(242, 100, 25, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.dish-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.dish-card:hover .dish-img img {
    transform: scale(1.1);
}

.dish-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-surface), transparent);
}

.dish-info {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.dish-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.dish-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Sliders Section --- */
.sliders-section {
    padding: 40px 0;
    background: var(--bg-surface);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container::before, .slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.reviews-track {
    animation: marquee 40s linear infinite;
}

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

.slider-container:hover .slider-track {
    animation-play-state: paused;
}

/* Review Cards */
.review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-stars {
    color: var(--primary);
    font-size: 1.2rem;
}

.review-source {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card.google .review-source { color: #4285F4; }
.review-card.facebook .review-source { color: #1877F2; }

/* --- About Us --- */
.about {
    padding: 100px 24px;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    object-fit: cover;
}

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

.about-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text .strong-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* --- Dine In / Take Out --- */
.dine-in-takeout {
    padding: 40px 24px;
    background: var(--bg-surface);
    text-align: center;
}

.dine-in-takeout .dine-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* --- Menu Page Styles --- */
.menu-page-header {
    margin-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero_bg_1781496753783.png') center/cover;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

.menu-page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.menu-page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.menu-page-content {
    padding: 80px 20px;
    background: var(--bg-surface);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-category {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
}

.menu-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(212,175,55,0.3);
    padding-bottom: 10px;
}

.menu-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 1.1rem;
    color: #222;
}

.menu-item-name {
    font-weight: 600;
    padding-right: 10px;
    background: #ffffff;
    z-index: 2;
}

.menu-item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(0,0,0,0.1);
    margin: 0 10px;
    position: relative;
    top: -4px;
    z-index: 1;
}

.menu-item-price {
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    background: #ffffff;
    padding-left: 10px;
    z-index: 2;
}

.btn-add-cart {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-left: 10px;
    z-index: 2;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--primary-hover);
}

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

/* --- Shop Page Styles --- */
.shop-page-content {
    padding: 80px 20px;
    background: var(--bg-surface);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-image-placeholder {
    height: 220px;
    background: linear-gradient(135deg, rgba(242, 100, 25, 0.1), rgba(246, 174, 45, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-image-placeholder span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.6;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 80px 24px 24px;
    color: var(--bg-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 150px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #4a4a4a;
    max-width: 300px;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-contact p {
    color: #4a4a4a;
    margin-bottom: 10px;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #4a4a4a;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-map iframe {
    width: 100%;
    max-width: 300px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #666666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-contact {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}


/* Added by AI to hide preloader on subsequent visits */
.no-preloader .preloader { display: none !important; animation: none !important; }


/* WordPress Nav Menu Fixes */
.nav-links-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}


/* WooCommerce Single Product Redesign */
.no-product-image .woocommerce-product-gallery {
    display: none !important;
}
.no-product-image div.product div.summary {
    width: 100% !important;
    float: none !important;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.no-product-image div.product div.summary .price {
    justify-content: center;
}
.no-product-image div.product form.cart {
    justify-content: center;
    display: flex;
    margin-top: 30px;
}
/* Beautify Add to Cart */
.woocommerce div.product form.cart .button {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 15px 40px !important;
    font-size: 1.1rem;
    font-family: Outfit, sans-serif;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
}
.woocommerce div.product form.cart .button:hover {
    background-color: #b89730 !important;
}
/* Beautify Product Title */
.woocommerce div.product .product_title {
    font-family: Playfair Display, serif;
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}
/* Hide placeholder globally just in case */
.woocommerce-product-gallery__image--placeholder { 
    display: none !important; 
}


/* View Cart Notification Badge */
.menu-item-row .added_to_cart {
    background: #28a745;
    color: white !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    margin-left: 10px;
    white-space: nowrap;
    display: inline-block;
    transition: background 0.3s;
    line-height: 1.5;
}
.menu-item-row .added_to_cart:hover {
    background: #218838;
}


/* Mini Cart Dropdown Styles */
.header-cart:hover .mini-cart-dropdown {
    display: block !important;
}
.header-cart .mini-cart-dropdown {
    color: #222 !important;
}
.header-cart .mini-cart-dropdown * {
    color: #222;
}
.header-cart .mini-cart-dropdown a.button {
    color: #fff !important;
}
.header-cart::before {
    content: ;
    position: absolute;
    top: 100%;
    right: 0;
    height: 20px;
    width: 100%;
    background: transparent;
}


/* --- WooCommerce Customizations --- */
.woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0 15px;
    border: none;
    background: transparent;
}
.woocommerce table.shop_table th {
    background: transparent;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding: 15px;
}
.woocommerce table.shop_table td {
    background: #fbf9f6;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 15px;
}
.woocommerce table.shop_table tr td:first-child {
    border-left: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px 0 0 10px;
}
.woocommerce table.shop_table tr td:last-child {
    border-right: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 10px 10px 0;
}
.woocommerce a.remove {
    color: #e74c3c !important;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    background: transparent !important;
}
.woocommerce a.remove:hover {
    color: #fff !important;
    background: #e74c3c !important;
}
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #fbf9f6;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 20px;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    padding: 12px 25px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}
.woocommerce .quantity input.qty {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 10px;
    font-family: 'Outfit', sans-serif;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top-color: var(--primary);
    background: #fbf9f6;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.woocommerce-message::before, .woocommerce-info::before {
    color: var(--primary);
}


/* Fix text visibility on white page cards */
.page-content {
    color: #222222 !important;
}
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
    color: #000000 !important;
}
.woocommerce table.shop_table th, 
.woocommerce table.shop_table td, 
.woocommerce-cart .cart-collaterals .cart_totals, 
.woocommerce-cart .cart-collaterals .cart_totals table th, 
.woocommerce-cart .cart-collaterals .cart_totals table td {
    color: #222222 !important;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
    color: var(--primary) !important;
}
.woocommerce a, .woocommerce-cart a.shipping-calculator-button {
    color: #222222;
}
.woocommerce a:hover {
    color: var(--primary);
}


/* Hide country and state fields in checkout since they are locked to Canada/Ontario */
/* Hide country field, but keep province visible and locked */
#billing_country_field, #shipping_country_field {
    display: none !important;
}
#billing_state_field, #shipping_state_field {
    display: block !important;
}
.locked-province .woocommerce-input-wrapper {
    pointer-events: none !important;
    opacity: 0.7;
    background: #f5f5f5;
    border-radius: 4px;
}


/* Thank you page styles */
.woocommerce-order {
    text-align: center;
}
.woocommerce-notice--success {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.delivery-map {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(0,0,0,0.05);
}
.woocommerce-order-details {
    text-align: left;
}



/* Fix hover gap for mini-cart */
.header-cart::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
    z-index: 999;
}
.mini-cart-dropdown {
    margin-top: 15px !important;
}

/* Hide product image in mini-cart */
.woocommerce-mini-cart-item img {
    display: none !important;
}
/* Adjust padding since image is gone */
.woocommerce-mini-cart-item {
    padding-left: 0 !important;
}
.woocommerce-mini-cart-item a.remove {
    left: 0 !important;
}
.woocommerce-mini-cart-item a:not(.remove) {
    margin-left: 25px;
}


/* --- Mini Cart Beautiful Redesign --- */
.mini-cart-dropdown {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    width: 350px !important;
}

ul.woocommerce-mini-cart {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    max-height: 400px;
    overflow-y: auto;
}

/* Custom scrollbar for mini cart */
ul.woocommerce-mini-cart::-webkit-scrollbar {
    width: 6px;
}
ul.woocommerce-mini-cart::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    background: transparent !important;
}

ul.woocommerce-mini-cart li.woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

/* Move remove button to the top right of the item */
ul.woocommerce-mini-cart li a.remove {
    position: absolute !important;
    top: 15px !important;
    right: 5px !important;
    left: auto !important;
    color: #e74c3c !important;
    background: transparent !important;
    font-size: 1.4rem !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    width: 100% !important;
    height: auto !important;
}

ul.woocommerce-mini-cart li a.remove:hover {
    color: #c0392b !important;
    background: transparent !important;
}

/* Style the product title */
ul.woocommerce-mini-cart li a:not(.remove) {
    margin-left: 0 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
    padding-right: 25px !important; /* space for remove button */
    display: block !important;
    line-height: 1.3 !important;
}
ul.woocommerce-mini-cart li a:not(.remove):hover {
    color: var(--secondary) !important;
}

/* Style the quantity & price */
ul.woocommerce-mini-cart li .quantity {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    color: #666 !important;
    font-weight: 500 !important;
}
ul.woocommerce-mini-cart li .quantity .amount {
    color: #222 !important;
    font-weight: 600 !important;
}

/* Subtotal area */
p.woocommerce-mini-cart__total {
    border-top: 2px dashed rgba(0,0,0,0.1) !important;
    padding-top: 20px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    color: #222 !important;
}

p.woocommerce-mini-cart__total strong {
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    color: #888 !important;
}

p.woocommerce-mini-cart__total .amount {
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--primary) !important;
}

/* Buttons */
p.woocommerce-mini-cart__buttons {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
    justify-content: space-between !important;
}

p.woocommerce-mini-cart__buttons a.button {
    flex: 1 !important;
    text-align: center !important;
    padding: 14px 10px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

p.woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background: #f1f1f1 !important;
    color: #444 !important;
    border: none !important;
}

p.woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    background: #e5e5e5 !important;
    color: #222 !important;
}

p.woocommerce-mini-cart__buttons a.checkout {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    border: none !important;
}

p.woocommerce-mini-cart__buttons a.checkout:hover {
    background: var(--secondary) !important;
    transform: translateY(-2px) !important;
}


/* --- WooCommerce My Account Dashboard Redesign --- */

.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    background: #fbf9f6;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation ul li:hover, 
.woocommerce-MyAccount-navigation ul li.is-active {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    color: #222 !important;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.4;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--primary) !important;
}

/* Icons via FontAwesome */
.woocommerce-MyAccount-navigation ul li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f015"; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f466"; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007"; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; }

.woocommerce-MyAccount-navigation ul li:hover a::before,
.woocommerce-MyAccount-navigation ul li.is-active a::before {
    transform: scale(1.1);
}

.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.woocommerce-MyAccount-content h2, 
.woocommerce-MyAccount-content h3 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    margin-top: 0;
}

.woocommerce-MyAccount-content p {
    font-family: 'Outfit', sans-serif;
    color: #444;
    line-height: 1.6;
}

.woocommerce-MyAccount-content table, 
.woocommerce-MyAccount-content form {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
}


/* Fix WooCommerce Shop Titles Color */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    color: #ffffff !important;
}
.woocommerce ul.products li.product .price {
    color: var(--primary) !important;
}


/* Fix WooCommerce View Cart Badge */
.woocommerce ul.products li.product .added_to_cart {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-top: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}
.woocommerce ul.products li.product .added_to_cart:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}


/* Shop Search and Filter Bar */
.shop-filter-bar-wrapper {
    width: 100%;
    margin-bottom: 30px;
    z-index: 100;
}
.shop-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}
.shop-search-form {
    display: flex;
    flex: 1;
    min-width: 250px;
    position: relative;
}
.shop-search-field {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}
.shop-search-field:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}
.shop-search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px 10px;
}
.shop-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-cat-pill {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}
.shop-cat-pill:hover,
.shop-cat-pill.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* Float (Sticky) on Mobile */
@media (max-width: 768px) {
    .shop-filter-bar-wrapper {
        position: sticky;
        top: 0; /* Adjust if there's a sticky header, e.g. top: 70px */
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        padding: 0;
    }
    .shop-filter-bar {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 15px;
        background: #111; /* Solid background to hide content scrolling behind */
    }
    .shop-category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    .shop-category-pills::-webkit-scrollbar {
        height: 4px;
    }
    .shop-category-pills::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 4px;
    }
}


/* Fluid Checkout Visibility Fixes */
body.has-fluid-checkout form.checkout input[type="text"],
body.has-fluid-checkout form.checkout input[type="email"],
body.has-fluid-checkout form.checkout input[type="tel"],
body.has-fluid-checkout form.checkout select,
body.has-fluid-checkout form.checkout textarea,
body.has-fluid-checkout form.checkout .fc-wrapper input {
    color: #111111 !important;
    background-color: #ffffff !important;
    border: 1px solid #cccccc !important;
}

body.has-fluid-checkout form.checkout label,
body.has-fluid-checkout form.checkout .fc-step__title,
body.has-fluid-checkout form.checkout .fc-checkout-order-review__heading,
body.has-fluid-checkout form.checkout th,
body.has-fluid-checkout form.checkout td,
body.has-fluid-checkout form.checkout .fc-wrapper label {
    color: #111111 !important;
}

body.has-fluid-checkout form.checkout ::placeholder {
    color: #888888 !important;
}

body.has-fluid-checkout .fc-checkout-order-review__items img,
body.has-fluid-checkout table.shop_table img,
body.has-fluid-checkout .product-thumbnail img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 60px !important;
    height: auto !important;
    border-radius: 4px;
    background-color: transparent !important;
}


/* Fluid Checkout Stronger Fixes */
body.has-fluid-checkout label,
body.has-fluid-checkout .fc-step__title,
body.has-fluid-checkout .fc-step__sub-title,
body.has-fluid-checkout .fc-checkout-order-review__heading,
body.has-fluid-checkout legend,
body.has-fluid-checkout .fc-wrapper span.label,
body.has-fluid-checkout span.fc-floating-label,
body.has-fluid-checkout .woocommerce-input-wrapper label {
    color: #111111 !important;
}

body.has-fluid-checkout .product-name,
body.has-fluid-checkout .product-total,
body.has-fluid-checkout .product-quantity {
    color: #111111 !important;
}

/* Product Thumbnail Black Background */
body.has-fluid-checkout .product-thumbnail {
    background-color: #000000 !important;
    border-radius: 8px;
    padding: 2px;
}
body.has-fluid-checkout .product-thumbnail img {
    background-color: #000000 !important;
}


/* Fluid Checkout Header Spacing Fix */


@media (max-width: 768px) {
    
}


body.has-fluid-checkout .woocommerce-input-wrapper label {
    color: #333333 !important;
}


/* Ultimate Fluid Checkout Input Text Fix */
html body.has-fluid-checkout input,
html body.has-fluid-checkout input[type="text"],
html body.has-fluid-checkout input[type="email"],
html body.has-fluid-checkout input[type="tel"],
html body.has-fluid-checkout select,
html body.has-fluid-checkout textarea,
html body.has-fluid-checkout .input-text,
html body.has-fluid-checkout .fc-wrapper input.input-text {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background-color: #ffffff !important;
}


/* Clean Checkout Hero Styling */
.checkout-hero-section {
    margin-top: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 280px !important;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url(https://essenceofspice.ca/wp-content/uploads/2026/07/placeholder.jpg) center/cover !important;
    padding: 20px !important;
    text-align: center !important;
    border-radius: 12px !important;
    margin-bottom: 0px !important; /* Reduced space under it */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.checkout-hero-section h1 {
    color: #d4af37 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    font-size: 2.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
}

.checkout-hero-section p {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
    line-height: 1.5 !important;
}


/* Close gap between hero and checkout */
body.has-fluid-checkout .fc-wrapper {
    margin-top: 0px !important;
    padding-top: 10px !important;
}
body.has-fluid-checkout form.checkout {
    margin-top: -90px !important;
}



/* Fix Select2 Dropdowns (Province field) Text Color */
html body.has-fluid-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    color: #000000 !important;
}
html body.has-fluid-checkout .select2-container--default .select2-results__option {
    color: #000000 !important;
}

/* Add space under the Province field */
#billing_state_field,
#shipping_state_field,
.locked-province {
    margin-bottom: 20px !important;
}


/* Fix Province Field Opacity and Color */
body.has-fluid-checkout .locked-province .woocommerce-input-wrapper {
    opacity: 1 !important;
}
body.has-fluid-checkout select.state_select, 
body.has-fluid-checkout .locked-province select,
body.has-fluid-checkout .select2-selection__rendered {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Fix Order Review Product Thumbnails */
body.has-fluid-checkout table.shop_table .product-thumbnail {
    background-color: #000000 !important;
    border-radius: 8px !important;
    padding: 2px !important;
}
body.has-fluid-checkout table.shop_table .product-thumbnail img,
body.has-fluid-checkout table.shop_table .product-thumbnail-inner img,
body.has-fluid-checkout .fc-checkout-order-review__items img,
body.has-fluid-checkout .fc-checkout-order-review .product-thumbnail {
    background-color: #000000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix Product Quantity Bubble Text */
body.has-fluid-checkout .product-quantity {
    color: #ffffff !important;
    font-weight: bold !important;
}
body.has-fluid-checkout .product-quantity, 
body.has-fluid-checkout .product-quantity span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* Sticky Sidebar & Header Overlap Fix */
body.has-fluid-checkout header, 
body.has-fluid-checkout .site-header,
body.has-fluid-checkout #masthead,
body.has-fluid-checkout .elementor-location-header {
    z-index: 999999 !important;
    position: relative;
}
body.has-fluid-checkout .fc-sidebar__inner.is_stuck,
body.has-fluid-checkout .fc-sidebar__inner[style*="fixed"],
body.has-fluid-checkout .fc-sidebar__inner[style*="position: fixed"] {
    top: 120px !important;
}

/* Bruteforce Black Backgrounds for All Order Images */
body.has-fluid-checkout .fc-sidebar img,
body.has-fluid-checkout .fc-sidebar .product-thumbnail,
body.has-fluid-checkout .fc-sidebar .product-thumbnail-inner,
body.has-fluid-checkout .fc-checkout-order-review img,
body.has-fluid-checkout td.product-name img,
body.has-fluid-checkout .product-thumbnail img {
    background-color: #000000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 8px !important;
    border: 1px solid #333333 !important;
    padding: 2px !important;
}


/* CSS Native Carousel for Cross Sells */
.eos-checkout-cross-sells {
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
}
ul.eos-cross-sells-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 15px !important;
    padding: 0 5px 15px 5px !important;
    margin: 0 !important;
    scrollbar-width: none; /* Firefox */
}
ul.eos-cross-sells-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
ul.eos-cross-sells-carousel li.product {
    scroll-snap-align: start !important;
    flex: 0 0 75% !important;
    list-style: none !important;
    margin: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    text-align: center !important;
}

/* Fix Images in Carousel (Overriding my previous aggressive sidebar fix) */
body.has-fluid-checkout .fc-sidebar ul.eos-cross-sells-carousel img {
    max-width: 100% !important;
    width: 100px !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    margin: 0 auto 10px auto !important;
    border-radius: 4px !important;
}

/* Fix text inside carousel items */
ul.eos-cross-sells-carousel li.product h2.woocommerce-loop-product__title {
    font-size: 1rem !important;
    color: #111111 !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
}
ul.eos-cross-sells-carousel li.product .price {
    font-size: 0.9rem !important;
    color: #444444 !important;
    margin-bottom: 10px !important;
}
ul.eos-cross-sells-carousel li.product .button {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    width: 100% !important;
    display: block !important;
}


/* Mini Cart Checkout Button Hover Fix */
.woocommerce-mini-cart__buttons .button.checkout:hover,
.widget_shopping_cart_content .buttons a.checkout:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}


/* Menu Description Toggle Styling */
.menu-item-description.collapsed {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}






/* --- Enforce Z-Index Layering --- */
.navbar {
    z-index: 99999 !important;
}
.shop-filter-bar-wrapper {
    z-index: 9000 !important;
}
.shop-filter-bar {
    z-index: 9000 !important;
}


/* --- Bulletproof Mobile Mini Cart Fixes --- */
@media (max-width: 991px) {
    .header-cart .mini-cart-dropdown {
        position: fixed !important;
        top: 75px !important;
        left: 5vw !important;
        right: 5vw !important;
        width: 90vw !important;
        max-width: none !important;
        transform: none !important;
        margin: 0 !important;
        z-index: 2147483647 !important; /* Max z-index */
        box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
        border: 2px solid var(--primary) !important;
    }
    
    .header-cart {
        position: static !important;
    }
}


/* --- Mobile Icon Adjustments --- */
@media (max-width: 768px) {
    /* Reduce SVG sizes */
    .mobile-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Reduce cart icon size */
    .header-cart .cart-link {
        font-size: 1.1rem !important;
        padding: 6px 10px !important;
    }
    .header-cart .cart-count {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.65rem !important;
        top: -8px !important;
        right: -8px !important;
    }
    
    /* Reduce gaps and margins */
    .mobile-quick-actions {
        gap: 12px !important;
        margin-right: 12px !important;
        padding-right: 12px !important;
    }
    
    .header-cart {
        margin-left: 0 !important;
        margin-right: 12px !important;
    }
    
    /* Make Hamburger a bit smaller to match */
    .mobile-menu-btn {
        width: 24px !important;
        height: 20px !important;
    }
    .mobile-menu-btn span {
        height: 2px !important;
    }
}


/* --- Cart Icon & Res Panel Fixes --- */

/* Lower the floating reservation panel universally */
.res-panel {
    top: 70% !important; /* Lowered from 50% */
}

@media (max-width: 991px) {
    /* Strip the button styling from the cart icon so it matches the other icons */
    .header-cart .cart-link {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        font-size: 20px !important; /* Matches the 20px SVG width of other icons */
        color: var(--bg-dark) !important;
    }
    
    /* Reorder the header so the cart icon sits on the far right */
    .nav-actions {
        order: 3 !important;
        margin-left: 15px !important;
    }
    .mobile-controls {
        order: 2 !important;
        flex-grow: 1; /* Pushes the cart icon to the far right */
        justify-content: flex-end;
    }
    
    /* Ensure the cart icon itself isn't carrying extra margins */
    .header-cart {
        margin: 0 !important;
    }
}


/* --- Cart Icon Order Fix (Left of Hamburger) --- */
@media (max-width: 991px) {
    /* Unwrap the mobile-controls container so its children become flex items of nav-container */
    .mobile-controls {
        display: contents !important;
    }
    
    /* Reorder all elements exactly as requested */
    .logo { order: 1 !important; }
    
    .mobile-quick-actions { 
        order: 2 !important; 
        margin-right: 0 !important; 
        padding-right: 12px !important; 
        border-right: 1px solid rgba(0,0,0,0.15) !important;
        flex-grow: 1 !important;
        justify-content: flex-end !important;
    }
    
    .nav-actions { 
        order: 3 !important; 
    } /* Cart is now here */
    
    .mobile-menu-btn { 
        order: 4 !important; 
        margin-left: 12px !important;
    } /* Hamburger is on the far right */
}


/* --- Mobile Fine-Tuning --- */
.mobile-sidebar {
    z-index: 9999999 !important; /* Force sidebar to go OVER the navbar */
}

/* Move reservation panel up a bit from 70% to 60% */
.res-panel {
    top: 60% !important;
}

@media (max-width: 991px) {
    /* Push the cart icon further away from the hamburger menu */
    .nav-actions {
        margin-right: 25px !important;
    }
}


@media (max-width: 991px) {
    /* Push cart away from separator line */
    .nav-actions {
        margin-left: 15px !important;
    }
}


/* --- Mobile Header Anti-Stretch & Logo Fixes --- */
@media (max-width: 991px) {
    /* Prevent the logo from being horizontally squished/stretched by flexbox */
    .logo, .logo img {
        flex-shrink: 1 !important; min-width: 0 !important; max-width: 160px !important;
    }
    
    /* Neatly contain the logo inside the mobile header so it doesn't hang over onto inner page content */
    .logo img {
        height: 85px !important;
        width: 100% !important;
        object-fit: contain !important;
    }
    
    /* Ensure the header itself doesn't stretch vertically on inner pages */
    .navbar {
        height: auto !important; min-height: 85px !important; padding: 10px 0 !important;
    }
    .navbar.scrolled {
        height: auto !important; min-height: 85px !important; padding: 10px 0 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    }
    
    /* Make sure inner elements don't wrap and cause vertical stretching */
    .nav-container {
        flex-wrap: nowrap !important;
    }
}


/* --- Mobile Header Clean Spacing --- */
@media (max-width: 991px) {
    /* Use flex gap instead of hacky margins */
    .nav-container {
        padding: 0 15px !important;
        gap: 15px !important;
    }
    
    .mobile-quick-actions {
        margin: 0 !important;
        padding-right: 15px !important;
        gap: 15px !important;
    }
    
    .nav-actions {
        margin: 0 !important; /* Removes the 25px that was causing shifts */
    }
    
    .mobile-menu-btn {
        margin: 0 !important;
    }
}


/* --- Thin Header & Overflowing Logo --- */
@media (max-width: 991px) {
    /* Make the header deliberately thin */
    .navbar, .navbar.scrolled {
        height: 65px !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: visible !important; /* Ensure the overflowing logo isn't clipped */
    }
    
    .nav-container {
        height: 65px !important;
        align-items: center !important;
    }
    
    /* Force the logo to align to the top, so it overflows downward, NOT upward off the screen */
    .logo {
        align-self: flex-start !important;
        margin-top: 5px !important; /* Small 5px buffer from the absolute top of screen */
    }
    
    /* Maintain the large 85px size so it beautifully hangs 25px over the edge of the 65px header */
    .logo img {
        height: 85px !important;
    }
}


/* --- TRUE Horizontal Overflow Fix --- */
@media (max-width: 991px) {
    /* 1. Ensure the desktop menu links are absolutely hidden on all tablet/mobile sizes */
    .nav-links, .nav-contact {
        display: none !important;
    }
    
    /* 2. FIX THE SHOP/MENU PAGE SCROLL BUG! 
       The negative margins on the filter bar were pushing the page 40px wider than the screen, 
       causing horizontal scroll specifically on the shop and menu pages! */
    .shop-filter-bar-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Prevent the body from ever allowing horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
}


/* --- Bulletproof Click Overlap Fixes --- */
@media (max-width: 991px) {
    /* Completely disable the transparent hover blocks from the desktop cart so they don't cover the screen */
    .header-cart::before,
    .header-cart::after {
        display: none !important;
        pointer-events: none !important;
    }
    
    /* Ensure the cart container itself only takes up exactly the space it needs */
    .nav-actions {
        flex: 0 0 auto !important;
    }
    
    /* Elevate the Logo and Hamburger menu to the absolute top interaction layer */
    .logo, .mobile-menu-btn {
        position: relative !important;
        z-index: 99999999 !important;
    }
}


/* --- Full Width Footer Map on Mobile --- */
@media (max-width: 768px) {
    .footer-map,
    .footer-map iframe {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* --- WooCommerce Mobile Cart Overhaul --- */
@media (max-width: 768px) {
    /* Hide the traditional table header row */
    .woocommerce table.cart thead,
    .woocommerce-page table.cart thead {
        display: none !important;
    }
    
    /* Convert rows into card-like blocks */
    .woocommerce table.cart tr.cart_item,
    .woocommerce-page table.cart tr.cart_item {
        display: block !important;
        margin-bottom: 25px !important;
        border: 1px solid #eaeaea !important;
        border-radius: 12px !important;
        padding: 15px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
        position: relative !important;
    }
    
    /* Convert cells into stacked rows inside the block */
    .woocommerce table.cart td,
    .woocommerce-page table.cart td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: right !important;
        border: none !important;
        border-bottom: 1px solid #f5f5f5 !important;
        padding: 12px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .woocommerce table.cart td:last-child {
        border-bottom: none !important;
    }
    
    /* Generate labels from data-title attributes */
    .woocommerce table.cart td::before {
        content: attr(data-title) !important;
        font-weight: 600 !important;
        color: #444 !important;
        text-transform: uppercase !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Specifically style the product image cell */
    .woocommerce table.cart td.product-thumbnail {
        justify-content: center !important;
        border-bottom: none !important;
        padding-bottom: 5px !important;
    }
    .woocommerce table.cart td.product-thumbnail::before {
        display: none !important;
    }
    .woocommerce table.cart td.product-thumbnail img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* Style the remove button */
    .woocommerce table.cart td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 15px !important;
        width: auto !important;
        border: none !important;
        padding: 0 !important;
        justify-content: flex-end !important;
    }
    .woocommerce table.cart td.product-remove::before {
        display: none !important;
    }
    .woocommerce table.cart td.product-remove a {
        background: #ff4757 !important;
        color: white !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: bold !important;
        text-decoration: none !important;
        display: inline-block !important;
    }
    
    /* Ensure action row (coupons/update) stacks properly */
    .woocommerce table.cart td.actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    .woocommerce table.cart td.actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .woocommerce table.cart td.actions .coupon input.input-text {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Make Cart Totals responsive */
    .woocommerce .cart-collaterals .cart_totals, 
    .woocommerce-page .cart-collaterals .cart_totals {
        width: 100% !important;
        float: none !important;
        margin-top: 30px !important;
        padding: 20px !important;
        background: #f9f9f9 !important;
        border-radius: 12px !important;
    }
}


/* --- Full Width Page Wrappers on Mobile --- */
@media (max-width: 768px) {
    /* Override hardcoded inline padding in page.php so the cart and other content can be full width */
    .site-main.page-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .page-content {
        padding: 20px 10px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}


/* --- 1. Mini Cart Dropdown Remove Button Fix --- */
.woocommerce-mini-cart-item.mini_cart_item {
    position: relative !important;
    padding-left: 35px !important; /* Make room for the button on the left */
}
.woocommerce-mini-cart-item .remove.remove_from_cart_button {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important; /* Vertically center it */
    width: 22px !important;
    height: 22px !important;
    line-height: 20px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    color: #ff4757 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 1px solid #ff4757 !important;
}
.woocommerce-mini-cart-item .remove.remove_from_cart_button:hover {
    background-color: #ff4757 !important;
    color: white !important;
}

/* --- 2. Galaxy Fold Overflow Fix --- */
@media (max-width: 480px) {
    /* Stack the cart actions below the description on ultra-narrow screens */
    .menu-item-row .row-details {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .menu-item-description {
        padding-right: 0 !important;
    }
    .cart-actions {
        width: 100% !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    /* Allow the View Cart badge to wrap if needed */
    .menu-item-row .added_to_cart {
        white-space: normal !important;
        text-align: center !important;
    }
}


/* --- Bulletproof Mini Cart X Button Overrides --- */
.woocommerce .widget_shopping_cart_content ul.cart_list li,
.woocommerce-page .widget_shopping_cart_content ul.cart_list li,
.woocommerce ul.woocommerce-mini-cart li.mini_cart_item,
.widget_shopping_cart_content ul.cart_list li {
    position: relative !important;
    padding-left: 40px !important; /* Force space on the left for the X button */
}

.woocommerce .widget_shopping_cart_content ul.cart_list li a.remove,
.woocommerce-page .widget_shopping_cart_content ul.cart_list li a.remove,
.woocommerce ul.woocommerce-mini-cart li.mini_cart_item a.remove,
.widget_shopping_cart_content ul.cart_list li a.remove {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important; /* Perfect vertical center */
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    color: #ff4757 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 2px solid #ff4757 !important;
    z-index: 10 !important;
}

.woocommerce .widget_shopping_cart_content ul.cart_list li a.remove:hover,
.woocommerce-page .widget_shopping_cart_content ul.cart_list li a.remove:hover,
.woocommerce ul.woocommerce-mini-cart li.mini_cart_item a.remove:hover,
.widget_shopping_cart_content ul.cart_list li a.remove:hover {
    background-color: #ff4757 !important;
    color: white !important;
}


/* --- Powered By Namecast Badge --- */
.powered-by {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}
.namecast-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f97316 !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: transform 0.3s ease;
}
.namecast-link:hover {
    transform: translateY(-2px);
}
.animated-nc-logo {
    animation: pulse-glow 3s infinite ease-in-out;
}
.animated-nc-logo .animated-border {
    stroke-dasharray: 40 100;
    animation: draw-border 2s linear infinite;
}
@keyframes pulse-glow {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(249, 115, 22, 0.2)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(249, 115, 22, 0.2)); }
}
@keyframes draw-border {
    to {
        stroke-dashoffset: -100;
    }
}


/* Fix filter bar width on menu page */
.shop-filter-bar-wrapper, .shop-filter-bar {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


