/*
Theme Name: رستوران های سنتر
Theme URI: https://centerresturant.com/
Author: Mahmood Zamani Nemati
Author URI: https://mzamani.ir/
Description: قالب اختصاصی رستوران های سنتر - فست فود سنتر و کباب پاچرخی سنتر
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: center-theme
Tags: restaurant, food, rtl, persian, right-to-left
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --charcoal: #1a1a1a;
  --dark:     #111111;
  --red:      #c0392b;
  --red-bright: #e74c3c;
  --orange:   #e67e22;
  --orange-bright: #f39c12;
  --gold:     #d4a017;
  --cream:    #fdf6e3;
  --warm-white: #fefcf8;
  --green:    #27ae60;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  background: var(--dark);
  color: #f0ebe0;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.3;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.tag-red  { background: rgba(192,57,43,0.2);  color: var(--red-bright); border: 1px solid rgba(192,57,43,0.3); }
.tag-gold { background: rgba(212,160,23,0.15); color: var(--gold);       border: 1px solid rgba(212,160,23,0.3); }
.tag-green{ background: rgba(39,174,96,0.15);  color: var(--green);      border: 1px solid rgba(39,174,96,0.3); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
}

.ornate-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}
.ornate-divider::before,
.ornate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4), transparent);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-dark { background: #0f0f0f; }
.section-mid  { background: #141414; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.w-full { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
.site-navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192,57,43,0.3);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-navbar.scrolled {
  background: rgba(17,17,17,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.site-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo .logo-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.site-logo .logo-text-main {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  line-height: 1.2;
}
.site-logo .logo-text-sub {
  font-size: 0.65rem;
  color: #aaa;
}

/* Desktop nav menu (WordPress wp_nav_menu) */
.primary-nav {
  display: none;
}
@media (min-width: 768px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

/* WordPress menu items */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav ul li a {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  display: block;
  position: relative;
  transition: color 0.25s;
}
.primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 14px; left: 14px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current_page_item > a {
  color: #fff;
}
.primary-nav ul li a:hover::after,
.primary-nav ul li.current-menu-item > a::after,
.primary-nav ul li.current_page_item > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.primary-nav ul li {
  position: relative;
}
.primary-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%; right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.primary-nav ul li:hover > ul {
  display: flex;
}
.primary-nav ul li ul li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.primary-nav ul li ul li a:hover {
  background: rgba(192,57,43,0.15);
}

/* Nav right side actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cart-btn {
  position: relative;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.nav-cart-btn:hover {
  background: rgba(192,57,43,0.3);
}
.cart-count {
  position: absolute;
  top: -6px; left: -6px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.nav-order-btn {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  padding: 9px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
  display: none;
  text-decoration: none;
}
@media (min-width: 768px) {
  .nav-order-btn { display: block; }
}
.nav-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.6);
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 768px) {
  .hamburger-btn { display: none; }
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(17,17,17,0.98);
  border-top: 1px solid rgba(192,57,43,0.2);
  padding: 12px 20px 16px;
}
.mobile-menu.open { display: flex; }

.mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu ul li a {
  display: block;
  color: #ccc;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-menu ul li a:hover,
.mobile-menu ul li.current-menu-item > a {
  color: var(--orange);
}
/* Nested mobile */
.mobile-menu ul ul {
  padding-right: 16px;
  border-right: 2px solid rgba(192,57,43,0.3);
  margin-top: 4px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 40%, #1a1008 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: 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='%23d4a017' fill-opacity='1'%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");
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}
.glow-red    { background: var(--red);    top: -200px; left: -200px; }
.glow-orange { background: var(--orange); bottom: -200px; right: -100px; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, var(--orange-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #bbb;
  font-weight: 400;
}

/* =============================================
   BRAND CARDS
   ============================================= */
.brand-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s;
  border: 1px solid rgba(255,255,255,0.08);
}
.brand-card:hover { transform: translateY(-8px) scale(1.01); }

.brand-card-ff {
  background: linear-gradient(135deg, #1a0808 0%, #2d1010 50%, #1a0d00 100%);
  box-shadow: 0 20px 60px rgba(192,57,43,0.25);
}
.brand-card-ff:hover { box-shadow: 0 30px 80px rgba(231,76,60,0.4); }

.brand-card-kb {
  background: linear-gradient(135deg, #0d0d08 0%, #1a1505 50%, #120f02 100%);
  box-shadow: 0 20px 60px rgba(212,160,23,0.2);
}
.brand-card-kb:hover { box-shadow: 0 30px 80px rgba(212,160,23,0.35); }

.brand-emoji { font-size: clamp(3rem, 6vw, 5rem); }
.brand-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; }
.brand-desc  { font-size: 0.95rem; color: #aaa; line-height: 1.8; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}
.btn-ff {
  background: linear-gradient(135deg, var(--red), #a93226);
  color: #fff;
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
}
.btn-ff:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(231,76,60,0.5);
  background: linear-gradient(135deg, var(--red-bright), var(--red));
}
.btn-kb {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #111;
  box-shadow: 0 6px 20px rgba(212,160,23,0.4);
}
.btn-kb:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212,160,23,0.5);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* =============================================
   FOOD CARDS
   ============================================= */
.food-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275), border-color 0.35s, box-shadow 0.35s;
  position: relative;
}
.food-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192,57,43,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.food-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.food-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.food-card-ff-img { background: linear-gradient(135deg, #1f0808, #2a1010); }
.food-card-kb-img { background: linear-gradient(135deg, #1a1205, #221a08); }

.food-card-body { padding: 16px 18px 20px; }
.food-card-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.food-card-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 14px;
}
.food-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.food-price {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.food-price-gold {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--orange-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.add-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
}
.add-btn-red  { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }
.add-btn-red:hover  { transform: scale(1.15) rotate(90deg); box-shadow: 0 6px 20px rgba(192,57,43,0.5); }
.add-btn-gold { background: linear-gradient(135deg, var(--gold), var(--orange-bright)); color: #111; }
.add-btn-gold:hover { transform: scale(1.15) rotate(90deg); }

.badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.badge-offer { background: var(--red);    color: #fff; }
.badge-new   { background: var(--green);  color: #fff; }
.badge-hot   { background: var(--orange); color: #fff; }

/* =============================================
   STATS
   ============================================= */
.stat-card {
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,23,0.3);
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
}

/* =============================================
   REVIEWS
   ============================================= */
.review-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s, border-color 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,23,0.3);
}
.star { color: var(--gold); font-size: 1rem; }

/* =============================================
   OFFER BANNER
   ============================================= */
.offer-banner {
  background: linear-gradient(135deg, #1a0808, var(--red) 40%, var(--orange) 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20L0 0h40z'/%3E%3C/g%3E%3C/svg%3E");
}

/* =============================================
   DELIVERY CARDS
   ============================================= */
.delivery-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.delivery-card:hover {
  border-color: rgba(192,57,43,0.3);
  transform: translateX(-4px);
}
.delivery-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
  aspect-ratio: 1;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 3rem;
  border: 1px solid rgba(255,255,255,0.07);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

/* =============================================
   BRANCHES
   ============================================= */
.branch-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s, transform 0.3s;
}
.branch-card:hover {
  border-color: rgba(212,160,23,0.3);
  transform: translateY(-4px);
}

/* =============================================
   FAQ
   ============================================= */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: color 0.2s;
  font-size: 0.95rem;
}
.faq-question:hover { color: var(--orange); }
.faq-answer {
  padding: 0 0 20px;
  color: #999;
  line-height: 1.8;
  font-size: 0.9rem;
  display: none;
}
.faq-answer.open { display: block; }
.faq-icon { transition: transform 0.3s; font-size: 1.2rem; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }

/* =============================================
   CONTACT
   ============================================= */
.contact-input {
  width: 100%;
  background: #222;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  direction: rtl;
}
.contact-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.contact-input::placeholder { color: #666; }

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 340px;
  background: #141414;
  z-index: 900;
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1);
  overflow-y: auto;
}
.cart-sidebar.open { transform: translateX(0); }

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 850;
  display: none;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { display: block; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s;
}
.qty-btn-minus { background: #333; color: #fff; }
.qty-btn-plus  { background: var(--red); color: #fff; }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-wa {
  position: fixed;
  bottom: 24px; left: 24px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 500;
  text-decoration: none;
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37,211,102,0.5);
}

.floating-order {
  position: fixed;
  bottom: 90px; left: 24px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  border-radius: 25px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 30px rgba(192,57,43,0.5);
  transition: transform 0.3s;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: ctaPulse 2s infinite;
  text-decoration: none;
  font-family: inherit;
}
.floating-order:hover { transform: scale(1.05); }

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(192,57,43,0.5); }
  50%       { box-shadow: 0 8px 40px rgba(192,57,43,0.8); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(5deg); }
  66%       { transform: translateY(-6px) rotate(-3deg); }
}
.float-item { animation: float 4s ease-in-out infinite; }
.float-item:nth-child(2) { animation-delay: 0.5s; }
.float-item:nth-child(3) { animation-delay: 1s; }

/* =============================================
   SCROLLABLE HORIZONTAL
   ============================================= */
.scroll-x {
  overflow-x: auto;
  display: flex;
  gap: 20px;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #222;
}
.scroll-x::-webkit-scrollbar { height: 4px; }
.scroll-x::-webkit-scrollbar-track { background: #222; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }
.min-w-card    { min-width: 260px; }
.min-w-card-sm { min-width: 220px; }

/* =============================================
   COUPON
   ============================================= */
.coupon-box {
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 2px dashed rgba(212,160,23,0.4);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

/* =============================================
   INSTAGRAM GRID
   ============================================= */
.insta-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.3s;
}
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.insta-item:hover { transform: scale(1.05); }
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-overlay {
  position: absolute; inset: 0;
  background: rgba(192,57,43,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.footer-link {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
}
.footer-link:hover { color: var(--orange); }

/* Footer widget area */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 60px 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* WordPress default widget styles */
.widget ul { list-style: none; }
.widget ul li { padding: 4px 0; }
.widget ul li a { color: #888; font-size: 0.9rem; transition: color 0.2s; }
.widget ul li a:hover { color: var(--orange); }

/* =============================================
   TEAM CARDS (About page)
   ============================================= */
.team-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,0.3);
}
.team-avatar {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}

/* =============================================
   MENU CATEGORY FILTER
   ============================================= */
.menu-category-btn {
  padding: 10px 22px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
  white-space: nowrap;
}
.menu-category-btn.active,
.menu-category-btn:hover {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
}
.menu-category-btn-gold.active,
.menu-category-btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange-bright));
  color: #111;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212,160,23,0.4);
}

/* =============================================
   SEARCH BAR
   ============================================= */
.search-bar {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 12px 20px 12px 50px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  direction: rtl;
}
.search-bar:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.search-bar::placeholder { color: #666; }

/* =============================================
   WOOCOMMERCE BASIC COMPAT (if needed later)
   ============================================= */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.woocommerce-message { background: rgba(39,174,96,0.15); border: 1px solid rgba(39,174,96,0.3); color: var(--green); }
.woocommerce-error   { background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3); color: var(--red-bright); }
.woocommerce-info    { background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.3); color: var(--gold); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .hero-title    { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .brand-title   { font-size: 1.4rem; }
  .cart-sidebar  { width: 100%; }
}