@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&display=swap');

:root {
  --primary-color: #B22222; /* Đỏ gạch nung truyền thống */
  --primary-hover: #901C1C;
  --secondary-color: #E29578; /* Màu cam đất nung nhạt */
  --accent-color: #F4A261; /* Vàng đậu rán rực rỡ */
  --accent-hover: #E76F51;
  --success-color: #2D6A4F; /* Xanh lá kinh giới/tía tô */
  --success-hover: #1B4332;
  --dark-bg: #0C0C0E; /* Nền tối sang trọng */
  --card-bg: #16161B; /* Nền card kính mờ */
  --glass-bg: rgba(22, 22, 27, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --text-main: #F4F4F6;
  --text-muted: #A0A0B0;
  --text-gold: #F4A261;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-sm: 8px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 8px 24px rgba(244, 162, 97, 0.15);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: #33333C;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo span {
  color: var(--text-gold);
  font-style: italic;
}

.logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--text-gold);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-gold);
  transition: var(--transition);
}

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

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

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

.cart-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-gold);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(178, 34, 34, 0.6);
  animation: pulse 2s infinite;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(178, 34, 34, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(244, 162, 97, 0.08) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 162, 97, 0.1);
  border: 1px solid rgba(244, 162, 97, 0.2);
  color: var(--text-gold);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge i {
  color: var(--accent-color);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--text-gold);
  background: linear-gradient(120deg, var(--text-gold), #E76F51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 8px 24px rgba(178, 34, 34, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(178, 34, 34, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-gold);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  border-radius: 50%;
  border: 8px solid rgba(22, 22, 27, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}

/* Floating stats cards */
.floating-card {
  position: absolute;
  z-index: 3;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.fc-1 {
  bottom: 40px;
  left: -20px;
  animation: float-slow 8s ease-in-out infinite;
}

.fc-2 {
  top: 40px;
  right: -10px;
  animation: float-slow 7s ease-in-out infinite 1s;
}

.fc-icon {
  height: 40px;
  width: 40px;
  background-color: rgba(244, 162, 97, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gold);
  font-size: 1.1rem;
}

.fc-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.fc-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Section Common Styling */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--text-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Menu Section */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  padding: 10px 4px;
  -webkit-overflow-scrolling: touch;
}

.menu-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.menu-sections-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.menu-group {
  animation: fadeIn 0.6s ease-in-out forwards;
}

.menu-group-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.menu-group-title i {
  color: var(--primary-color);
  width: 28px;
  height: 28px;
}

.tab-btn {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 12px 28px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.menu-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.menu-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.menu-card:hover .menu-card-img {
  transform: scale(1.08);
}

.menu-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

.menu-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.menu-card-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.menu-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-gold);
  white-space: nowrap;
}

.menu-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  min-height: 42px;
}

.menu-card-desc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  flex-grow: 1;
  align-content: start;
}

.menu-card-desc-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.menu-card-desc-list li i {
  color: var(--text-gold);
  margin-top: 2px;
}

.menu-card-customizer {
  border-top: 1px dashed var(--glass-border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.customizer-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.customizer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-option-label {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-option-label:hover {
  background: rgba(255, 255, 255, 0.08);
}

.custom-option-input {
  display: none;
}

.custom-option-input:checked + .custom-option-label {
  background: rgba(244, 162, 97, 0.15);
  border-color: var(--text-gold);
  color: var(--text-gold);
}

.menu-card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4px;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  height: 32px;
  width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qty-val {
  width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.menu-card-btn {
  flex-grow: 1;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.menu-card-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

/* Our Story Section */
.story {
  background-color: #0F0F12;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.story-img-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.story-img:hover {
  transform: scale(1.03);
}

.story-img-1 {
  grid-row: span 2;
  height: 450px;
}

.story-img-2 {
  height: 215px;
}

.story-img-3 {
  height: 215px;
}

.story-content {
  padding-left: 20px;
}

.story-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.story-feat-item {
  display: flex;
  gap: 16px;
}

.story-feat-icon {
  flex-shrink: 0;
  height: 48px;
  width: 48px;
  background-color: rgba(45, 106, 79, 0.15);
  color: #52B788;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.story-feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.story-feat-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Testimonials / Reviews */
.reviews-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 50px 80px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.review-item {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.review-item.active {
  display: block;
}

.review-stars {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.review-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.review-avatar {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--text-gold);
}

.review-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.review-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  height: 48px;
  width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
}

.slider-btn:hover {
  background-color: var(--text-gold);
  color: var(--dark-bg);
  border-color: var(--text-gold);
}

/* Footer Section */
footer {
  background-color: #08080A;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info-logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-info-logo span {
  color: var(--text-gold);
  font-style: italic;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.social-btn {
  height: 40px;
  width: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--text-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--text-gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Shopping Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--card-bg);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--glass-border);
  z-index: 2000;
  transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-title i {
  color: var(--text-gold);
}

.close-cart-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-cart-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.cart-body {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: 16px;
}

.cart-empty i {
  font-size: 3.5rem;
  color: var(--glass-border);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cart-item-customizations {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-price {
  font-weight: 700;
  color: var(--text-gold);
  font-size: 0.95rem;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.cart-item-remove:hover {
  color: var(--primary-color);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--glass-border);
  background: rgba(22, 22, 27, 0.95);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-total-row.grand-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px solid var(--glass-border);
  padding-top: 12px;
  margin-top: 4px;
}

.cart-total-row.grand-total span:last-child {
  color: var(--text-gold);
}

.checkout-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.checkout-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal Checkout & Success Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2501;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  width: 90%;
  max-width: 520px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-gold);
  background: rgba(255, 255, 255, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.pay-opt-input {
  display: none;
}

.pay-opt-label {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.pay-opt-label i {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.pay-opt-label span {
  font-size: 0.85rem;
  font-weight: 600;
}

.pay-opt-input:checked + .pay-opt-label {
  border-color: var(--text-gold);
  background: rgba(244, 162, 97, 0.08);
  color: var(--text-gold);
}

.pay-opt-input:checked + .pay-opt-label i {
  color: var(--text-gold);
}

/* QR Code Section (Hidden by default, shown based on option) */
.qr-payment-section {
  display: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 16px;
  animation: fadeIn 0.3s ease-in-out forwards;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 6px solid white;
  margin: 0 auto 12px;
}

.qr-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.qr-note strong {
  color: var(--text-gold);
}

/* Success Modal Styles */
.success-card {
  text-align: center;
}

.success-icon-wrapper {
  height: 80px;
  width: 80px;
  background-color: rgba(45, 106, 79, 0.15);
  color: #52B788;
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(45, 106, 79, 0.2);
}

.success-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
}

.summary-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.summary-row.total {
  font-weight: 700;
  color: var(--text-gold);
  border-top: 1px dashed var(--glass-border);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Confetti Styles */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3000;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes float-slow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image-wrapper {
    margin-top: 20px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-content {
    padding-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 40px;
    transition: var(--transition);
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .story-img-1 {
    height: 300px;
  }
  
  .story-img-2, .story-img-3 {
    height: 140px;
  }
  
  .reviews-slider {
    padding: 40px 30px;
  }
  
  .slider-controls {
    position: static;
    transform: none;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }

  .menu-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 24px;
    overflow-x: visible;
    white-space: normal;
  }

  .tab-btn {
    padding: 14px 10px;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 5px;
    width: 100%;
  }

  .story-feat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .floating-card {
    display: none; /* Hide floating cards on small mobile screen */
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .payment-options {
    grid-template-columns: 1fr;
  }
}

/* Floating Contact Buttons Styles */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2400;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: rgba(22, 22, 27, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-btn i {
  color: white;
  width: 22px;
  height: 22px;
  transition: var(--transition);
}

/* Messenger & Zalo SVGs size */
.contact-btn svg {
  transition: var(--transition);
}

/* Hover effects */
.contact-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-color: var(--text-gold);
}

/* Specific button customizations */
.phone-btn {
  background-color: var(--primary-color);
  border-color: rgba(178, 34, 34, 0.3);
  animation: phone-shake 3s infinite ease-in-out;
}

.phone-btn:hover {
  background-color: var(--primary-hover);
  animation-play-state: paused;
}

.zalo-btn:hover {
  background: rgba(0, 104, 255, 0.1);
  border-color: rgba(0, 104, 255, 0.5);
}

.messenger-btn:hover {
  background: rgba(0, 114, 255, 0.1);
  border-color: rgba(0, 114, 255, 0.5);
}

/* Tooltips */
.contact-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(22, 22, 27, 0.95);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateX(15px);
  color: var(--text-main);
  box-shadow: var(--shadow);
}

.contact-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(22, 22, 27, 0.95);
  border-right: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border);
}

.contact-btn:hover .contact-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Animations */
@keyframes phone-shake {
  0% { transform: scale(1) rotate(0); }
  8% { transform: scale(1.1) rotate(-15deg); }
  12% { transform: scale(1.1) rotate(15deg); }
  16% { transform: scale(1.1) rotate(-15deg); }
  20% { transform: scale(1.1) rotate(15deg); }
  24% { transform: scale(1) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adjust position on small mobile screen to avoid covering other elements */
@media (max-width: 576px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  .contact-btn {
    width: 48px;
    height: 48px;
  }
  .contact-btn svg {
    width: 20px;
    height: 20px;
  }
  .contact-tooltip {
    display: none; /* Hide tooltips on small mobile screens */
  }
}

