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

:root {
  --primary: #e67e22;
  --primary-dark: #d35400;
  --primary-light: #f39c12;
  --secondary: #2c3e50;
  --accent: #27ae60;
  --bg: #faf8f5;
  --bg-dark: #f0ebe4;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-content { text-align: center; }
.preloader-logo {
  height: 70px; width: auto;
  margin-bottom: 24px;
  animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.preloader-bar {
  width: 160px; height: 3px; background: var(--bg-dark);
  border-radius: 3px; overflow: hidden; margin: 0 auto;
}
.preloader-fill {
  height: 100%; width: 0%; background: var(--primary);
  border-radius: 3px; animation: fillBar 1.5s ease forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes fillBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 248, 245, 0.98);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; transition: var(--transition);
}
.logo img {
  height: 42px; width: auto;
  animation: logoFloat 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.logo:hover img {
  transform: scale(1.1) rotate(-3deg);
  animation: none;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(1deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-2px) rotate(-1deg); }
}

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  text-decoration: none; position: relative; padding: 4px 0;
  transition: var(--transition);
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary);
  border-radius: 2px; transition: var(--transition);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

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

.lang-switch {
  display: flex; align-items: center; gap: 4px;
  background: none; border: 1.5px solid var(--bg-dark);
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: var(--transition);
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.lang-switch svg { transition: var(--transition); }
.lang-switch:hover svg { transform: rotate(180deg); }

.cart-btn, .orders-btn {
  position: relative; background: none; border: none;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: var(--transition);
}
.cart-btn:hover, .orders-btn:hover {
  background: var(--bg-dark); color: var(--primary);
  transform: translateY(-2px);
}
.cart-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--primary); color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounceIn 0.4s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-dark) 50%, #e8e0d4 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e67e22' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--primary); opacity: 0.08;
  animation: floatParticle 20s infinite ease-in-out;
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 60px 0; }

.hero-badge {
  display: inline-block; background: rgba(230, 126, 34, 0.1);
  color: var(--primary); font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
  border: 1px solid rgba(230, 126, 34, 0.2);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1; color: var(--text);
  margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-title span { color: var(--primary); }

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-light); max-width: 500px;
  margin-bottom: 32px; animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-buttons {
  display: flex; gap: 16px; margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-mouse {
  width: 22px; height: 36px; border: 2px solid var(--text-light);
  border-radius: 12px; position: relative;
}
.scroll-wheel {
  width: 4px; height: 8px; background: var(--text-light);
  border-radius: 2px; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); transform: translateX(-100%);
  transition: var(--transition);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--bg-dark);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
  background: rgba(230, 126, 34, 0.05);
  transform: translateY(-2px);
}

.btn-small { padding: 10px 20px; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn-text {
  background: none; color: var(--text-light);
  padding: 8px 16px; font-size: 0.85rem;
}
.btn-text:hover { color: var(--primary); }

/* ===== SECTIONS ===== */
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-tag {
  display: inline-block; color: var(--primary);
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  color: var(--text);
}
.section-title span { color: var(--primary); }

/* ===== INSTAGRAM ===== */
.instagram-section { padding: 80px 0; background: var(--white); }
.instagram-carousel {
  position: relative; overflow: hidden; margin-bottom: 32px;
}
.insta-track {
  display: flex; gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
}
.insta-item {
  flex: 0 0 280px; height: 280px; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.insta-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition-slow);
}
.insta-item:hover img { transform: scale(1.1); }
.insta-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: var(--transition);
}
.insta-item:hover .insta-item-overlay { opacity: 1; }
.insta-item-likes {
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.insta-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: none;
  box-shadow: var(--shadow); cursor: pointer;
  font-size: 1.5rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 10;
}
.insta-nav:hover { background: var(--primary); color: var(--white); }
.insta-prev { left: 8px; }
.insta-next { right: 8px; }
.insta-btn { margin: 0 auto; display: table; }

/* ===== SERVICES ===== */
.services { padding: 80px 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--primary); transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(230, 126, 34, 0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary); color: var(--white);
  transform: rotateY(360deg);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
}
.service-card p {
  font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px;
  line-height: 1.6;
}
.service-price {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--primary); margin-bottom: 16px;
}

/* ===== MENU ===== */
.menu-section { padding: 80px 0; background: var(--white); }

.menu-loading {
  text-align: center; padding: 60px 20px;
  color: var(--text-light);
}
.menu-spinner {
  width: 40px; height: 40px; border: 3px solid var(--bg-dark);
  border-top-color: var(--primary); border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.menu-error {
  text-align: center; padding: 40px 20px;
  background: #fff3cd; border-radius: var(--radius-sm);
  color: #856404; margin-bottom: 20px;
}
.menu-error p { margin-bottom: 16px; }

.menu-categories {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 40px;
}
.menu-category {
  padding: 10px 24px; border-radius: 100px;
  background: var(--bg); border: none;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  cursor: pointer; transition: var(--transition);
}
.menu-category:hover { background: var(--bg-dark); }
.menu-category.active {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.menu-item {
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.menu-item:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
}
.menu-item-img {
  height: 200px; background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.menu-item-img img.dish-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition-slow);
}
.menu-item:hover .menu-item-img img.dish-image { transform: scale(1.08); }

.dish-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark);
}
.placeholder-logo {
  max-width: 80px; max-height: 80px;
  opacity: 0.5;
}
.menu-item-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
}
.menu-item-info { padding: 20px; }
.menu-item-name {
  font-size: 1rem; font-weight: 600; margin-bottom: 6px;
}
.menu-item-desc {
  font-size: 0.8rem; color: var(--text-light); margin-bottom: 16px;
  line-height: 1.5;
}
.menu-item-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.menu-item-price {
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
.menu-item-qty {
  display: flex; align-items: center; gap: 8px;
}
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--bg-dark); background: var(--white);
  color: var(--text); font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover {
  border-color: var(--primary); color: var(--primary);
  transform: scale(1.1);
}
.qty-btn:active { transform: scale(0.95); }
.qty-value {
  font-size: 0.95rem; font-weight: 600; min-width: 24px;
  text-align: center;
}

/* ===== ABOUT ===== */
.about { padding: 80px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-images {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; position: relative;
}
.about-img {
  border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center;
  transition: var(--transition);
}
.about-img-1 { grid-row: span 2; height: 400px; }
.about-img-2 { height: 192px; }
.about-img-3 { height: 192px; }
.about-img:hover { transform: scale(1.02); }

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
  color: var(--text-light); font-size: 0.95rem;
  margin-bottom: 16px; line-height: 1.7;
}
.about-features {
  display: flex; gap: 24px; margin-top: 32px;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
}
.about-feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(39, 174, 96, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.about-feature span {
  font-size: 0.85rem; font-weight: 500;
}

/* ===== CONTACTS ===== */
.contacts { padding: 80px 0; background: var(--white); }
.contacts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.contact-icon {
  font-size: 2.5rem; margin-bottom: 16px;
}
.contact-card h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 8px;
}
.contact-card a, .contact-card span {
  display: block; color: var(--text-light);
  font-size: 0.9rem; text-decoration: none;
  margin-bottom: 4px;
}
.contact-card a:hover { color: var(--primary); }

.contact-2gis {
  display: inline-block !important;
  background: var(--primary); color: var(--white) !important;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; margin: 8px 0;
  transition: var(--transition);
}
.contact-2gis:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.social-links {
  display: flex; gap: 12px; justify-content: center; margin-top: 12px;
}
.social-link {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--white);
}
.social-link svg { width: 20px; height: 20px; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.whatsapp { background: #25d366; }
.social-link.gis { background: #4a90d9; }
.social-link:hover { transform: translateY(-4px) scale(1.1); }

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary); color: var(--white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: inline-block; margin-bottom: 12px;
  text-decoration: none; transition: var(--transition);
}
.footer-logo img {
  height: 38px; width: auto;
  border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite;
}
.footer-logo:hover img {
  transform: scale(1.08);
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 10px rgba(230,126,34,0.6)); }
}
.footer-brand p {
  font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.footer-links h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 16px;
  color: var(--white);
}
.footer-links a, .footer-links span {
  display: block; color: rgba(255,255,255,0.6);
  font-size: 0.85rem; text-decoration: none; margin-bottom: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-2gis {
  display: inline-block !important;
  color: var(--primary-light) !important;
  font-weight: 600;
}
.footer-bottom {
  padding: 24px 0; text-align: center;
  color: rgba(255,255,255,0.4); font-size: 0.8rem;
}

/* ===== MODALS ===== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal.active { opacity: 1; visibility: visible; }

.modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative; background: var(--white);
  border-radius: var(--radius); max-width: 600px; width: 90%;
  max-height: 90vh; overflow-y: auto;
  padding: 32px; transform: scale(0.9) translateY(20px);
  transition: var(--transition); box-shadow: var(--shadow-lg);
}
.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: none;
  font-size: 1.5rem; color: var(--text-light);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--bg-dark); color: var(--text); transform: rotate(90deg); }

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; margin-bottom: 24px;
}

/* Cart Modal */
.cart-items { max-height: 50vh; overflow-y: auto; margin-bottom: 20px; }
.cart-empty {
  text-align: center; padding: 40px; color: var(--text-light);
  font-size: 0.9rem;
}
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--bg-dark);
}
.cart-item-img {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: var(--bg-dark); overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 0.8rem; color: var(--text-light); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-subtotal { font-weight: 700; color: var(--primary); min-width: 80px; text-align: right; }
.cart-item-remove {
  background: none; border: none; color: #e74c3c;
  font-size: 1.2rem; cursor: pointer; padding: 4px;
  transition: var(--transition);
}
.cart-item-remove:hover { transform: scale(1.2); }

.cart-footer { border-top: 2px solid var(--bg-dark); padding-top: 20px; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
}
.cart-total-price { color: var(--primary); font-size: 1.3rem; }
.cart-minimum {
  font-size: 0.8rem; color: var(--text-light); margin-bottom: 16px;
}
.cart-minimum.warning { color: #e74c3c; font-weight: 600; }

/* Checkout Modal — РАСШИРЕННАЯ ФОРМА */
.checkout-modal { max-width: 640px; }
.form-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-dark);
}
.form-section:last-of-type { border-bottom: none; }
.form-section-title {
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.form-section-title::before {
  content: ''; width: 4px; height: 20px;
  background: var(--primary); border-radius: 2px;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

.checkout-form label, .service-form label {
  display: block; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 6px; color: var(--text);
}
.checkout-form input, .checkout-form textarea, .checkout-form select,
.service-form input, .service-form textarea, .service-form select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--bg-dark); background: var(--bg);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  transition: var(--transition);
}
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus,
.service-form input:focus, .service-form textarea:focus, .service-form select:focus {
  outline: none; border-color: var(--primary);
  background: var(--white); box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-checkbox {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--primary);
  cursor: pointer;
}
.form-checkbox label {
  font-size: 0.85rem; color: var(--text); cursor: pointer;
  margin-bottom: 0 !important;
}

.checkout-summary {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 16px; margin: 20px 0;
}
.checkout-summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; margin-bottom: 8px;
}
.checkout-summary-total {
  font-size: 1.1rem; font-weight: 700;
  border-top: 1px solid var(--bg-dark); padding-top: 8px;
}
.checkout-summary-total span:last-child { color: var(--primary); }

/* Orders Modal */
.orders-list { max-height: 60vh; overflow-y: auto; }
.orders-empty {
  text-align: center; padding: 40px; color: var(--text-light);
}
.order-card {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 20px; margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-sm); }
.order-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.order-number { font-weight: 700; color: var(--primary); }
.order-status {
  font-size: 0.75rem; font-weight: 600; padding: 4px 12px;
  border-radius: 100px;
}
.order-status.pending { background: #fff3cd; color: #856404; }
.order-status.confirmed { background: #d4edda; color: #155724; }
.order-status.delivered { background: #cce5ff; color: #004085; }
.order-details {
  font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px;
}
.order-details p { margin-bottom: 4px; }
.order-items-preview {
  font-size: 0.8rem; color: var(--text-light);
  margin-bottom: 12px; padding: 8px; background: var(--white);
  border-radius: var(--radius-sm);
}
.order-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.order-actions .btn {
  padding: 8px 16px; font-size: 0.8rem;
}

/* Success Modal */
.success-modal { text-align: center; padding: 40px; }
.success-icon { font-size: 4rem; margin-bottom: 16px; animation: bounceIn 0.6s ease; }
.success-modal h2 { margin-bottom: 12px; }
.success-modal p { color: var(--text-light); margin-bottom: 8px; }
.success-actions {
  display: flex; gap: 12px; justify-content: center;
  margin: 24px 0; flex-wrap: wrap;
}

/* Service Modal */
.service-form .form-group { margin-bottom: 16px; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--secondary); color: var(--white);
  padding: 16px 24px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); z-index: 3000;
  transition: var(--transition); opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); display: flex;
  align-items: center; justify-content: center;
  font-size: 0.9rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ===== ANIMATIONS ON SCROLL ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-actions { gap: 8px; }
  .hero-buttons { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .about-features { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-content { padding: 24px; width: 95%; }
  .success-actions { flex-direction: column; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-subtotal { margin-left: auto; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-modal { max-width: 95%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .insta-item { flex: 0 0 240px; height: 240px; }
}
