/* =========================================================
   TIỆM BÁNH MITU – Main Stylesheet
   Colors: Vàng mật ong ấm (#d97706), Nâu ấm caramel (#5c3016), Kem bơ (#fef3c7)
   Fonts: Comfortaa + Quicksand + Montserrat
   ========================================================= */

/* ── Variables ── */
:root {
  --primary:       #d97706; /* Vàng mật ong ấm rực rỡ */
  --primary-dark:  #b45309; /* Nâu vàng mật ong đậm */
  --primary-light: #fef08a; /* Vàng kem sáng */
  --secondary:     #5c3016; /* Nâu caramel socola ấm */
  --accent:        #fef3c7; /* Kem bơ vàng ấm */
  --accent-warm:   #ea580c; /* Đỏ cam ấm từ logo */
  --bg:            #fffcf8; /* Trắng kem ấm dịu mắt */
  --bg-dark:       #fef7ea; /* Nền kem ấm */
  --text:          #3c2212; /* Chữ nâu đậm ấm áp, sang trọng */
  --text-light:    #7c5339; /* Chữ phụ nâu ấm */
  --white:         #ffffff;
  --border:        #fae5cc; /* Viền nâu kem ấm */
  --shadow:        rgba(92,48,22,0.12);
  --radius:        16px;
  --radius-sm:     10px;
  --transition:    all 0.3s ease;
  --font-display:  'Comfortaa', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Montserrat', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-top {
  background: linear-gradient(90deg, #92400e 0%, #d97706 50%, #92400e 100%);
  text-align: center;
  padding: 8px 20px;
  font-size: 13.5px;
  color: #fffbeb;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.nav-top a { color: #fef08a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.nav-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img {
  width: 54px; height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #fde68a;
  box-shadow: 0 4px 14px rgba(217,119,6,0.22);
  padding: 2px;
  transition: var(--transition);
}
.logo:hover .logo-img {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 6px 18px rgba(217,119,6,0.35);
}
.logo-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(217,119,6,.35);
}
.logo-text { font-family: var(--font-display); font-size: 24px; color: var(--secondary); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
.logo-sub { font-size: 10.5px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-top: 2px; }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 600;
  color: var(--text); text-transform: uppercase;
  letter-spacing: 0.8px; position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Nav item dropdown */
.nav-item-dropdown {
  position: relative;
}
.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-item-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--white);
  min-width: 230px;
  padding: 8px 0;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(92, 48, 22, 0.18);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  list-style: none;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Bridge to prevent gap on hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown-menu li {
  width: 100%;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--bg-dark);
  color: var(--primary-dark);
  padding-left: 24px;
}
.nav-dropdown-menu li a::after {
  display: none !important;
}

.btn-nav-zalo {
  background: #0068ff !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 25px;
  font-size: 12px !important;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 12px rgba(0,104,255,.25);
  transition: var(--transition) !important;
  white-space: nowrap;
}
.btn-nav-zalo::after { display: none !important; }
.btn-nav-zalo:hover {
  background: #004fcf !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,104,255,.35) !important;
  color: white !important;
}

/* Admin Login Icon in Nav */
.nav-item-admin {
  display: flex;
  align-items: center;
}
.nav-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--secondary);
  background: transparent;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  padding: 0;
}
.nav-admin-link::after {
  display: none !important;
}
.admin-login-svg {
  width: 25px;
  height: 25px;
  stroke: var(--secondary);
  stroke-width: 2;
  transition: var(--transition);
  display: block;
}
.nav-admin-text {
  display: none;
}
.nav-admin-link:hover {
  background: var(--bg-dark);
  border-color: var(--border);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(92, 48, 22, 0.12);
  transform: translateY(-2px);
}
.nav-admin-link:hover .admin-login-svg {
  stroke: var(--primary);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative; height: 590px;
  overflow: hidden;
}

.hero-slider { width: 100%; height: 100%; position: relative; }

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide-bg {
  position: absolute; inset: -10px;
  background-size: cover; background-position: center;
  filter: blur(2px) brightness(0.72);
  transform: scale(1.03);
  transition: opacity 1.2s ease, filter 0.5s ease;
}
.slide-bg-1 {
  background-image: linear-gradient(to right, rgba(15, 7, 3, 0.85) 0%, rgba(20, 10, 5, 0.6) 45%, rgba(0, 0, 0, 0.25) 80%, rgba(0, 0, 0, 0.15) 100%), url('../images/hero-bg-1.jpg');
  background-position: center 40%;
}
.slide-bg-2 {
  background-image: linear-gradient(to right, rgba(15, 7, 3, 0.85) 0%, rgba(20, 10, 5, 0.6) 45%, rgba(0, 0, 0, 0.25) 80%, rgba(0, 0, 0, 0.15) 100%), url('../images/hero-bg-2.png');
  background-position: center center;
}
.slide-bg-3 {
  background-image: linear-gradient(to right, rgba(15, 7, 3, 0.85) 0%, rgba(20, 10, 5, 0.6) 45%, rgba(0, 0, 0, 0.25) 80%, rgba(0, 0, 0, 0.15) 100%), url('../images/hero-bg-3.jpg');
  background-position: center 30%;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 50px; width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(254,243,199,.18);
  backdrop-filter: blur(8px);
  color: #fef08a; padding: 7px 20px;
  border-radius: 25px; font-size: 12px;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
  border: 1px solid rgba(254,240,138,.35);
}
.hero-title {
  font-family: var(--font-display);
  font-size: 60px; color: var(--white);
  line-height: 1.2; margin-bottom: 16px;
  text-shadow: 2px 4px 25px rgba(0,0,0,.45);
  max-width: 600px;
  font-weight: 700;
}
.hero-sub {
  font-size: 17px; color: rgba(255,253,248,.92);
  margin-bottom: 38px; font-weight: 300;
  max-width: 460px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero nav dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.45);
  cursor: pointer; transition: var(--transition);
}
.hero-dot.active { background: #fef08a; width: 28px; }

/* Hero arrows */
.hero-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white; font-size: 18px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(217,119,6,.4); border-color: #fef08a; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ============================================================
   BUTTONS (COMMON)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.8px; text-transform: uppercase;
  border: none; transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
  box-shadow: 0 6px 22px rgba(217,119,6,.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(180,83,9,.5);
}
.btn-white {
  background: white; color: var(--secondary);
}
.btn-white:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,.75);
}
.btn-outline-white:hover { background: white; color: var(--secondary); transform: translateY(-2px); }

/* ============================================================
   SECTIONS (COMMON)
   ============================================================ */
.section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: var(--accent); color: var(--primary);
  padding: 6px 18px; border-radius: 25px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 44px; color: var(--text);
  line-height: 1.2; margin-bottom: 12px;
}
.section-desc {
  color: var(--text-light);
  max-width: 500px; margin: 0 auto;
  font-size: 15px; line-height: 1.7;
}

/* ============================================================
   CATALOG & MENU SECTION
   ============================================================ */
.catalog-section { background: var(--bg); position: relative; }

.date-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 28px;
}
.date-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 8px 20px; border-radius: 25px;
  font-size: 13.5px; color: var(--text-light); font-weight: 600;
}

/* 1. Catalog Header & Controls */
.catalog-header-area {
  margin-bottom: 24px;
}
.section-tag-center {
  display: flex;
  justify-content: center;
}
.text-center {
  text-align: center;
}

/* Instant Search Bar */
.catalog-search-wrap {
  max-width: 540px;
  margin: 18px auto 22px;
}
.catalog-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 4px 16px;
  box-shadow: 0 4px 16px rgba(92, 48, 22, 0.06);
  transition: var(--transition);
}
.catalog-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.18);
  background: #ffffff;
}
.search-ico {
  font-size: 16px;
  color: var(--text-light);
  margin-right: 8px;
  flex-shrink: 0;
}
.catalog-search-box input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 4px;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
}
.catalog-search-box input::placeholder {
  color: #9c7a65;
}
.btn-clear-search {
  background: #f1dfcf;
  color: #7c5339;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-clear-search:hover {
  background: #e4caa4;
  color: #3c2212;
}
.btn-clear-search.hidden {
  display: none;
}

/* Main Category Pills (Horizontal Scroll on Mobile & Desktop) */
.main-cat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 14px;
  margin: 0 auto 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.main-cat-bar::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.cat-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(92, 48, 22, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cat-pill:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.cat-pill.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border-color: #b45309;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

/* 2. Filter Status Bar & View Mode Toggle */
.filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-status-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.view-mode-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.btn-view-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 16px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn-view-mode.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}
.filter-count-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.filter-status-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  flex-wrap: wrap;
}
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.active-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--primary-dark);
}
.active-tag-chip .remove-chip {
  cursor: pointer;
  font-weight: 700;
  color: #ef4444;
  margin-left: 2px;
}
.btn-clear-filters {
  background: transparent;
  color: #b45309;
  border: 1px solid #d97706;
  border-radius: 18px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-clear-filters:hover {
  background: #d97706;
  color: white;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
}
.btn-clear-filters.hidden {
  display: none;
}

/* Cake grid */
.cake-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Horizontal Slider for Today's Menu (Default View) */
.cake-grid-slider-mode {
  width: 100%;
}
.today-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 6px 0 20px;
}
.today-slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 6px;
  width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}
.today-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.today-slider-track .cake-card {
  flex: 0 0 275px;
  min-width: 275px;
  max-width: 275px;
}
.today-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(92,48,22,0.18);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}
.today-slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.today-slider-arrow.prev {
  left: -20px;
}
.today-slider-arrow.next {
  right: -20px;
}

@media (max-width: 768px) {
  .today-slider-track .cake-card {
    flex: 0 0 230px;
    min-width: 230px;
    max-width: 230px;
  }
  .today-slider-arrow.prev { left: -8px; width: 36px; height: 36px; font-size: 20px; }
  .today-slider-arrow.next { right: -8px; width: 36px; height: 36px; font-size: 20px; }
}

.cake-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.cake-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(92,48,22,.16);
  border-color: #fde68a;
}

.cake-img-wrap {
  position: relative;
  padding-top: 92%;
  overflow: hidden;
  background: var(--bg-dark);
}
.cake-img-wrap img,
.cake-img-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cake-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 70px; background: var(--accent);
}
.cake-card:hover .cake-img-wrap img { transform: scale(1.06); }

.cake-category-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(26, 11, 3, 0.75);
  backdrop-filter: blur(4px);
  color: #fef3c7;
  padding: 4px 11px; border-radius: 12px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid rgba(254, 240, 138, 0.3);
}

.cake-body {
  padding: 16px 18px 16px;
  display: flex; flex-direction: column; flex: 1;
}
.cake-name {
  font-family: var(--font-display);
  font-size: 18px; color: var(--text);
  margin-bottom: 6px; line-height: 1.35;
  font-weight: 700;
}

/* Cake tags chips */
.cake-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 10px;
}
.cake-tag-item {
  font-size: 10px; font-weight: 600;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2px 7px; border-radius: 8px;
  border: 1px solid var(--border);
}

.cake-desc {
  font-size: 12px; color: var(--text-light);
  line-height: 1.6; margin-bottom: 14px; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cake-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 10px;
}
.cake-price {
  font-size: 18px; font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}
.cake-card-actions {
  display: flex; align-items: center; gap: 6px;
}
.btn-card-detail {
  background: var(--bg-dark);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 18px;
  font-size: 11.5px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.btn-card-detail:hover {
  background: var(--accent);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-order-zalo {
  background: linear-gradient(135deg, #d97706, #b45309); color: white;
  padding: 7px 14px; border-radius: 18px;
  font-size: 11.5px; font-weight: 700;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(217,119,6,.25);
  white-space: nowrap;
}
.btn-order-zalo:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(180,83,9,.35);
}

/* Empty state */
.empty-menu {
  grid-column: 1 / -1;
  text-align: center; padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-menu h3 {
  font-family: var(--font-display);
  font-size: 24px; color: var(--text); margin-bottom: 8px; font-weight: 700;
}
.empty-menu p { color: var(--text-light); font-size: 14.5px; margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-reset-filters-empty {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white; padding: 12px 26px; border-radius: 25px;
  font-size: 13.5px; font-weight: 700; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(217,119,6,.35);
  transition: var(--transition);
}
.btn-reset-filters-empty:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
  transform: translateY(-2px);
}

/* ============================================================
   CUSTOM ORDER SECTION
   ============================================================ */
.custom-section {
  background: linear-gradient(135deg, #251004 0%, #4a210a 50%, #78350f 100%);
  position: relative; overflow: hidden;
  color: white;
}
.custom-section::before, .custom-section::after {
  content: ''; position: absolute; border-radius: 50%;
}
.custom-section::before {
  width: 600px; height: 600px;
  background: rgba(254,243,199,.05);
  top: -30%; right: -8%;
}
.custom-section::after {
  width: 350px; height: 350px;
  background: rgba(254,243,199,.03);
  bottom: -20%; left: -5%;
}

.custom-showcase {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.custom-showcase .section-tag {
  background: rgba(254, 243, 199, 0.15);
  color: #fef08a;
  display: inline-block;
  margin-bottom: 12px;
}
.text-white { color: #ffffff !important; }
.text-white-muted {
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.6;
}

.custom-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.custom-feat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 243, 199, 0.18);
  border-radius: 18px;
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.custom-feat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(254, 243, 199, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.feat-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.custom-feat-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fef08a;
  margin-bottom: 8px;
  font-weight: 700;
}
.custom-feat-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
}

.custom-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-custom-zalo {
  background: #0068ff !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-custom-zalo:hover {
  background: #004fcf !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 104, 255, 0.5);
  color: #fff !important;
}
.btn-custom-phone {
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-custom-phone:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .custom-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .custom-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .custom-feat-card {
    padding: 18px 16px;
  }
  .custom-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-custom-zalo, .btn-custom-phone {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   FEEDBACK SECTION (LƯỚI ẢNH FEEDBACK KHÁCH HÀNG)
   ============================================================ */
.feedback-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}
.feedback-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px auto 44px;
  max-width: 980px;
}
.fb-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px var(--shadow);
  transition: var(--transition);
}
.fb-stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(92, 48, 22, 0.14);
}
.fb-stat-icon {
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
}
.fb-stat-pill strong {
  display: block;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}
.fb-stat-pill span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

/* Feedback Slider Conveyor (Vòng quay tương tự menu bánh hôm nay) */
.feedback-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 10px 0 45px;
  width: 100%;
}
.feedback-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 6px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.feedback-slider-track::-webkit-scrollbar {
  display: none;
}
.feedback-slider-track .feedback-card {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
}
.feedback-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(92,48,22,0.18);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}
.feedback-slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.feedback-slider-arrow.prev {
  left: -20px;
}
.feedback-slider-arrow.next {
  right: -20px;
}

@media (max-width: 768px) {
  .feedback-slider-track .feedback-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
  }
  .feedback-slider-arrow.prev { left: -8px; width: 36px; height: 36px; font-size: 20px; }
  .feedback-slider-arrow.next { right: -8px; width: 36px; height: 36px; font-size: 20px; }
}

/* Feedback Grid (Fallback / Static) */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.feedback-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 22px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.feedback-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(92, 48, 22, 0.16);
}

.feedback-img-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  background: #fdfaf6;
  overflow: hidden;
}
.feedback-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.feedback-card:hover .feedback-img-wrapper img {
  transform: scale(1.04);
}

.feedback-zoom-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(40, 20, 10, 0.75);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.25s ease;
}
.feedback-card:hover .feedback-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.feedback-card-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}

.feedback-card-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feedback-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.feedback-quote {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.feedback-context {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.feedback-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #78350f;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.author-channel {
  font-size: 11.5px;
  color: #0068ff;
  font-weight: 600;
}

/* Feedback CTA */
.feedback-cta {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fed7aa 100%);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 30px var(--shadow);
}
.feedback-cta-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.feedback-cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
.feedback-cta-sub {
  font-size: 14px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.55;
}
.btn-feedback-zalo {
  background: #0068ff;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.35);
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-feedback-zalo:hover {
  background: #004fcf;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45);
  color: #fff;
}

/* Feedback Lightbox Modal */
.feedback-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.feedback-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.fb-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 4, 0.88);
  backdrop-filter: blur(8px);
}
.fb-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}
.fb-lightbox-img-wrap {
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-lightbox-img-wrap img {
  max-height: 75vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.fb-lightbox-info {
  margin-top: 14px;
  text-align: center;
  color: #fff;
}
.fb-lightbox-caption {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fef08a;
}
.fb-lightbox-quote {
  font-size: 14px;
  color: #ffffff;
  font-style: italic;
}
.fb-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.fb-lightbox-close:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.08);
}
.fb-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #3c2212;
  border: none;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  z-index: 3;
}
.fb-lightbox-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.fb-lightbox-arrow.fb-lightbox-prev {
  left: -24px;
}
.fb-lightbox-arrow.fb-lightbox-next {
  right: -24px;
}

/* Responsive */
@media (max-width: 992px) {
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feedback-cta {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .feedback-cta-sub {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .feedback-section {
    padding: 50px 0 60px;
  }
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feedback-img-wrapper {
    height: 260px;
  }
  .feedback-zoom-hint {
    opacity: 1;
    transform: translateY(0);
    font-size: 11px;
    padding: 4px 10px;
  }
  .fb-lightbox-arrow.fb-lightbox-prev {
    left: 8px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .fb-lightbox-arrow.fb-lightbox-next {
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .fb-lightbox-close {
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .feedback-stats-bar {
    gap: 10px;
  }
  .fb-stat-pill {
    padding: 8px 14px;
    flex: 1 1 calc(50% - 10px);
    border-radius: 16px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg); }

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

.about-img-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-img-main {
  grid-column: 1 / -1;
  height: 240px; border-radius: var(--radius);
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  display: flex; align-items: center; justify-content: center;
  font-size: 90px;
  box-shadow: 0 8px 25px var(--shadow);
}
.about-img-small {
  height: 140px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 55px;
  box-shadow: 0 4px 15px var(--shadow);
}
.about-img-small-1 { background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.about-img-small-2 { background: linear-gradient(135deg, #fef3c7, #fde68a); }

.about-content .section-title { text-align: left; }
.about-text {
  color: var(--text-light); font-size: 15px;
  line-height: 1.85; margin-bottom: 16px;
}

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 28px;
}
.stat-card {
  background: white; border-radius: var(--radius-sm);
  padding: 18px 14px; text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px; color: var(--primary); font-weight: 700;
}
.stat-label {
  font-size: 11px; color: var(--text-light);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-top: 4px;
}

/* ============================================================
   ORDER MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal {
  background: white; border-radius: 22px;
  padding: 36px; max-width: 480px; width: 100%;
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: var(--transition);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.modal-overlay.show .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--bg);
  cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); transition: var(--transition);
  line-height: 1;
}
.modal-close:hover { background: var(--primary); color: white; }

.modal-cake-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: 18px;
}
.modal-cake-placeholder {
  width: 100%; height: 200px;
  background: var(--accent);
  border-radius: var(--radius-sm); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 26px; color: var(--text); margin-bottom: 4px;
}
.modal-price {
  font-size: 22px; font-weight: 800;
  color: var(--primary); margin-bottom: 14px;
}
.modal-desc {
  font-size: 14px; color: var(--text-light);
  line-height: 1.6; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}

.order-msg-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px; line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
  white-space: pre-line;
  font-style: italic;
}
.order-msg-label {
  font-size: 12px; font-weight: 700;
  color: var(--text-light); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px;
}

.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-copy-msg {
  width: 100%; padding: 12px;
  background: var(--bg-dark); color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 25px; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: var(--transition); font-family: var(--font-body);
}
.btn-copy-msg:hover { background: var(--accent); border-color: var(--primary); }

.btn-open-zalo {
  width: 100%; padding: 14px;
  background: #0068ff; color: white;
  border: none; border-radius: 25px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: var(--transition); font-family: var(--font-body);
  box-shadow: 0 6px 20px rgba(0,104,255,.3);
}
.btn-open-zalo:hover {
  background: #004fcf; transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,104,255,.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #1a0b03; color: rgba(255,253,248,.8); }
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 65px 24px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-logo-wrap {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.footer-logo-img {
  width: 50px; height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  border: 2px solid #f59e0b;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 26px; color: #fef3c7;
  font-weight: 700;
}
.footer-about {
  font-size: 14px; line-height: 1.75; margin-bottom: 24px;
  color: rgba(255,253,248,.7);
}
.footer-socials { display: flex; gap: 10px; align-items: center; }
.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}
.social-link .social-svg-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.social-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
  transform: translateY(-3px) scale(1.08);
  color: #fff;
}
.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
  transform: translateY(-3px) scale(1.08);
  color: #fff;
}
.social-zalo:hover {
  background: #0068FF;
  border-color: #0068FF;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.45);
  transform: translateY(-3px) scale(1.08);
  color: #fff;
}
.social-tiktok:hover {
  background: #000000;
  border-color: #25F4EE;
  box-shadow: 0 4px 14px rgba(37, 244, 238, 0.45);
  transform: translateY(-3px) scale(1.08);
  color: #fff;
}

.footer-col h4 {
  color: #fef3c7; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px; padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px; background: #f59e0b;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.75);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.footer-links a:hover { color: #fde68a; padding-left: 4px; }

/* Brand Icon Colors in Footer Links */
.footer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  transition: transform 0.25s ease;
}
.footer-links a:hover .footer-link-icon {
  transform: scale(1.15);
}
.f-icon-fb { color: #1877F2; }
.f-icon-insta { color: #E1306C; }
.f-icon-zalo { color: #0068FF; }
.f-icon-tiktok { color: #ffffff; }
.f-icon-phone { color: #22c55e; }
.f-icon-map { color: #ef4444; }

.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 14px;
}
.footer-contact-item .fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a { color: #fde68a; font-weight: 600; text-decoration: none; }
.footer-contact-item a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 24px;
  text-align: center; font-size: 13px;
  color: rgba(255,255,255,.4);
  max-width: 1200px; margin: 0 auto;
}

/* ============================================================
   FLOATING WIDGET (GOOGLE MAPS & ZALO)
   ============================================================ */
.floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), box-shadow .25s ease;
}
.float-maps {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  border: 2px solid rgba(234,67,53,.2);
}
.float-maps:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(234,67,53,.35);
  border-color: #ea4335;
}
.float-zalo {
  background: #0068ff;
  box-shadow: 0 6px 22px rgba(0,104,255,.45);
  animation: zalo-pulse 2.5s ease-in-out infinite;
}
.float-zalo:hover {
  background: #004fcf;
  transform: scale(1.1);
}
@keyframes zalo-pulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(0,104,255,.45); }
  50%       { box-shadow: 0 6px 30px rgba(0,104,255,.65), 0 0 0 12px rgba(0,104,255,.1); }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  background: white; border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.14);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  border-left: 4px solid var(--primary);
  transform: translateX(130%);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: #22c55e; }
.toast.error   { border-left-color: #ef4444; }
.toast.info    { border-left-color: #3b82f6; }

/* ============================================================
   MOBILE OVERLAY & BOTTOM NAV (BASE)
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 17, 5, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.mobile-bottom-nav {
  display: none;
}

.modal-drag-handle {
  display: none;
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   ============================================================ */
@media (max-width: 1100px) {
  .cake-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .custom-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner  { grid-template-columns: 1fr; }
  .hero-title   { font-size: 48px; }
}

@media (max-width: 768px) {
  /* Body bottom padding to prevent Bottom Nav overlapping content */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* Header on Mobile */
  .header {
    box-shadow: 0 2px 14px var(--shadow);
  }
  .nav-top {
    font-size: 12.5px;
    padding: 6px 14px;
    line-height: 1.4;
  }
  .nav-main {
    padding: 10px 16px;
    gap: 12px;
    position: relative;
  }
  .logo {
    gap: 10px;
  }
  .logo-img {
    width: 44px;
    height: 44px;
  }
  .logo-text {
    font-size: 20px;
  }
  .logo-sub {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Hamburger transform animation */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-dark);
    padding: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Mobile Nav Drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 70px 20px 30px;
    gap: 12px;
    box-shadow: -8px 0 30px rgba(92, 48, 22, 0.18);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li a {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
  }
  .nav-links li a.active,
  .nav-links li a:active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--primary);
  }

  /* Mobile Dropdown */
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-link-dropdown {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: 1.5px solid var(--border);
    background: #fffdf9;
    margin-top: 8px;
    border-radius: 12px;
    display: none;
    padding: 8px;
  }
  .nav-item-dropdown.open-mobile .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .nav-dropdown-menu li a {
    padding: 9px 14px;
    font-size: 13px;
    background: transparent;
    border: none;
  }
  .nav-dropdown-menu li a:hover {
    background: var(--accent);
  }

  /* Mobile Admin Login button in Nav */
  .nav-item-admin {
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
  }
  .nav-admin-link {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fef3c7, #fae5cc);
    border: 1.5px solid #d97706;
    border-radius: 12px;
    color: #78350f;
  }
  .admin-login-svg {
    width: 22px;
    height: 22px;
    stroke: #b45309;
  }
  .nav-admin-text {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 700;
  }

  /* Hero Section on Mobile */
  .hero {
    height: min(450px, 78vh);
    min-height: 380px;
  }
  .hero-slide {
    padding: 20px 0;
  }
  .hero-content {
    padding: 0 20px;
    max-width: 440px;
  }
  .hero-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.18;
    margin-bottom: 10px;
  }
  .hero-sub {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-btns .btn {
    flex: 1;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    border-radius: 25px;
    white-space: nowrap;
  }
  .hero-arrow {
    display: none; /* Hide arrow on mobile to prevent obscuring text, touch swipe is active */
  }
  .hero-dots {
    bottom: 16px;
  }
  .hero-dot {
    width: 10px;
    height: 10px;
  }
  .hero-dot.active {
    width: 26px;
  }

  /* Catalog & Menu Section on Mobile */
  .section {
    padding: 42px 16px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .section-desc {
    font-size: 13.5px;
    padding: 0 8px;
  }
  .catalog-search-wrap {
    margin: 14px 0 16px;
  }
  .catalog-search-box {
    padding: 3px 14px;
  }
  .catalog-search-box input {
    font-size: 16px; /* Prevents auto zoom */
    padding: 8px 4px;
  }

  /* Horizontal Category Pill Bar on Mobile */
  .main-cat-bar {
    margin-left: -16px;
    margin-right: -16px;
    padding: 4px 16px 12px;
    gap: 8px;
  }
  .cat-pill {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 20px;
  }

  /* Filter Status Bar on Mobile */
  .filter-status-bar {
    padding: 8px 12px;
    margin-bottom: 18px;
    border-radius: 12px;
  }
  .date-badge {
    padding: 5px 12px;
    font-size: 12px;
  }
  .btn-view-mode {
    padding: 5px 10px;
    font-size: 11.5px;
  }

  /* Cake Grid & Cards on Mobile (2 Columns) */
  .cake-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cake-card {
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(92, 48, 22, 0.08);
  }
  .cake-card:hover {
    transform: none; /* No hover bounce on touch screens */
  }
  .cake-card:active {
    transform: scale(0.98);
  }
  .cake-img-wrap {
    padding-top: 100%; /* Perfect 1:1 square aspect ratio */
  }
  .cake-category-badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9.5px;
    border-radius: 8px;
  }
  .cake-body {
    padding: 10px 10px 12px;
  }
  .cake-name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 36px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cake-tags {
    display: none; /* Hide tags in grid to keep cards compact and tidy */
  }
  .cake-desc {
    display: none;
  }
  .cake-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: auto;
  }
  .cake-price {
    font-size: 14.5px;
    font-weight: 800;
    color: #b45309;
    text-align: left;
  }
  .cake-card-actions {
    width: 100%;
  }
  .btn-order-zalo {
    width: 100%;
    padding: 8px 6px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 18px;
    text-align: center;
    justify-content: center;
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.28);
    -webkit-tap-highlight-color: transparent;
  }

  /* Slider Mode on Mobile */
  .today-slider-track .cake-card {
    flex: 0 0 220px;
    min-width: 220px;
    max-width: 220px;
  }
  .today-slider-arrow {
    display: none; /* Hide arrows on mobile, swipe is natural */
  }

  /* Custom Order Section on Mobile */
  .custom-section {
    padding: 44px 16px;
  }
  .custom-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .custom-left .section-title {
    font-size: 32px;
  }
  .feature-list li {
    font-size: 13.5px;
    padding: 7px 0;
  }
  .custom-form-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .form-card-title {
    font-size: 22px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* Critical for iOS: avoids zooming */
    padding: 12px 14px;
    border-radius: 10px;
  }
  .btn-send-zalo {
    padding: 14px;
    font-size: 15px;
    border-radius: 25px;
  }

  /* About Section on Mobile */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-img-box {
    margin: 0 auto;
    transform: scale(0.9);
  }
  .stats-row {
    gap: 8px;
  }
  .stat-card {
    padding: 14px 8px;
    border-radius: 12px;
  }
  .stat-num {
    font-size: 24px;
  }
  .stat-label {
    font-size: 11px;
  }

  /* Footer on Mobile */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 18px 26px;
  }
  .footer-logo-img {
    width: 44px;
    height: 44px;
  }
  .footer-logo-text {
    font-size: 22px;
  }
  .footer-links a,
  .footer-contact-item {
    font-size: 13.5px;
  }

  /* Floating Widgets on Mobile */
  .floating-widget {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    gap: 8px !important;
  }
  .float-btn {
    width: 46px !important;
    height: 46px !important;
  }
  .float-maps svg {
    width: 22px !important;
    height: 22px !important;
  }
  .float-zalo svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Mobile Bottom Sheet Modal */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .modal {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 85vh !important;
    padding: 14px 18px 24px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateY(100%) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3) !important;
  }
  .modal-overlay.show .modal {
    transform: translateY(0) !important;
  }
  .modal-drag-handle {
    display: block;
    width: 42px;
    height: 5px;
    background: #e2d3c1;
    border-radius: 4px;
    margin: 0 auto 12px;
  }
  .modal-close {
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .modal-cake-img,
  .modal-cake-placeholder {
    height: 170px;
    margin-bottom: 12px;
  }
  .modal-title {
    font-size: 20px;
  }
  .modal-price {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .modal-desc {
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .order-msg-box {
    font-size: 12.5px;
    padding: 10px 12px;
    margin-bottom: 14px;
  }
  .btn-copy-msg,
  .btn-open-zalo {
    padding: 13px;
    font-size: 14px;
    border-radius: 24px;
  }

  /* Toast notification on Mobile */
  .toast {
    top: 14px;
    right: 14px;
    left: 14px;
    max-width: none;
    transform: translateY(-130%);
    font-size: 13px;
    padding: 12px 16px;
  }
  .toast.show {
    transform: translateY(0);
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1.5px solid var(--border);
    box-shadow: 0 -4px 20px rgba(92, 48, 22, 0.08);
    z-index: 1500;
    padding: 0 4px calc(env(safe-area-inset-bottom, 0px));
  }
  .bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: #7c5339;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
  }
  .bnav-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
  }
  .bnav-item.active,
  .bnav-item:active {
    color: var(--primary-dark);
  }
  .bnav-item.active .bnav-icon {
    transform: scale(1.15);
  }
  .bnav-item.active .bnav-label {
    font-weight: 700;
    color: var(--primary-dark);
  }
  .bnav-item.bnav-zalo {
    color: #0068ff;
  }
  .bnav-item.bnav-zalo .bnav-icon {
    animation: zalo-bounce 2s infinite ease-in-out;
  }
  @keyframes zalo-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }
}

/* Extra small screens (iPhone SE, Galaxy A series <= 380px) */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .logo-text  { font-size: 18px; }
  .logo-img   { width: 38px; height: 38px; }
  .cake-grid  { gap: 8px; }
  .cake-body  { padding: 8px 8px 10px; }
  .cake-name  { font-size: 12.5px; min-height: 32px; }
  .cake-price { font-size: 13.5px; }
  .btn-order-zalo { font-size: 11px; padding: 7px 4px; }
  .stats-row  { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .stat-num   { font-size: 20px; }
  .stat-label { font-size: 10px; }
}

