@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
  --bg-main: #0f0506;
  --bg-surface: #1a0a0c;
  --bg-card: rgba(30, 13, 16, 0.75);
  --bg-card-hover: rgba(44, 18, 22, 0.9);
  --bg-glass: rgba(20, 8, 10, 0.82);

  --red-primary: #FE0000;
  --red-light: #ff3333;
  --red-dark: #b80000;
  --red-hot: #FE0000;
  --red-soft: #FE0000;
  --red-glow: rgba(254, 0, 0, 0.25);

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --border-subtle: rgba(254, 0, 0, 0.18);
  --border-hover: rgba(254, 0, 0, 0.5);

  --font-heading: 'Tajawal', sans-serif;
  --font-body: 'Cairo', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(254, 0, 0, 0.2);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.85);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #5a1c20;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

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

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--red-hot), var(--red-primary), var(--red-light));
  z-index: 99999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(254, 0, 0, 0.7);
}

/* Glowing text gradients */
.accent-text {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red-primary) 60%, var(--red-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hot-badge {
  background: rgba(254, 0, 0, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(254, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.accent-badge {
  background: rgba(254, 0, 0, 0.15);
  color: var(--red-light);
  border: 1px solid rgba(254, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Summer Floating Embers Container */
#embers-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ember-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 77, 0.9) 0%, rgba(254, 0, 0, 0.4) 60%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  animation: floatEmber linear infinite;
  box-shadow: 0 0 8px rgba(254, 0, 0, 0.6);
}

@keyframes floatEmber {
  0% {
    transform: translateY(105vh) translateX(0) scale(0.6);
    opacity: 0;
  }

  15% {
    opacity: 0.7;
  }

  75% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) translateX(40px) scale(1.1);
    opacity: 0;
  }
}

/* ===================================================
   Header & Navigation
   =================================================== */
.main-header {
  position: static;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all var(--transition-normal);
}



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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--red-primary);
  object-fit: cover;
  box-shadow: 0 0 15px rgba(254, 0, 0, 0.35);
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-avatar {
  transform: rotate(5deg) scale(1.06);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.brand-tagline {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.brand-tagline i {
  color: var(--red-primary);
  font-size: 0.95rem;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--red-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

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

.search-trigger-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: rgba(254, 0, 0, 0.15);
  color: var(--red-light);
  border-color: var(--border-subtle);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: #fff;
  padding: 8px;
}

/* ===================================================
   Hero Section: Summer Culinary
   =================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 0 70px;
  background-color: var(--bg-main);
  overflow: hidden;
}

.hero-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 6, 8, 0.94) 0%, rgba(14, 6, 8, 0.82) 50%, rgba(26, 8, 9, 0.9) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(254, 0, 0, 0.12);
  border: 1px solid rgba(254, 0, 0, 0.35);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-light);
  margin-bottom: 24px;
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 20px rgba(254, 0, 0, 0.2);
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(254, 0, 0, 0.2);
  }

  100% {
    box-shadow: 0 0 25px rgba(254, 0, 0, 0.45);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 36px;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-luxury {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red-primary) 70%, var(--red-soft) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(254, 0, 0, 0.35);
  transition: all var(--transition-normal);
}

.btn-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(254, 0, 0, 0.55);
  color: #ffffff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-normal);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--red-primary);
  color: var(--red-light);
  transform: translateY(-3px);
}

/* ===================================================
   Featured Summer Editorial (مقالة الغلاف)
   =================================================== */
.featured-editorial-section {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.featured-card {
  background: linear-gradient(145deg, rgba(36, 14, 17, 0.88), rgba(22, 9, 11, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.featured-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(254, 0, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.featured-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.featured-card:hover .featured-img {
  transform: scale(1.05);
}

.featured-badge-float {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(14, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(254, 0, 0, 0.3);
}

.featured-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editorial-tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.35;
  color: #ffffff;
}

.featured-excerpt {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.author-meta-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red-primary);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.article-read-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   Blog Filter & Search Bar
   =================================================== */
.blog-controls-section {
  padding: 30px 0 50px;
  position: static;
  z-index: 900;
  background: var(--bg-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.controls-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cat-pill:hover {
  background: rgba(254, 0, 0, 0.12);
  color: #fff;
  border-color: var(--border-subtle);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--red-light), var(--red-primary));
  color: #ffffff;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(254, 0, 0, 0.35);
}

.search-box-wrap {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: rgba(28, 12, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 10px 42px 10px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--red-primary);
  background: rgba(38, 16, 19, 0.95);
  box-shadow: 0 0 15px rgba(254, 0, 0, 0.2);
  outline: none;
}

.search-icon-inside {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ===================================================
   Dishes & Recipes Blog Grid
   =================================================== */
.section-header-block {
  text-align: center;
  margin-bottom: 45px;
}

.section-subtitle-tag {
  color: var(--red-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-main-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  margin-bottom: 70px;
}

/* Article Card */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.card-media-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(44, 18, 22, 0.9) 0%, rgba(20, 8, 10, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.card-dish-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.65));
}

.article-card:hover .card-dish-img {
  transform: scale(1.1) rotate(2deg);
}

.card-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.card-readtime-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(14, 6, 8, 0.75);
  backdrop-filter: blur(6px);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.card-tags-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dish-tag {
  font-size: 0.78rem;
  color: var(--red-light);
  background: rgba(254, 0, 0, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(254, 0, 0, 0.18);
}

.card-title {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.article-card:hover .card-title {
  color: var(--red-light);
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.btn-read-story {
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.btn-read-story i {
  transition: transform var(--transition-fast);
}

.btn-read-story:hover {
  color: #ffffff;
  gap: 12px;
}

.btn-read-story:hover i {
  transform: translateX(-4px);
}

.card-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.btn-icon-action:hover {
  background: rgba(254, 0, 0, 0.15);
  border-color: var(--red-primary);
  color: var(--red-light);
  transform: scale(1.1);
}

.btn-icon-action.liked {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.15);
  border-color: rgba(255, 77, 77, 0.4);
}

.btn-icon-action.liked i {
  animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.35);
  }

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

/* ===================================================
   Chef's Summer Cooking Secrets & Tips
   =================================================== */
.chef-secrets-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(20, 8, 10, 0.6) 0%, rgba(28, 11, 14, 0.9) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.secrets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.secret-box {
  background: rgba(32, 13, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.secret-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.secret-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(254, 0, 0, 0.2), rgba(254, 0, 0, 0.2));
  border: 1px solid rgba(254, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--red-light);
  margin-bottom: 20px;
}

.secret-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.secret-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================================
   About Chef Omar Editorial Section
   =================================================== */
.about-chef-section {
  padding: 90px 0;
}

.about-chef-card {
  background: linear-gradient(135deg, rgba(36, 14, 17, 0.8), rgba(20, 8, 10, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
}

.chef-portrait-wrap {
  position: relative;
  text-align: center;
  padding-bottom: 25px;
}

.chef-portrait {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--red-primary);
  box-shadow: 0 0 30px rgba(254, 0, 0, 0.35);
}

.chef-seal-badge {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-main);
  border: 1px solid var(--red-primary);
  color: var(--red-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.chef-quote-box {
  background: rgba(254, 0, 0, 0.07);
  border-right: 4px solid var(--red-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red-light);
}

/* ===================================================
   Full Article Reader Modal (نافذة قراءة المقال)
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 4, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.reader-modal-content {
  background: #1a0a0c;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .reader-modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 6, 8, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--red-hot);
  color: #fff;
  transform: rotate(90deg);
}

.modal-hero-cover {
  position: relative;
  height: 340px;
  background: radial-gradient(circle at center, #2a1215 0%, #140708 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-hero-img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}

.modal-body-container {
  padding: 36px 40px;
}

.modal-article-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-content-prose {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.modal-content-prose p {
  margin-bottom: 20px;
}

.modal-content-prose h3 {
  color: var(--red-light);
  font-size: 1.45rem;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-ingredients-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}

.recipe-ingredients-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
}

.recipe-ingredients-list li i {
  color: var(--red-primary);
}

.chef-pro-tip-box {
  background: linear-gradient(135deg, rgba(254, 0, 0, 0.12), rgba(254, 0, 0, 0.08));
  border: 1px solid rgba(254, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 28px 0;
}

.chef-pro-tip-box h4 {
  color: var(--red-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-footer-interactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.btn-whatsapp-order {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-whatsapp-order:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
  color: #ffffff;
  filter: brightness(1.08);
}



/* ===================================================
   Toast Alerts
   =================================================== */
.toast-alert {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(26, 10, 12, 0.95);
  border: 1px solid var(--red-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(254, 0, 0, 0.3);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-alert.show {
  transform: translateX(-50%) translateY(0);
}

/* Floating Back-To-Top Button */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red-primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(254, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(254, 0, 0, 0.6);
}

/* ===================================================
   Footer
   =================================================== */
.main-footer {
  background: #0b0405;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 60px 0 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 45px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 14px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

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

.footer-links-list a {
  color: var(--text-secondary);
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--red-light);
  padding-right: 6px;
}

.social-icons-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

/* الألوان الرسمية للأيقونات */
.social-circle-btn.btn-wa {
  color: #25D366;
}

.social-circle-btn.btn-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.social-circle-btn.btn-yt {
  color: #FF0000;
}

.social-circle-btn.btn-yt:hover {
  background: #FF0000;
  color: #ffffff;
  border-color: #FF0000;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.35);
}

.social-circle-btn.btn-tt {
  color: #EE1D52;
}

.social-circle-btn.btn-tt:hover {
  background: #000000;
  color: #ffffff;
  border-color: #EE1D52;
  box-shadow: 0 4px 15px rgba(238, 29, 82, 0.4);
}

.social-circle-btn.btn-ig {
  color: #E1306C;
}

.social-circle-btn.btn-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.social-circle-btn.btn-fb {
  color: #1877F2;
}

.social-circle-btn.btn-fb:hover {
  background: #1877F2;
  color: #ffffff;
  border-color: #1877F2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.35);
}

.social-circle-btn.btn-map {
  color: #EA4335;
}

.social-circle-btn.btn-map:hover {
  background: #EA4335;
  color: #ffffff;
  border-color: #EA4335;
  box-shadow: 0 4px 15px rgba(234, 67, 53, 0.35);
}

.social-circle-btn:hover {
  transform: translateY(-3px);
}

.footer-bottom-bar {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

/* ===================================================
   Responsive Media Queries
   =================================================== */
@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-chef-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chef-quote-box {
    border-right: none;
    border-top: 4px solid var(--red-primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

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

@media (max-width: 768px) {
  .main-header {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    right: -100%;
    width: 280px;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(20, 8, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

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

  .modal-body-container {
    padding: 24px 20px;
  }

  .modal-hero-cover {
    height: 240px;
  }

  .brand-tagline {
    font-size: 0.88rem;
    max-width: 220px;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .brand-avatar {
    width: 40px;
    height: 40px;
  }

  .brand-tagline {
    font-size: 0.78rem;
    max-width: 170px;
  }

  .hero-pill-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    line-height: 1.35;
  }

  .search-trigger-btn span {
    display: none;
  }

  .search-trigger-btn {
    padding: 8px 10px;
  }
}


/* ===================================================
   v3 — Red brand theme (#FE0000), logo cut-out, hero image, videos
   =================================================== */
body {
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(254, 0, 0, 0.26), transparent 62%),
    radial-gradient(900px 520px at -5% 38%, rgba(254, 0, 0, 0.12), transparent 60%),
    var(--bg-main);
  background-repeat: no-repeat;
}

/* Header: sticky, red signature line */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(14, 6, 8, 0.9);
  border-bottom: 2px solid var(--red-primary);
  box-shadow: 0 6px 24px rgba(254, 0, 0, 0.22);
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.06);
}

.author-thumb {
  width: auto;
  height: 46px;
  border: none;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

/* About section: Chef portrait */
.chef-portrait {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 20px;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(254, 0, 0, 0.25);
  object-fit: cover;
  object-position: center 10%;
  filter: none;
  display: block;
  margin: 0 auto;
}

.chef-seal-badge {
  bottom: 10px;
}

/* Hero: text + swappable image */
.hero-section {
  min-height: auto;
  padding: 64px 0 56px;
  justify-content: flex-start;
  flex-direction: column;
  align-items: stretch;
}

.hero-overlay-glow {
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(254, 0, 0, 0.30), transparent 65%),
    linear-gradient(180deg, rgba(14, 6, 8, 0.15) 0%, rgba(14, 6, 8, 0.85) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: right;
  max-width: none;
  margin: 0;
}

.hero-desc {
  margin: 0 0 32px;
}

.hero-btn-group {
  justify-content: flex-start;
}

.hero-stats-row {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(circle, rgba(254, 0, 0, 0.55), transparent 68%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}

.hero-visual-link {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
}

.hero-visual-link[href] {
  cursor: pointer;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

/* default = transparent chef emblem (white keyline so the black artwork reads on the dark page) */
.hero-visual[data-kind="default"] .hero-image {
  max-width: 470px;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.6));
}

/* custom = offer / ad uploaded from the dashboard */
.hero-visual[data-kind="custom"] .hero-image {
  border-radius: var(--radius-lg);
  border: 2px solid rgba(254, 0, 0, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 44px rgba(254, 0, 0, 0.35);
  background: #1a0a0c;
}

.hero-visual-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(254, 0, 0, 0.5);
  animation: pulseGlow 3s infinite alternate;
}

.hero-visual-badge[hidden] {
  display: none;
}

/* Buttons / chips on red */
.btn-luxury {
  background: linear-gradient(135deg, var(--red-hot) 0%, var(--red-primary) 60%, var(--red-dark) 100%);
  color: #fff;
}

.btn-luxury:hover {
  color: #fff;
  filter: brightness(1.08);
}

.stat-number,
.hero-pill-badge,
.accent-badge {
  color: var(--red-light);
}

.accent-text {
  background: linear-gradient(135deg, #ff7b7b 0%, var(--red-light) 40%, var(--red-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.social-circle-btn:hover,
#back-to-top {
  color: #fff;
}

/* ===== Videos ===== */
.videos-section {
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.videos-section[hidden],
[hidden] {
  display: none !important;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}

.video-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: right;
  color: inherit;
  background: linear-gradient(150deg, rgba(40, 15, 18, 0.92), rgba(20, 8, 10, 0.97));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  animation: cardIn 0.5s ease both;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  outline: none;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #140708;
}

.video-thumb>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.video-card:hover .video-thumb>img {
  transform: scale(1.07);
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 3, 4, 0.75));
  pointer-events: none;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #6b0d11 0%, #1a0507 75%);
}

.video-thumb-placeholder img {
  height: 78%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(254, 0, 0, 0.94);
  color: #fff;
  font-size: 1.4rem;
  padding-right: 4px;
  box-shadow: 0 0 0 8px rgba(254, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(254, 0, 0, 0.28), 0 12px 34px rgba(0, 0, 0, 0.6);
}

.video-platform-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 6, 8, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.video-info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-title {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #fff;
}

.video-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-modal-content {
  position: relative;
  width: min(960px, 96vw);
  max-height: 94vh;
  background: #140708;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden auto;
  box-shadow: var(--shadow-modal);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame.vertical {
  aspect-ratio: auto;
  height: min(74vh, 720px);
  width: min(100%, calc(min(74vh, 720px) * 9 / 16));
  margin: 0 auto;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px 22px;
}

.video-modal-info h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 4px;
}

.video-modal-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual[data-kind="default"] .hero-image {
    max-width: 280px;
  }

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

  .hero-btn-group {
    justify-content: center;
  }

  .hero-section {
    padding: 36px 0 44px;
  }
}

@media (max-width: 768px) {
  .main-header {
    position: sticky;
  }

  .brand-logo {
    height: 46px;
  }

  .video-modal-info {
    padding: 14px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .video-card,
  .hero-visual-badge,
  .hero-pill-badge,
  .ember-particle {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* hero title fits the two-column layout */
.hero-title {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

/* hero buttons sit side by side when there is room */
.hero-btn-group .btn-luxury,
.hero-btn-group .btn-ghost {
  padding: 13px 24px;
  font-size: 1rem;
}

/* video placeholder (Facebook has no public thumbnail) */
.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline-start: 11%;
}

.video-thumb-placeholder img {
  height: 82%;
  width: auto;
  max-width: 55%;
}

.video-thumb.is-placeholder .video-play-btn {
  inset: 0 auto 0 0;
  margin: auto auto auto 18%;
}

/* toast is fully hidden until shown, and announced to screen readers */
.toast-alert {
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
  max-width: calc(100vw - 32px);
}

.toast-alert.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   Customer Reviews & Ratings Section
   ========================================== */
.reviews-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(254, 0, 0, 0.05) 0%, transparent 60%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.rating-overall-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(241, 196, 15, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.user-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.user-review-card {
  background: linear-gradient(145deg, rgba(30, 15, 18, 0.7), rgba(15, 8, 10, 0.85));
  border: 1px solid rgba(254, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.user-review-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-primary);
  box-shadow: 0 15px 35px rgba(254, 0, 0, 0.2);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-primary), #8a0c0e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(254, 0, 0, 0.35);
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
}

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

.review-stars-row {
  color: #f1c40f;
  display: flex;
  gap: 4px;
  font-size: 0.95rem;
}

.review-comment-body {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* User Review Modal */
.user-review-modal-content {
  background: linear-gradient(160deg, #1f1113, #12090a);
  border: 1px solid var(--red-primary);
  border-radius: 20px;
  padding: 36px 32px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  direction: rtl;
}

.review-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.review-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(254, 0, 0, 0.15);
  border: 1px solid var(--red-primary);
  color: #f1c40f;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.star-rating-select {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.star-rating-stars {
  display: flex;
  gap: 6px;
  font-size: 1.5rem;
}

.star-star-pick {
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
}

.star-star-pick:hover {
  transform: scale(1.2);
}

.star-star-pick.active {
  color: #f1c40f;
}

.rating-text-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Modal Price Badge & Thumbnails */
.modal-price-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: linear-gradient(135deg, var(--red-primary), #900a0d);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 40px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}

.modal-thumb-btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-thumb-btn.active {
  border-color: var(--red-primary);
  transform: scale(1.05);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}