/*
Theme Name: BonapizZ
Theme URI: https://bonapizz.local
Author: BonapizZ
Description: Thème sur mesure pour la pizzeria BonapizZ
Version: 1.0.0
Text Domain: bonapizz
*/

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0051f4;
    --color-primary-dark: #003bb5;
    --color-secondary: #e8002d;
    --color-dark: #1d1d1d;
    --color-light: #f0f4ff;
    --color-white: #ffffff;
    --color-gray: #6b7280;
    --color-bg: #fafafa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
}
.site-logo-img {
    height: 150px;
    width: auto;
}

.nav-menu { display: flex; gap: 2rem; align-items: center; }

.nav-menu a {
    font-weight: 500; font-size: 0.95rem;
    color: var(--color-dark);
    position: relative; padding: 0.25rem 0;
    transition: var(--transition);
}
.nav-menu a::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}
.nav-menu a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    z-index: 1001;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--color-white);
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    animation: fadeIn 0.25s ease;
}
.nav-dropdown-menu a {
    display: block !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
    background: var(--color-light);
    color: var(--color-primary) !important;
}

.nav-cta {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-primary-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile burger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-dark); margin: 5px 0; transition: var(--transition); }

/* ========================================
   HERO V2 — MODERN
   ======================================== */
.hero-v2 {
    min-height: 100vh;
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding: 120px 2rem 60px;
    background: var(--color-dark);
    color: var(--color-white);
}

/* Background effects */
.hero-v2-bg { position: absolute; inset: 0; z-index: 0; }
.hero-v2-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-v2-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
    animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero-v2-glow--1 {
    width: 600px; height: 600px;
    background: rgba(0,81,244,0.15);
    top: -200px; right: -100px;
}
.hero-v2-glow--2 {
    width: 500px; height: 500px;
    background: rgba(232,0,45,0.12);
    bottom: -200px; left: -100px;
    animation-delay: 3s;
}
@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* Floating emoji decorations */
.hero-v2-floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater {
    position: absolute; font-size: 2rem; opacity: 0.15;
    animation: floatUp 8s ease-in-out infinite;
}
.floater--1 { top: 15%; left: 5%; animation-delay: 0s; font-size: 3rem; opacity: 0.2; }
.floater--2 { top: 60%; left: 10%; animation-delay: 1.5s; }
.floater--3 { top: 25%; right: 8%; animation-delay: 3s; }
.floater--4 { bottom: 20%; right: 15%; animation-delay: 4.5s; font-size: 2.5rem; }
.floater--5 { bottom: 30%; left: 20%; animation-delay: 2s; }
.floater--6 { top: 45%; right: 25%; animation-delay: 5s; }
@keyframes floatUp {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Container layout */
.hero-v2-container {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

/* Text block */
.hero-v2-text { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-v2-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    width: fit-content;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.5px; color: rgba(255,255,255,0.8);
}
.hero-v2-tag-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-v2-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15; font-weight: 700;
}
.hero-v2-highlight {
    position: relative; display: inline-block;
    color: var(--color-secondary);
}
.hero-v2-underline {
    position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 12px;
    color: var(--color-secondary); opacity: 0.4;
}

.hero-v2-desc {
    font-size: 1.1rem; line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
}

/* Stats */
.hero-v2-stats {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.25rem 0;
}
.hero-v2-stat { text-align: center; }
.hero-v2-stat-number {
    display: block; font-size: 1.6rem; font-weight: 800;
    background: linear-gradient(135deg, var(--color-white), var(--color-secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-v2-stat-label {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,0.4);
    font-weight: 600;
}
.hero-v2-stat-sep {
    width: 1px; height: 32px;
    background: rgba(255,255,255,0.12);
}

/* Actions */
.hero-v2-actions { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 0.5rem; }

.btn-v2 {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.8rem; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: var(--transition); cursor: pointer; border: none;
    text-decoration: none;
}
.btn-v2--primary {
    background: var(--color-primary); color: var(--color-white);
    box-shadow: 0 4px 24px rgba(0,81,244,0.4);
}
.btn-v2--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 8px 32px rgba(0,81,244,0.5);
    transform: translateY(-2px);
}
.btn-v2--glass {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}
.btn-v2--glass:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Visual / pizza image */
.hero-v2-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.hero-v2-pizza-ring { position: relative; }

.hero-v2-pizza-main {
    width: 420px; height: 420px;
    border-radius: 50%; overflow: hidden;
    border: 4px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 80px rgba(0,81,244,0.2),
        0 0 160px rgba(232,0,45,0.1),
        inset 0 0 40px rgba(0,0,0,0.3);
    animation: pizzaSpin 30s linear infinite;
}
.hero-v2-pizza-img {
    width: 100%; height: 100%; object-fit: cover;
}
@keyframes pizzaSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-v2-ring-deco {
    position: absolute; inset: -20px;
    border: 2px dashed rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: pizzaSpin 60s linear infinite reverse;
}

/* Scroll indicator */
.hero-v2-scroll {
    position: absolute; bottom: 2rem;
    left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.hero-v2-scroll a {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    animation: bounceDown 2s ease-in-out infinite;
}
.hero-v2-scroll a:hover { background: rgba(255,255,255,0.15); color: var(--color-white); }
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem; border-radius: 50px;
    font-weight: 600; font-size: 1rem;
    transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary {
    background: var(--color-primary); color: var(--color-white);
    box-shadow: 0 4px 16px rgba(0,35,149,0.3);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 24px rgba(0,35,149,0.4);
}
.btn-outline { background: transparent; color: var(--color-dark); border: 2px solid var(--color-dark); }
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); transform: translateY(-2px); }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 100px 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.section-header p { font-size: 1.1rem; color: var(--color-gray); max-width: 500px; margin: 0 auto; }
.section-header .accent { color: var(--color-primary); }

/* ========================================
   CATEGORY FILTERS
   ======================================== */
.category-filters { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.5rem 1.5rem; border: 2px solid #e5e7eb;
    border-radius: 50px; background: var(--color-white);
    font-weight: 500; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   FACETED FILTER SYSTEM
   ======================================== */
.facet-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Sidebar */
.facet-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    scrollbar-width: thin;
}
.facet-sidebar::-webkit-scrollbar { width: 4px; }
.facet-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.facet-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.facet-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
}
.facet-sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.facet-reset-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.facet-reset-btn:hover { color: var(--color-secondary); }
.facet-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--color-light);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: var(--color-dark);
    transition: var(--transition);
}
.facet-close-btn:hover { background: var(--color-primary); color: #fff; }

/* Overlay mobile */
.facet-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.facet-overlay.open {
    display: block;
    opacity: 1;
}

/* Active filter tags */
.facet-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.facet-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-light);
    color: var(--color-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.facet-tag button {
    background: none;
    border: none;
    color: var(--color-secondary);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 0.15rem;
}

/* Facet groups */
.facet-group {
    margin-bottom: 0.5rem;
}
.facet-group-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}
.facet-group-toggle svg {
    transition: transform 0.3s ease;
}
.facet-group-toggle.active svg {
    transform: rotate(0deg);
}
.facet-group-toggle:not(.active) svg {
    transform: rotate(-90deg);
}
.facet-group-body {
    padding: 0.75rem 0;
}

/* Price range slider */
.facet-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.facet-price-display span:nth-child(2) {
    color: var(--color-gray);
    font-weight: 400;
}

.facet-range-slider {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}
.facet-range-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    transform: translateY(-50%);
}
.facet-range-track {
    position: absolute;
    top: 50%;
    height: 6px;
    background: var(--color-primary);
    border-radius: 3px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
.facet-range-input {
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
    margin: 0;
    padding: 0;
    height: 36px;
}
.facet-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.facet-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 12px rgba(0,81,244,0.3);
}
.facet-range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    pointer-events: all;
}

/* Checkboxes */
.facet-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    transition: var(--transition);
}
.facet-checkbox:hover { color: var(--color-primary); }
.facet-checkbox input[type="checkbox"] {
    display: none;
}
.facet-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.facet-checkbox input:checked + .facet-checkbox-mark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.facet-checkbox input:checked + .facet-checkbox-mark::after {
    content: '✓';
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}
.facet-checkbox-label {
    flex: 1;
    font-weight: 500;
}
.facet-checkbox-count {
    background: var(--color-bg);
    color: var(--color-gray);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}

/* Ingredient search */
.facet-search-input-wrap {
    margin-bottom: 0.5rem;
}
.facet-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}
.facet-search-input:focus {
    border-color: var(--color-primary);
}
.facet-ingredients-list {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.facet-ingredients-list::-webkit-scrollbar { width: 4px; }
.facet-ingredients-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Main content area */
.facet-main {
    flex: 1;
    min-width: 0;
}

/* Toolbar */
.facet-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.facet-mobile-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.facet-mobile-toggle:hover { background: var(--color-primary); color: #fff; }
.facet-results-count {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gray);
}
.facet-sort {
    padding: 0.45rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    background: var(--color-white);
}
.facet-sort:focus { border-color: var(--color-primary); }

/* No results */
.facet-no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-gray);
}
.facet-no-results-icon { font-size: 4rem; }
.facet-no-results p { font-size: 1.1rem; font-weight: 500; }

/* ========================================
   PIZZA GRID
   ======================================== */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}

.pizza-card {
    background: var(--color-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition); position: relative;
}
.pizza-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pizza-card-img { position: relative; height: 320px; overflow: hidden; }
.pizza-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pizza-card:hover .pizza-card-img img { transform: scale(1.05); }

.pizza-card-category {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--color-secondary); color: var(--color-white);
    padding: 0.3rem 0.9rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600;
}

.pizza-card-body { padding: 1.5rem; }
.pizza-card-body h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 0.5rem; }

.pizza-card-description {
    color: var(--color-gray); font-size: 0.9rem; margin-bottom: 0.75rem;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.pizza-card-ingredients { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.pizza-card-ingredients span {
    background: var(--color-light); color: var(--color-dark);
    padding: 0.2rem 0.7rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 500;
}

.pizza-card-prices {
    display: flex; gap: 0.75rem;
    padding-top: 1.25rem; border-top: 1px solid #f0f0f0;
}
.pizza-price { flex: 1; text-align: center; padding: 0.5rem; background: var(--color-bg); border-radius: 12px; }
.pizza-price-label {
    display: block; font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--color-gray);
    margin-bottom: 0.2rem; font-weight: 600;
}
.pizza-price-value { font-size: 1.15rem; font-weight: 700; color: var(--color-primary); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.7); padding: 4rem 2rem 2rem; }
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; margin-bottom: 3rem;
}
.footer-col h4 { font-family: var(--font-heading); color: var(--color-white); font-size: 1.2rem; margin-bottom: 1rem; }
.footer-col p, .footer-col li { font-size: 0.9rem; line-height: 2; }
.footer-col a:hover { color: var(--color-secondary); }
.footer-hours li { display: flex; justify-content: space-between; gap: 0.75rem; line-height: 1.8; }
.footer-hours li span:first-child { font-weight: 600; white-space: nowrap; }
.footer-hours li span:last-child { text-align: right; white-space: nowrap; color: rgba(255,255,255,0.8); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

/* ========================================
   MODE SWITCHER
   ======================================== */
.mode-switcher {
    position: sticky;
    top: 80px;
    z-index: 999;
    display: flex; justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.mode-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: var(--color-white);
    font-weight: 600; font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.mode-btn:hover { border-color: var(--color-primary); }

.mode-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,35,149,0.3);
}

/* ========================================
   CATEGORY NAV BAR (second menu visuel)
   ======================================== */
.cat-nav {
    background: var(--color-primary);
    padding: 1.25rem 0;
    overflow: hidden;
}

.cat-nav-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-white);
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}
.cat-nav-item:hover { transform: translateY(-4px); }
.cat-nav-item:hover .cat-nav-img { box-shadow: 0 0 0 3px var(--color-white), 0 6px 20px rgba(0,0,0,0.2); }
.cat-nav-item.active .cat-nav-img { box-shadow: 0 0 0 4px var(--color-dark), 0 6px 20px rgba(0,0,0,0.25); }

.cat-nav-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 3px solid rgba(255,255,255,0.6);
}
.cat-nav-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cat-nav-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.cat-nav-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    max-width: 90px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ========================================
   CLICKABLE CARDS
   ======================================== */
.pizza-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    padding: 100px 2rem 0;
    background: var(--color-bg);
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--color-gray);
}
.breadcrumb a { color: var(--color-primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.5rem; }
.breadcrumb-current { font-weight: 600; color: var(--color-dark); }

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */
.single-product {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

/* Image */
.single-product-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.single-product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.single-product-placeholder {
    width: 100%; min-height: 400px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex; align-items: center; justify-content: center;
}
.single-product-placeholder span { font-size: 6rem; }
.single-product-badges {
    position: absolute; top: 1rem; left: 1rem;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.single-badge {
    background: var(--color-secondary); color: var(--color-white);
    padding: 0.35rem 1rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.single-badge:hover { background: var(--color-primary); }
.single-badge-volume {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--color-dark);
}

/* Info */
.single-product-info { display: flex; flex-direction: column; gap: 1.5rem; }
.single-product-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}
.single-product-desc {
    font-size: 1.1rem; color: var(--color-gray); line-height: 1.7;
}
.single-product-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem; margin-bottom: 0.75rem;
}
.single-product-section .pizza-card-ingredients span {
    font-size: 0.9rem; padding: 0.3rem 0.9rem;
}

/* Mode switcher inline */
.single-mode-switcher {
    display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap;
}

/* Price table */
.single-price-table {
    display: flex; flex-direction: column; gap: 0.5rem;
}
.single-price-row {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--color-bg); padding: 0.75rem 1.25rem;
    border-radius: 12px;
}
.single-price-size { font-weight: 500; color: var(--color-dark); }
.single-price-amount {
    font-size: 1.3rem; font-weight: 700; color: var(--color-primary);
}

/* Menu composition */
.menu-detail-section { margin-bottom: 1.25rem; }
.menu-detail-section h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.menu-detail-items { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.menu-detail-item {
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--color-bg); padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 50px; text-decoration: none; color: var(--color-dark);
    font-size: 0.85rem; font-weight: 500;
    transition: var(--transition);
}
.menu-detail-item:hover { background: var(--color-light); transform: translateY(-2px); }
.menu-detail-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* CTA */
.single-product-cta { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; }

/* Related */
.single-related {
    padding: 3rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}
.single-related h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ========================================
   CATEGORY HERO (Taxonomy page)
   ======================================== */
.category-hero {
    position: relative;
    min-height: 320px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 2rem 3rem;
    overflow: hidden;
    background: var(--color-dark);
}
.category-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: blur(4px) brightness(0.4);
    transform: scale(1.1);
}
.category-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,35,149,0.6), rgba(237,41,57,0.4));
}
.category-hero-content {
    position: relative; z-index: 1; color: var(--color-white);
}
.category-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.75rem;
}
.category-hero-content p {
    font-size: 1.1rem; opacity: 0.9;
    max-width: 600px; margin: 0 auto 1rem;
}
.category-hero-count {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 1rem; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600;
}

/* Archive pagination */
.archive-pagination { text-align: center; padding-top: 2rem; }
.archive-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.archive-pagination a, .archive-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    font-weight: 600; transition: var(--transition);
}
.archive-pagination a { background: var(--color-bg); color: var(--color-dark); }
.archive-pagination a:hover { background: var(--color-primary); color: #fff; }
.archive-pagination .current { background: var(--color-primary); color: #fff; }

/* SEO Section */
.seo-section { background: var(--color-light); }
.seo-content {
    max-width: 800px; margin: 0 auto;
    font-size: 1rem; line-height: 1.8; color: var(--color-gray);
}
.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem; margin-bottom: 1rem; color: var(--color-dark);
}
.seo-content a { color: var(--color-primary); font-weight: 600; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: block; }
    .nav-dropdown-menu { position: static; transform: none; box-shadow: none; margin-top: 0; border-radius: 0; padding: 0 0 0 1rem; }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown:hover .nav-dropdown-menu { display: block; }
    .hero-v2 { min-height: auto; padding: 140px 1.25rem 80px; }
    .hero-v2-container { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .hero-v2-text { align-items: center; }
    .hero-v2-tag { margin: 0 auto; }
    .hero-v2-desc { margin: 0 auto; }
    .hero-v2-stats { justify-content: center; }
    .hero-v2-actions { justify-content: center; }
    .hero-v2-pizza-main { width: 280px; height: 280px; }
    .hero-v2-visual { order: -1; }
    .hero-v2-floaters { display: none; }
    .pizza-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 1.25rem; }
    .mode-switcher { gap: 0.25rem; padding: 0.5rem; }
    .mode-btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
    .cat-nav-inner { justify-content: flex-start; gap: 1rem; padding: 0 1rem; }
    .cat-nav-img { width: 70px; height: 70px; }
    .cat-nav-label { font-size: 0.7rem; max-width: 70px; }
    .single-product-container { grid-template-columns: 1fr; gap: 2rem; }
    .single-product-image img { min-height: 250px; }
    .breadcrumb { padding: 90px 1.25rem 0; }
    .category-hero { min-height: 240px; padding: 100px 1.25rem 2rem; }

    /* Faceted filter responsive */
    .facet-wrapper { flex-direction: column; padding: 1rem; }
    .facet-sidebar {
        display: block;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 85%;
        max-width: 360px;
        max-height: 100vh;
        z-index: 1100;
        border-radius: 0;
        padding: 1.5rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .facet-sidebar.open {
        transform: translateX(0);
    }
    .facet-close-btn { display: flex; }
    .facet-mobile-toggle { display: flex; }
    .facet-toolbar { flex-wrap: wrap; }
}

