/*
Theme Name: Xian Sushi Theme
Theme URI: https://xiansushifoggia.it
Author: Socialee
Author URI: https://socialee.it
Description: Tema WordPress premium per Xian Sushi Foggia - Ristorante giapponese All You Can Eat con sistema di ordinazione online, prenotazione tavoli e area bimbi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xian-sushi
Tags: restaurant, japanese, sushi, food, one-page, custom-menu
*/

/* ==========================================
   DESIGN SYSTEM — Light Theme
   ========================================== */

:root {
    --neutral-950: #faf8f5;
    --neutral-900: #ffffff;
    --neutral-850: #f5f3ec;
    --neutral-800: #e8e5db;
    --neutral-400: #5c5850;
    --neutral-300: #201d19;
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Playfair Display", ui-serif, Georgia, serif;
    --color-amber-500: #dc2626;
    --color-amber-600: #b91c1c;
    --color-red-600: #dc2626;
}

/* ==========================================
   BASE RESET & DEFAULTS
   ========================================== */

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

html, body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--neutral-950);
    color: var(--neutral-400);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
}

/* Selection */
::selection {
    background-color: rgba(220, 38, 38, 0.25);
    color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f5f3ec; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #dc2626; }

.no-scrollbar::-webkit-scrollbar { display: none !important; }
.no-scrollbar { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slideOver { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }
.animate-scale-up { animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-over { animation: slideOver 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-down { animation: fadeInDown 0.25s ease-out forwards; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s ease-in-out infinite; }

/* ==========================================
   PARALLAX
   ========================================== */

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 1024px) {
    .parallax-bg { background-attachment: scroll; }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-gold-p, .btn-red-p {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-gold-p:hover, .btn-red-p:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.25);
    transform: translateY(-1px);
}

.btn-gold-o, .btn-red-o {
    border: 1px solid rgba(220, 38, 38, 0.6);
    color: #dc2626;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-gold-o:hover, .btn-red-o:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

/* ==========================================
   NEON GLOW EFFECTS
   ========================================== */

.neon-glow-white { box-shadow: 0 0 15px rgba(220, 38, 38, 0.45), 0 0 30px rgba(220, 38, 38, 0.2); }
.neon-glow-white-sm { box-shadow: 0 0 8px rgba(220, 38, 38, 0.6), 0 0 15px rgba(220, 38, 38, 0.2); }
.neon-glow-white-inline { filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.85)); }
.neon-text-white { color: #dc2626 !important; text-shadow: 0 0 8px rgba(220, 38, 38, 0.5), 0 0 15px rgba(220, 38, 38, 0.15); }
.neon-border-white { border-color: rgba(220, 38, 38, 0.7) !important; box-shadow: 0 0 12px rgba(220, 38, 38, 0.35), inset 0 0 4px rgba(220, 38, 38, 0.15); }
.neon-line-white { background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.8), transparent); box-shadow: 0 0 8px rgba(220, 38, 38, 0.65); }

/* ==========================================
   FORM STYLES
   ========================================== */

.xian-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    color: #09090b;
    font-size: 0.875rem;
    transition: all 0.2s;
    outline: none;
}

.xian-input:focus {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.xian-input::placeholder { color: #9ca3af; }

.xian-input.error {
    border-color: #ef4444;
}

.xian-input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.xian-select {
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 2.5rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    color: #09090b;
    font-size: 0.875rem;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.xian-select:focus {
    border-color: rgba(220, 38, 38, 0.5);
}

.xian-textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    color: #09090b;
    font-size: 0.875rem;
    resize: none;
    transition: all 0.2s;
    outline: none;
}

.xian-textarea:focus {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.xian-label {
    display: block;
    font-size: 0.65rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-400);
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.field-error {
    color: #ef4444;
    font-size: 0.6875rem;
    margin-top: 0.25rem;
}

/* ==========================================
   CARD STYLES
   ========================================== */

.card {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.02);
}

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */

.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; }

.text-white { color: #09090b !important; }
.text-neutral-100 { color: #09090b; }
.text-neutral-200 { color: #1f2937; }
.text-neutral-300 { color: #1f2937; }
.text-neutral-400 { color: #4b5563; }
.text-neutral-500 { color: #6b7280; }
.text-neutral-600 { color: #9ca3af; }
.text-amber-500 { color: #dc2626; }
.text-red-600 { color: #dc2626; }
.text-red-500 { color: #ef4444; }
.text-emerald-400 { color: #34d399; }
.text-pink-500 { color: #ec4899; }
.text-blue-500 { color: #3b82f6; }

/* Keep text white on colored backgrounds */
.keep-white, .keep-white * { color: #ffffff !important; }
.btn-gold-p, .btn-red-p { color: #ffffff !important; }

/* ==========================================
   BACKGROUND UTILITIES
   ========================================== */

.bg-neutral-950 { background-color: var(--neutral-950); }
.bg-neutral-900 { background-color: var(--neutral-900); }
.bg-neutral-850 { background-color: var(--neutral-850); }

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */

.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }

.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ==========================================
   HEADER
   ========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s;
    background-color: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 229, 219, 0.4);
    padding: 0.75rem 0;
}

.site-header.scrolled {
    background-color: rgba(250, 248, 245, 0.95);
    border-bottom-color: rgba(232, 229, 219, 0.85);
    padding: 0.5rem 0;
}

.header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.header-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #090909;
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 0.5rem;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.25);
    width: 3.5rem;
    height: 3.5rem;
    transition: all 0.3s;
}

.site-header.scrolled .header-logo-circle {
    width: 3rem;
    height: 3rem;
}

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

/* Desktop Nav */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
}

.nav-link {
    position: relative;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--neutral-400);
    transition: color 0.3s;
    padding: 0.25rem 0;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover { color: #dc2626; }

.nav-link.active {
    color: #1f2937;
    font-weight: 800;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dc2626;
    border-radius: 9999px;
    box-shadow: 0 0 4px rgba(220, 38, 38, 0.5);
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    padding: 0.5rem;
    border-radius: 0.75rem;
    color: #dc2626;
    transition: all 0.3s;
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.cart-btn:hover {
    border-color: rgba(220, 38, 38, 0.5);
    background: var(--neutral-850);
}

.cart-badge {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    background: #dc2626;
    color: #fff;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.625rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neutral-900);
}

/* Mobile Menu */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .mobile-header { display: none; }
}

.mobile-actions { display: flex; align-items: center; gap: 0.75rem; }

.hamburger-btn {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    color: var(--neutral-300);
    padding: 0.625rem;
    border-radius: 0.75rem;
    transition: color 0.3s;
    cursor: pointer;
}

.hamburger-btn:hover { color: #dc2626; }

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--neutral-900);
    border-top: 1px solid var(--neutral-800);
    padding: 1.5rem 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    z-index: 40;
}

.mobile-menu.open { display: block; }

.mobile-menu .nav-link {
    display: block;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-800);
}

.mobile-menu .nav-link.active {
    color: #dc2626;
    padding-left: 0.5rem;
    border-left: 2px solid #dc2626;
}

.mobile-booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #dc2626;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
    border: none;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background-color: var(--neutral-950);
    overflow: hidden;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 20;
    margin-top: calc(100vh - 88px);
    background-color: var(--neutral-950);
}

.hero-logo { max-width: 280px; margin: 0 auto 1.5rem; }
@media (min-width: 640px) { .hero-logo { max-width: 340px; } }
@media (min-width: 768px) { .hero-logo { max-width: 400px; } }

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-cta-group { flex-direction: row; }
}

.hero-cta-group .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

@media (min-width: 640px) {
    .hero-cta-group .btn { width: auto; }
}

/* ==========================================
   SECTIONS
   ========================================== */

.section { padding: 6rem 0; border-top: 1px solid rgba(232, 229, 219, 0.5); }

.section-label {
    color: #dc2626;
    font-family: monospace;
    letter-spacing: 0.1em;
    font-size: 0.6875rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 1.875rem;
    color: #09090b;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.section-title .accent { color: #dc2626; }

.section-divider {
    height: 4px;
    width: 3rem;
    background: #dc2626;
    margin-top: 1rem;
    border-radius: 9999px;
}

.section-divider.centered { margin-left: auto; margin-right: auto; }

/* ==========================================
   PRICE CARDS
   ========================================== */

.price-card {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-850);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 640px) { .price-card { padding: 2rem; } }

.price-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.06);
}

.price-card .price-value {
    font-size: 1.875rem;
    font-weight: 800;
    font-family: monospace;
    color: #09090b;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) { .price-card .price-value { font-size: 2.25rem; } }

/* ==========================================
   PRODUCT CARDS (Takeaway)
   ========================================== */

.product-card {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.02);
}

.product-card:hover .product-name { color: #dc2626; }

.product-name {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #09090b;
    font-size: 0.875rem;
    transition: color 0.2s;
    letter-spacing: -0.025em;
}

.product-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc2626;
    font-family: monospace;
    white-space: nowrap;
    background: var(--neutral-950);
    border: 1px solid var(--neutral-850);
    padding: 0.25rem 0.625rem;
    border-radius: 0.5rem;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--neutral-400);
    line-height: 1.5;
    font-weight: 300;
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.5625rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #dc2626;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--neutral-950);
    border: 1px solid var(--neutral-850);
    border-radius: 0.5rem;
    padding: 0.125rem;
}

.qty-btn {
    padding: 0.375rem;
    color: var(--neutral-400);
    border-radius: 0.25rem;
    transition: all 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover { color: #09090b; background: var(--neutral-900); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.qty-value {
    font-size: 0.75rem;
    color: #09090b;
    font-family: monospace;
    font-weight: 700;
    padding: 0 0.375rem;
    min-width: 1rem;
    text-align: center;
}

/* ==========================================
   CATEGORY SECTION
   ========================================== */

.category-selector {
    position: sticky;
    top: 60px;
    z-index: 30;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(232, 229, 219, 0.8);
    margin-bottom: 2rem;
}

@media (min-width: 768px) { .category-selector { top: 64px; } }
@media (min-width: 1024px) { .category-selector { top: 72px; } }

.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.625rem;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
}

.category-btn {
    white-space: nowrap;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    transition: all 0.2s;
    border: 1px solid var(--neutral-800);
    background: var(--neutral-900);
    color: var(--neutral-400);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
}

@media (min-width: 640px) { .category-btn { padding: 0.625rem 1.25rem; font-size: 0.75rem; } }

.category-btn:hover { color: #09090b; background: var(--neutral-850); }

.category-btn.active {
    background: var(--neutral-950);
    color: #09090b;
    border-color: #09090b;
}

.category-active-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #dc2626;
    border-radius: 9999px;
    box-shadow: 0 0 8px rgba(220, 38, 38, 1);
    animation: pulse 2s infinite;
}

/* Category Info Card */
.category-info-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(232, 229, 219, 0.8);
    background: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 10rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .category-info-card {
        position: sticky;
        top: 160px;
        min-height: 340px;
    }
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */

.faq-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(232, 229, 219, 0.8);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.faq-item:hover { border-color: rgba(232, 229, 219, 1); }

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
}

@media (min-width: 640px) { .faq-question { font-size: 1.125rem; } }

.faq-question:hover { color: #09090b; }

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--neutral-400);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-icon.open { transform: rotate(180deg); color: #dc2626; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer.open {
    max-height: 24rem;
    border-top: 1px solid rgba(232, 229, 219, 0.5);
}

.faq-answer-inner {
    padding: 1.25rem 1.5rem;
    color: #1f2937;
    font-size: 0.875rem;
    line-height: 1.7;
    background: rgba(250, 248, 245, 0.4);
}

/* ==========================================
   CART DRAWER
   ========================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    overflow: hidden;
    display: none;
}

.cart-overlay.open { display: block; }

.cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 28rem;
    background: var(--neutral-950);
    border-left: 1px solid var(--neutral-800);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--neutral-900);
    border: 1px solid rgba(232, 229, 219, 0.6);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.2s;
}

.cart-item:hover { border-color: var(--neutral-800); }

.cart-footer {
    border-top: 1px solid var(--neutral-800);
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 5rem 0;
}

.cart-empty-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #9ca3af;
}

/* ==========================================
   MODALS
   ========================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.modal-overlay.hidden { display: none; }

.modal-box {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    max-width: 36rem;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-800);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    color: #1f2937;
    font-size: 0.875rem;
    line-height: 1.7;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid var(--neutral-800);
    text-align: center;
    font-size: 0.6875rem;
    font-family: monospace;
    color: #6b7280;
    background: rgba(250, 248, 245, 0.4);
}

.modal-close-btn {
    padding: 0.5rem;
    color: var(--neutral-400);
    border-radius: 0.5rem;
    transition: all 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close-btn:hover { color: #09090b; background: var(--neutral-800); }

/* ==========================================
   COOKIE BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--neutral-800);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner.visible { display: flex; }

@media (min-width: 768px) {
    .cookie-banner { left: auto; right: 1.5rem; max-width: 28rem; }
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    position: relative;
    z-index: 20;
    background: var(--neutral-950);
    color: var(--neutral-400);
    border-top: 1px solid var(--neutral-800);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-heading {
    color: #09090b;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid var(--neutral-800);
    padding-top: 2rem;
}

@media (min-width: 1024px) { .footer-bottom { flex-direction: row; } }

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.6875rem;
    color: #6b7280;
}

.footer-legal-links button {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.6875rem;
    transition: color 0.2s;
}

.footer-legal-links button:hover { color: #dc2626; }

.powered-by {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 229, 219, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    text-align: center;
}

/* ==========================================
   RESPONSIVE GRID UTILITIES
   ========================================== */

.grid-1 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-product { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-product { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .grid-1 { grid-template-columns: 1fr; }
    .grid-12-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
    .grid-price { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-card {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--neutral-800);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) { .contact-card { padding: 2.5rem; } }

.hours-table {
    background: rgba(255, 255, 255, 0.4);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(232, 229, 219, 0.6);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(232, 229, 219, 0.2);
    font-size: 0.75rem;
}

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

.area-pill {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--neutral-900);
    border: 1px solid var(--neutral-850);
    border-radius: 0.5rem;
    font-size: 0.625rem;
    color: var(--neutral-400);
    transition: all 0.2s;
    margin: 0.1875rem;
}

.area-pill:hover {
    border-color: rgba(220, 38, 38, 0.2);
    color: #09090b;
}

.maps-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--neutral-800);
    height: 280px;
    background: var(--neutral-900);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) { .maps-frame { height: 320px; } }

.maps-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   FLOATING CART PILL (Mobile)
   ========================================== */

.floating-cart-pill {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 60;
    display: none;
}

@media (max-width: 1023px) {
    .floating-cart-pill.visible { display: block; }
}

.floating-cart-pill button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff !important;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.875rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.3);
    border: none;
    cursor: pointer;
    animation: bounce 1s ease-in-out infinite;
}

/* ==========================================
   CHECKOUT
   ========================================== */

.checkout-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.375rem;
    background: var(--neutral-950);
    border: 1px solid var(--neutral-800);
    border-radius: 0.75rem;
}

.checkout-toggle-btn {
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    color: var(--neutral-400);
    background: none;
}

.checkout-toggle-btn.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
}

.checkout-toggle-btn:not(.active):hover { color: #09090b; }

/* ==========================================
   TOAST NOTIFICATION
   ========================================== */

.toast {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 120;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-sans);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease-out;
}

.toast .plus-badge {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

/* ==========================================
   SVG ICONS (inline)
   ========================================== */

.icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }

/* ==========================================
   MISC UTILITIES
   ========================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroll-mt-44 { scroll-margin-top: 11rem; }

/* Confirmation states */
.confirmation-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--neutral-950);
    border: 1px solid var(--neutral-800);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    color: #dc2626;
    text-transform: uppercase;
}

/* Allergen grid */
.allergen-card {
    padding: 0.75rem;
    background: rgba(250, 248, 245, 0.4);
    border: 1px solid rgba(232, 229, 219, 0.6);
    border-radius: 0.75rem;
}

.allergen-number {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 9999px;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.625rem;
    font-family: monospace;
}

/* Social icons in footer/contacts */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    border: 1px solid var(--neutral-800);
    transition: all 0.2s;
}

.social-link:hover { border-color: rgba(220, 38, 38, 0.3); }

.social-icon-wrapper {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

/* Philosophy page */
.philosophy-band {
    width: 100%;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(232, 229, 219, 0.4);
}

.philosophy-band.alt { background: rgba(255, 255, 255, 0.3); }

.philosophy-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

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

.philosophy-image:hover img { transform: scale(1.05); }

/* WordPress specific */
.wp-block-image img { border-radius: 0.75rem; }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* Print */
@media print {
    .site-header, .site-footer, .cookie-banner, .cart-overlay, .floating-cart-pill, .modal-overlay { display: none !important; }
    body { background: #fff; color: #000; }
}
