/* Import Google Fonts - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Harmonious Color Palette */
  --primary: #FF6B35;
  /* Vibrant Food Orange */
  --primary-hover: #E85A28;
  /* Slightly Darker Orange */
  --secondary: #FFB627;
  /* Golden Yellow Accent */
  --dark: #1E2229;
  /* Premium Charcoal Dark */
  --dark-light: #2D323E;
  /* Soft Dark */
  --light: #FFFDF9;
  /* Creamy Warm White */
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  /* Main Placeholder Gray */
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --success: #2EC4B6;
  /* Teal/Green for actions */
  --danger: #E63946;

  /* Typography & Spacing */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --container-width: 1200px;
  --header-height: 80px;

  /* Shadow & Blur */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(255, 107, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 48px rgba(255, 107, 53, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-light);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.cart-icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.2);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  animation: popScale 0.3s ease;
}

.order-btn-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 10px 24px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.2);
  transition: var(--transition-fast);
}

.order-btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 120px 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 182, 39, 0.1) 0%, rgba(255, 107, 53, 0.05) 50%, transparent 100%);
  overflow: hidden;
}

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

.hero-content {
  max-width: 540px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 107, 53, 0.08);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero-tagline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--gray-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Custom Image Placeholder Design */
.hero-image-container {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  background-color: var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed var(--gray-400);
  transition: var(--transition-normal);
}

.hero-image-container:hover {
  border-color: var(--primary);
  background-color: rgba(255, 107, 53, 0.02);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-container:has(img) {
  border: none;
}

.placeholder-content {
  text-align: center;
  padding: 32px;
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.placeholder-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.hero-image-container:hover .placeholder-icon {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  transform: scale(1.1) rotate(5deg);
  transition: var(--transition-normal);
}

.placeholder-text {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.placeholder-sub {
  font-size: 12px;
  color: var(--gray-600);
}

/* Featured / Product Section */
.section-title-wrap {
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* Product Card Design */
.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 53, 0.1);
}

.card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition-normal);
}

.product-card:hover .card-img-placeholder {
  background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
}

.card-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-img-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transition: none;
}

.product-card:hover .card-img-placeholder::after {
  animation: shimmer 1.5s infinite;
}

.card-placeholder-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-800);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 85%;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--secondary);
}

.card-rating span {
  color: var(--gray-600);
  margin-left: 4px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.variant-select-wrapper {
  margin-top: 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.variant-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-price-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  background-color: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 9l3 3 3-3' stroke='%23343A40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.card-price-select:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}


.add-to-cart-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.add-to-cart-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.add-to-cart-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* About Shop Section */
.about {
  background-color: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.about-img-placeholder {
  height: 400px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  border: 3px dashed var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-placeholder:has(img) {
  border: none;
}

.about-content-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-content-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content-desc {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 107, 53, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.about-feature-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 13px;
  color: var(--gray-600);
}

/* Quick Order (Đặt Đồ Ăn Nhanh) Layout */
.quick-order-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Category Sidebar Navigation */
.category-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.category-sidebar-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-menu-item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--gray-800);
  background-color: transparent;
  transition: var(--transition-fast);
}

.sidebar-menu-item.active a,
.sidebar-menu-item a:hover {
  color: var(--primary);
  background-color: rgba(255, 107, 53, 0.08);
}

.category-menu {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.category-menu-list {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.category-menu-item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--gray-800);
  background-color: transparent;
  transition: var(--transition-fast);
}

.category-menu-item.active a,
.category-menu-item a:hover {
  color: var(--primary);
  background-color: rgba(255, 107, 53, 0.08);
}

/* Quick Order Items List */
.quick-order-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.quick-order-section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-order-section-title span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  background-color: var(--gray-100);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.quick-order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Horizontal Food Card for Quick Order */
.quick-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.quick-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.08);
}

.quick-card-img-placeholder {
  width: 140px;
  height: 120px;
  background-color: var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  border: 1px dashed var(--gray-400);
}

.quick-placeholder-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  text-transform: uppercase;
}

.quick-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.quick-card-title-desc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.quick-card-desc {
  font-size: 13px;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quick-card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.quick-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.quick-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Quantity Control Button Group */
.qty-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  background-color: var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--gray-200);
  color: var(--primary);
}

.qty-input {
  width: 40px;
  height: 32px;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  background: transparent;
}

.quick-add-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.15);
}

.quick-add-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.25);
}

.quick-add-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Cart Page Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-table-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.cart-title-area {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-title-area h2 {
  font-size: 24px;
  font-weight: 800;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px dashed var(--gray-400);
  overflow: hidden;
}

.cart-item-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-img-placeholder:has(img) {
  border: none;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
}

.cart-item-subtotal {
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  text-align: right;
  min-width: 100px;
}

.cart-item-remove {
  color: var(--gray-600);
  transition: var(--transition-fast);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.cart-item-remove:hover {
  color: var(--danger);
  background-color: rgba(230, 57, 70, 0.08);
}

.cart-item-remove svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Empty Cart State */
.empty-cart-state {
  text-align: center;
  padding: 60px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.empty-cart-icon {
  width: 100px;
  height: 100px;
  background-color: rgba(255, 107, 53, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.empty-cart-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
}

.empty-cart-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
}

/* Checkout Summary / Form Sidebar */
.checkout-summary-card {
  position: sticky;
  top: 100px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.checkout-summary-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gray-800);
}

.summary-row.total {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  border-top: 1px dashed var(--gray-300);
  padding-top: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.summary-row.total span:last-child {
  color: var(--primary);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
}

.form-input {
  border: 1px solid var(--gray-300);
  background-color: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dark);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-order-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.2);
  transition: var(--transition-normal);
}

.submit-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

/* Footer Design */
.footer {
  background-color: var(--dark);
  color: var(--gray-300);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-info-col .logo {
  color: var(--white);
  margin-bottom: 24px;
}

.footer-info-desc {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-400);
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-600);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background-color: var(--white);
  color: var(--dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  min-width: 300px;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--success);
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background-color: rgba(46, 196, 182, 0.1);
  color: var(--success);
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 34, 41, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.modal-overlay.show .modal-card {
  transform: scale(1);
}

.modal-success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(46, 196, 182, 0.1);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 40px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-desc {
  color: var(--gray-600);
  margin-bottom: 32px;
  font-size: 15px;
}

.modal-close-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 14px 40px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.2);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Animations */
@keyframes popScale {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .order-btn-header {
    padding: 8px 18px;
    font-size: 13px;
  }

  .cart-icon-btn {
    width: 38px;
    height: 38px;
  }

  .cart-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu.active~.menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-menu.active~.menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu.active~.menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-container {
    height: 300px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-placeholder {
    height: 280px;
  }

  .quick-order-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .sidebar-menu-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 12px;
    scrollbar-width: thin;
  }

  .sidebar-menu-item a {
    white-space: nowrap;
    padding: 8px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
  }

  .order-btn-header {
    display: none;
    /* ẨN NÚT ĐẶT MÓN */
  }

  .cart-icon-btn {
    width: 36px;
    height: 36px;
  }

  .cart-icon-btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
  }

  .quick-card {
    flex-direction: column;
  }

  .quick-card-img-placeholder {
    width: 100%;
    height: 180px;
  }

  .cart-table-card {
    padding: 20px;
  }

  /* GIỎ HÀNG MOBILE */
  .cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "img info remove"
      "img qty subtotal";
    gap: 12px;
    align-items: center;
    position: relative;
    padding: 16px 0;
  }

  .cart-item-img-placeholder {
    grid-area: img;
    width: 80px;
    height: 80px;
  }

  .cart-item-info {
    grid-area: info;
  }

  .qty-group {
    grid-area: qty;
    justify-self: start;
  }

  .cart-item-subtotal {
    grid-area: subtotal;
    text-align: right;
    align-self: center;
    font-size: 15px;
    min-width: unset;
  }

  .cart-item-remove {
    grid-area: remove;
    align-self: start;
    justify-self: end;
    position: static;
  }

  /* SẢN PHẨM MOBILE */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  .card-img-placeholder {
    height: 130px;
  }

  .card-body {
    padding: 12px;
  }

  .card-title {
    font-size: 14px;
    margin-bottom: 6px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
  }

  .card-footer {
    padding-top: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card-price {
    font-size: 16px;
  }

  .price-select-note {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .price-adjust-wrapper {
    max-width: 100%;
    width: 100%;
    gap: 4px;
    padding: 2px;
  }

  .price-adjust-btn {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .card-price-display {
    font-size: 13px;
    min-width: 50px;
  }

  .price-range-hint {
    font-size: 9px;
  }

  .add-to-cart-btn {
    width: 100%;
    height: 36px;
    border-radius: var(--radius-sm);
    margin-top: 4px;
  }

  .add-to-cart-btn svg {
    width: 16px;
    height: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Custom User-Input Price Design */
.card-price-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  transition: var(--transition-fast);
  max-width: 120px;
}

.card-price-input-wrapper:focus-within {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.card-price-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  width: 100%;
  text-align: right;
  -moz-appearance: textfield;
}

.card-price-input::-webkit-outer-spin-button,
.card-price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-price-unit {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.price-range-hint {
  display: block;
  font-size: 11px;
  color: var(--gray-600);
  margin-top: 4px;
  font-weight: 600;
}

/* Custom Price Adjustment Styling */
.price-adjust-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 4px;
  transition: var(--transition-fast);
  max-width: 140px;
}

.price-adjust-wrapper:focus-within {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.price-adjust-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  user-select: none;
}

.price-adjust-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.card-price-display {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  min-width: 70px;
  text-align: center;
  user-select: none;
}

.price-select-note {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 6px;
  display: block;
}

/* Zalo Floating Button */
.zalo-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background-color: #0068ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.zalo-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.6);
}

.zalo-btn svg {
  width: 38px;
  height: 38px;
}

/* Center aligned footer layout when only Contact section remains */
.footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.footer-centered .footer-contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.footer-centered .footer-contact-item {
  justify-content: center;
  text-align: center;
}

.footer-centered .footer-col-title::after {
  left: 50%;
  transform: translateX(-50%);
}