/*
Theme Name: La Vera Pizza
Theme URI: https://laverapizza.vn
Author: La Vera Pizza Team
Author URI: https://laverapizza.vn
Description: Theme WordPress chuyên biệt cho nhà hàng pizza Ý chính thống. Thiết kế Apple-inspired, tối ưu SEO, thân thiện Google. Hỗ trợ Schema.org Restaurant, Menu, Review markup đầy đủ.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavera-pizza
Tags: restaurant, food, pizza, italian, seo-optimized, apple-design, schema-markup, woocommerce-support

/* ================================================================
   DESIGN SYSTEM — La Vera Pizza
   Phong cách: Apple-inspired · Warm Italian Elegance
   ================================================================ */

:root {
  /* — Brand Palette — */
  --lv-tomato:        #C8341A;
  --lv-tomato-light:  #E8503A;
  --lv-tomato-dark:   #9B2512;
  --lv-tomato-muted:  rgba(200,52,26,0.08);
  --lv-basil:         #2D6A4F;
  --lv-basil-light:   #40916C;
  --lv-cheese:        #F4A621;
  --lv-cheese-light:  #FAC636;
  --lv-dough:         #E8C878;
  --lv-cream:         #FDF8F0;
  --lv-warm-white:    #FFFBF4;
  --lv-carbon:        #1A1A1A;
  --lv-smoke:         #4A4A4A;
  --lv-ash:           #8A8A8A;
  --lv-border:        rgba(0,0,0,0.08);
  --lv-border-hover:  rgba(0,0,0,0.15);

  /* — Typography — */
  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', monospace;

  /* — Spacing Scale (8pt grid) — */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;
  --sp-4: 16px;  --sp-5: 20px;  --sp-6: 24px;
  --sp-8: 32px;  --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px;

  /* — Radius — */
  --r-sm: 8px;  --r-md: 14px;
  --r-lg: 22px; --r-xl: 32px; --r-full: 9999px;

  /* — Shadows (Apple-like) — */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 28px rgba(0,0,0,0.09);
  --shadow-lg:  0 20px 56px rgba(0,0,0,0.12);
  --shadow-cta: 0 8px 28px rgba(200,52,26,0.28);

  /* — Transitions — */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:   0.15s;
  --t-base:   0.25s;
  --t-slow:   0.45s;

  /* — Container — */
  --container: 1200px;
  --container-narrow: 760px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--lv-cream);
  color: var(--lv-carbon);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-base) var(--ease-smooth); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
:focus-visible {
  outline: 3px solid var(--lv-tomato);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lv-carbon);
}

h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(26px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; font-family: var(--font-body); font-weight: 500; }
h6 { font-size: 13px; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin-bottom: var(--sp-4); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

.text-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.text-lead { font-size: 18px; line-height: 1.7; color: var(--lv-smoke); font-weight: 300; }
.text-caption { font-size: 12px; color: var(--lv-ash); font-weight: 400; }
.text-tomato { color: var(--lv-tomato); }
.text-italic { font-style: italic; }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-5); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

.section { padding-block: var(--sp-20); }
.section--lg { padding-block: 100px; }
.section--sm { padding-block: var(--sp-12); }

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

/* ================================================================
   COMPONENTS — Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all var(--t-base) var(--ease-smooth);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  background: var(--lv-tomato);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--lv-tomato-light); box-shadow: 0 12px 36px rgba(200,52,26,0.35); }

.btn--secondary {
  background: transparent;
  color: var(--lv-carbon);
  border-color: var(--lv-border-hover);
}
.btn--secondary:hover { background: rgba(0,0,0,0.04); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); }

.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 17px; }

.btn--cheese {
  background: var(--lv-cheese);
  color: var(--lv-carbon);
  box-shadow: 0 6px 20px rgba(244,166,33,0.30);
}
.btn--cheese:hover { background: var(--lv-cheese-light); }

/* ================================================================
   COMPONENTS — Badges / Tags
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--tomato  { background: var(--lv-tomato-muted); color: var(--lv-tomato-dark); border: 0.5px solid rgba(200,52,26,0.15); }
.badge--cheese  { background: rgba(244,166,33,0.12); color: #8A5E0A; }
.badge--basil   { background: rgba(45,106,79,0.10); color: var(--lv-basil); }
.badge--carbon  { background: var(--lv-carbon); color: #fff; }
.badge--live    { }
.badge--live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lv-tomato);
  animation: lv-pulse 2s ease-in-out infinite;
}
@keyframes lv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ================================================================
   COMPONENTS — Cards
   ================================================================ */
.card {
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-smooth), box-shadow var(--t-base) var(--ease-smooth);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__body { padding: var(--sp-6); }
.card__image { aspect-ratio: 4/3; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-smooth); }
.card:hover .card__image img { transform: scale(1.04); }

/* Pizza Menu Card */
.pizza-card {
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: transform var(--t-base) var(--ease-smooth), box-shadow var(--t-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.pizza-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lv-tomato), var(--lv-cheese));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-smooth);
}
.pizza-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pizza-card:hover::after { transform: scaleX(1); }
.pizza-card__emoji { font-size: 48px; display: block; margin-bottom: var(--sp-4); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); transition: transform var(--t-base) var(--ease-spring); }
.pizza-card:hover .pizza-card__emoji { transform: scale(1.1) rotate(-5deg); }
.pizza-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: var(--sp-2); }
.pizza-card__desc { font-size: 13px; color: var(--lv-ash); line-height: 1.6; font-weight: 300; margin-bottom: var(--sp-5); }
.pizza-card__footer { display: flex; align-items: center; justify-content: space-between; }
.pizza-card__price { font-size: 22px; font-weight: 600; color: var(--lv-tomato-dark); }

/* ================================================================
   SECTION HEADER (eyebrow + title pattern)
   ================================================================ */
.section-header { margin-bottom: var(--sp-12); }
.section-header--center { text-align: center; }
.section-header--center .section-eyebrow { justify-content: center; }
.section-header--center .section-eyebrow::before,
.section-header--center .section-eyebrow::after { flex: none; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lv-tomato);
  margin-bottom: var(--sp-3);
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--lv-tomato);
  flex-shrink: 0;
}

.section-title { margin-bottom: var(--sp-4); }
.section-desc { font-size: 16px; color: var(--lv-smoke); line-height: 1.75; font-weight: 300; max-width: 520px; }
.section-header--center .section-desc { margin-inline: auto; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--t-base) var(--ease-smooth), box-shadow var(--t-base) var(--ease-smooth);
}
.site-header.scrolled {
  background: rgba(253,248,240,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--lv-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.site-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--lv-tomato-dark);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}
.site-logo img { height: 36px; width: auto; }
.site-logo__flag { font-size: 18px; }

.nav-primary { display: flex; align-items: center; gap: var(--sp-8); }
.nav-primary__links { display: flex; align-items: center; gap: var(--sp-6); list-style: none; }
.nav-primary__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--lv-smoke);
  transition: color var(--t-fast);
}
.nav-primary__links a:hover { color: var(--lv-tomato); }
.nav-primary__links .current-menu-item > a { color: var(--lv-tomato); font-weight: 500; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--lv-carbon);
  transition: all var(--t-base) var(--ease-smooth);
  border-radius: 2px;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(253,248,240,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile__link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--lv-carbon);
  text-decoration: none;
  transition: color var(--t-fast);
}
.nav-mobile__link:hover { color: var(--lv-tomato); }
.nav-mobile__close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 28px;
  background: none; border: none; cursor: pointer;
  color: var(--lv-smoke);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(200,52,26,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(244,166,33,0.06) 0%, transparent 60%),
    var(--lv-cream);
  z-index: 0;
}
.hero__bg-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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1;
}
.hero__content { position: relative; z-index: 2; }
.hero__badge { margin-bottom: var(--sp-6); }
.hero__title { margin-bottom: var(--sp-5); }
.hero__subtitle { font-size: 18px; color: var(--lv-smoke); max-width: 520px; font-weight: 300; line-height: 1.7; margin-bottom: var(--sp-8); }
.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.hero__stats { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.hero__stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--lv-carbon); line-height: 1; }
.hero__stat-label { font-size: 13px; color: var(--lv-ash); margin-top: 4px; }
.hero__visual { position: relative; }
.hero__pizza-img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.18)); animation: lv-float 5s ease-in-out infinite; }
@keyframes lv-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ================================================================
   FEATURES STRIP
   ================================================================ */
.features-strip {
  background: var(--lv-carbon);
  padding: 18px 0;
  overflow: hidden;
}
.features-strip__inner {
  display: flex;
  gap: var(--sp-10);
  white-space: nowrap;
  animation: lv-marquee 20s linear infinite;
}
@keyframes lv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.features-strip__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
}
.features-strip__dot { color: var(--lv-cheese); font-size: 8px; }

/* ================================================================
   MENU SECTION
   ================================================================ */
.menu-tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  background: var(--lv-warm-white);
  padding: 4px;
  border-radius: var(--r-full);
  border: 0.5px solid var(--lv-border);
  width: fit-content;
}
.menu-tab {
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 400;
  color: var(--lv-smoke);
  cursor: pointer;
  transition: all var(--t-base) var(--ease-smooth);
  border: none; background: none;
}
.menu-tab.is-active {
  background: var(--lv-tomato);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200,52,26,0.25);
}

/* ================================================================
   INGREDIENTS / STORY
   ================================================================ */
.ingredients-dark {
  background: var(--lv-carbon);
  border-radius: var(--r-xl);
  padding: var(--sp-16) clamp(24px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.ingredients-dark::before {
  content: '🍕';
  position: absolute;
  top: -10px; right: -20px;
  font-size: 200px;
  opacity: 0.04;
  pointer-events: none;
  transform: rotate(-12deg);
}
.ingredients-dark .section-eyebrow { color: var(--lv-cheese); }
.ingredients-dark .section-eyebrow::before { background: var(--lv-cheese); }
.ingredients-dark .section-title { color: #fff; }
.ingredients-dark .section-desc { color: rgba(255,255,255,0.55); }

.ingredient-card {
  padding: var(--sp-5);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  transition: background var(--t-base) var(--ease-smooth);
}
.ingredient-card:hover { background: rgba(255,255,255,0.05); }
.ingredient-card__icon { font-size: 32px; margin-bottom: var(--sp-3); }
.ingredient-card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--lv-cheese-light); margin-bottom: var(--sp-2); }
.ingredient-card__origin { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: var(--sp-2); }
.ingredient-card__desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.process-step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease-smooth);
}
.process-step:hover { transform: translateY(-3px); }
.process-step__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: rgba(200,52,26,0.12);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.process-step__label { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.process-step__text { font-size: 13px; color: var(--lv-ash); font-weight: 300; line-height: 1.65; }

/* ================================================================
   TESTIMONIALS / REVIEWS
   ================================================================ */
.review-card {
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}
.review-card__stars { color: var(--lv-cheese); font-size: 14px; letter-spacing: 3px; margin-bottom: var(--sp-3); }
.review-card__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--lv-smoke);
  margin-bottom: var(--sp-5);
}
.review-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lv-tomato-muted);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--lv-tomato-dark);
  flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 500; }
.review-card__meta { font-size: 12px; color: var(--lv-ash); }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--lv-tomato);
  border-radius: var(--r-xl);
  padding: var(--sp-16) clamp(24px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before, .cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #fff;
}
.cta-section::before { width: 400px; height: 400px; top: -200px; left: -100px; }
.cta-section::after  { width: 300px; height: 300px; bottom: -150px; right: -50px; }
.cta-section h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-section p  { color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: var(--sp-8); font-weight: 300; }
.cta-section .btn--ghost { border-color: rgba(255,255,255,0.35); }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-masonry {
  columns: 3 240px;
  column-gap: var(--sp-4);
}
.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-masonry__item img { width: 100%; display: block; transition: transform var(--t-slow) var(--ease-smooth); }
.gallery-masonry__item:hover img { transform: scale(1.03); }

/* ================================================================
   SIDEBAR & WIDGETS
   ================================================================ */
.widget {
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1.5px solid var(--lv-border);
}
.widget ul li { padding: 8px 0; border-bottom: 0.5px solid var(--lv-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--lv-smoke); transition: color var(--t-fast); }
.widget ul li a:hover { color: var(--lv-tomato); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--lv-carbon);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.footer__brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: var(--sp-3); }
.footer__brand-desc { font-size: 13px; line-height: 1.75; font-weight: 300; margin-bottom: var(--sp-6); }
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.footer__social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.footer__col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: var(--sp-4); }
.footer__col ul li { margin-bottom: var(--sp-2); }
.footer__col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--t-fast); }
.footer__col ul li a:hover { color: #fff; }
.footer__bottom {
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer__schema-info { display: flex; align-items: center; gap: var(--sp-2); }
.footer__schema-badge {
  background: rgba(45,106,79,0.2);
  color: var(--lv-basil-light);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ================================================================
   BLOG / POSTS
   ================================================================ */
.post-card {
  background: var(--lv-warm-white);
  border: 0.5px solid var(--lv-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-smooth), box-shadow var(--t-base) var(--ease-smooth);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__image { aspect-ratio: 16/10; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-smooth); }
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { padding: var(--sp-6); }
.post-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lv-tomato); font-weight: 500; margin-bottom: var(--sp-2); }
.post-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: var(--sp-3); }
.post-card__title a { color: inherit; transition: color var(--t-fast); }
.post-card__title a:hover { color: var(--lv-tomato); }
.post-card__excerpt { font-size: 14px; color: var(--lv-ash); line-height: 1.65; font-weight: 300; }
.post-card__footer { padding: var(--sp-4) var(--sp-6); border-top: 0.5px solid var(--lv-border); display: flex; align-items: center; justify-content: space-between; }
.post-card__date { font-size: 12px; color: var(--lv-ash); }

/* ================================================================
   SINGLE POST / PAGE
   ================================================================ */
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--lv-smoke);
}
.entry-content h2, .entry-content h3 { color: var(--lv-carbon); margin: 2em 0 0.75em; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content a { color: var(--lv-tomato); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 3px solid var(--lv-tomato);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-8) 0;
  background: var(--lv-tomato-muted);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--lv-tomato-dark);
}
.entry-content img { border-radius: var(--r-lg); margin: var(--sp-8) auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { padding: var(--sp-3) var(--sp-4); border: 0.5px solid var(--lv-border); font-size: 14px; }
.entry-content th { background: var(--lv-cream); font-weight: 500; }

/* ================================================================
   SEO / SCHEMA MARKUP BLOCKS
   ================================================================ */
.schema-hidden { display: none; }

.lv-recipe-card {
  background: var(--lv-warm-white);
  border: 1px solid var(--lv-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: var(--sp-8) 0;
}
.lv-recipe-card__header { background: var(--lv-tomato); padding: var(--sp-6); }
.lv-recipe-card__header h3 { color: #fff; margin: 0; }
.lv-recipe-card__meta { display: flex; gap: var(--sp-6); padding: var(--sp-5) var(--sp-6); border-bottom: 0.5px solid var(--lv-border); flex-wrap: wrap; }
.lv-recipe-card__meta-item { font-size: 13px; }
.lv-recipe-card__meta-item strong { display: block; color: var(--lv-carbon); font-weight: 500; margin-bottom: 2px; }
.lv-recipe-card__meta-item span { color: var(--lv-ash); }
.lv-recipe-card__body { padding: var(--sp-6); }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lv-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease-smooth);
}
.lv-lightbox.is-open { opacity: 1; pointer-events: all; }
.lv-lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-lg); }
.lv-lightbox__close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 28px; cursor: pointer; background: none; border: none; opacity: 0.7; transition: opacity var(--t-fast); }
.lv-lightbox__close:hover { opacity: 1; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-primary__links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: var(--sp-6); }
  .menu-tabs { overflow-x: auto; }
  .gallery-masonry { columns: 2 160px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  .site-header, .site-footer, .nav-mobile { display: none; }
  body { background: white; color: black; }
  a::after { content: " (" attr(href) ")"; font-size: 11px; }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.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;
}
.skip-link {
  position: absolute; top: -100%; left: 50%;
  transform: translateX(-50%);
  background: var(--lv-tomato);
  color: #fff;
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 500;
  transition: top var(--t-fast);
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ================================================================
   ANIMATIONS — Fade up on scroll
   ================================================================ */
.lv-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}
.lv-animate.is-visible { opacity: 1; transform: translateY(0); }
.lv-animate--delay-1 { transition-delay: 0.1s; }
.lv-animate--delay-2 { transition-delay: 0.2s; }
.lv-animate--delay-3 { transition-delay: 0.3s; }
.lv-animate--delay-4 { transition-delay: 0.4s; }

/* ================================================================
   WOOCOMMERCE (nếu dùng online ordering)
   ================================================================ */
.woocommerce .price { color: var(--lv-tomato-dark); font-weight: 600; }
.woocommerce .button { background: var(--lv-tomato) !important; border-radius: var(--r-full) !important; }
.woocommerce .button:hover { background: var(--lv-tomato-light) !important; }

/* ================================================================
   MISSING CLASSES — Added in fix pass
   ================================================================ */

/* Ingredients grid inside dark section */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}

/* Process steps grid */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}

/* Hero title underline decoration */
.underline-deco {
  position: relative;
  display: inline-block;
}
.underline-deco::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--lv-tomato), var(--lv-cheese));
  border-radius: 2px;
}

/* Star ratings */
.lv-stars {
  color: var(--lv-cheese);
  letter-spacing: 2px;
  font-size: 14px;
}

/* Hero visual position:relative for floating badges */
.hero__visual {
  position: relative;
}

/* Responsive hero grid */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr !important;
  }
  .hero__visual {
    display: none;
  }
  .ingredients-dark > div:first-child {
    grid-template-columns: 1fr !important;
  }
}

/* ================================================================
   RESPONSIVE GRID HELPERS (for inline grid in PHP templates)
   ================================================================ */
@media (max-width: 768px) {
  /* Hero 2-col → 1-col */
  .hero .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Ingredients dark 2-col → 1-col */
  .ingredients-dark > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Single pizza detail grid */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* 3-col grids to 1-col on mobile */
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
